Start.sh

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
Chance
Mister Just4Metin

Mister Just4Metin
Mesaje: 1084
Membru din: 31 Dec 2014, 10:24
Server: Posibil
Regat: Jinno
Aprecieri: 5  
Mulţumiri: 35  
 Contact:
Medalii

Stie cineva sa faca din acest start.sh care porneste toate ch-urile odata sa faca sa porneasca doar ch1?

Cod: Selectaţi tot

	echo -e "\033[32m \n Server creat de  (@Alex)\033[0m"

read chs

case $chs in 
1*)
	echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
	cd /usr/home/game/db 
	env LD_PRELOAD="/usr/home/game/share/liburi/libdb_notxt.so" ./db &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC LOGINUL ..\033[0m"
	cd /usr/home/game/auth
	 ./auth &
	sleep 2
	clear
	echo -e "\033[31m \n CHANNEL1 Nucleul 1 ..\033[0m"
	cd /usr/home/game/channel1/first
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1 Nucleul 2 ..\033[0m"
	cd /usr/home/game/channel1/game1 
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL1 Nucleul 3 ..\033[0m"
	cd /usr/home/game/channel1/game2
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n CHANNEL2 Nucleul 1 ..\033[0m"
	cd /usr/home/game/channel2/first
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL2 Nucleul 2 ..\033[0m"
	cd /usr/home/game/channel2/game1 
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL2 Nucleul 3 ..\033[0m"
	cd /usr/home/game/channel2/game2
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear	
	echo -e "\033[31m \n CHANNEL3 Nucleul 1 ..\033[0m"
	cd /usr/home/game/channel3/first
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL3 Nucleul 2 ..\033[0m"
	cd /usr/home/game/channel3/game1 
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[31m \n PORNESC CHANNEL3 Nucleul 3 ..\033[0m"
	cd /usr/home/game/channel3/game2
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear	
	echo -e "\033[31m \n PORNESC GAME 99 ..\033[0m"
	cd /usr/home/game/game99
	env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
	sleep 2
	clear
	echo -e "\033[32m \n Metin2Er a fost pornit!\033[0m"
	echo -e "\033[32m \nMetin2Er - PvP Clasic\033[0m"
	echo -e "\033[32m \n Server creat de @Alex\033[0m"
	;;
2*)
	clear
	echo -e "\033[32m \n Actiune Anulata!\033[0m"
;;

esac
Avatar utilizator
Dragoş Florin
Miracolul Crăciunului

Miracolul Crăciunului
Mesaje: 1543
Membru din: 02 Mar 2014, 15:08
Server: Progressing
Regat: Jinno
Aprecieri: 43  
Mulţumiri: 478  
 Contact:
Medalii

Cod: Selectaţi tot

   echo -e "\033[32m \n Server creat de  (@Alex)\033[0m"

read chs

case $chs in 
1*)
   echo -e "\033[31m PORNESC BAZA DE DATE ..\033[0m"
   cd /usr/home/game/db 
   env LD_PRELOAD="/usr/home/game/share/liburi/libdb_notxt.so" ./db &
   sleep 2
   clear
   echo -e "\033[31m \n PORNESC LOGINUL ..\033[0m"
   cd /usr/home/game/auth
    ./auth &
   sleep 2
   clear
   echo -e "\033[31m \n CHANNEL1 Nucleul 1 ..\033[0m"
   cd /usr/home/game/channel1/first
   env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
   sleep 2
   clear
   echo -e "\033[31m \n PORNESC CHANNEL1 Nucleul 2 ..\033[0m"
   cd /usr/home/game/channel1/game1 
   env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
   sleep 2
   clear
   echo -e "\033[31m \n PORNESC CHANNEL1 Nucleul 3 ..\033[0m"
   cd /usr/home/game/channel1/game2
   env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
   sleep 2
   clear 
   echo -e "\033[31m \n PORNESC GAME 99 ..\033[0m"
   cd /usr/home/game/game99
   env LD_32_PRELOAD="/usr/home/game/share/liburi/libgame_item2_pc2.so" ./game &
   sleep 2
   clear
   echo -e "\033[32m \n Metin2Er a fost pornit!\033[0m"
   echo -e "\033[32m \nMetin2Er - PvP Clasic\033[0m"
   echo -e "\033[32m \n Server creat de @Alex\033[0m"
   ;;
2*)
   clear
   echo -e "\033[32m \n Actiune Anulata!\033[0m"
;;

esac
Verifica te rog acum !
Imagine
Imagine
Imagine
Afișează semnătura
Avatar utilizator
F. Gabriel
Membru Club

Membru Club
Mesaje: 3759
Membru din: 17 Aug 2013, 20:44
Server: -
Regat: Shinsoo
Aprecieri: 358  
Mulţumiri: 84  
 Contact:
Medalii

Eu zic mai bine sa-l lasi poate o sa ai nevoie si nu o sa stii sa-l mai faci, poti sa schimbi numele de la folderele ch2 sau ce mai ai tu in cat daca vrea sa deschida si alte ch sa nu mai gaseasca locatia.
Imagine

Hosting Metin2 by OVINETWORK.RO
Afișează semnătura
Avatar utilizator
C.Mihai
Nivel 9

Nivel 9
Mesaje: 1875
Membru din: 26 Mai 2014, 13:57
Server: xGamer
Regat: Chunjo
Aprecieri: 24  
Mulţumiri: 7  
 Contact:
Medalii

Inactiv - Arhivat :p !
Nu iti poti trai viata pentru altii. Trebuie sa faci ceea ce e bine pentru tine, chiar daca astfel ii ranesti pe cei pe care ii iubesti. – Nicholas Sparks
Imagine
Cea mai bună firmă de HOSTING !
Afișează semnătura
Închis
Răspunsuri
5
Vizualizări
422
Răspunsuri
6
Vizualizări
645
Răspunsuri
0
Vizualizări
261

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

  • Informaţie