]> icculus.org git repositories - divverent/nexuiz.git/blob - server/server_havoc_windows.bat
Fix quakenet auth and add a new plugin to stop abusive votes
[divverent/nexuiz.git] / server / server_havoc_windows.bat
1 @echo off\r
2 \r
3 setlocal\r
4 set executable=nexuiz -dedicated\r
5 \r
6 %~d0\r
7 cd "%~p0"\r
8 \r
9 if exist %executable% goto good\r
10 if not exist ..\%executable% goto bad\r
11 if exist ..\data\server.cfg goto halfgood\r
12 if exist ..\havoc\server.cfg goto halfgood\r
13 goto bad\r
14 \r
15 :bad\r
16 echo This script is not properly set up yet.\r
17 echo Please refer to the instructions in readme.txt.\r
18 echo In short:\r
19 echo - copy server.cfg to the data directory and adjust its settings\r
20 echo - move this file to the main directory of your Nexuiz installation\r
21 pause\r
22 exit\r
23 \r
24 :halfgood\r
25 cd ..\r
26 \r
27 :good\r
28 .\%executable% -game havoc +serverconfig server.cfg %*\r