Author |
Message |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Mon Mar 20, 2006 8:06 am Post maybe stupid Post subject: defining one-way packet loss |
 |
|
|
|
Packet loss is the amount of packets that go missing. But subspace has c2s and s2c packet loss.
So my question is how would you define, say c2s packet loss? A c2s packet may always be arriving at the server, but the ack just doesn't come back (s2c loss). Or the packet may never reach the server (c2s loss). As you can see there are two types of loss when sending a c2s packet, but the client doesn't know which one it is, or can it?
some possible formulas:
loss as % = 100 - # acks rec'd * 100 / # sends
loss as % = 100 - # unique sends * 100 / # sends |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Mon Mar 20, 2006 11:05 am Post maybe stupid Post subject: |
 |
|
|
|
The client remembers how many packets they sent/received. Every security packet, they send both of these numbers (and the weapon packet count received) to the server. The server compares these numbers to its own local count of packets sent/received. Do a percent error on this, and you result with the packetlosses.
Acks count as packets. The 0x00 0x0E (I think?) group packets only count as one. Pretty much anytime the physical send()/recv() functions are called, the counters get updated by one. |
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Mon Mar 20, 2006 1:45 pm Post maybe stupid Post subject: |
 |
|
|
|
This is proof that you two have been playing too long. |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Mon Mar 20, 2006 5:26 pm Post maybe stupid Post subject: |
 |
|
|
|
So what you're saying is the only way to do it is to have one end tell the other how many packets it has received. It can't be done by looking at the number of reliable packets sent and the number of acks that came back.
With this reasoning then only the server truly knows the packet loss since the server never tells the client how many packets it has sent/received. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Mar 20, 2006 7:22 pm Post maybe stupid Post subject: |
 |
|
|
|
That's why the client command ?ping doesn't show packetloss but the server command ?lag does. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Mon Mar 20, 2006 9:07 pm Post maybe stupid Post subject: |
 |
|
|
|
Then couldn't you make continuum think your sending 4 times the packets and force yourself to send 4 times less the packets? But then also recieving the right amout of packets. Making your lag horrible but the other players come in clear. Either that or im just an idiot. :wink: |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Mon Mar 20, 2006 10:16 pm Post maybe stupid Post subject: |
 |
|
|
|
Yes, but only if you could modify the client (which is encrypted itself) or make your own (in which case you would need to reproduce the cont encryption). _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Mon Mar 20, 2006 10:31 pm Post maybe stupid Post subject: |
 |
|
|
|
Not necessarily. You could setup a proxy server to do something like that, assuming you had the crypto stuff. Could easily make the proxy send dummy packets to make up for any packet loss. Though, the only real use for this would be cheating, but... whatever. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Mar 21, 2006 12:35 am Post maybe stupid Post subject: |
 |
|
|
|
Cerium wrote: | Not necessarily. You could setup a proxy server to do something like that, assuming you had the crypto stuff. Could easily make the proxy send dummy packets to make up for any packet loss. Though, the only real use for this would be cheating, but... whatever. |
You'd still have to be able to decrypt and encrypt continuum's packets. |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Tue Mar 21, 2006 2:54 am Post maybe stupid Post subject: |
 |
|
|
|
Indeed... thats why I said this:
Cerium wrote: | ...assuming you had the crypto stuff. |
|
|
Back to top |
|
 |
SpecShip Complete twat

Gender: Joined: Dec 17 2005 Posts: 514 Location: 8025 - Spec Freq Offline
|
Posted: Tue Mar 21, 2006 9:11 am Post maybe stupid Post subject: |
 |
|
|
|
Dr Brain wrote: | That's why the client command ?ping doesn't show packetloss but the server command ?lag does. |
Which is why the client command ?packetloss (which is actualy server side - client sends a query to the server to process and reply) was put in place, since VIE.
BTW, twister is working with cont 0.38. _________________ Replacing yazour untill the whore returns.
"I could run a ss server on my car stereo!" -Xalimar
"Liberta tuit ma ex infernis" -Event Horizon
"I know too much about nothing." - Mine GO BOOM
"Hmm anyway, back to my kingdom hearts." - Chambahs |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Mar 21, 2006 1:08 pm Post maybe stupid Post subject: |
 |
|
|
|
SpecShip wrote: | Which is why the client command ?packetloss (which is actualy server side - client sends a query to the server to process and reply) was put in place, since VIE. |
Incorrect. The client has no idea what ?packetloss is or does. It just sends the string to the server and forgets about it. The server sends back an arena message with the string. If you want, you could have the server send back "You lag and you know it, you don't need numbers" instead of the normal responce, and the client won't know the difference. |
|
Back to top |
|
 |
newb Turds are yummy

