PDA

View Full Version : Web TGHM ThecongCNTT vô gâp



kjmbialon
09-12-09, 07:37 PM
Em cài đc TGHM rùi (nhưng chưa chơi đc) vì cái lỗi đau hết cả óc là vào Web kô đc híc sao đăng kí bây h huhu :((
Nhanh nhanh help em cái huhu=:)=:)=:)
đời là gì mà khổ vậy từ chủ nhật tới giờ loay hoay chưa chơi đc

zake100
10-12-09, 12:11 AM
copy cái doạn start.sh vào máy ảo đi nếu không làm được pm mình dùng teamview làm cho

nmchau
10-12-09, 08:14 AM
Mình nghĩ bạn vẫn chưa chú ý một điều là dấu # ở đầu code có mục đích làm code ko hoạt động, nhẹ máy khi load sever, bạn thử mở start.sh tìm dòng này nhé



#!/bin/sh

#PW_PATH=/server

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

#echo "=== KHOI DONG WEBSIDE ==="
#/usr/local/jakarta-tomcat-5.5.9/bin/startup.sh
#sleep 5
#echo "=== HOAN TAT ==="
#echo ""Sau đó hãy bỏ dấu # ở đầu thành



#!/bin/sh

PW_PATH=/server

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

echo "=== KHOI DONG WEBSIDE ==="
/usr/local/jakarta-tomcat-5.5.9/bin/startup.sh
sleep 5
echo "=== HOAN TAT ==="
echo ""Code mình đang dùng nè



#!/bin/sh

PW_PATH=/server

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

echo "=== KHOI DONG WEBSIDE ==="
/usr/local/jakarta-tomcat-5.5.9/bin/startup.sh
sleep 5
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG LOGSERVICE ==="
cd $PW_PATH/logservice; ./logservice logservice.conf >$PW_PATH/logs/logservice.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG UNIQUENAMED ==="
cd $PW_PATH/uniquenamed; ./uniquenamed gamesys.conf >$PW_PATH/logs/uniquenamed.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG AUTH ==="
cd $PW_PATH/authd/build/; ./authd &
sleep 2
echo "=== TOAN TAT ==="
echo ""

echo "=== KHOI DONG GAMEDBD ==="
cd $PW_PATH/gamedbd; ./gamedbd gamesys.conf >$PW_PATH/logs/gamedbd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GACD ==="
cd $PW_PATH/gacd; ./gacd gamesys.conf >$PW_PATH/logs/gacd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GFACTIOND ==="
cd $PW_PATH/gfactiond; ./gfactiond gamesys.conf >$PW_PATH/logs/gfactiond.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG GDELIVERYD ==="
cd $PW_PATH/gdeliveryd; ./gdeliveryd gamesys.conf >$PW_PATH/logs/gdeliveryd.log &
sleep 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG 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 2
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG MAIN WORLD ==="
cd $PW_PATH/gamed; ./gs gs01 >$PW_PATH/logs/game1.log &
sleep 10
echo "=== HOAN TAT ==="
echo ""

echo "=== KHOI DONG CAC PHU BAN KHAC ==="

# ./gs arena01 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== ARENA1 DONE! ==="
# echo ""
# ./gs arena02 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== ARENA2 DONE! ==="
# echo ""
# ./gs arena03 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== ARENA3 DONE! ==="
# echo ""
# ./gs arena04 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== ARENA4 DONE! ==="
# echo ""

# ./gs is01 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== Netherbeast City / Dark Beast City DONE! ==="
# echo ""
# ./gs is02 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG ANH HUNG TRUNG MAT DAO (KC 29) ==="
# echo ""

# ./gs is05 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG HOA NHAM DONG HUYET (KC 19) ==="
# echo ""

# ./gs is06 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG CUONG LANG SAO HUYET (KC 19) ==="
# echo ""

# ./gs is07 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG XA HAT DONG (KC 19)==="
# echo ""

# ./gs is08 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== Green Shirt Tomb / Blue Clothes Grave DONE! ==="
# echo ""

# ./gs is09 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG U MINH CU (KC 39)==="
# echo ""

# ./gs is10 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG PHUC TUONG MAT KINH (KC 49) ==="
# echo ""

