Re: MAP Demon worrld error
if you are starting your server with minimal start.sh, open and search line:
Code:
echo "----STARTING MAIN WORLD----"
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log &
and replace:
Code:
echo "----STARTING MAIN WORLD----"
cd $PW_PATH/gamed; ./gs gs01 is22 >$PW_PATH/logs/game1.log &
if you want start another map, add isNUMBER in list..
I will list some maps:
Celestial world: is21
Demon World: is22
Pan Gu: gs01
IF you server was started, or principal map fell, create a mapX.sh(replaceX any name you want)
open and add:
Code:
PW_PATH=/root/PWServer #REPLACE TO YOUR PW PATCH
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi
./gs MAPID >$PW_PATH/logs/game_all.log &
sleep 20
echo "MAP NAME"
Replace MAPID an MAPNAME.
You can add other maps to your sh add lines:
Code:
./gs MAPID >$PW_PATH/logs/game_all.log &
sleep 20
echo "MAP NAME"
Later save, exec "chmod a+x mapX.sh"
and exec you shell
---
SORRY MY BAD ENGLISH :laugh:
Re: MAP Demon worrld error
Quote:
Originally Posted by
FaireFox
if you are starting your server with minimal start.sh, open and search line:
Code:
echo "----STARTING MAIN WORLD----"
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log &
and replace:
Code:
echo "----STARTING MAIN WORLD----"
cd $PW_PATH/gamed; ./gs gs01 is22 >$PW_PATH/logs/game1.log &
if you want start another map, add isNUMBER in list..
I will list some maps:
Celestial world: is21
Demon World: is22
Pan Gu: gs01
IF you server was started, or principal map fell, create a mapX.sh(replaceX any name you want)
open and add:
Code:
PW_PATH=/root/PWServer #REPLACE TO YOUR PW PATCH
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi
./gs MAPID >$PW_PATH/logs/game_all.log &
sleep 20
echo "MAP NAME"
Replace MAPID an MAPNAME.
You can add other maps to your sh add lines:
Code:
./gs MAPID >$PW_PATH/logs/game_all.log &
sleep 20
echo "MAP NAME"
Later save, exec "chmod a+x mapX.sh"
and exec you shell
---
SORRY MY BAD ENGLISH :laugh:
Can you give a little structure like folder or gs is 01 to the end and also bg is 01 to finish .. I ask ..
because I'm not sure I understand its structure from the beginning arena bg 01 to 06 ..
or you can upload your files start.sh ...??
thanks :P:
Re: MAP Demon worrld error
I use 3 sh(short start)
Start:
Code:
#!/bin/sh
PW_PATH=YOUR PATH HERE
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi
echo "=== IWEB AND ROLE MANAGEMENT ==="
/usr/local/jakarta-tomcat-5.5.9/bin/startup.sh
sleep 5
echo "=== DONE! ==="
echo ""
echo "=== LOGSERVICE ==="
cd $PW_PATH/logservice; ./logservice logservice.conf >$PW_PATH/logs/logservice.log &
sleep 2
echo "=== UNIQUENAMED ==="
cd $PW_PATH/uniquenamed; ./uniquenamed gamesys.conf >$PW_PATH/logs/uniquenamed.log &
sleep 3
echo "=== AUTH ==="
cd $PW_PATH/auth/; ./authd &
sleep 10
echo "=== GAMEDBD ==="
cd $PW_PATH/gamedbd; ./gamedbd gamesys.conf >$PW_PATH/logs/gamedbd.log &
sleep 5
echo "=== GDELIVERYD ==="
cd $PW_PATH/gdeliveryd; ./gdeliveryd gamesys.conf >$PW_PATH/logs/gdeliveryd.log &
sleep 5
echo "=== GFACTIOND ==="
cd $PW_PATH/gfactiond; ./gfactiond gamesys.conf >$PW_PATH/logs/gfactiond.log &
sleep 5
echo "=== GACD ==="
cd $PW_PATH/gacd; ./gacd gamesys.conf >$PW_PATH/logs/gacd.log &
sleep 5
echo "=== GLINKD ==="
cd $PW_PATH/glinkd; ./glinkd gamesys.conf 1 >$PW_PATH/logs/glink.log &
#cd $PW_PATH/glinkd; ./glinkd gamesys.conf 2 >$PW_PATH/logs/glink2.log &
#cd $PW_PATH/glinkd; ./glinkd gamesys.conf 3 >$PW_PATH/logs/glink3.log &
#cd $PW_PATH/glinkd; ./glinkd gamesys.conf 4 >$PW_PATH/logs/glink4.log &
sleep 5
echo "=== MAIN WORLD ==="
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log
sleep 10
echo "=== OTHER WORLD ==="
./gs gs.conf gmserver.conf gsalias.conf arena01 arena02 arena03 arena04 is01 is02 is05 is06 is07 is08 is09 is10 is11 is12 is13 is14 is15 is16 is17 is18 is19 is20 is21 is22 is23 is24 is25 is26 bg01 bg02 bg03 bg04 bg05 bg06 >$PW_PATH/logs/game_all.log
sleep 5
echo "Servers started!"
MAPS
Map(i use when map fell):
Code:
#!/bin/sh
PW_PATH=YOUR PATH
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi
echo "=== MAIN WORLD ==="
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log
sleep 10
echo "=== OTHER WORLD ==="
./gs gs.conf gmserver.conf gsalias.conf arena01 arena02 arena03 arena04 is01 is02 is05 is06 is07 is08 is09 is10 is11 is12 is13 is14 is15 is16 is17 is18 is19 is20 is23 is24 is25 is26 is27 is29 bg01 bg02 bg03 bg04 bg05 bg06 >$PW_PATH/logs/game_all.log
sleep 5
echo ""
./gs is21 >$PW_PATH/logs/game_all.log &
sleep 20
echo "=== Celestial World DONE! ==="
echo ""
./gs is22 >$PW_PATH/logs/game_all.log &
sleep 20
echo "=== Demon World DONE! ==="
echo ""
echo "Mapas principais ceu e inferno desbugado TT!"
echo "By FaireFoX"
Dusk(i use dusk to do tests on iweb with itens etc, if map fell just dusk will fell):
Code:
#!/bin/sh
PW_PATH=YOUR PATH
if [ ! -d $PW_PATH/logs ]; then
mkdir $PW_PATH/logs
fi
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log
sleep 20
./gs is31 >$PW_PATH/logs/game_all.log &
sleep 10
echo ""
sleep 20
echo "==============================================================="
echo "= TODOS OS MAPAS LIGADOS ="
echo "= By FaireFoX ="
echo "==============================================================="
I hope this is what you want, because I do not understand what you say.
Adn sorry bad bad english o/