Cerere sh start.sh

Închis
Avatar utilizator
Pika
Nivel 2

Nivel 2
Mesaje: 202
Membru din: 11 Noi 2014, 19:42
Server: Colossus3
Regat: Shinsoo
Aprecieri: 406  
Mulţumiri: 247  
 Contact:
Medalii

Salutare.

Puteti sami legati si mie lib asta de start : env LD_PRELOAD="/usr/home/game/lib/LibCostume.so"
sh start.sh| Afiseaza codul
#!/bin/sh


echo -e "\033[31m 
Metin2! \n
1 - (1) Porneste 1 CH.\n 
2 - (2) Porneste CH1,CH2 - ALL.\n  
\033[0m"

read chs

case $chs in 
1*)
	echo -e "\033[31m Se porneste Baza de date..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 99 ..\033[0m"
	cd /usr/home/game/game99/
	./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n CH1 este pornit astapta 10 secunde!\033[0m"

;;
2*)
	echo -e "\033[31m Se porneste Baza de date ..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 2 core ..\033[0m"
	cd /usr/home/game/channel2/core1
	./gamecore1 &
	sleep 2
	clear
	cd /usr/home/game/game99/
	./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n Ch1 Si Ch2 Au fost Pornite astapta 30 secunde!\033[0m"

;;
esac
Imagine
Afișează semnătura
Avatar utilizator
[RaffaeL]
Software Developer

Software Developer
Mesaje: 3223
Membru din: 19 Mar 2016, 12:58
Server: ...
Aprecieri: 15  
Mulţumiri: 2502  
  Rezolvări prob.: 2
Discord: Copiază ID
 Contact:
Medalii

Pika scrie:Salutare.

Puteti sami legati si mie lib asta de start : env LD_PRELOAD="/usr/home/game/lib/LibCostume.so"
sh start.sh| Afiseaza codul
#!/bin/sh


echo -e "\033[31m 
Metin2! \n
1 - (1) Porneste 1 CH.\n 
2 - (2) Porneste CH1,CH2 - ALL.\n  
\033[0m"

read chs

case $chs in 
1*)
	echo -e "\033[31m Se porneste Baza de date..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 99 ..\033[0m"
	cd /usr/home/game/game99/
	./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n CH1 este pornit astapta 10 secunde!\033[0m"

;;
2*)
	echo -e "\033[31m Se porneste Baza de date ..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 2 core ..\033[0m"
	cd /usr/home/game/channel2/core1
	./gamecore1 &
	sleep 2
	clear
	cd /usr/home/game/game99/
	./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n Ch1 Si Ch2 Au fost Pornite astapta 30 secunde!\033[0m"

;;
esac
Poftim:
#!/bin/sh


echo -e "\033[31m 
Metin2! \n
1 - (1) Porneste 1 CH.\n 
2 - (2) Porneste CH1,CH2 - ALL.\n  
\033[0m"

read chs

case $chs in 
1*)
	echo -e "\033[31m Se porneste Baza de date..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 99 ..\033[0m"
	cd /usr/home/game/game99/
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n CH1 este pornit astapta 10 secunde!\033[0m"

;;
2*)
	echo -e "\033[31m Se porneste Baza de date ..\033[0m"
	cd /usr/home/game/db/
	./db &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste Auth ..\033[0m"
	cd /usr/home/game/auth 
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./auth &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 1 core ..\033[0m"
	cd /usr/home/game/channel1/core1
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./gamecore1 &
	sleep 2
	clear
	echo -e "\033[31m \n Se porneste CH 2 core ..\033[0m"
	cd /usr/home/game/channel2/core1
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./gamecore1 &
	sleep 2
	clear
	cd /usr/home/game/game99/
	env LD_PRELOAD=/usr/home/game/lib/LibCostume.so ./gamecore99 &
	sleep 2
	clear
	echo -e "\033[32m \n Ch1 Si Ch2 Au fost Pornite astapta 30 secunde!\033[0m"

;;
esac
Pentru acest mesaj, [RaffaeL] for the post:
Valentaizar
Imagine
Imagine
https://www.youtube.com/watch?v=GhYkCIETEto
Do everything, if you know what you're doing, else... Imagine
Ma gasesti si aici: Discord https://discord.gg/5J5GnyZVSR
Afișează semnătura
Avatar utilizator
Spyke
Metin Master

Metin Master
Mesaje: 2613
Membru din: 29 Iul 2016, 09:08
Server: Aoem2
Aprecieri: 205  
Mulţumiri: 3918  
Discord: Copiază ID
Medalii

Subiectul se pare ca a primit raspuns!
Închis
Răspunsuri
2
Vizualizări
301
Răspunsuri
4
Vizualizări
456
Răspunsuri
6
Vizualizări
818

Înapoi la “Cereri Rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 10 vizitatori