# ./gs is11 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG THIEN KIEP COC (KC 59) ==="
# echo ""

# ./gs is12 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== TUNG LAM DI TICH Forest ruins / Jungle Ruins DONE! ==="
# echo ""

#./gs is13 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG QUY NGUC HUYEN CANH ==="
# echo ""

# ./gs is14 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG OAN LINH CHI MON (KC 69)==="
# echo ""

# ./gs is15 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG BI BAO QUAT (KC 79) ==="
# echo ""

# ./gs is16 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG TIEN HUYEN THIEN (TC 89) ==="
# echo ""

# ./gs is17 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG MA HUYEN THIEN (TC 89) ==="
# echo ""

# ./gs is18 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG LONG CUNG ==="
# echo ""

# ./gs is19 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG DA KHOC DAO ==="
# echo ""

#./gs is20 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG VAN XA DAO ==="
# echo ""

# ./gs is21 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG TIEN GIOI ==="
# echo ""

# ./gs is22 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG MA GIOI ==="
# echo ""

# ./gs is23 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG THIEN GIOI LUYEN NGUC ==="
# echo ""

# ./gs is24 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG MA NGUC DAO NGUYEN ==="
# echo ""

# ./gs is25 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG PHUC SUONG THANH ==="
# echo ""

# ./gs is26 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Residence of Basphemy / Sky-Rebellion Residence DONE! ==="
# echo ""

./gs is27 >$PW_PATH/logs/game_all.log &
sleep 10
echo "=== THAN NGUYET COC ==="
echo ""

# ./gs is28 >$PW_PATH/logs/game_all.log &
# sleep 20
# echo "=== KHOI DONG THAN VO COC ==="
# echo ""

# ./gs is29 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "===KHOI DONG VMMP ==="
# echo ""

# ./gs is30 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== KHOI DONG PHIEU THANH==="
# echo ""

# ./gs is31 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== MO PHU BAN HOANG HON THANH DIEN ! ==="
# echo ""

# ./gs bg01 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 3 Territory (Destroy Key Building) DONE! ==="
# echo ""

# ./gs bg02 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 3 Territory (Kill all mobs)DONE! ==="
# echo ""

# ./gs bg03 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 2 Territory (Destroy Key Building) DONE! ==="
# echo ""

# ./gs bg04 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 2 Territory (Kill all mobs) DONE! ==="
# echo ""

# ./gs bg05 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 1 Territory (Destroy Key Building) DONE! ==="
# echo ""

# ./gs bg06 >$PW_PATH/logs/game_all.log &
# sleep 10
# echo "=== Level 1 Territory (Kill all mobs) DONE! ==="
# echo ""

# sleep 20


echo "============================================= ==== =============="
echo "= SERVER VA WEBSIDE DA DUOC KHOI DONG HOAN TAT ="
echo "============================================= ==== =============="

Chúc bạn may mắn ^^!

kjmbialon
10-12-09, 10:57 AM
vậy à mình xài cái start.sh của thế công (đown MF) nhưng kô đc
mình lấy Start.sh có sẵn chạy load đc 1 tẹo rùi im lun đợi 30' chả thấy gì ^^ chắc đồi doạn mã khác vậy ^^
híc híc thế này nhé em bị như sau em về chạy ok load web thì OK nhưng khong vào đc web mới đau

kjmbialon
10-12-09, 01:20 PM
em load =ie đc 5 cái xanh ở dưới nhưng mà đợi mãi không load đc T_T

kjmbialon
10-12-09, 02:01 PM
Zake bạn cho mình xin cái YH đê hỏi chút :((

kjmbialon
10-12-09, 03:27 PM
ai xem hộ em tí đi mà hic híc híc nhanh lên 3h30' rùi huhu

thecongcntt
10-12-09, 03:33 PM
Chỉ dùng cái start.sh của mình là chạy không sao mà, nếu bạn vẫn không được có lẽ server cài chưa đúng

zake100
10-12-09, 05:50 PM
có thể do chưa tắt tường lửa bạn thử tắt đi xem nào và cho mình cái hình chụp hình server khi chạy xong nhé