Nestle 382 Posted April 13, 2013 Olá a todos, recebi alguns pedidos sobre o quest.sh e aqui irei postar. Primeiramente criem um ficheiro quest.sh e coloquem-no em "/root": Dentro do ficheiro coloquem o seguinte: cd /usr/home/game/share/locale/germany/quest && chmod 777 make.sh && sh make.shO directorio metam o vosso! Seguinte, no directorio das quests, criei um ficheiro make.sh. Dentro do ficheiro coloquem o seguinte: #!/usr/local/bin/bash LIST_FILE='locale_list' if [ -r $LIST_FILE ]; then rm -rdf object mkdir object while read line; do ./qc $line done < $LIST_FILE else echo $LIST_FILE' is missing' fi Em locale_list metam a vossa lista de quests, por exemplo em algumas é hongkong_list... De seguida, no FreeBSD executem como sh quest.sh. Espero que tenham gostado, Retirei tudo das files do Lauling portanto deve funcionar nas outras, Se não funcionar avisem que eu fixo isto.. Cumpz, Nestle. 4 ShadowKnight, Mastema, Origin. and 1 other reacted to this Share this post Link to post Share on other sites
SINVAL o.O 728 Posted April 13, 2013 (edited) http://cyber-gamers.org/public/style_emoticons/default/451960.gif,#!/usr/local/bin/bashLIST_FILE='[b]locale_list[/b]'if [ -r $LIST_FILE ]; thenrm -rdf objectmkdir objectwhile read line;do./qc $linedone &--#60; $LIST_FILEelseecho $LIST_FILE' is missing'fi done &--#60; $LIST_FILE nesta linha tem "&--#60" isso msm? tem que por permisão 777 nos arquivos não? Edited April 13, 2013 by ઽiท√αℓ (see edit history) 1 Mastema reacted to this Share this post Link to post Share on other sites
Nestle 382 Posted April 13, 2013 http://cyber-gamers.org/public/style_emoticons/default/451960.gif, #!/usr/local/bin/bashLIST_FILE='[b]locale_list[/b]'if [ -r $LIST_FILE ]; thenrm -rdf objectmkdir objectwhile read line;do./qc $linedone &--#60; $LIST_FILEelseecho $LIST_FILE' is missing'fi done &--#60; $LIST_FILE nesta linha tem "&--#60" isso msm? tem que por permisão 777 nos arquivos não?tópico corrigido, sim! 1 SINVAL o.O reacted to this Share this post Link to post Share on other sites
SINVAL o.O 728 Posted April 13, 2013 http://cyber-gamers.org/public/style_emoticons/default/451960.gif dnv funciono certinho Share this post Link to post Share on other sites
Nestle 382 Posted April 13, 2013 http://cyber-gamers.org/public/style_emoticons/default/451960.gif dnv funciono certinhomto obrigado :) Share this post Link to post Share on other sites