PDA

View Full Version : Error When Trying to Set up Game from 2000


Centurius
05-08-2012, 02:30 PM
Hey,

So I tried to make a server for the 2000s game Star Trek Voyager: Elite Force, I set up a config with the set up usually used for the game and added a config which normally runs the game(seen below)

<?xml version="1.0" encoding="Windows-1252" standalone="yes"?>
<GAME>
<GAMEID>TC0781571706417</GAMEID>
<NAME>Star Trek Voyager: Elite Force</NAME>
<SHORTNAME>EF</SHORTNAME>
<DEFAULTPORT>27970</DEFAULTPORT>
<DEFAULTQUERYPORT>27970</DEFAULTQUERYPORT>
<DEFAULTRCONPORT>27970</DEFAULTRCONPORT>
<FILESFOLDER>EF</FILESFOLDER>
<RELATIVEEXECUTABLE>EF/stvoyHM.exe</RELATIVEEXECUTABLE>
<RELATIVEWORKINGDIRECTORY>EF/</RELATIVEWORKINGDIRECTORY>
<RELATIVEUSERFILES>EF/</RELATIVEUSERFILES>
<INSTALLEDPATCH />
<FILEMAN_ACCESS>True</FILEMAN_ACCESS>
<FTP_ACCESS>True</FTP_ACCESS>
<IS_VOICE_SERVER>False</IS_VOICE_SERVER>
<DEFAULTCMDLINE />
<DEFAULTCUSTOMCMDLINE>+set dedicated 2 +set net_port 27970 +com_hunkMegs 256 +exec server.cfg +set net_ip %serverip%</DEFAULTCUSTOMCMDLINE>
<PRIVATECMDLINE />
<PRIVATECUSTOMCMDLINE />
<PBFOLDER>pb</PBFOLDER>
<PBURL />
<PBENABLEADMINS>False</PBENABLEADMINS>
<PBENABLEUSERS>False</PBENABLEUSERS>
<PBENABLEADMINS>False</PBENABLEADMINS>
<PBDELETEADMINS>False</PBDELETEADMINS>
<PBDELETEUSERS>False</PBDELETEUSERS>
<PBLOGS>pb/svlogs</PBLOGS>
<PBSS>pb/svss</PBSS>
<STEAMGAMETYPE />
<STEAMENABLEADMINS>False</STEAMENABLEADMINS>
<STEAMENABLEUSERS>False</STEAMENABLEUSERS>
<BRANDEDTEXT />
<BRANDEDTEXTATEND>False</BRANDEDTEXTATEND>
<BRANDEDTEXTSPACE>False</BRANDEDTEXTSPACE>
<BRANDEDREGEX />
<ALLOWUSERINSTALL>False</ALLOWUSERINSTALL>
<PORTINCREMENT>1</PORTINCREMENT>
<GAMEPORTEXPRESSION>%primary_serverport%</GAMEPORTEXPRESSION>
<QUERYPORTEXPRESSION>%primary_queryport%</QUERYPORTEXPRESSION>
<RCONPORTEXPRESSION>%primary_rconport%</RCONPORTEXPRESSION>
<STOPDELAY>3</STOPDELAY>
<CUSTOMPORT1>0</CUSTOMPORT1>
<CUSTOMPORT2>0</CUSTOMPORT2>
<CUSTOMPORT3>0</CUSTOMPORT3>
<CUSTOMPORT4>0</CUSTOMPORT4>
<CUSTOMPORT5>0</CUSTOMPORT5>
<CUSTOMPORT1EXPRESSION />
<CUSTOMPORT2EXPRESSION />
<CUSTOMPORT3EXPRESSION />
<CUSTOMPORT4EXPRESSION />
<CUSTOMPORT5EXPRESSION />
<OS>1</OS>
<ONLYDEFAULTPORT>False</ONLYDEFAULTPORT>
<INTERACTDESKTOP>False</INTERACTDESKTOP>
<CMDBUILDERUSERACCESS>True</CMDBUILDERUSERACCESS>
<INSTALLSCRIPT />
<UNINSTALLSCRIPT />
<NEWEMAILSUBJECT />
<NEWEMAILBODY />
<REINSTALLEMAILBODY />
<REINSTALLEMAILSUBJECT />
<SHOWINCREATELIST>True</SHOWINCREATELIST>
<SHOWCONFIGSICON>True</SHOWCONFIGSICON>
<FORCE_FTP_PATH />
<START_CPU_0>False</START_CPU_0>
<LOG_PATH />
<LOG_EXTENSIONS>log.txt</LOG_EXTENSIONS>
<ENABLE_LOG_VIEWER>False</ENABLE_LOG_VIEWER>
<DISABLE_REINSTALL>False</DISABLE_REINSTALL>
<COMPATIBILITY>32</COMPATIBILITY>
<DEFAULTCONFIGFILES>
<CONFIGFILE>
<GAMEID>TC0781571706417</GAMEID>
<CONTENTS>//set Gametype to 4 for Capture the Flag Mode
g_gametype 4

