Automatic Update for PK++ Server

The following batch file will:

1. Keep your Windows server online
2. Update automatically to the latest PK++ whenever you restart it

It is recommended you set an rcon password, so that you can connect and \rcon quit to force a server restart.

If you are running Painserver.exe or any other executable you will need to edit the commandline as applicable.

Create a batch file with the following text in \bin\ , use at your own risk:

:start
painkiller -dedicated -cfg config.ini -lscripts pkplus.pak -start
rem crude wait to make sure pk has quit
PING 1.1.1.1 -n 1 -w 30000 >NUL
cd ..\data\
updater.exe silent
cd ..\Bin\
goto start

Converting 1.62 Demos to 1.64

Firstly grab the CPL demos here: http://x6.profezgaming.com/

You then need to hex edit the demo to alter the version number which is near the start of the file.

Download a freeware hex editor here, and open the demo file using it.

http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

On the first line or so, on the right hand side, you will see a 1.62, change the 2 to a 4 to make 1.64. Save, watch 🙂

BOOH Brightskins

Valid brightskins in BOOH are now:

Red, Green, Blue
Cyan, Magenta, Yellow
Black, White

These are set in the config here:

Cfg.BrightskinEnemy = “Red”
Cfg.BrightskinTeam = “Blue”

With Cfg.FixedColors = true, Cfg.BrightskinTeam refers to the team named ‘blue’ on the scoreboard, and Cfg.BrightskinEnemy to the other.

With Cfg.FixedColors = false, Cfg.BrightskinEnemy always refers to the opposing team, and Cfg.BrightskinTeam always to your own team colour.