Using starter.racing example client/server connection
by Adam Lake · in Torque Game Engine · 09/10/2004 (1:00 pm) · 2 replies
Greetings garagegames community,
i have successfully started the starter.racing demo and create a server. next, on the same network but a different machine, i create a client that successfullly attaches to this server after querying the lan to locate the server.
when the client starts, it is in 'camera mode' hitting alt-c does not move it to 'race car' view. furthermore, i can't see a race car for this client. on the 'server' window (the way i understand this its really a client window running on the machine as the server but still another client) this is not a problem, alt-c switches just fine.
if i start both the client and the server on the same machine, i don not have this problem. i can see the other race car, and switch both windows from car to fly-through/camera view, etc.
does anybody have any idea what is going on? i also tried changing the key bindings, and tried this on two different machines (flipping the client/server relationship above) and still have the same problem. is this a known issue? if so, is there a workaround?
insights?
thanks,
--adam
i have successfully started the starter.racing demo and create a server. next, on the same network but a different machine, i create a client that successfullly attaches to this server after querying the lan to locate the server.
when the client starts, it is in 'camera mode' hitting alt-c does not move it to 'race car' view. furthermore, i can't see a race car for this client. on the 'server' window (the way i understand this its really a client window running on the machine as the server but still another client) this is not a problem, alt-c switches just fine.
if i start both the client and the server on the same machine, i don not have this problem. i can see the other race car, and switch both windows from car to fly-through/camera view, etc.
does anybody have any idea what is going on? i also tried changing the key bindings, and tried this on two different machines (flipping the client/server relationship above) and still have the same problem. is this a known issue? if so, is there a workaround?
insights?
thanks,
--adam
#2
09/11/2004 (7:43 am)
Do you have any errors in the console.log? Those are often useful in sorting out this kind of problem.
Torque Owner Adam Lake
If I instead leave the main.cs in the example directory as shipped and select from the "demo" menu the racing tutorial, I can successfully start as many clients as I want and all goes correctly attaching to servers, loading up cars, etc. Well, I had a total of 3 cars from 2 different machines going.
Conclusion: something is different from the demo startup and the starter.racing startup. I don't know what yet, any ideas?