Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2010, 12:13 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default Simiple World Rebooter

This is a simple world restart script. Please feel free to modify the code as you see fit. You can change the script variables for the running process it is monitoring and how often it checks the process is running.

I thought I would share this. This isn't what I use on the VZTZ server but this might help some of the other operators if they have trouble.

This can also be used to monitor the eqlauncher.exe by simply changing "SET PROCESS=World.exe" to "SET PROCESS=eqlauncher.exe" in the batch script.


1. Open notepad and paste the following code inside it and save it and Monitor.bat
Code:
@ECHO OFF

SET PROCESS=World.exe
SET TIME=15


:LOOP
wait.exe %TIME%
pv.exe %PROCESS%
if ERRORLEVEL 1 GOTO START
GOTO LOOP

:START
start %PROCESS%
GOTO LOOP
2. Download PrcView and extract the pv.exe

3. Download Wait and extract wait.exe

4. Put all 3 files (Wait.exe, pv.exe and Monitor.bat) into your server directory and you can run Monitor.bat and every 15 seconds it will check for a running process named World.exe and if it is not running it will start the program automatically.
__________________
Lead GM Voidd of the Vallon / Tallon Zek Server
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:01 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3