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

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 06-11-2003, 05:38 AM
Bigpull
Discordant
 
Join Date: Feb 2003
Posts: 305
Default Linux scripts

Putting this here so they don't get lost in the shuffle again

emuStart
Code:
#!/bin/sh 
WORLD=Change world ip/host 
ZONE=Change to zone ip/host 
mkdir -p logs 2>&1 > /dev/null 
#mini#if [ ! -e .lock-login ] ; then 
#mini#    touch .lock-login 
#mini#    wine ./MiniLogin.exe > ../logs/login & ) 
#mini#    sleep 30 
#mini#fi 
export LD_LIBRARY_PATH=`pwd` 
if [ ! -e .lock-world ] ; then 
    touch .lock-world 
    ./world 2>&1 > logs/world & 
    # slow servers 
    #sleep 5 
fi 
if [ ! -e .lock-zones ] ; then 
# Static zones
    touch .lock-zones 
    ./zone qeynos $ZONE 7995 $WORLD 2>&1 > logs/qeynos.log & 
    ./zone cshome $ZONE 7996 $WORLD 2>&1 > logs/cshome.log & 
fi 
#dynamic zones using ports given on command line
    if [ foo"" != foo"$1" ] ; then 
    for i in "$@" ; do 
        ./zone . $ZONE $i $WORLD 2>&1 > logs/zones & 
    done 
    fi
emuStop
Code:
#!/bin/sh
killall Andune.world Andune.zone
sleep 5
killall -9 world zone
sleep 5
./cleanipc
rm -f .lock-zones .lock-world .lock-login
Reply With Quote
 


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:32 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