Game Development Community

Any good tutorials on networking

by olm · in Torque Game Engine · 01/20/2010 (11:29 pm) · 5 replies

Hi everyone, Im not a net expert (Actually thats probably the area where I have less experience of them all) however I have picked some good knowledge on net coding (at least in theory) and I was wondering.

What protocol does torque uses to send network packets?
(tcp/ip UDP)

I have noticed there is apparently some compression in the packets what is the compression ratio aproximately?

If I wanted to add/remove a set of packets from the netcode what steps should I take? (lets suppose I want to send a timer signal how should I sent it?)

What is the .. hmm. actually I dont really know the term
but how many frames does it skip to send net info?
how much for the snapshots?

Of course all of this questions are to understand better how the network system works and modify it if needed for other kind of games, like RTS, RPG, etc. The current setting is great for Action games, but it probably wont do very good with a RTS where dozens of ships move around using AI routines. (and obviously the physics code must be a bit less complex)

About the author


#1
01/21/2010 (12:41 am)
Quote:If I wanted to add/remove a set of packets from the netcode what steps should I take?

The first step would be to obtain a license for the source code.
#2
01/25/2010 (3:23 am)
Thank you!
I have got the license for the source code,but I can't understand the codes beacause they are so huge.
I need someone give me some hint to understand how the UDP protocol applied in the Torque.Meybe you will find the UDP protocol is very simple in fact.
#3
01/25/2010 (12:11 pm)
Quote:
I have got the license for the source code, ...

The second step would be to re-read post #1.
#4
01/25/2010 (12:19 pm)
Quote:I have got the license for the source code

No, you don't. You see the little button with your name on it? Click it. There, you see "Member, 0 blogs, 0 resources, 1 thread, 2 posts". No engine licenses are listed. Click mine as an example of being able to see what licenses are owned.

If you do have a license, in another account perhaps, then you need to log in using that account, or if there's an issue with it contact the GG folks- because they are super helpful with it.
#5
01/25/2010 (12:21 pm)
@olm
Do you have another account with a license for the engine? Please post using that account if you do as your questions cannot be answered otherwise.