//Capture The Flag settings below
//set fraglimit. Fraglimit of 0 is default for CTF. Set to 0 for no limit.
fraglimit 0
//set timelimit. Timelimit of 30 is default for CTF. Set to 0 for no limit.
timelimit 30
//set flag capture limit before level changes. Set to 0 for no limit (Default: 8)
capturelimit 10
//turn on friendly fire. Friendlyfire off is default for CTF. 1=on
g_friendlyFire 0
//set Maximum number of clients
sv_maxclients %slots%

//set host name that shows up in server list. Change below to your server name preference
sv_hostname "%hostname%"

//set message of the day that players see while connecting to the server. Must be set before level loads. Change below to your message of the day preference.
g_motd "Welcome to the CGINT Elite Force CTF server"

//set the number of private clients
sv_privateClients 0
//set Password for private clients
sv_privatePassword ""

//set remote console password used by client
rconpassword "%rconpassword%"

//set max allowable rate for a client. 8000 to 10000 recommended. Max: 25000 (Default: 0)
sv_maxRate 10000

//Pure Server: turn on/off pak cheat check. 1=on, 0=off (Default: 1)
sv_pure 1

//add up to 4 additional master servers to report to
sv_master2 ""
sv_master3 ""
sv_master4 ""
sv_master5 ""

//Set map selection, cycle order, and start first map
set d1 "map ctf_spyglass ; set nextmap vstr d2"
set d2 "map ctf_thebunker ; set nextmap vstr d3"
set d3 "map noreturn ; set nextmap vstr d4"
set d4 "map ctf_space ; set nextmap vstr d5"
set d5 "map ctf_canyon ; set nextmap vstr d1"

// This command starts the first map.
vstr d1

//set weapon respawn times for free for all in seconds. May need to decrease for large number of clients. (Default: 5)
g_weaponrespawn 1

// Make weapons respawn faster with a lot of players. 1=on, 0=off (Default: 1)
g_adaptrespawn 1

//set voting. 1=on, 0=off (Default: 1)
g_allowvote 1

//set power multiples for quad damage (Default: 3)
g_quadfactor 3

//set if you want a map_restart. 1=on, 0=off (Default: 1)
g_doWarmup 0

//set time in seconds until map_restart.
//g_warmup 20

//set holodeck doors. 1=on, 0=off (Default: 1)
g_holoIntro 0

//set time in seconds intermission can last
//g_intermissionTime 20

//set time you get to beam into holodeck before you can be hit
g_ghostRespawn 5

//force model groups, game will change the player's model to one from the defined group. (default : none)
//valid teams are: borg, starfleet, hazardteam, klingons, romulans

//red team
//g_team_group_red starfleet

//blue team
//g_team_group_blue borg</CONTENTS>
<DESCRIPTION>Configuration</DESCRIPTION>
<DISPLAYNAME>Config</DISPLAYNAME>
<RELATIVEPATH>server.cfg</RELATIVEPATH>
<EDITOR_CONTENTS />
<ALLOWEDITWHENFMDISABLED>True</ALLOWEDITWHENFMDISABLED>
<ALLOWEDITWHENFMENABLED>True</ALLOWEDITWHENFMENABLED>
</CONFIGFILE>
</DEFAULTCONFIGFILES>
<RCONCOMMANDS />
</GAME>

The folder mentioned contains all the game files that are confirmed to work on the system itself however when I try to create a game from the panel I get the following error.

GSAutomation.Processes.CreateGameServer: Error Compiling Expression: Error Compiling Expression: Invalid expression term '%'
) expected
Invalid expression term ')'


Any chance someone has experience with this or did I do something wrong? Any help would be appreciated.

LFA
05-08-2012, 09:03 PM
Set all the port expressions blank.