Ultimate JKA Server Restarter (Windows) (3.02)

New version available! Find it here.

By Cthulhu99
Date: 06-13-2010
Version: 3.02

Download

Readme

Server starter and crash checker for Jedi Knight: Jedi Academy V3.02.
Now all MODs versions and base supported.

Server status check description:

The script will both start and check if the server has crashed, using window close and/or udp status as triggers.
This script use the nmap (http://www.nmap.org) software, and requires the installation of WinPCAP for packet processing. You can find
an .exe installer within this package (winpcap-nmap-4.11.exe) or download it at http://www.winpcap.org.

Dynamic Rotation description:

Dynamic Rotation is a way to make several different rotations in each day of the week, to a total of seven.
By using this method the server becomes a lot more dynamic, and can help in MODs where rotation is unstable and can crash the server, making it possible
for maps at the end of the rotation to be more played in other days if set to a upper layer.
Rotations for each day can be set in the drotation.cfg file.
To set the Dynamic Rotation feature, check script.cfg.

Obs: Server.cfg must be edited with the removal of the current rotation and the vstr starting the first map, like vstr d1.

Updater description:

V3.00 now includes an updater. The updater can be set to autodownload patched scripts, and required files, or to only show the mirrors where the full
version can be download.
To set the autodownload feature, check script.cfg.
To execute the updater, run Updater.bat.

INSTALL:

1) Unpack the zip to any folder.
2) Install WinPCAP if you haven't already (winpcap-nmap-4.11.exe).
3) Check script.cfg and configure it. (All lines are described for what you need to set.)
3a) Check drotation.cfg and configure it if you have Dynamic Rotation enabled.
4) Run JKAScript.bat.

NMap local scan infomation on Windows:

Windows doesn't allow you to make a local scan, so setting the WAN IP if it's not located in your Windows (a router for example) is the best choice, but if you can't
(dynamic ip, LAN only server or if the WAN ip is set in your Windows), there's a way to trick Windows with a local spoof described in the script.cfg.
The spoof check has been added in V2 as a check method in the script.cfg.

Changes from V1 to V2:

Added a single configuration file, you no longer have to check all the scripts.
Added a USER variable for more precise process checks.
Added comments in all areas for easy understanding.
MBIIServer.bat is no longer a static BATCH file, it's now created by the script each time you run it. All configurations in scripts.cfg will be passed to the batch file aswell.
Added the option of changing the nmap UDP check method from normal to spoofed in the scripts.cfg.

Changes from V2 to V3.00:

Support for all versions added.
Most lines have been either cleaned or optimized, error check for wrong values also has been added.
Dynamic Rotation added.
Updater added.

Changes from V3.00 to V3.01:

The code has been further cleaned and optimized.
All error checks with the exception of autodownload and server.cfg, have been migrated to the master script.
All error checks have been improved.
Added some echo messages for better interpretation in the stdout.

Changes from V3.01 to V3.02:

Check for directory and user errors added to the master script.
CFG files are now stored at the cfg folder, while previous version files after auto update are stored in the old folder.
Code for the updater has been further improved.

Thanks to: (People who helped me at some point)

eXploit
=Someone=
Necrom
Kaynehril
TK-231
*NSOQ*Lagawan 1.0
*NSOQ*Wolfman
*NSOQ*Helter Skelter
[CR]QuetzalCoalt
[CR]Tipo

-------------------------------------------------------------

* Cthulhu@GBITnet.com.br / 2010 ©