View Single Post
piet piet's Avatar

JCF Member

Joined: Feb 2003

Posts: 438

piet is doing well so far

Dec 11, 2004, 01:08 AM
piet is offline
Reply With Quote
ok i think its done now:

you must make a shortut to jazz2.exe like this:

Target: J:\Jazz2.exe -windowed -nosound -server -nospy -log -log=121.log -battle brhotel.j2l

Run: Minimized

replace J:\ with your own path to jazz2.exe
name the shotcut "1.21" (1.21.lnk in batch file).
put the shortcut next to the batch file.
run the batch file.
while the server is running it makes a log file called log.txt
in here you will get something like this:


za 11-12-2004 (11:06:22,55) - starting server
za 11-12-2004 (11:06:22,85) - server started
za 11-12-2004 (11:06:22,89) - starting tools
za 11-12-2004 (11:06:29,06) - tools started
za 11-12-2004 (11:06:29,16) - server restarting in 60 minutes
za 11-12-2004 (11:07:31,07) - server restarted
-------------------------------------------------------------
za 11-12-2004 (11:07:31,31) - starting server
za 11-12-2004 (11:07:31,96) - server started
za 11-12-2004 (11:07:32,01) - starting tools


i wil release all the things you need to run your own server (except jazz2.exe etc)
this way you can help me :P

Code:
@echo off

:startserver
cls
echo %date% (%time%) - starting server>>log.txt
echo %date% (%time%) - starting server
start 1.21.lnk
echo %date% (%time%) - server started>>log.txt
echo %date% (%time%) - server started

:starttools
echo %date% (%time%) - starting tools>>log.txt
echo %date% (%time%) - starting tools
PING 1.1.1.1 -n 1 -w 5000 >NUL
cd tools
start respawn.exe
cd..
echo %date% (%time%) - tools started >>log.txt
echo %date% (%time%) - tools started

:wait
echo %date% (%time%) - server restarting in 60 minutes >>log.txt
echo %date% (%time%) - server restarting in 60 minutes
PING 1.1.1.1 -n 1 -w 360000 >NUL
process -k Jazz2-1.21.exe
process -k respawn.exe
echo %date% (%time%) - server restarted >>log.txt
echo %date% (%time%) - server restarted
echo ------------------------------------------------------------- >>log.txt
goto startserver
__________________
I remember playing jazz2 like crazy!