Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

IWEB 1.5.3 (Not turning Map On / Off )

Experienced Elementalist
Joined
Jun 11, 2012
Messages
238
Reaction score
110
Already tried some IWEB`s I can`t get them to turn Maps ON / OFF does it have anything to do with server folder location not being on "home"?

can anyone upload a working iweb? thanks
 
Junior Spellweaver
Joined
Dec 28, 2008
Messages
114
Reaction score
13
If your server files are located inside the home folder, you can make an extra folder named "sh", and make start and stop scripts for each map.

For example.... Gate of Delerium - map 39
make bash script named 39.sh and add the following text...
Code:
#!/bin/sh

PW_PATH=/home
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi

echo " ::: Starting Gate of Delerium (39) ::: "
cd $PW_PATH/gamed; ./gs is09 > $PW_PATH/logs/is09.log &
sleep 7
echo " ::: Done! ::: "

Then make a stop script for the map stop39.sh and add the following.....
Code:
#!/bin/sh

PW_PATH=/home
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi

echo " ::: Stopping Gate of Delerium (39) ::: "
/bin/kill -9  `ps -ef | grep is09 | grep -v grep | awk '{print $2}'`
sleep 7
echo " ::: Done! ::: "

change PW_PATH=YOUR_SERVER_DIRECTORY

Repeat for each map. Keeping them in their own folder keeps your server folder from being cluttered.
If you have server open to public, you don't want to risk having a web interface for people to try and hack into.
 
Upvote 0
Back
Top