Game Development Community

Tcp/Udp connection help

by CIMO · in Torque Game Engine · 01/17/2008 (6:28 am) · 4 replies

Hi =) i have a question...torque game engine 1.5.0 - 1.5.1 and 1.5.2 have a tcp network connection or udp network connection?
If have a tcp connection it's possible to have a script for change in udp exist a resource for modify this?
I try with my engine but the connection is slow and the game lag...
I try a simple mission...with only terrain and two player..if the player move not problem but when shot or use a particles....lag....why this?
Is a problem of my computer or torque network is slow?
I use a dedicated server and i use this file .bat on my dedicated server
TorqueDebugDemo.exe -game starter.fps -dedicated -mission starter.fps/data/missions/Livello1.mis
I use a computer with P4 2,3mhz 512mb ram for my server and i use a two notebook for client with a 512mb ram P4 2,3mhz and video card with 64mb ram...
thanks =)

#1
01/17/2008 (6:41 am)
Torque network is UDP
And it is not slow, its very fast. (only file download is slow, but there, the auto updater resource helps :) )

But most likely your internet is slow or something the like.
#2
01/17/2008 (6:56 am)
Oki the problem stay in my connection?? i have adsl 7mb and i try with another game and the connection not lag...if i use my test game lag.... =(
#3
01/17/2008 (8:09 am)
Well do you host a server for the other game as well? Otherwise its not the same ... connecting out is a different thing.

As well it might be possible that you have a very low upstream bandwidth which can cause that. That you have a p2p application active (or someone on your network) that can cause that even if set to a very low upstream speed ... there is quite a lot that can cause that on your connection end actually.
#4
01/17/2008 (1:47 pm)
Oki thanks i try with another connection =)