Unit testing and simulating multiple players
by JuanMa · in Torque Game Engine · 04/22/2008 (11:14 am) · 2 replies
I want to know if there is a way to simulate multiple players connecting to a game server. I want to do some unit testing on the server but I do not have the resources to connect more than 3 pc's to my server, the idea would be to have about 10 + players that call the same function on the server multiple times... How can I achieve this using Torque Script? I have no experience creating testing scripts so any help or if you can point me to any resource would be great!!
Thank you.
Juanma
Thank you.
Juanma
#2
This lets us run many clients on a single machine.
(A more sophisticated version of this forks the process in such a way that read-only memory is shared between the processes, allowing even more clients to run)
Still, even with 3 moderate PCs, you should be able to run at least 9 clients, probably 12.
Have you changed the client so that two instances can run at once ?
04/22/2008 (12:23 pm)
We created a special "headless" version of the client, which doesn't do any graphics.This lets us run many clients on a single machine.
(A more sophisticated version of this forks the process in such a way that read-only memory is shared between the processes, allowing even more clients to run)
Still, even with 3 moderate PCs, you should be able to run at least 9 clients, probably 12.
Have you changed the client so that two instances can run at once ?
Torque 3D Owner Donald "Yadot" Harris
Marveloper