Magyar start.sh egészen 7CH-ig!

Indította Distraught, 2012-04-15, 14:25:09

2012-04-15, 14:25:09 Utolsó szerkesztés: 2012-04-15, 16:14:10 Szerző: Distraught
Sziasztok!  -javítva-
Ma lefordítottam és kiegészítettem Franzi alap start.sh -ját!
Ezzel 7 CH-t is lehet indítani és megyer is!
Nyissátok meg alap start.sh-t jegyzettömbel, töröljétek ki ami benne van, majd másoljátok ezt bele, és mentsétek el!

Akinek bonyolult, annak itt van, csak le kell tölteni!   http://data.hu/get/4989327/start.sh


#!/bin/sh


echo -e "\033[31m 
Mennyi CH-t inditsunk ? \n
1 - (1) CH\n
2 - (2) CH\n
3 - (3) CH\n
4 - (4) CH\n
5 - (5) CH\n
6 - (6) CH\n
7 - (7) CH\033[0m"

read chs

case $chs in
1*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 99 ..\033[0m"
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[32m \n CH1 elinditva!\033[0m"
;;
2*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
3*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 3 ..\033[0m"
cd ../channel3/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
4*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 3 ..\033[0m"
cd ../channel3/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 4 ..\033[0m"
cd ../channel4/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
5*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 3 ..\033[0m"
cd ../channel3/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 4 ..\033[0m"
cd ../channel4/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 5 ..\033[0m"
cd ../channel5/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
6*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 3 ..\033[0m"
cd ../channel3/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 4 ..\033[0m"
cd ../channel4/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 5 ..\033[0m"
cd ../channel5/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 6 ..\033[0m"
cd ../channel6/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
7*)
echo -e "\033[31m Inditas: Database ..\033[0m"
cd ./g1/db/
./db &
sleep 2
clear
echo -e "\033[31m \n Inditas: Auth ..\033[0m"
cd ../auth
./auth &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 1 ..\033[0m"
cd ../../channel1/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 2 ..\033[0m"
cd ../channel2/
./game &
sleep 2
clear
cd ../game99/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 3 ..\033[0m"
cd ../channel3/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 4 ..\033[0m"
cd ../channel4/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 5 ..\033[0m"
cd ../channel5/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 6 ..\033[0m"
cd ../channel6/
./game &
sleep 2
clear
echo -e "\033[31m \n Inditas: CH 7 ..\033[0m"
cd ../channel7/
./game &
sleep 2
clear
echo -e "\033[32m \n Server elinditva!\033[0m"
;;
esac



Ha segítettem nyomjatok egy pozitívot :)

C++ programmer at Gameloft