SINVAL o.O 728 Posted February 24, 2014 start #!/bin/sh# This script is only here for convience# It calls all other autorun shellscripts in the# various subdirectories.# Run dbecho "Starting db"cd /usr/sinval/db && sh run.shsleep 2# Run authecho "Starting auth"cd /usr/sinval/auth && sh run.sh# Run channel1echo "Starting channel1/game2"cd /usr/sinval/channel1/game2 && sh run.shecho "Starting channel1/game1"cd /usr/sinval/channel1/game1 && sh run.shecho "Starting channel1/first"cd /usr/sinval/channel1/first && sh run.sh# Run channel2echo "Starting channel2/game2"cd /usr/sinval/channel2/game2 && sh run.shecho "Starting channel2/game1"cd /usr/sinval/channel2/game1 && sh run.shecho "Starting channel2/first"cd /usr/sinval/channel2/first && sh run.sh# Run channel3echo "Starting channel3/game2"cd /usr/sinval/channel3/game2 && sh run.shecho "Starting channel3/game1"cd /usr/sinval/channel3/game1 && sh run.shecho "Starting channel3/first"cd /usr/sinval/channel3/first && sh run.sh# Run game99echo "Starting game99"cd /usr/sinval/game99 && sh run.shsleep 2 run que busca #!/bin/sh./vrunner --daemon --pid-path=pid.game --file=game --env="LD_32_LIBRARY_PATH=/usr/local/lib/metin2" --env="LD_32_PRELOAD=./libgame.so" >> autorun.log 2>&1 & eu ate tentei mais não sei pode me dá exemplo ? Share this post Link to post Share on other sites
Khavro 467 Posted February 25, 2014 Sinval é muito simples: Para 32bits: env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & Para 64 bits: env LD_32_PRELOAD="/udiretorio/da/lib/lib.so" ./game & No teu caso vai ficar: echo "Starting channel1/game2" cd /usr/sinval/channel1/game2 && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/game1" cd /usr/sinval/channel1/game1 && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/first" cd /usr/sinval/channel1/first && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & Caso não funcione testa assim: echo "Starting channel1/game2" cd /usr/sinval/channel1/game2 & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/game1" cd /usr/sinval/channel1/game1 & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/first" cd /usr/sinval/channel1/first & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & 1 SINVAL o.O reacted to this Share this post Link to post Share on other sites
SINVAL o.O 728 Posted February 25, 2014 Vou testar se n der certo te estupro... Share this post Link to post Share on other sites
kimameixede 70 Posted July 11, 2014 Não estou conseguindo por as libs no start das files invoice. se alguém me pode se por. deixo aqui o start. #!/bin/shecho -e "033[31mQuantos canais queres ligar? n1 - (1) canaln2 - (2) Canaisn3 - (3) Canaisn4 - (4) Canaisn5 - (5) Apenas autenticarnIniciando Servidor"read anzahlcase $anzahl in1*)echo -e "033[31m Iniciando base de dados ..033[0m"cd data/db && ./db &sleep 2echo -e "033[31m Base de dados iniciada.033[0m"echo -e "033[31m Iniciando Login do Servidor ..033[0m"cd data/auth && ./auth &sleep 2echo -e "033[31m O login do servidor foi iniciado[0m"echo -e "033[31m Starte game99_1 ..033[0m"cd ./game99/core1 && ./game &sleep 5echo -e "033[31m game99 Core 1 Foi iniciado.033[0m"echo -e "033[31m Starte game99_2 ..033[0m"cd ./game99/core2 && ./game &sleep 5echo -e "033[31m game99 Core 2 Foi iniciado.033[0m"echo -e "033[31m Starte game99_3 ..033[0m"cd ./game99/core3 && ./game &sleep 5echo -e "033[31m game99 Core 3 Foi iniciado.033[0m"echo -e "033[31m Starte game99_4 ..033[0m"cd ./game99/core4 && ./game &sleep 2echo -e "033[31m game99 Core 4 Foi iniciado.033[0m"echo -e "033[31m Starte game99 Core 5 ..033[0m"cd ./game99/core5 && ./game &sleep 5echo -e "033[31m game99 Core 5 Foi iniciado.033[0m"echo -e "033[31m Startet Channel 1 Core 1 ..033[0m"cd ./channel1/core1 && ./game &sleep 5echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m"echo -e "033[31m Startet Channel 1 Core 2 ..033[0m"cd ./channel1/core2 && ./game &sleep 5echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m"echo -e "033[31m Startet Channel 1 Core 3 ..033[0m"cd ./channel1/core3 && ./game &sleep 5echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m"echo -e "033[31m Startet Channel 1 Core 4 ..033[0m"cd ./channel1/core4 && ./game &sleep 5echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m"echo -e "033[31m Startet Channel 1 Core 5 ..033[0m"cd ./channel1/core5 && ./game &sleep 5echo -e "033[31m Channel 1 Core 5 Foi iniciado.nnCanais Iniciados033[0m"cd ..;;3*)echo -e "033[31m Iniciando base de dados ..033[0m"cd data/db && ./db &sleep 2echo -e "033[31m Base de dados iniciada.033[0m"echo -e "033[31m Iniciando Canal 1 Core 1 ..033[0m"cd ./channel1/core1 && ./game &sleep 5echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 2 ..033[0m"cd ./channel1/core2 && ./game &sleep 5echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 3 ..033[0m"cd ./channel1/core3 && ./game &sleep 5echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 4 ..033[0m"cd ./channel1/core4 && ./game &sleep 5echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 5 ..033[0m"cd ./channel1/core5 && ./game &sleep 5echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 1 ..033[0m"cd ./channel2/core1 && ./game &sleep 5echo -e "033[31m Channel 2 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 2 ..033[0m"cd ./channel2/core2 && ./game &sleep 5echo -e "033[31m Channel 2 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 3 ..033[0m"cd ./channel2/core3 && ./game &sleep 5echo -e "033[31m Channel 2 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 4 ..033[0m"cd ./channel2/core4 && ./game &sleep 5echo -e "033[31m Channel 2 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 5 ..033[0m"cd ./channel2/core5 && ./game &sleep 5echo -e "033[31m Channel 2 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 1 ..033[0m"cd ./channel3/core1 && ./game &sleep 5echo -e "033[31m Channel 3 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 2 ..033[0m"cd ./channel3/core2 && ./game &sleep 5echo -e "033[31m Channel 3 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 3 ..033[0m"cd ./channel3/core3 && ./game &sleep 5echo -e "033[31m Channel 3 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 4 ..033[0m"cd ./channel3/core4 && ./game &sleep 5echo -e "033[31m Channel 3 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 5 ..033[0m"cd ./channel3/core5 && ./game &sleep 5echo -e "033[31m Channel 3 Core 5 Foi iniciado.033[0m"echo -e "033[31m Starte game99_1 ..033[0m"cd ./game99/core1 && ./game &sleep 5echo -e "033[31m game99 Core 1 Foi iniciado.033[0m"echo -e "033[31m Starte game99_2 ..033[0m"cd ./game99/core2 && ./game &sleep 5echo -e "033[31m game99 Core 2 Foi iniciado.033[0m"echo -e "033[31m Starte game99_3 ..033[0m"cd ./game99/core3 && ./game &sleep 5echo -e "033[31m game99 Core 3 Foi iniciado.033[0m"echo -e "033[31m Starte game99_4 ..033[0m"cd ./game99/core4 && ./game &sleep 2echo -e "033[31m game99 Core 4 Foi iniciado.033[0m"echo -e "033[31m Starte game99 Core 5 ..033[0m"cd ./game99/core5 && ./game &sleep 5echo -e "033[31m game99 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Login do Servidor ..033[0m"cd ./data/auth && ./auth &sleep 2echo -e "033[31m O login do servidor foi iniciado.nnCanais Iniciados033[0m"cd ..;;4*)echo -e "033[31m Iniciando base de dados ..033[0m"cd data/db && ./db &sleep 2echo -e "033[31m Base de dados iniciada.033[0m"echo -e "033[31m Iniciando Canal 1 Core 1 ..033[0m"cd ./channel1/core1 && ./game &sleep 5echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 2 ..033[0m"cd ./channel1/core2 && ./game &sleep 5echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 3 ..033[0m"cd ./channel1/core3 && ./game &sleep 5echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 4 ..033[0m"cd ./channel1/core4 && ./game &sleep 5echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 1 Core 5 ..033[0m"cd ./channel1/core5 && ./game &sleep 5echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 1 ..033[0m"cd ./channel2/core1 && ./game &sleep 5echo -e "033[31m Channel 2 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 2 ..033[0m"cd ./channel2/core2 && ./game &sleep 5echo -e "033[31m Channel 2 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 3 ..033[0m"cd ./channel2/core3 && ./game &sleep 5echo -e "033[31m Channel 2 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 4 ..033[0m"cd ./channel2/core4 && ./game &sleep 5echo -e "033[31m Channel 2 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 2 Core 5 ..033[0m"cd ./channel2/core5 && ./game &sleep 5echo -e "033[31m Channel 2 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 1 ..033[0m"cd ./channel3/core1 && ./game &sleep 5echo -e "033[31m Channel 3 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 2 ..033[0m"cd ./channel3/core2 && ./game &sleep 5echo -e "033[31m Channel 3 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 3 ..033[0m"cd ./channel3/core3 && ./game &sleep 5echo -e "033[31m Channel 3 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 4 ..033[0m"cd ./channel3/core4 && ./game &sleep 5echo -e "033[31m Channel 3 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 3 Core 5 ..033[0m"cd ./channel3/core5 && ./game &sleep 5echo -e "033[31m Channel 3 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 4 Core 1 ..033[0m"cd ./channel4/core1 && ./game &sleep 5echo -e "033[31m Channel 4 Core 1 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 4 Core 2 ..033[0m"cd ./channel4/core2 && ./game &sleep 5echo -e "033[31m Channel 4 Core 2 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 4 Core 3 ..033[0m"cd ./channel4/core3 && ./game &sleep 5echo -e "033[31m Channel 4 Core 3 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 4 Core 4 ..033[0m"cd ./channel4/core4 && ./game &sleep 5echo -e "033[31m Channel 4 Core 4 Foi iniciado.033[0m"echo -e "033[31m Iniciando Canal 4 Core 5 ..033[0m"cd ./channel4/core5 && ./game &sleep 5echo -e "033[31m Channel 4 Core 5 Foi iniciado.033[0m"echo -e "033[31m Starte game99_1 ..033[0m"cd ./game99/core1 && ./game &sleep 5echo -e "033[31m game99 Core 1 Foi iniciado.033[0m"echo -e "033[31m Starte game99_2 ..033[0m"cd ./game99/core2 && ./game &sleep 5echo -e "033[31m game99 Core 2 Foi iniciado.033[0m"echo -e "033[31m Starte game99_3 ..033[0m"cd ./game99/core3 && ./game &sleep 5echo -e "033[31m game99 Core 3 Foi iniciado.033[0m"echo -e "033[31m Starte game99_4 ..033[0m"cd ./game99/core4 && ./game &sleep 2echo -e "033[31m game99 Core 4 Foi iniciado.033[0m"echo -e "033[31m Starte game99 Core 5 ..033[0m"cd ./game99/core5 && ./game &sleep 5echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m"echo -e "033[31m Iniciando Login do Servidor ..033[0m"cd ./data/auth && ./auth &sleep 2echo -e "033[31m O login do servidor foi iniciado.nnCanais Iniciados033[0m"cd ..;;5*)echo -e "033[31m O login do servidor foi iniciado ..033[0m"cd ./data/auth && ./auth &sleep 2echo -e "033[31m O login foi iniciado.nnCanal Iniciado033[0m"cd ..esac Share this post Link to post Share on other sites
Cσяvσ⋆ 1,804 Posted July 11, 2014 Não estou conseguindo por as libs no start das files invoice. se alguém me pode se por. deixo aqui o start. #!/bin/sh echo -e "033[31m Quantos canais queres ligar? n 1 - (1) canaln 2 - (2) Canaisn 3 - (3) Canaisn 4 - (4) Canaisn 5 - (5) Apenas autenticarn Iniciando Servidor" read anzahl case $anzahl in 1*) echo -e "033[31m Iniciando base de dados ..033[0m" cd data/db && ./db & sleep 2 echo -e "033[31m Base de dados iniciada.033[0m" echo -e "033[31m Iniciando Login do Servidor ..033[0m" cd data/auth && ./auth & sleep 2 echo -e "033[31m O login do servidor foi iniciado[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && ./game & sleep 5 echo -e "033[31m game99 Core 1 Foi iniciado.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && ./game & sleep 5 echo -e "033[31m game99 Core 2 Foi iniciado.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && ./game & sleep 5 echo -e "033[31m game99 Core 3 Foi iniciado.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && ./game & sleep 2 echo -e "033[31m game99 Core 4 Foi iniciado.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && ./game & sleep 5 echo -e "033[31m game99 Core 5 Foi iniciado.033[0m" echo -e "033[31m Startet Channel 1 Core 1 ..033[0m" cd ./channel1/core1 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m" echo -e "033[31m Startet Channel 1 Core 2 ..033[0m" cd ./channel1/core2 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m" echo -e "033[31m Startet Channel 1 Core 3 ..033[0m" cd ./channel1/core3 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m" echo -e "033[31m Startet Channel 1 Core 4 ..033[0m" cd ./channel1/core4 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m" echo -e "033[31m Startet Channel 1 Core 5 ..033[0m" cd ./channel1/core5 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 Foi iniciado.n n Canais Iniciados033[0m" cd .. ;; 3*) echo -e "033[31m Iniciando base de dados ..033[0m" cd data/db && ./db & sleep 2 echo -e "033[31m Base de dados iniciada.033[0m" echo -e "033[31m Iniciando Canal 1 Core 1 ..033[0m" cd ./channel1/core1 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 2 ..033[0m" cd ./channel1/core2 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 3 ..033[0m" cd ./channel1/core3 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 4 ..033[0m" cd ./channel1/core4 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 5 ..033[0m" cd ./channel1/core5 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 1 ..033[0m" cd ./channel2/core1 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 2 ..033[0m" cd ./channel2/core2 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 3 ..033[0m" cd ./channel2/core3 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 4 ..033[0m" cd ./channel2/core4 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 5 ..033[0m" cd ./channel2/core5 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 1 ..033[0m" cd ./channel3/core1 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 2 ..033[0m" cd ./channel3/core2 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 3 ..033[0m" cd ./channel3/core3 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 4 ..033[0m" cd ./channel3/core4 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 5 ..033[0m" cd ./channel3/core5 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 5 Foi iniciado.033[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && ./game & sleep 5 echo -e "033[31m game99 Core 1 Foi iniciado.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && ./game & sleep 5 echo -e "033[31m game99 Core 2 Foi iniciado.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && ./game & sleep 5 echo -e "033[31m game99 Core 3 Foi iniciado.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && ./game & sleep 2 echo -e "033[31m game99 Core 4 Foi iniciado.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && ./game & sleep 5 echo -e "033[31m game99 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Login do Servidor ..033[0m" cd ./data/auth && ./auth & sleep 2 echo -e "033[31m O login do servidor foi iniciado.n n Canais Iniciados033[0m" cd .. ;; 4*) echo -e "033[31m Iniciando base de dados ..033[0m" cd data/db && ./db & sleep 2 echo -e "033[31m Base de dados iniciada.033[0m" echo -e "033[31m Iniciando Canal 1 Core 1 ..033[0m" cd ./channel1/core1 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 2 ..033[0m" cd ./channel1/core2 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 3 ..033[0m" cd ./channel1/core3 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 4 ..033[0m" cd ./channel1/core4 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 1 Core 5 ..033[0m" cd ./channel1/core5 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 1 ..033[0m" cd ./channel2/core1 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 2 ..033[0m" cd ./channel2/core2 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 3 ..033[0m" cd ./channel2/core3 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 4 ..033[0m" cd ./channel2/core4 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 2 Core 5 ..033[0m" cd ./channel2/core5 && ./game & sleep 5 echo -e "033[31m Channel 2 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 1 ..033[0m" cd ./channel3/core1 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 2 ..033[0m" cd ./channel3/core2 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 3 ..033[0m" cd ./channel3/core3 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 4 ..033[0m" cd ./channel3/core4 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 3 Core 5 ..033[0m" cd ./channel3/core5 && ./game & sleep 5 echo -e "033[31m Channel 3 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 4 Core 1 ..033[0m" cd ./channel4/core1 && ./game & sleep 5 echo -e "033[31m Channel 4 Core 1 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 4 Core 2 ..033[0m" cd ./channel4/core2 && ./game & sleep 5 echo -e "033[31m Channel 4 Core 2 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 4 Core 3 ..033[0m" cd ./channel4/core3 && ./game & sleep 5 echo -e "033[31m Channel 4 Core 3 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 4 Core 4 ..033[0m" cd ./channel4/core4 && ./game & sleep 5 echo -e "033[31m Channel 4 Core 4 Foi iniciado.033[0m" echo -e "033[31m Iniciando Canal 4 Core 5 ..033[0m" cd ./channel4/core5 && ./game & sleep 5 echo -e "033[31m Channel 4 Core 5 Foi iniciado.033[0m" echo -e "033[31m Starte game99_1 ..033[0m" cd ./game99/core1 && ./game & sleep 5 echo -e "033[31m game99 Core 1 Foi iniciado.033[0m" echo -e "033[31m Starte game99_2 ..033[0m" cd ./game99/core2 && ./game & sleep 5 echo -e "033[31m game99 Core 2 Foi iniciado.033[0m" echo -e "033[31m Starte game99_3 ..033[0m" cd ./game99/core3 && ./game & sleep 5 echo -e "033[31m game99 Core 3 Foi iniciado.033[0m" echo -e "033[31m Starte game99_4 ..033[0m" cd ./game99/core4 && ./game & sleep 2 echo -e "033[31m game99 Core 4 Foi iniciado.033[0m" echo -e "033[31m Starte game99 Core 5 ..033[0m" cd ./game99/core5 && ./game & sleep 5 echo -e "033[31m Channel 1 Core 5 Foi iniciado.033[0m" echo -e "033[31m Iniciando Login do Servidor ..033[0m" cd ./data/auth && ./auth & sleep 2 echo -e "033[31m O login do servidor foi iniciado.n n Canais Iniciados033[0m" cd .. ;; 5*) echo -e "033[31m O login do servidor foi iniciado ..033[0m" cd ./data/auth && ./auth & sleep 2 echo -e "033[31m O login foi iniciado.n n Canal Iniciado033[0m" cd .. esac As Libs no start.sh? What? Acho que é melhor leres o tutorial denovo. Share this post Link to post Share on other sites
kimameixede 70 Posted July 11, 2014 eu queria dizer iniciar as libs no start. as libs eu pulas em /usr/lib/ Share this post Link to post Share on other sites
Thavo 36 Posted November 3, 2014 Onde se encontra a query dos itens? tal como os scripts para client side? Share this post Link to post Share on other sites
Apolo 126 Posted December 15, 2014 Eu apenas não consigo instalar a lib no Servidor ... esta parte não me dá certo: Sinval é muito simples: Para 32bits: env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & Para 64 bits: env LD_32_PRELOAD="/udiretorio/da/lib/lib.so" ./game & No teu caso vai ficar: echo "Starting channel1/game2" cd /usr/sinval/channel1/game2 && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/game1" cd /usr/sinval/channel1/game1 && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/first" cd /usr/sinval/channel1/first && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & Caso não funcione testa assim: echo "Starting channel1/game2" cd /usr/sinval/channel1/game2 & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/game1" cd /usr/sinval/channel1/game1 & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & echo "Starting channel1/first" cd /usr/sinval/channel1/first & sh run.sh && env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & /diretorio/da/lib/lib.so" ./game & altero isso cd /usr/sinval/channel1/first altero isso também , pois os diretórios são diferentes e nem existe o ficheiro first no meu Servidor e não sei depois instalar isso na máquina ou seja dar o código : env LD_PRELOAD="/diretorio/da/lib/lib.so" ./game & Alguém me ajuda ? A parte do cliente só me falta a imagem no Inventário , os Cintos eu mesmo já os fiz tirando de outro cliente. Share this post Link to post Share on other sites
'PACI 2,317 Posted December 16, 2014 E o teu sistema FreeBSD é de 32 ou 64 bits? Porque o comando depende disso. 1 Apolo reacted to this Share this post Link to post Share on other sites
Apolo 126 Posted December 16, 2014 O meu sistema é de 32 bits , Share this post Link to post Share on other sites
ɓʀuɳѳ Martiɳs 53 Posted February 9, 2015 como fasso para implementar a parte do cliente agora ?. qual o diretorio para min extrair de um outro cliente ? Share this post Link to post Share on other sites
Mago_pt 27 Posted August 10, 2016 Para que serve esse lib? Share this post Link to post Share on other sites