¿ for debug a dedicated server you need another computer ?
by Javier Canon · in Torque Game Engine · 07/08/2009 (12:28 pm) · 5 replies
Hi, i want know if have a dedicated server and client on the same computer is equal that a client in one pc and server in another pc, for testing and debug the game... ;D
About the author
God blessed me with a brilliant mind... so im a genius...
#2
07/08/2009 (4:01 pm)
@Orion: Very interesting, how exactly would you be able to simulate a higher latency?
#3
so you can call it on the client-side via ServerConnection.setSimulatedNetParams() and/or on the server side by %someClient.setSimulatedNetParams().
searching GG for "setSimulatedNetParams" doesn't turn up all that much,
but searching google for the same things brings up a useful article in TDN about it.
07/08/2009 (4:17 pm)
setSimulatedNetParams() is a method of NetConnection,so you can call it on the client-side via ServerConnection.setSimulatedNetParams() and/or on the server side by %someClient.setSimulatedNetParams().
searching GG for "setSimulatedNetParams" doesn't turn up all that much,
but searching google for the same things brings up a useful article in TDN about it.
#4
07/08/2009 (4:56 pm)
Always good to know more built-in functions.
#5
07/08/2009 (5:08 pm)
thanks for the info, always learning... ;D
Associate Orion Elenzil
Real Life Plus
running a dedicated server and a regular client on the same machine is a perfectly valid testing scenario. of course, your network latency will be artificially low, but that's fairly minor and you can even simulate latency/dropped packets within TGE.