Test how many players can be connected in a single computer
by Yong-rui Wang · in Torque Game Engine · 09/14/2006 (1:36 am) · 3 replies
I want to test how many players can be connected in one single computer.
As it's said a server can only support 128 clients, I take it means a game room can support 128 players to join in right? . so does anybody know how many game rooms can be openned in a single computer? and how to open many rooms in one computer? I run many torqueDemo.exe instance in one computer with the param "-dedicated -mission starter.fps/data/missions/stronghold.mis " but it seems the clients can only see one server created. does anybody know what's going on?
As it's said a server can only support 128 clients, I take it means a game room can support 128 players to join in right? . so does anybody know how many game rooms can be openned in a single computer? and how to open many rooms in one computer? I run many torqueDemo.exe instance in one computer with the param "-dedicated -mission starter.fps/data/missions/stronghold.mis " but it seems the clients can only see one server created. does anybody know what's going on?
#2
I think you made sense, we are making a game which offers thounsands of rooms , each room hold one battle which allow dozens of players join in and play together. so I think we have to change the structure of the original starter.fps, right? because the original structure of dedicated server only hold one battle. Now I have a new question, because we want to test how many players one server can handle, so I am going to simulate many players in each client pc , but since I can't run more than one torqueDemo.exe instance, do you know or anybody know how to implement it?
Great thanks!
09/14/2006 (9:06 pm)
Thanks! I think you made sense, we are making a game which offers thounsands of rooms , each room hold one battle which allow dozens of players join in and play together. so I think we have to change the structure of the original starter.fps, right? because the original structure of dedicated server only hold one battle. Now I have a new question, because we want to test how many players one server can handle, so I am going to simulate many players in each client pc , but since I can't run more than one torqueDemo.exe instance, do you know or anybody know how to implement it?
Great thanks!
#3
09/20/2006 (8:50 pm)
I found out how to run multiple instances, just take out the codes "if(!Platform::excludeOtherInstances(..)" , and each instance will create a gameconnection with different port , so the server program will differ them by different ports alghouth with same ip address. also in server part, we can run many torqueDemo.exe instances too, they will create connection with ports from 28000 , 28001 to whatever mounts you run the instance, and your client can specify to connect to which server by specify something like "-connect IP:10.172.1.100:28001". I wish somebody who has same problem will get help !
Torque 3D Owner Fritz Myrer