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 05-29-2008, 02:15 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

I've put together an auto-crash killer and auto server-restarter. It's written in VB.Net and seems to work fine. Here's the source and win32 binaries

The crash-killer should close any crashed window - whether or not you have a debugger installed.

The server restarted can be set to restart your server periodically, or stop and start your server with one click.

The only thing it needs is to know where your .bat file for launching the server is. It can be installed in any directory.

Here's the .bat I use:

@echo off
cls
echo *** CLEARING OLD LOGS ***
del "C:\EQEmu\logs\*.*" /q
echo *** STARTING EVERQUEST WORLD EMULATOR ***
start world.exe
ping -n 15 127.0.0.1 >nul
echo *** STARTING EVERQUEST ZONES ***
start eqlaunch.exe static
start eqlaunch.exe dynamic
exit

Feedback is greatly appreciated!
Reply With Quote
  #2  
Old 06-04-2008, 01:27 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

this is not working on my pc it loads and everything but does not boot the server up and seeing as i have not been able to get it to boot the server i have not found if it will reboot after a crash. anyways though i would say something mabie there is a fix or something someone else wants to post that works?

im running windows xp sp3 just in case thats the issue.

im talking about the last post seems the one from the first guy has been taken down because he quit on it?
Reply With Quote
  #3  
Old 06-04-2008, 07:51 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I could never get the one that Richardo wrote to work either. My world server would crash and the popup would come up about the crash, but it never restarted the world or seemed to do anything other than run in my system tray. So, I dunno.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 06-04-2008, 01:16 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

I've updated a few things, the links above contain the updated versions - it should also kill hung zones (zone.exe that stays at 50% for more than 30 minutes)

spider661 - does your .bat file boot the server?
also - clicking 'start' from the file menu doesn't start the server, it starts the process monitoring. you'd need to click 'start server now' from the file menu first, then click start. i havent had time to put in a check to see if world.exe, eqlaunch.exe or zone.exe are running yet - so that clicking 'start' also starts the server if it's not running.
Reply With Quote
  #5  
Old 06-04-2008, 08:34 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

yes my bat file starts the server fine on its own but i did not start server first then hit start mabie that was the prob ill give it a try thanks
Reply With Quote
  #6  
Old 06-04-2008, 08:39 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

well it seems to be working now.. thanks.. another thing when it resets the server does it give an in game warning? and if not would it be hard to do that? maybe telnet to the server and broadcast server coming down half hour before and maybe 10 and 1 mins before?
Reply With Quote
  #7  
Old 06-11-2008, 02:16 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

great program found a problem though.. the test telnet worked just fine. but when it whent to broadcast for the real shutdown i got an error.. this this is what it says.

Code:
Error brodcasting: system.invalidoperationexception: sendkeys cannot run inside this application becuase the applacation in not handling windows messages.
Either change the applicacation to handle messages, or use sendkeys.sendwait method.
at system.windows.forms.sendkeys.send(string keys, Control control, boolean wait)
at system.windows.forms.sendkeys.send(string keys)
at eqemutools.eqemutools.brodcast(string delay)
also in case it matters. i set the restart time to 0.15 so i could see how it works kinda a test. i don't know if that would have caused it or not but figured i would let you know.

Last edited by spider661; 06-11-2008 at 10:19 PM.. Reason: to add last line
Reply With Quote
  #8  
Old 06-05-2008, 08:10 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

When I get a chance I'll change the code so that clicking 'Start' also starts the server if it's stopped.
Reply With Quote
  #9  
Old 06-06-2008, 04:51 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

nosfentora sorry to bug you but you never answered my last question i figer you may have missed it sense it was on a new page of the topic.. could you read up a post above your last and let me know what you think maybe?
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:33 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3