Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2002, 08:03 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default Attention linux fans, a script for eqemu.

I have created a script to keep eqemu up 24/7.
My script works like a init script, you call it like this
./startserver start
./startserver stop
./startserver status
Becuase you can edit it to specify your eqdirectory it *should* be able to be linked like an init script to have eqserer start at boottime

This script will
1)start the worldserver
2)start zoneservers ( by deafult this is 10, only because i have alot of memory in my machine, delete lines to suit you
3)check to see if the zoneservers are running, if they arent it will start them, if they are it will poll in another 10 seconds
4) check the world server, if the worldserver dies then it will clean up and kill any zoneservers, and then restart the world server and zone servers again.
YOU MUST SET THE VARIABLES at the top.

-scriptname is the name of the script, ex. startserver
-eqdir IS IMPORTANT, its the directory that eq is installed
-world is the name of the worldserver executable, normally world
pub_ip is your PUBLIC IP ADDRESS
-world_ip is the address of the worldserver, safe to be localhost and usually localhost
-zone is the name of the zoneserver executable, normally zone

This script has been tested to work on SuSE Linux 7, good luck with using it for youself. All i can say is its not guarenteed but it works for me:p
The attached file is named with a zip extension because of the forum limitations,but it is just the script. Rename it to startserver to use it.
Reply With Quote
  #2  
Old 06-13-2002, 12:36 PM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

heres a minor update to my script that includes another variable so that you can start a specified # of zoneservers easily.

Soon to come- a better termination job, and im sorry, i lied, it cant be used as an init script yet because i forget about the special variables you have to return when starting scripts like that, however i will work on it sometime in the future.
__________________
-------------------------
ServerOP- Botworld
-------------------------
Reply With Quote
  #3  
Old 06-20-2002, 01:34 PM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

Heres the latest verion, i cleaned it up alot, this shoudl be ALOT better, but im going to leave the script like this. Use it if you'd like.

maybe suitable for an init script, but kinda dangerous at the moment, it might hang your boot, but your welcome to let me know.
__________________
-------------------------
ServerOP- Botworld
-------------------------
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 04:15 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3