Game Development Community

dedicated server prob

by Gibby · in General Discussion · 05/10/2002 (1:46 pm) · 5 replies

dunno if this is a bug or operator error, but when I try to run a dedicated server I get this:

Compiling rw/server/scripts/weapon.cs...
Loading compiled script rw/server/scripts/weapon.cs.
Compiling rw/server/scripts/radiusDamage.cs...
Loading compiled script rw/server/scripts/radiusDamage.cs.
Compiling rw/server/scripts/crossbow.cs...
Loading compiled script rw/server/scripts/crossbow.cs.
Error: shape rw/data/shapes/crossbow/ammo.dts-collision detail 0 (Collis
ounds box invalid!
Compiling rw/server/scripts/player.cs...
Loading compiled script rw/server/scripts/player.cs.
Compiling rw/data/shapes/player/player.cs...
Loading compiled script rw/data/shapes/player/player.cs.
Validation required for shape: rw/data/shapes/player/player.dts
Compiling rw/server/scripts/chimneyfire.cs...
Loading compiled script rw/server/scripts/chimneyfire.cs.
Compiling rw/server/scripts/aiPlayer.cs...
Loading compiled script rw/server/scripts/aiPlayer.cs.
*** LOADING MISSION: rw\data\missions\stronghold.mis
*** Stage 1 load
*** Stage 2 load
Could not find mission rw\data\missions\stronghold.mis
Engine initialized...
Sending heartbeat to master server [IP:216.116.33.156:28002]



Why does it say it cannot find the mission? it certainly is there, why does the dedicated server not see it? Note it runs fine if I run a 'Multiplayer' game from the client...

#1
05/10/2002 (2:23 pm)
Can you post the command line you used? Here's mine on Win2k from a Command prompt:

torqueDemo -d dedicated
-mission "fps/client/data/missions/mike1.mis"
#2
05/13/2002 (7:06 pm)
here it is, the stock RW version:

cd C:\GarageGames\RealmWars
RealmWars -dedicated -mission "rw\data\missions\stronghold.mis"

on my modded version I'm using this:

torqueDemo.exe -dedicated -game rw -mission "rw\data\missions\stronghold.mis"
#3
05/13/2002 (7:31 pm)
What platform are you running this on?

Just FYI, for some (or all?) file accesses, the executable looks for files starting in the current working directory, except in the case of the Linux executable built from the current CVS head with the default compile options, in which case it looks in "$HOME/.garagegames/".

So if you're using a non-Linux executable, or an old Linux executable, make sure the current working directory when you execute that command contains the rw folder.

If you're using a Linux executable built from a recent version of TGE (after mid-April), try moving your stuff into the $HOME/.garagegames folder (create it if necessary).

BTW if you're building your own Linux executable, you can make it use the current working directory by removing -DUSE_FILE_REDIRECT from conf.UNIX.mk.

Dunno if any of this is your problem, but thought I should mention it.
#4
05/13/2002 (9:30 pm)
If you notice your slashes are backwards on the command line. Look at all the other paths being executed in your snip from the console output. Hope that helps.

Bruce
#5
05/17/2002 (10:30 pm)
Thats it, Worked for me
You have to make the slashes backwards :)

RealmWars -dedicated -mission rw/data/missions/stronghold.mis