Metin2 Hungarian Forum

Metin2 => Szerver készítés => Privát szerverek => Segítség => A témát indította: bakos1992 Dátum 2017-02-22, 00:47:26

Cím: auth probléma
Írta: bakos1992 Dátum 2017-02-22, 00:47:26
Hali ch1 tökéletesen megy de viszont ha 2 3 4 et iditanám auth not foundra hivatkozik vbox

start.sh-m igy néz ki.

Idéz#!/bin/sh


echo -e "\033[31m 
Hány CH-t inditasz? \n
1 - 1CH\n
2 - 2CH\n
3 - 3CH\n
4 - 4CH\n

Szerver indítása\033[0m"

read chs

case $chs in
1*)

   echo -e "\033[31m Adatbázis inditása ..\033[0m"
   cd /usr/game/cores/db
   ./db &
   sleep 5
   clear
   echo -e "\033[31m \n Auth inditása ..\033[0m"
   cd /usr/game/cores/auth
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH1 inditása ..\033[0m"
   cd /usr/game/cores/channel1
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n Game99 inditása ..\033[0m"
   cd /usr/game/cores/game99
   ./game &
   sleep 5
   clear
   echo -e "\033[32m \n A szerver elindult! CH1\033[0m"


;;
2*)

   echo -e "\033[31m Adatbázis inditása ..\033[0m"
   cd /usr/game/cores/db
   ./db &
   sleep 10
   clear
   echo -e "\033[31m \n AUTH \033[0m"
   cd /usr/game/cores/auth/
   ./auth &
   sleep 10
   clear
   echo -e "\033[31m \n CH1 inditása ..\033[0m"
   cd /usr/game/cores/channel1
   ./game &
   sleep 10
   clear
   echo -e "\033[31m \n CH2 inditása ..\033[0m"
   cd /usr/game/cores/channel2
   ./game &
   sleep 10
   clear
   echo -e "\033[31m \n Game99 inditása ..\033[0m"
   cd /usr/game/cores/game99/
   ./game &
   sleep 10
   clear
   echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"
   
   
;;
3*)

   echo -e "\033[31m Adatbázis inditása ..\033[0m"
   cd /usr/game/cores/db
   ./db &
   sleep 5
   clear
   echo -e "\033[31m \n Auth inditása ..\033[0m"
   cd /usr/game/cores/auth
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH1 inditása ..\033[0m"
   cd /usr/game/cores/channel1
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH2 inditása ..\033[0m"
   cd /usr/game/cores/channel2
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH3 inditása ..\033[0m"
   cd /usr/game/cores/channel3
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n Game99 inditása ..\033[0m"
   cd /usr/game/cores/game99
   ./game &
   sleep 5
   clear
   echo -e "\033[32m \n A szerver elindult! CH1-2-3\033[0m"

   
   
;;
4*)

   echo -e "\033[31m Adatbázis inditása ..\033[0m"
   cd /usr/game/cores/db
   ./db &
   sleep 5
   clear
   echo -e "\033[31m \n Auth inditása ..\033[0m"
   cd /usr/game/cores/auth
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH1 inditása ..\033[0m"
   cd /usr/game/cores/channel1
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH2 inditása ..\033[0m"
   cd /usr/game/cores/channel2
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH3 inditása ..\033[0m"
   cd /usr/game/cores/channel3
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n CH4 inditása ..\033[0m"
   cd /usr/game/cores/channel4
   ./game &
   sleep 5
   clear
   echo -e "\033[31m \n Game99 inditása ..\033[0m"
   cd /usr/game/cores/game99
   ./game &
   sleep 5
   clear
   echo -e "\033[32m \n A szerver elindult! CH1-2-3-4\033[0m"
   
;;
esac
Cím: Re:auth probléma
Írta: 5310pati Dátum 2017-02-22, 00:50:24
CH1-nél az auth indítása: ./game &
CH2-nél: ./auth &
A többi jó ahogy nézem, csak azért látod 3-4nél is mert lefut a 2 és ott írja ki h nincs.
Cím: Re:auth probléma
Írta: bakos1992 Dátum 2017-02-22, 00:58:12
Az a gáz h hiába indítom el mindig ki irja de még is hiba a szerver kapcsolatban de viszont  ha 1 cht indítok az fut nem értem mi baja lehet
Cím: Re:auth probléma
Írta: 5310pati Dátum 2017-02-22, 01:01:27
átírtad ch2-nél az auth-ot?
Cím: Re:auth probléma
Írta: bakos1992 Dátum 2017-02-22, 01:11:39
Idézecho -e "\033[31m Adatbázis inditása ..\033[0m"
   cd /usr/game/cores/db
   ./db &
   sleep 10
   clear
   echo -e "\033[31m \n AUTH \033[0m"
   cd /usr/game/cores/auth/
   ./auth &
   sleep 10
   clear
   echo -e "\033[31m \n CH1 inditása ..\033[0m"
   cd /usr/game/cores/channel1
   ./game &
   sleep 10
   clear
   echo -e "\033[31m \n CH2 inditása ..\033[0m"
   cd /usr/game/cores/channel2
   ./auth &
   sleep 10
   clear
   echo -e "\033[31m \n Game99 inditása ..\033[0m"
   cd /usr/game/cores/game99/
   ./game &
   sleep 10
   clear
   echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"

igy gondoltad?
Cím: Re:auth probléma
Írta: 5310pati Dátum 2017-02-22, 01:14:32
Nem, itt 2 ./auth indítás is van.
Cím: Re:auth probléma
Írta: bakos1992 Dátum 2017-02-22, 01:16:15
2*)

echo -e "\033[31m Adatbázis inditása ..\033[0m"
cd /usr/game/cores/db
./db &
sleep 10
clear
echo -e "\033[31m \n AUTH \033[0m"
cd /usr/game/cores/auth/
./auth &
sleep 10
clear
echo -e "\033[31m \n CH1 inditása ..\033[0m"
cd /usr/game/cores/channel1
./game &
sleep 10
clear
echo -e "\033[31m \n CH2 inditása ..\033[0m"
cd /usr/game/cores/channel2
./game &
sleep 10
clear
echo -e "\033[31m \n Game99 inditása ..\033[0m"
cd /usr/game/cores/game99/
./game &
sleep 10
clear
echo -e "\033[32m \n A szerver elindult! CH1-2\033[0m"



szoval igy volna a helyes igaz?

Üzenet összefésülés: 2017-02-22, 01:20:21

Idézhttp://www.kephost.com/images/2017/02/22/hiba.md.jpg

itt volna a auth mappám

Üzenet összefésülés: 2017-02-22, 09:04:58

Valaki?
EhPortal 1.39 © 2025, WebDev