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: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Mon Nov 21, 2005 9:03 pm

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.

User avatar
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am
Location: Bavaria, Germany
Contact:

Post by Walking Tree » Mon Nov 21, 2005 9:17 pm

so that was me babbling shit again...
on the grid as ~free::zombie~
Get Nuxified

http://zombiehq.jollybox.de/zhq/undead-blog
jabber:[email protected]
irc: free-zombie, freezombie or similar on FreeNode & OFTC

paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 » Tue Nov 22, 2005 4:08 am

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 » Tue Nov 22, 2005 4:09 am

gah! you are already using it! :(

paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 » Tue Nov 22, 2005 4:11 am

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 » Tue Nov 22, 2005 8:00 am

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 & Local Moonshiner
Posts: 8610
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer » Tue Nov 22, 2005 8:06 am

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: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Tue Nov 22, 2005 8:23 am

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.

User avatar
Walking Tree
Match Winner
Posts: 641
Joined: Sun Jul 10, 2005 9:14 am
Location: Bavaria, Germany
Contact:

Post by Walking Tree » Tue Nov 22, 2005 2:17 pm

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~
Get Nuxified

http://zombiehq.jollybox.de/zhq/undead-blog
jabber:[email protected]
irc: free-zombie, freezombie or similar on FreeNode & OFTC

paniq303
On Lightcycle Grid
Posts: 42
Joined: Sun Nov 20, 2005 10:03 pm

Post by paniq303 » Tue Nov 22, 2005 7:58 pm

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 & Local Moonshiner
Posts: 8610
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer » Tue Nov 22, 2005 10:05 pm

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: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Tue Nov 22, 2005 10:56 pm

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 » Wed Nov 23, 2005 9:34 am

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: 3392
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan » Wed Nov 23, 2005 9:43 am

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: 11220
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne, Jabber: [email protected]
Contact:

Post by Z-Man » Wed Nov 23, 2005 10:32 am

No need. I can adapt :)

Code: Select all

cat /dev/random

Post Reply