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
  #3  
Old 04-18-2006, 12:39 PM
johane
Sarnak
 
Join Date: Sep 2005
Location: Gold Coast, Oz
Posts: 69
Default

Quote:
Originally Posted by Arex
Hi, i was thinking use a script for run server, but i have any doubts... if u use

#!/bin/sh
./world &
./zone &
./zone &
./zone &
./zone &

I get all things on same terminal, how can i get each zone in one independent terminal? I also would like to know how many zones are u running for a stable server with 10 players online?

Thank you in advance!
The following is what I remember, but since my Linux machine had a HDD failure, and I havent got another one up yet I can't check it. In particular, I'm not sure of the test off the top of my head.

Try this:

#!/bin/sh
#change this to where ever your server binaries are
GAMEDIR=/eqemu/server/bin

#Check world isnt already running.
# grep returns 1 of world not found, so ! $? should be zero
ps aux | grep world >> /dev/null
if [ ! $? ] ; then

cd $GAMEDIR
xterm -e ./world &
xterm -e ./zone &
xterm -e ./zone &
xterm -e ./zone &
xterm -e ./zone &

fi
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 10:54 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