(FOR SERVER ADMINS) Patches since 2.2.1

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

(FOR SERVER ADMINS) Patches since 2.2.1

Postby divVerent » Sun Dec 17, 2006 11:21 am

If you run a server, you should decide whether you want to include these patches or not.

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 :P ):
  • 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
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Bl@nk » Thu Dec 21, 2006 12:49 am

what if you not linux :) Thanx for the files btw.
Bl@nk
Member
 
Posts: 22
Joined: Wed Mar 01, 2006 1:56 pm

Postby Psychcf » Sun Dec 24, 2006 3:05 am

if you not linux then you crazy!!! :lol:

yeah if you don't then ummm use a live CD I guess...

I think that some of these should be included in the official release.
*Cue Vermeulen*
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby divVerent » Sun Dec 24, 2006 7:12 am

All of these.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE


Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron