Anyone been working on a reboot script or selling a reboot script.
Itd be great for the server community to have. Something nice that could reboot the server twice (helps clear out RAM) then relaunch the EXE's. Maybe one that can change the user limit to 0 when l2server is launched and after all the npcs are loaded change it to correct limit.
not sell we all help here. I wish I had my old one took guy 5 min worked well.. botted server/npc if they crashed had like 10min delay so it can finish crashing without starting to fast and crashing / errors. It was perfect wish I had it still :(
Just do a batch. get a tool named pskill.exe that kills the processes and another tool called doze.exe that pauses for # seconds then do a batch. Easiest thing possible.
I will post a small and simple vb app I did, it basically lets you specify the 6 exe's and how long to wait for each one before it runs the next one, so its damn easy to tune it to how fast or slow your server loads each exe.
I havent included the VB6 runtime cos that would just waste space.
It doesnt shutdown, just loads.
Simple instructions
you have to have the directory 'l2autorun' in the root of 'D' directory, this program wont work if you put it anywhere else.
edit the data.txt file
there are 18 lines
the first 6 are the directory for each of the 6 exe's (do not put a \ at the end of each line.
the next 6 lines are the seconds counter, eg 5 seconds. this is concurrent, not wait before you run the next app, so if you have line 1 5 10, each app will run that many seconds from when you started l2autorun (not wait that amount of seconds from the last exe run).
the last 6 lines are the exe file names.
Thats it, I hope its useful. I would say the best thing to do is have autologin enabled and have this in your startup folder or registry, that way, if you reset your server, it will boot directly into the OS and run the server exe's.
Auto login?? Is that like auto create accounts?? I have been looking for a way for players to auto create accounts like L2j, does anybody know how to do this?? I am getting sick of making accounts manually lol
Now if only it could monitor WAN ip changes, shut all the server exe's down, change the WAN ip in the database and the ini file, and then restart the server exe's, I would be in heaven. :icon6: