Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Some useful "Bat" tools that you can use with Rose Development.

Experienced Elementalist
Joined
Sep 25, 2006
Messages
214
Reaction score
13
So its been a while since i have last posted anything that has to do with rose so i am a little rusty.

Most of rose tools and development has stopped or became frozen.
i made a few simple bat based tools with simple as scrips that helps you work on client
To all i do no do OSrose stuff so if this can be useful for you still please let me know.

srvdata creator / updater.

Based on official files the server only reads selective files to run.. ALL other files just cause delays on boot.

So i created this simple bat file that uses a pre-extracted 3ddata file and only Pulls the necessary files it needs for the server to run. Simple use just put into the 3ddata file and watch it go.
This will ALSO only update the files that have been modified recently. Ignoring the rest so it will update the file quickly after the first time.

srvData_Extractor.bat
Code:
@[I][B][URL="http://forum.ragezone.com/members/2000189605.html"]Echo[/URL][/B][/I] off
xcopy .\*.STB         ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "STB Done"
xcopy .\*.AIP        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "AIP Done"
xcopy .\*.ZMO        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "ZMO Done"
xcopy .\*.QSD        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "QSD Done"
xcopy .\*.CHR        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "CHR Done"
xcopy .\*.ZON        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "ZON Done"
xcopy .\*.HIM        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "HIM Done"
xcopy .\*.IFO        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "IFO Done"
xcopy .\*.MOV        ..\srvDATA\3Ddata\  /s /Y /d /EXCLUDE:excludelist.txt
echo "MOV Done"
echo "Job Compleate, Now Send this to Server by SVN"
ECHO 
pause


excludelist.txt
Code:
\CVS\
\.hg\
\MData\
\ESTB\
\data\
*.dds
*.tga
*.jpg
*.bmp
*.xml
*.dll
*.exe
*.eft
*.zms

Server starter + Force restart if crashed

This is no good for OSrose but use full for official file based.
the script is fairly simple
it detects if the program is running in the background if its not it will start it.
then repeats its check... its its on it dose nothing but checks.
simple right?

Game_Server_restarter.bat
Code:
 @[I][B][URL="http://forum.ragezone.com/members/2000189605.html"]Echo[/URL][/B][/I] off
:Restart
start "SHO_GS" /wait "GameServer\SHO_GS.exe"
goto Restart

World_Server_restarter.bat
Code:
 @[I][B][URL="http://forum.ragezone.com/members/2000189605.html"]Echo[/URL][/B][/I] off
:Restart
start "SHO_WS" /wait "WorldServer\SHO_WS.exe"
goto Restart

If you have notice i did not include Login server in this.
as the login server nearly NEVER crashes so its mostly pointless.
 
Last edited:
Back
Top