Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
sorrellboss
Nivel 3
Mesaje: 461 Membru din: 29 Iun 2014, 09:51
Server: Metin2Gorj
Regat: Shinsoo
Aprecieri:
45
Mulţumiri:
4
09 Feb 2015, 16:42
cum fac sa porneasca?
Cod: Selectaţi tot
- SERVERFILE BY HOPE V2 -------------- -
- how many channels you want to start ? -
1 - (1) CHANNEL
2 - (2) CHANNEL
3 - (3) ALL
4 - (4) DB+AUTH
- SERVERFILE BY HOPE V2 -------------- -
1
SERVER: DB opening ...
cd: /usr/game/db/: No such file or directory
start.sh: ./db: Permission denied
SERVER: AUTH opening ...
cd: /usr/game/auth/: No such file or directory
start.sh: ./auth: Permission denied
SERVER: CHANNEL 1 opening ...
cd: /usr/game/channel1/core1: No such file or directory
cd: /usr/game/channel1/core2: No such file or directory
cd: /usr/game/channel1/core3: No such file or directory
SERVER: CHANNEL 99 opening ...
cd: /usr/game/game99/: No such file or directory
SERVER: Server was successfully opened (CH2)
root@metin241:/usr/home/game #
asta imi da in putty
sorrellboss
Nivel 3
Mesaje: 461 Membru din: 29 Iun 2014, 09:51
Server: Metin2Gorj
Regat: Shinsoo
Aprecieri:
45
Mulţumiri:
4
KinKade
Membru Club
09 Feb 2015, 17:01
te uiti la ce scrie aici
/usr/game/auth/
/usr/game/channel1/core1
/usr/game/game99/
Banuiesc ca serverul tau este in /usr/home/game nu?
Daca da trebuie modificat in start.sh unde ai /usr/game/ in /usr/home/game/
Ar trebui sa mearga daca nu merge inseamna ca trebuie sa faci si symlinkurile.
sorrellboss
Nivel 3
Mesaje: 461 Membru din: 29 Iun 2014, 09:51
Server: Metin2Gorj
Regat: Shinsoo
Aprecieri:
45
Mulţumiri:
4
09 Feb 2015, 17:07
acum imi da asa
Cod: Selectaţi tot
root@metin241:~ # cd /usr/home/game
root@metin241:/usr/home/game # sh start.sh
- SERVERFILE BY HOPE V2 -------------- -
- how many channels you want to start ? -
1 - (1) CHANNEL
2 - (2) CHANNEL
3 - (3) ALL
4 - (4) DB+AUTH
- SERVERFILE BY HOPE V2 -------------- -
1
SERVER: DB opening ...
Loading conf.txt failed.
SERVER: AUTH opening ...
Can not open [CONFIG]
SERVER: CHANNEL 1 opening ...
Can not open [CONFIG]
Can not open [CONFIG]
Can not open [CONFIG]
SERVER: CHANNEL 99 opening ...
Can not open [CONFIG]
SERVER: Server was successfully opened (CH2)
aici este start.sh
Cod: Selectaţi tot
#!/bin/sh
echo -e "\033[32m
- SERVERFILE BY HOPE V2 -------------- -\n
- how many channels you want to start ? - \n
1 - (1) CHANNEL\n
2 - (2) CHANNEL\n
3 - (3) ALL\n
4 - (4) DB+AUTH\n
- SERVERFILE BY HOPE V2 -------------- -\n
\033[0m"
read chs
case $chs in
1*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/auth/
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 1 opening ...\033[0m"
cd /usr/home/game/channel1/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core1 &
sleep 2
clear
cd /usr/home/game/channel1/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core2 &
sleep 2
clear
cd /usr/home/game/channel1/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (CH2)\033[0m"
;;
2*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/auth/
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 2 opening ...\033[0m"
cd /usr/home/game/channel2/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core1 &
sleep 2
clear
cd /usr/home/game/channel2/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core2 &
sleep 2
clear
cd /usr/home/game/channel2/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (CH2)\033[0m"
;;
3*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/db/auth
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 1 opening ...\033[0m"
cd /usr/home/game/channel1/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core1 &
sleep 2
clear
cd /usr/home/game/channel1/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core2 &
sleep 2
clear
cd /usr/home/game/channel1/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 2 opening ...\033[0m"
cd /usr/home/game/channel2/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core1 &
sleep 2
clear
cd /usr/home/game/channel2/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core2 &
sleep 2
clear
cd /usr/home/game/channel2/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (ALL CH)\033[0m"
;;
4*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/db/auth
./auth &
sleep 2
clear
;;
esac
si folderul cu config-urile este
Ultima oară modificat 09 Feb 2015, 17:09 de către
sorrellboss , modificat 1 dată în total.
sorrellboss
Nivel 3
Mesaje: 461 Membru din: 29 Iun 2014, 09:51
Server: Metin2Gorj
Regat: Shinsoo
Aprecieri:
45
Mulţumiri:
4
09 Feb 2015, 17:10
aici este start.sh
Cod: Selectaţi tot
#!/bin/sh
echo -e "\033[32m
- SERVERFILE BY HOPE V2 -------------- -\n
- how many channels you want to start ? - \n
1 - (1) CHANNEL\n
2 - (2) CHANNEL\n
3 - (3) ALL\n
4 - (4) DB+AUTH\n
- SERVERFILE BY HOPE V2 -------------- -\n
\033[0m"
read chs
case $chs in
1*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/auth/
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 1 opening ...\033[0m"
cd /usr/home/game/channel1/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core1 &
sleep 2
clear
cd /usr/home/game/channel1/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core2 &
sleep 2
clear
cd /usr/home/game/channel1/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (CH2)\033[0m"
;;
2*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/auth/
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 2 opening ...\033[0m"
cd /usr/home/game/channel2/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core1 &
sleep 2
clear
cd /usr/home/game/channel2/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core2 &
sleep 2
clear
cd /usr/home/game/channel2/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (CH2)\033[0m"
;;
3*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/db/auth
./auth &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 1 opening ...\033[0m"
cd /usr/home/game/channel1/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core1 &
sleep 2
clear
cd /usr/home/game/channel1/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core2 &
sleep 2
clear
cd /usr/home/game/channel1/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel1_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 2 opening ...\033[0m"
cd /usr/home/game/channel2/core1 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core1 &
sleep 2
clear
cd /usr/home/game/channel2/core2 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core2 &
sleep 2
clear
cd /usr/home/game/channel2/core3 && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel2_core3 &
sleep 2
clear
echo -e "\033[32m \n SERVER: CHANNEL 99 opening ... \033[0m"
cd /usr/home/game/game99/ && env LD_32_PRELOAD=/usr/game/CostumeSystem/CostumeSystemLib.so ./channel99 &
sleep 2
clear
echo -e "\033[32m \n SERVER: Server was successfully opened (ALL CH)\033[0m"
;;
4*)
echo -e "\033[32m SERVER: DB opening ... \033[0m"
cd /usr/home/game/db/
./db &
sleep 2
clear
echo -e "\033[32m \n SERVER: AUTH opening ... \033[0m"
cd /usr/home/game/db/auth
./auth &
sleep 2
clear
;;
esac
si folderul cu config-urile este
KinKade
Membru Club
09 Feb 2015, 17:15
nu vede config daca u ai serverconfiguration stiu ca trebuie CONFIG.Dar este ceva si in db cu conf.txt de nu vrea sa il porneasca.
sorrellboss
Nivel 3
Mesaje: 461 Membru din: 29 Iun 2014, 09:51
Server: Metin2Gorj
Regat: Shinsoo
Aprecieri:
45
Mulţumiri:
4
09 Feb 2015, 17:15
si cum il rezolv? daca iti dau download de la sv files mil poti face?
10
Iul
Răspunsuri 2
Vizualizări 143
06
Iun
Răspunsuri 7
Vizualizări 2397
11
Apr
Răspunsuri 1
Vizualizări 142
25
Apr
Răspunsuri 5
Vizualizări 866
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 225 vizitatori