Server and Client Division and Dedicated Server
by Neurosys · in Torque Game Engine · 12/25/2007 (6:55 pm) · 1 replies
Ok, I have got the mazerunner from GPGT that I made running on my linux as a dedicated server.
All I did was install the linux TGE 1.5.2 on my remote box... and upload my own mazerunner (client/data/server) into the examples folder then run the bin with the -dedicated -game and -mission.
It was a very cool test and my buddy logged in with me and we jumped around like imbeciles pondering our glee at this first step to building some virtual world.
So my question is.. now I'm working on my own from scratch and I wanted to know that when I seperate the client and server like this.. what files go where?
I was guessing I could put /data and /server on the remote server (linux box) and then put the /client and maybe the /data on the client machine (my local windoze box). I was gonna put /data on both cuz I noticed the client would download the models if it didnt already have them so I figure putting them with the client was a smart idea.
Is that correct? Now, just to clarify for this game/experiment I never want to run it singleplayer. I want to run the "world" if you will, on the linux box dedicated and connect to it from my client. I'm trying to arrange it all neat like and I just wanted some guidance or perhaps redirection as to how I can tear these two apart cleanly and neatly.
Thanks,
Neurosys
P.S. Also, I dont really want to use the master server cuz its not working well for me... I assume there is a cmd I can hook to a button that goes ConnectToMyLinuxBox("tserver.neuroticnetworks.com"); ?
All I did was install the linux TGE 1.5.2 on my remote box... and upload my own mazerunner (client/data/server) into the examples folder then run the bin with the -dedicated -game and -mission.
It was a very cool test and my buddy logged in with me and we jumped around like imbeciles pondering our glee at this first step to building some virtual world.
So my question is.. now I'm working on my own from scratch and I wanted to know that when I seperate the client and server like this.. what files go where?
I was guessing I could put /data and /server on the remote server (linux box) and then put the /client and maybe the /data on the client machine (my local windoze box). I was gonna put /data on both cuz I noticed the client would download the models if it didnt already have them so I figure putting them with the client was a smart idea.
Is that correct? Now, just to clarify for this game/experiment I never want to run it singleplayer. I want to run the "world" if you will, on the linux box dedicated and connect to it from my client. I'm trying to arrange it all neat like and I just wanted some guidance or perhaps redirection as to how I can tear these two apart cleanly and neatly.
Thanks,
Neurosys
P.S. Also, I dont really want to use the master server cuz its not working well for me... I assume there is a cmd I can hook to a button that goes ConnectToMyLinuxBox("tserver.neuroticnetworks.com"); ?
About the author
Torque Owner Neurosys
Neurosys