new armagetron sound scheme

Made a pack that makes Armagetron sound like a rock concert? Hook us up!
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

We do use UDP :) Never used anything else. And we do have the ping HUD display (admittedly, the network flow graph of Q3 is cooler, let's consider doing something similar) and the lag-o-meter.
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am

Post by Walking Tree »

so that was me babbling shit again...
on the grid as ~free::zombie~
paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 »

i admire your bundled power of competence.

you may want to read up on UDP, firewalls and NAT.
paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 »

gah! you are already using it! :(
paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 »

z-man, how large is one udp package and what does it contain at the moment?
User avatar
hang3r
Core Dumper
Posts: 188
Joined: Fri Sep 16, 2005 9:05 pm
Location: Australia

Post by hang3r »

udp only has a chance if BOTH SIDES OPEN A PORT, which you just can't expect from ppl these days...
you may want to read up on UDP, firewalls and NAT.
I agree, go research before you post.
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

This thread is lowering the signal/noise ratio here.
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

The structure of our packets is simple; they are organized in two bye words.
The last word is the ID of the sender; 0 for the server and 1..16 for the clients.
The rest of the packet is split up into messages.
Each message starts with the message type, message length and message ID (don't know by heard in which order), and then the data of that message. Every message type has an own sub-format.
Packets have varying length. You can get guesstimates from the statistics that are printed every round. Just divide the number of bytes by the number of packets. The UDP header overhead (forgot how much it was) is included in these statistics, so to get our real data length, you need to subtract it.

Why do you want to know?

And please cut that crap talking. All of you :)

Edit: typo :)
Last edited by Z-Man on Tue Nov 22, 2005 2:32 pm, edited 1 time in total.
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am

Post by Walking Tree »

hang3r wrote:I agree, go research before you post.
hmya.... i was expecting firewalls to be a bit dumber... :oops: :oops: :oops: :oops:
on the grid as ~free::zombie~
paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 »

lucifer: you mean raising?

z-man: hmph. sounds all quite sane to me. so is there really no possibility to improve network transmission further?
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

No, when you lower the numerator and raise the denominator, you get a smaller number.

3/4 2/5 1/6
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Walking Tree wrote:hmya.... i was expecting firewalls to be a bit dumber... :oops: :oops: :oops: :oops:
Well, you're right in one point: doing NAT translation for UDP is, in principle, more difficult than TCP because you can't rely on the existence of connections. So there may indeed be early Firewall/NAT boxes that handle TCP, but not UDP.

Paniq303: Well, there are lots of unused bits. There is room for improvement in the form of compression. And when objects are synced and variables have not changed, they are transmitted again anyway, one could get rid of this redundancy. But all that makes the protocol harder to debug, and debugabillity is of very high priority for 0.x versions, so we did not do it. It's an option for the future.
paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 »

z-man: thanks for the comprehensive explanation :)

lucifer: but that would be an insulting statement then! i cant believe this was your itent! :P
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

At least it's true. His post and all replies only added to the noise, which proves his point. Now if only we could throw z-man out of this thread. :)
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11585
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

No need. I can adapt :)

Code: Select all

cat /dev/random
Post Reply