
Solutions
-
Thalles Novais's post in (Resolvido)Atualização via Github was marked as the answerJá consegui o @Comedinha passou pelo WhatsApp obrigado!
Código
#!/bin/bash ulimit -c unlimited while true; do cd /home/server/github/server && /usr/bin/git pull origin master cd /home/server/github/servidor-web && /usr/bin/git pull origin master cd /home/server/github/servidor && /usr/bin/git pull origin master cd /home/server/github/perfect-server && /usr/bin/git pull origin master if ! diff -u "/home/server/github/servidor/world.zip" "/home/server/executer/world.zip"; then cd /home/server/executer && rm world.zip && rm -rf world cp /home/server/github/servidor/world.zip /home/server/executer unzip -u /home/server/github/servidor/world.zip -d /home/server/executer fi done;
-
Thalles Novais's post in (Resolvido)criei um teleport como fasso para eu desliga e queando quere liga was marked as the answerSegue o script:
Na pasta talkactions/scripts/ crie um arquivo chamado eventoteleport.lua
if words=="/eventoopen" then local create_pos = {x=1050 , y=1045 , z=6, stackpos=1} -- Posição que o teleport será criado (não mecha no stackpos) local tp_pos = {x=1028 , y=1040 , z=4} -- Posição que o teleport irá levar o jogador local getTp = getThingfromPos(create_pos) doCreateTeleport(1387, tp_pos , create_pos) doSendMagicEffect(create_pos , 10) doPlayerSendTextMessage(cid, 28 , "Portal para o Evento está aberto!") return TRUE end if words=="/eventoclose" then doRemoveItem(getTp.uid, 1) doPlayerSendTextMessage(cid, 28 , "Portal para o Evento fechou!") end return TRUE end Agora em talkactions.xml adicione
<talkaction log="no" words="/eventoclose;/eventoopen" access="4" event="script" value="eventoteleport.lua"/> Não testei...
-
Thalles Novais's post in (Resolvido)BUG Elf Bot OTServ 8.60 was marked as the answerÉ attack combo do Elf... É só você diminuir o AttackSpeed do seu servidor.
Va na pastar \data\XML abra o arquivo vocations
E procura por attackspeed="
E almente o numero que está na frente de todos eles... acho que uns 1500 já vai estar bom.