Game Development Community

network

by Gerard Neo · in General Discussion · 05/23/2002 (5:32 am) · 11 replies

Hi, I started my game in the first pc as "torque\example\torqueDemo.exe -mod racing" then in another pc i activate it with the same command but when i click on join server, i can't see any thing.
May I know what are the steps or command must i do to link up 2 to 3 computer to set up a multiplayer game.
Thanks

#1
05/23/2002 (6:30 am)
well, you posted this 3 times. Don't know why :)

so, the "join server" gui doesn't work yet as for as i know.
so just start a server. i would start a dedicated server. Just enter
"torque.exe -mod racing -dedicated -map fps/data/mission/whatever.mis"
then start your your engine with what you have done. so "torque.exe -mod racing". when started, open up
the console and enter this connect("your ip"); for example connect("192.168.1.1");
then startup the other machine and do the same with its ip.
this should work. after you enterd this string, i should start the mission automatique.

Sorry about my english and bad spelling. Maybe the syntax isn't correct. But i think so.
#2
05/23/2002 (5:38 pm)
#3
05/23/2002 (6:24 pm)
-map should be -mission?
#4
05/23/2002 (6:27 pm)
ok i change to -mission
then it left one error
could not find mission fps/data/missions/tank.mis
my tank.mis is inside the folder.....can help thanks
and what evercommand i type after the sending heardtbeat to master
it will give me syntax error input
#5
05/23/2002 (6:44 pm)
ok i have get the mission loaded

what is left is i recieved this command line:
sending heartbeat to master server [IP:..........]
Can we ignore the master server and after the % i follow what u said typing torque.exe -mod racing but it gives mi syntax error.
#6
05/23/2002 (7:49 pm)
.
#7
05/23/2002 (7:51 pm)
Maybe torque.exe isn't the right filename? What is the filename of your executable?
#8
05/23/2002 (8:10 pm)
i started in my shortcut with
C:\head\Torque\example\torqueDemo_DEBUG.exe -mod racing -dedicated -mission fps/data/missions/tank.mis
in my first computer and a ms dos window appeared.

Next I start up the game with the command:
C:\head\Torque\example\torqueDemo_DEBUG.exe -mod racing

Then in the console mode i type in the pc's ip address and an error message- No class with declared id type

1)what went wrong....
2)what about my next computer, what should i do with it to link them both up.
3)Should I ping to the master server for networking.
#9
05/24/2002 (3:08 am)
im not quite sure if everything i post is correct since i'm @work and dont have tge installed ;(

the "msdos-window" that appeared is your dedicated server running. the % is the commandline prompt for the dedicated server, you can send various commands to the server to be executed (these are internal commands, so your try to type "torque.exe -mod racing" will give you the error).
so, you got your dedicated server up and running, now you'd need to connect to it. start ANOTHER torque_demo.exe -mod racing. when the program is running, open the console (^-key) and type connect("x.x.x.x"); where x.x.x.x is the IP-adress of your dedicated server. torque should connect to your server. you may want so switch to the ms-dos-window and watch the outpot there. do this for every client you want to connect and everything should be fine ...

[edit]
dont just type the ip-adress but connect("x.x.x.x");
[/edit]
#10
05/28/2002 (7:18 pm)
thanks, it works for torqueDemo.exe but not torqueDemo_DeBUG.exe.....anyone knows why?
#11
07/09/2003 (4:21 pm)
The connect function is not found in my version of torque, i have the latest version of it. it says that its unable to find function connect. i got my dedicated server running fine but it will not connect, can anyone help. thanks chris