Ir para conteúdo

gabriellinhares

Campones
  • Total de itens

    16
  • Registro em

  • Última visita

Tudo que gabriellinhares postou

  1. removido.
  2. removido.
  3. olha só idle.lua no creaturescripts local config = { idleWarning = getConfigValue('idleWarningTime'), idleKick = getConfigValue('idleKickTime') } function onThink(cid, interval) if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_ALLOWIDLE)) then return true end local idleTime = getPlayerIdleTime(cid) + interval doPlayerSetIdleTime(cid, idleTime) if(config.idleKick > 0 and idleTime > config.idleKick) then doRemoveCreature(cid) elseif(config.idleWarning > 0 and idleTime == config.idleWarning) then local message = "You have been idle for " .. math.ceil(config.idleWarning / 60000) .. " minutes" if(config.idleKick > 0) then message = message .. ", you will be disconnected in " local diff = math.ceil((config.idleWarning - config.idleKick) / 60000) if(diff > 1) then message = message .. diff .. " minutes" else message = message .. "one minute" end message = message .. " if you are still idle" end doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, message .. ".") end return true end
  4. kickIdlePlayerAfterMinutes = 15 ja tava 15 0.0
  5. Tipo no meu serv os cara dao exit nos trainers e fika o char logado por umas 4 horas ou mais queria q o char ficasse só uns 15 minutos...
  6. eh aprender a programar ou pagar alguem.. eu tenho isso mais eh por talkaction =/ cheguei perto de conseguir a alguns meses..agora to voltando e vo tentar novamente =)
  7. acho q pode fazer com qualquer table x)
  8. Sabia da área, mais quase nao usava... foi de grande ajuda alguns programas
  9. valeu pelas dicas, vou procurar umas extensões para ver se ajuda
  10. esta versão é 8.5 ? se puder responder vai ser de grande ajuda..
  11. caspita, fico mtu bom, ñ tenho nada para falar ;D cave de rotworm '-'
  12. ta ótimo mais acho que dava para incrementar mais.. tipo, fazer umas misturas de effects
  13. ve se eh isso q vc ker <item id="7744" article="a" name="sword of distance"> <attribute key="weight" value="5000"/> <attribute key="attack" value="24"/> <attribute key="defense" value="21"/> <attribute key="weaponType" value="distance"/> <attribute key="shootType" value="spear"/> <attribute key="range" value="5"/> <attribute key="breakChance" value="0"/> <attribute key="ammoAction" value="moveback"/> </item> o player vai segurar a sword so que vai fica lançando um spear (pra lançar uma sword, teria que mudar as sprites) <attribute key="shootType" value="spear"/> kra tenta por weapontype no lugar se spear..acho que não funciona mais tenta ai obs: não testei pra ficar inf se tem que mudar no config.lua removeWeaponAmmunition = "no"
  14. 8.55 saiu nem faz muito tempo, tenta um ot 8.54.. se não der, eh o seu otserv que ta com problema
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...