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:@Echo 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
Server starter + Force restart if crashedCode:\CVS\ \.hg\ \MData\ \ESTB\ \data\ *.dds *.tga *.jpg *.bmp *.xml *.dll *.exe *.eft *.zms
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
World_Server_restarter.batCode:@Echo off :Restart start "SHO_GS" /wait "GameServer\SHO_GS.exe" goto Restart
If you have notice i did not include Login server in this.Code:@Echo off :Restart start "SHO_WS" /wait "WorldServer\SHO_WS.exe" goto Restart
as the login server nearly NEVER crashes so its mostly pointless.



Reply With Quote

