TGEA 1.8.0 Dedicated Server
by Derik Wilson · in Torque Game Engine Advanced · 01/21/2009 (5:39 pm) · 6 replies
Has anyone been able to get a dedicated server running in TGEA 1.8.0? I have tried everything and even the stock versions will not run. It attempts to open a GUI window (just like 1.7.0 did before it was fixed) so I figured I would take a look at it to see what sort of mess is in the script this time. There seems to be a lot of client-side code mixed in with some common server code (common between the normal server logic and dedicated server logic).
I attempted to clean it up and it still crashes when attempting to read the mission file within the buildLoadInfo( %mission ) function. It runs fine when running a single player type of game, but even the stock template, and the game examples, crash when attempting to start a dedicated server.
I attempted to clean it up and it still crashes when attempting to read the mission file within the buildLoadInfo( %mission ) function. It runs fine when running a single player type of game, but even the stock template, and the game examples, crash when attempting to start a dedicated server.
#2
01/21/2009 (5:59 pm)
I am dropping back to 1.7.1. The headache that 1.8.0 has caused me so far just isn't worth it.
#3
01/22/2009 (11:00 am)
Did you manage to run 1.8 dedicated server - hows the performance?
#4
03/03/2009 (4:06 am)
We went back to 1.7.1 for now with no plans to change until the next project. I have heard too many complaints about 1.8.x regarding performance, and I myself experienced quite a few problems just getting the dedicated server to run without the needless usage of excess resources. Hopefully by the time this project is complete (a couple of years) they will have fixed the bugs and restructured the base script in 1.8.x.
#5
Our game runs faster in 1.8.1, the httpObject and TcpObjects work in it, and the sound file support for vorbis is better so I'd recommended upgrading to 1.8.1 when you get a chance
03/03/2009 (10:38 am)
Derik - the dedicated server is fixed in TGEA 1.8.1 ;) like yourself we didn't go to 1.8, we stayed on 1.7.1 to 1.8.1 came out and then moved up.Our game runs faster in 1.8.1, the httpObject and TcpObjects work in it, and the sound file support for vorbis is better so I'd recommended upgrading to 1.8.1 when you get a chance
#6
03/03/2009 (4:56 pm)
Cool! Thanks for the info! Hopefully the conversion will be semi-transparent to the devs. I will test out a 1.8.1 build with our current levels tonight.
Torque 3D Owner Chris
static const char* ServerArgv[] = { "Server.exe", "-dedicated", "-mission", ServerZoneMission.c_str() };
argc = 4;
argv = ServerArgv;
and the mission is something like "scriptsAndAssets/data/missions/simple.mis"