-mission command-line
by F.W. Hardijzer · in General Discussion · 10/10/2002 (12:39 pm) · 6 replies
Hi,
when i try to run my dedicated server with commandline:
RealmWars -dedicated -mission rw\data\missions\stronghold.mis
and then it says: Could not find mission rw\data\missions\stronghold.mis
i run it from a dos prompt in the directory,
the game is in c:\garagegames\realmwars\ and i checked if the mission existed and it does... i'm running windows ME..
does ayone know an answer to this stupid problem?
when i try to run my dedicated server with commandline:
RealmWars -dedicated -mission rw\data\missions\stronghold.mis
and then it says: Could not find mission rw\data\missions\stronghold.mis
i run it from a dos prompt in the directory,
the game is in c:\garagegames\realmwars\ and i checked if the mission existed and it does... i'm running windows ME..
does ayone know an answer to this stupid problem?
About the author
#2
make a textfile and put this in it
start /max realmwars.exe -dedicated -mission rw/data/missions/stronghold.mis
safe and rename to dedicated.bat
put the file in your rw directory to the rw.exe, than start the bat file.
hope this help
mfg deepnight
10/11/2002 (6:06 am)
try this:make a textfile and put this in it
start /max realmwars.exe -dedicated -mission rw/data/missions/stronghold.mis
safe and rename to dedicated.bat
put the file in your rw directory to the rw.exe, than start the bat file.
hope this help
mfg deepnight
#3
RealmWars -dedicated -mission rw/data/missions/stronghold.mis
from the commandprompt.
10/12/2002 (10:18 am)
yip, your "problem" is the backslashes. try to runRealmWars -dedicated -mission rw/data/missions/stronghold.mis
from the commandprompt.
#4
10/12/2002 (11:41 am)
its the same effect, but only one mouseclick :-)
#5
where it says "start in" type C:\GarageGames\RealmWars
this will allow you to quickly start a dedicated server by doubleclicking the shortcut, probably the easiest way. Obviously using artistic licence on stronghold.mis will allow you to start dedicated servers for other maps.
hope that helps
ie
C:\GarageGames\RealmWars\RealmWars.exe -dedicated -mission rw/data/missions/mymap.mis
will run a dedicated server using the mission file mymap.mis
Note
as Alex said your prolem is your slashes, the advantage of useing the shortcut option i just showed you, means you just doubleclick the shortcut instead of going through the commandline option, more user freindly for your general gamer.
@Micheal i could probably simply write a third party visual basic app that would run a choice of dedicated servers depending on the .mis file (mapfiles)
simply using a getfile .mis file function and adding choose mission option and getting that to write a .txt file and converting it to .bat, then useing shell to run and kill to kill the bat file, would give a handy third party option for TGE developers to allow people to run dedicated servers for their games, i directed this at you because this uses .bat files as you have used, it also kills them and creates them at runtime. so saving memory and space although the space is very small anyway.
andf its userfreindly.
(for the casual computer user that just play games a .bat is a it scary looking) of course you can argue that a casual gamer wouldnt run a dedicated server anyway.
10/12/2002 (2:25 pm)
Create a shortcut to the realmwars.exe open propertys and in the target type C:\GarageGames\RealmWars\RealmWars.exe -dedicated -mission rw/data/missions/stronghold.miswhere it says "start in" type C:\GarageGames\RealmWars
this will allow you to quickly start a dedicated server by doubleclicking the shortcut, probably the easiest way. Obviously using artistic licence on stronghold.mis will allow you to start dedicated servers for other maps.
hope that helps
ie
C:\GarageGames\RealmWars\RealmWars.exe -dedicated -mission rw/data/missions/mymap.mis
will run a dedicated server using the mission file mymap.mis
Note
as Alex said your prolem is your slashes, the advantage of useing the shortcut option i just showed you, means you just doubleclick the shortcut instead of going through the commandline option, more user freindly for your general gamer.
@Micheal i could probably simply write a third party visual basic app that would run a choice of dedicated servers depending on the .mis file (mapfiles)
simply using a getfile .mis file function and adding choose mission option and getting that to write a .txt file and converting it to .bat, then useing shell to run and kill to kill the bat file, would give a handy third party option for TGE developers to allow people to run dedicated servers for their games, i directed this at you because this uses .bat files as you have used, it also kills them and creates them at runtime. so saving memory and space although the space is very small anyway.
andf its userfreindly.
(for the casual computer user that just play games a .bat is a it scary looking) of course you can argue that a casual gamer wouldnt run a dedicated server anyway.
#6
(All the other stuff was interesting, but not really what I was interested in or having a problem with)
10/12/2002 (8:07 pm)
Ah... The backslashes. Duh! Thanks a bunch.(All the other stuff was interesting, but not really what I was interested in or having a problem with)
Associate Kyle Carter
Anyone know what's going on?