Age:33 Gender: Joined: Mar 15 2005 Posts: 1267 Location: England Offline
|
Posted: Tue Mar 21, 2006 2:54 pm Post maybe stupid Post subject: |
 |
|
|
|
In Cont, I got this:
lp_street_> ?packetloss
PACKET LOSS Unknown, check again in a few minutes. _________________ Haha SpecShip |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:36 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Tue Mar 21, 2006 3:34 pm Post maybe stupid Post subject: |
 |
|
|
|
Maybe you did it once you entered? It needs time to read your settings. |
|
Back to top |
|
 |
newb Turds are yummy

Age:33 Gender: Joined: Mar 15 2005 Posts: 1267 Location: England Offline
|
Posted: Tue Mar 21, 2006 4:15 pm Post maybe stupid Post subject: |
 |
|
|
|
This was like 15 minutes in the game, but yeah, it works now.  |
|
Back to top |
|
 |
SpecShip Complete twat

Gender: Joined: Dec 17 2005 Posts: 514 Location: 8025 - Spec Freq Offline
|
Posted: Tue Mar 21, 2006 8:47 pm Post maybe stupid Post subject: |
 |
|
|
|
Funny Murphy, this is exactly what I've said.
But you're too boneheaded to figure it out, aren't you? |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Tue Mar 21, 2006 9:43 pm Post maybe stupid Post subject: |
 |
|
|
|
The way you said it implies that its a client-side command that sends a special packet to the server. |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Wed Mar 22, 2006 8:24 am Post maybe stupid Post subject: |
 |
|
|
|
It seemed like you both said the same thing to me.
Anyway purge, I doubt it has anything to do with settings, more likely the server waits for a certain amount of packets to be sent to get a good sample size. |
|
Back to top |
|
 |
SpecShip Complete twat

Gender: Joined: Dec 17 2005 Posts: 514 Location: 8025 - Spec Freq Offline
|
Posted: Wed Mar 22, 2006 10:55 am Post maybe stupid Post subject: |
 |
|
|
|
It's a packet alright, but nothing special about it.
It just says execute function X and tell me what you got in result.
BTW, murphy said it is an arena message.
Which strikes me odd since it is confined to my eyes only, so to speak (at least I'm SURE no other players are getting spammed by the server as consequence of my ?packetloss queries and vice versa). |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Wed Mar 22, 2006 11:19 am Post maybe stupid Post subject: |
 |
|
|
|
The message is only sent to you, it's a chat message of the 'arena' type so it appears green. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Mar 22, 2006 2:14 pm Post maybe stupid Post subject: |
 |
|
|
|
You said it was a client command, which is incorrect. That's what MGB was talking about. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Wed Mar 22, 2006 2:28 pm Post maybe stupid Post subject: |
 |
|
|
|
?ignore is a client command. |
|
Back to top |
|
 |
SpecShip Complete twat

Gender: Joined: Dec 17 2005 Posts: 514 Location: 8025 - Spec Freq Offline
|
Posted: Wed Mar 22, 2006 8:46 pm Post maybe stupid Post subject: |
 |
|
|
|
Depends on the subtleties of the language and your point of view, Dr Brain.
?packetloss is a client command, which is server authoratitive, or something to the sort.
By issuing ?packetloss, you invoke a client-side function which orders the client (hence command, client command) to send a packet to the server asking (or is it ordering the server? hence server command?) it to execute a certain function.
The server execute the function (which happens to be the entire packetloss actual calculus) and pms the client back the results.
I think Murphy's actual point was that, or at least it'll be mine if I'm going to be pedantic about it, it is not a query as I've said but rather a simple "run packetloss check routine".
There is no return value expected (hence != query), the server could have done the check and say nothing, say you're stupid leeroy, say stfu lagger, etc. whatever "it wishes" (or the coder made it do), the entire packetloss routine could've been a null(); and the client software wouldn't care. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Mar 22, 2006 9:57 pm Post maybe stupid Post subject: |
 |
|
|
|
By that defintion, all commands are client side. Is ?ban a client command? |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Wed Mar 22, 2006 11:48 pm Post maybe stupid Post subject: |
 |
|
|
|
SpecShip wrote: | I think Murphy's actual point was that, or at least it'll be mine if I'm going to be pedantic about it, it is not a query as I've said but rather a simple "run packetloss check routine". |
No, my point is that the client notices that the message starts with a ?, runs it threw a parser to see if it is a real client command (?sound, ?ping, ?go, etc). If not, it sends the string as a normal message to the zone, no different that you typing "duel me newb" that you are so fond of. The client does not know the difference between you typing ?packetloss vs typing "lets all go out for drinks." |
|
Back to top |
|
 |
|