]> git.pond.sub.org Git - empserver/blob - scripts/blitz-w32/blitz_script.bat
client: Unbreak standalone build
[empserver] / scripts / blitz-w32 / blitz_script.bat
1 REM Example Blitz script which can be ran as a scheduled task.
2 REM Written by Ron Koenderink, 2005
3 REM This script is in the public domain.\r
4 REM\r
5 REM You will need to set the EMPIREHOST and EMPIREPORT if the \r
6 REM emp_client is not compiled with the correct defaults.\r
7 REM set EMPIREHOST=localhost\r
8 REM set EMPIREPORT=6665\r
9 REM\r
10 REM The script can be simplified by setting the execute\r
11 REM directory to the bin directory.\r
12 REM The -e is not necessary unless you are not using the\r
13 REM the default game directory.\r
14 REM\r
15 echo power new | c:\home\wolfpack\emp4\bin\emp_client -2 power.out POGO peter\r
16 net stop "Empire Server"\r
17 c:\home\wolfpack\emp4\bin\files -f -e c:\home\wolfpack\emp4\data\econfig\r
18 c:\home\wolfpack\emp4\bin\fairland -e c:\home\wolfpack\emp4\data\econfig 10 30\r
19 net start "Empire Server"\r
20 c:\home\wolfpack\emp4\bin\emp_client POGO peter <newcap_script\r
21 echo enable | c:\home\wolfpack\emp4\bin\emp_client POGO peter\r