http://mensa.ath.cx/~polzer/temp/nex221 ... nnick.diff - adds a cvar sv_adminnick that is used instead of the host name in chat from the server console
http://mensa.ath.cx/~polzer/temp/nex221 ... -exec.diff - fixes changelevel issues with Q3 map pack (or more generally, issues with cfg files that do not end with a newline character)
http://mensa.ath.cx/~polzer/temp/nex221 ... rsion.diff - notifies the client about the Nexuiz version on your server if it has another version (so more people know about the 2.2.1 release)
http://mensa.ath.cx/~polzer/temp/nex221 ... items.diff - error message for two items on the same spot, should be useful for mappers (set spawn_debug 2 to enable)
http://mensa.ath.cx/~polzer/temp/nex221 ... empty.diff - new cvar quit_when_empty; when 1, the server quits once it is empty at the end of a game, useful to apply engine updates
How to apply dp- patches (I assume a Linux x86 server here, for other architectures like x86_64 try intelligent guessing in the last step

- Change to your game directory
- Code: Select all
$ cd /whereever/the/game/is/Nexuiz
- Extract the engine sources
- Code: Select all
$ cd sources
$ unzip enginesource20061212.zip
$ cd darkplaces
- Apply the patches you want
- Code: Select all
$ wget -qO- http://mensa.ath.cx/~polzer/temp/nex221-patches/dp-newline-after-exec.diff | patch -p0
$ wget -qO- http://mensa.ath.cx/~polzer/temp/nex221-patches/dp-adminnick.diff | patch -p0
- Recompile the engine
- Code: Select all
$ make clean sv-nexuiz
- Install the recompiled engine
- Code: Select all
$ cd ../..
$ mv nexuiz-linux-686-dedicated nexuiz-linux-686-dedicated.orig
$ mv sources/darkplaces/nexuiz-dedicated nexuiz-linux-686-dedicated
How to apply nex- patches (I again assume Linux):
- Change to your game directory
- Code: Select all
$ cd /whereever/the/game/is/Nexuiz
- Get a current fteqcc:
- Code: Select all
$ svn checkout https://svn.sourceforge.net/svnroot/fteqw/trunk/engine/qclib fteqcc
$ cd fteqcc
$ make
$ cd ..
- Extract the game sources
- Code: Select all
$ cd sources
$ unzip gamesource20061212.zip
$ cd qcsrc/server
- Apply the patches you want
- Code: Select all
$ wget -qO- http://mensa.ath.cx/~polzer/temp/nex221-patches/nex-whatever.diff | patch -p0
$ wget -qO- http://mensa.ath.cx/~polzer/temp/nex221-patches/nex-whatever.diff | patch -p0
- Recompile the game code
- Code: Select all
$ ../../../fteqcc/fteqcc.bin
- Install the recompiled engine
- Code: Select all
$ cd ../../..
$ mv sources/progs.dat data/progs.dat