Ma poate ajuta cineva.

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

Salut, as-vrea sa pornesc ambele ch am 2 gb ram imi poate configura si mie cineva.

Acesta este sh start.sh
#!/bin/sh
echo -e "\033[36m
By - ImPosSsIbL3 \033[0m"
echo -e "\033[32m  
1 - (1) CH1 \n
2 - (2) Core1 \n
3 - (3) Game99! \033[0m"
echo -e "\033[36m  \033[0m"
read chs

case $chs in 
1*) 

	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m CH1 pornit cu succes! \033[0m"
;;
2*)
	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL2_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel2/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel2/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Server online! \033[0m"
;;
3*)
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Game99 pornit cu succes! \033[0m"
;;
esac
Imagine
Afișează semnătura
Avatar utilizator
r_tw1x1
Membru Club

Membru Club
Mesaje: 2278
Membru din: 06 Mar 2015, 18:33
Server: Nirvana3
Regat: Jinno
Aprecieri: 228  
Mulţumiri: 3790  
  Rezolvări prob.: 1
Discord: Copiază ID
Medalii

imposssibl3 scrie:Salut, as-vrea sa pornesc ambele ch am 2 gb ram imi poate configura si mie cineva.

Acesta este sh start.sh
#!/bin/sh
echo -e "\033[36m
By - ImPosSsIbL3 \033[0m"
echo -e "\033[32m  
1 - (1) CH1 \n
2 - (2) Core1 \n
3 - (3) Game99! \033[0m"
echo -e "\033[36m  \033[0m"
read chs

case $chs in 
1*) 

	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m CH1 pornit cu succes! \033[0m"
;;
2*)
	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL2_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel2/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel2/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Server online! \033[0m"
;;
3*)
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Game99 pornit cu succes! \033[0m"
;;
esac
Dari start.sh-ul tău este bine configurat, și poți pornii 2 canale.
Imagine
Imagine
Afișează semnătura
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

Pai nu merge cand apas https://s22.postimg.org/b3kflfbep/bandi ... 13_118.jpg

merge ch 1 si ch 2 zici mentenanta
Imagine
Afișează semnătura
Avatar utilizator
r_tw1x1
Membru Club

Membru Club
Mesaje: 2278
Membru din: 06 Mar 2015, 18:33
Server: Nirvana3
Regat: Jinno
Aprecieri: 228  
Mulţumiri: 3790  
  Rezolvări prob.: 1
Discord: Copiază ID
Medalii

imposssibl3 scrie:Pai nu merge cand apas https://s22.postimg.org/b3kflfbep/bandi ... 13_118.jpg

merge ch 1 si ch 2 zici mentenanta

Cod: Selectaţi tot

#!/bin/sh
echo -e "\033[36m
By - ImPosSsIbL3 \033[0m"
echo -e "\033[32m  
1 - Canal1 \n
2 - Canal2 \n
3 - Game99! \033[0m"
echo -e "\033[36m  \033[0m"
read chs

case $chs in 
1*) 

	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m CH1 pornit cu succes! \033[0m"
;;
2*)
	echo -e "\033[31m PORNESC BAZA DE DATE... \033[0m"
	cd /usr/home/game/channels/db_auth/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINU... \033[0m"
	cd /usr/home/game/channels/db_auth/auth/
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel1/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel1/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL2_2 CORE... \033[0m"
	cd /usr/home/game/channels/channel2/core_1/
	./core_1 &
	sleep 2
	cd /usr/home/game/channels/channel2/core_2/
	./core_2 &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Server online! \033[0m"
;;
3*)
	echo -e "\033[31m \n PORNESC CHANNEL99_1 CORE... \033[0m"	
	cd /usr/home/game/channels/channel99/core1/
	./core_1 &
	sleep 2
	clear
	echo -e "\033[36m Game99 pornit cu succes! \033[0m"
;;
esac
Verifică să ai porturile bune în client pentru CH2
Imagine
Imagine
Afișează semnătura
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

CHANNELS1 = [
{'name':'|cFF00FFFF|hCH1','ip':'46.108.26.95','tcp_port':21000,'udp_port':21000,'state':STATE_NORMAL,},
{'name':'|cFFFF0000|hCH2','ip':'46.108.26.95','tcp_port':22000,'udp_port':22000,'state':STATE_NONE,},
]
MARK1 = { 'ip' : '46.108.26.95', 'tcp_port' : 21000, 'mark' : '120.tga', 'symbol_path' : '120', }
AUTH1 = {'ip':'46.108.26.95','port':21190, }
NAME1 = { 'name' : '|cFFFFA500|h .:.Metin2NewAge.:.'}
TESTADDR = { 'ip' : '46.108.26.95', 'tcp_port' : 50000, 'udp_port' : 50000, }
Imagine
Afișează semnătura
Avatar utilizator
r_tw1x1
Membru Club

Membru Club
Mesaje: 2278
Membru din: 06 Mar 2015, 18:33
Server: Nirvana3
Regat: Jinno
Aprecieri: 228  
Mulţumiri: 3790  
  Rezolvări prob.: 1
Discord: Copiază ID
Medalii

imposssibl3 scrie:CHANNELS1 = [
{'name':'|cFF00FFFF|hCH1','ip':'46.108.26.95','tcp_port':21000,'udp_port':21000,'state':STATE_NORMAL,},
{'name':'|cFFFF0000|hCH2','ip':'46.108.26.95','tcp_port':22000,'udp_port':22000,'state':STATE_NONE,},
]
MARK1 = { 'ip' : '46.108.26.95', 'tcp_port' : 21000, 'mark' : '120.tga', 'symbol_path' : '120', }
AUTH1 = {'ip':'46.108.26.95','port':21190, }
NAME1 = { 'name' : '|cFFFFA500|h .:.Metin2NewAge.:.'}
TESTADDR = { 'ip' : '46.108.26.95', 'tcp_port' : 50000, 'udp_port' : 50000, }
Și eu trebuie să-ți ghicesc portul pentru Channel 2 din server?
Imagine
Imagine
Afișează semnătura
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

HOSTNAME: channel1_2
CHANNEL: 1
PORT: 21010
P2P_PORT: 13010
DB_PORT: 11000
DB_ADDR: localhost
MAP_ALLOW: 61 63 64 65 67 68 69 70 71 72 73 100 101 103 114 105 111 217 255 213 352 182
TABLE_POSTFIX:
PASSES_PER_SEC: 25
SAVE_EVENT_SECOND_CYCLE: 180
PING_EVENT_SECOND_CYCLE: 180
PLAYER_SQL: localhost ezio DevelopersEzio player
COMMON_SQL: localhost ezio DevelopersEzio common
LOG_SQL: localhost ezio DevelopersEzio log
LOCALE_SERVICE: romania
MAX_LEVEL: 127
MAX_LEVEL_STATUS: 92
MAX_STATUS: 90
SERVER_CHECK: 1
SERVER_VERSION: 0767662984
EMPIRE_WHISPER: 1
MARK_SERVER: 1
STONE_CHANCE: 100
Imagine
Afișează semnătura
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

Ma frt deci nush ":)) iti dau tw? :)) sa vezi cum e trb aici ca nu merge
Imagine
Afișează semnătura
Avatar utilizator
r_tw1x1
Membru Club

Membru Club
Mesaje: 2278
Membru din: 06 Mar 2015, 18:33
Server: Nirvana3
Regat: Jinno
Aprecieri: 228  
Mulţumiri: 3790  
  Rezolvări prob.: 1
Discord: Copiază ID
Medalii

imposssibl3 scrie:Ma frt deci nush ":)) iti dau tw? :)) sa vezi cum e trb aici ca nu merge
CHANNELS1 = [
{'name':'|cFF00FFFF|hCH1','ip':'46.108.26.95','tcp_port':21000,'udp_port':21000,'state':STATE_NORMAL,},
{'name':'|cFFFF0000|hCH2','ip':'46.108.26.95','tcp_port':21010,'udp_port':21010,'state':STATE_NONE,},
]
MARK1 = { 'ip' : '46.108.26.95', 'tcp_port' : 21000, 'mark' : '120.tga', 'symbol_path' : '120', }
AUTH1 = {'ip':'46.108.26.95','port':21190, }
NAME1 = { 'name' : '|cFFFFA500|h .:.Metin2NewAge.:.'}
TESTADDR = { 'ip' : '46.108.26.95', 'tcp_port' : 50000, 'udp_port' : 50000, }


La

Cod: Selectaţi tot

{'name':'|cFFFF0000|hCH2','ip':'46.108.26.95','tcp_port':22000,'udp_port':22000,'state':STATE_NONE,},
pune pe ăsta:

Cod: Selectaţi tot

{'name':'|cFFFF0000|hCH2','ip':'46.108.26.95','tcp_port':21010,'udp_port':21010,'state':STATE_NONE,},
Imagine
Imagine
Afișează semnătura
Avatar utilizator
imposssibl3
Nivel 3

Nivel 3
Mesaje: 308
Membru din: 23 Mar 2014, 05:08
Server: :)
Regat: Shinsoo
Aprecieri: 14  
Mulţumiri: 7  
 Contact:
Medalii

Pai merge dar cand intru pe ch 1 sh ch2 cu diferite conturi ne intalnim adica cum ar fi tot un ch este :))
Imagine
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
228
Răspunsuri
0
Vizualizări
180
Răspunsuri
14
Vizualizări
712
Răspunsuri
13
Vizualizări
1294

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Bing [Bot], Google [Bot] și 73 vizitatori