Dedicated Server Problem
by John Rockefeller · in Torque Game Engine Advanced · 11/12/2005 (9:40 pm) · 2 replies
Hey everyone
I'm having trouble setting up the game in dedicated server mode, which is what my game will be playing in entirely. I've just gotten to the point now in development where it's only going to be client/server. The only problem is that the game crashes after getting to a certain point near the Torque Creator initialization. I'll show you my console log.
...Loading compiled script xhro/server/scripts/triggers.cs.
Loading compiled script xhro/server/scripts/shapeBase.cs.
Loading compiled script xhro/server/scripts/staticShape.cs.
Loading compiled script xhro/server/scripts/radiusDamage.cs.
Loading compiled script xhro/server/scripts/environment.cs.
xhro/server/scripts/environment.cs (0): Unable to instantiate non-conobject class LightningData.
xhro/server/scripts/environment.cs (0): Unable to instantiate non-conobject class volumeLightData.
*** LOADING MISSION: xhro\data\missions\simple.mis
*** Stage 1 load
*** Stage 2 load
Could not find mission xhro\data\missions\simple.mis
Loading compiled script xhro/server/scripts/commands.cs.
Loading compiled script xhro/server/scripts/centerPrint.cs.
Loading compiled script xhro/server/scripts/game.cs.
--------- Initializing: Torque Creator ---------
Loading compiled script creator/editor/editor.cs.
Loading compiled script creator/editor/particleEditor.cs.
Loading compiled script creator/scripts/scriptDoc.cs.
Loading compiled script creator/ui/creatorProfiles.cs.
Then it dies. Is there any way to make it so that it doesn't try and load Torque Creator if it's in dedicated mode?
Thanks!
I'm having trouble setting up the game in dedicated server mode, which is what my game will be playing in entirely. I've just gotten to the point now in development where it's only going to be client/server. The only problem is that the game crashes after getting to a certain point near the Torque Creator initialization. I'll show you my console log.
...Loading compiled script xhro/server/scripts/triggers.cs.
Loading compiled script xhro/server/scripts/shapeBase.cs.
Loading compiled script xhro/server/scripts/staticShape.cs.
Loading compiled script xhro/server/scripts/radiusDamage.cs.
Loading compiled script xhro/server/scripts/environment.cs.
xhro/server/scripts/environment.cs (0): Unable to instantiate non-conobject class LightningData.
xhro/server/scripts/environment.cs (0): Unable to instantiate non-conobject class volumeLightData.
*** LOADING MISSION: xhro\data\missions\simple.mis
*** Stage 1 load
*** Stage 2 load
Could not find mission xhro\data\missions\simple.mis
Loading compiled script xhro/server/scripts/commands.cs.
Loading compiled script xhro/server/scripts/centerPrint.cs.
Loading compiled script xhro/server/scripts/game.cs.
--------- Initializing: Torque Creator ---------
Loading compiled script creator/editor/editor.cs.
Loading compiled script creator/editor/particleEditor.cs.
Loading compiled script creator/scripts/scriptDoc.cs.
Loading compiled script creator/ui/creatorProfiles.cs.
Then it dies. Is there any way to make it so that it doesn't try and load Torque Creator if it's in dedicated mode?
Thanks!
About the author
Web developer from Guelph, Ontario, Canada.
#2
Famous last words.
11/12/2005 (11:45 pm)
This solved my problem, thanks. All I did was commented out the Torque Creator mod in script on the server. I wonder why, even with the if statement above it, it still loaded until I commented, but it doesn't matter because it works now.Famous last words.
Torque Owner Stefan Lundmark
Have you tried to remove the Torque Creator mod? Tried to use trace(); ?