Ir para conteúdo

luanluciano93

Héroi
  • Registro em

  • Última visita

Tudo que luanluciano93 postou

  1. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → Geral" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  2. Resolvido pelo autor do tópico.
  3. Não precisa do TRUE, alias, é uma gambiarra do TFS esse TRUE em maiúscula! Existem varios casos do TRUE nos 3 scripts. Ficaria melhor ser editável esse id de cidade, pois rook pode ser outro town id em alguns ots! Espaçamento incorreto! Tópico aprovado, obrigado por compartilhar! Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
  4. Tópico aprovado, obrigado por compartilhar! Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions" @Larissa Azhaurn, aconselho a começar a indentar os scripts que você posta, fica muito melhor para você e para quem lê o script ... Dei uma reescrita no código: local config = { full = 40, -- em horas refuel = 42, -- em horas } function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) local stamina = player:getStamina() / 60 if stamina < config.full then player:setStamina(config.refuel * 60) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "Your stamina has been refilled.") item:remove(1) else player:sendCancelMessage("Your stamina is already full.") end return true end
  5. Crie o arquivo com o nome de staminadoll.lua em actins/scripts/, e coloque o código dentro, depois em actions.xml coloque esse tag: <action itemid="ITEMID" script="staminadoll.lua"/> no lugar de ITEMID coloque o id do item que será o stamina doll.
  6. @marcio1234, kkk , isso é indiferente, o importante é a tag no actions.xml estar com o nome igual do arquivo que você criou.
  7. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Notícias e OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
  8. luanluciano93 postou uma resposta no tópico em Playground (Off-topic)
    eu nunca.
  9. Poste o script dos potions ...
  10. luanluciano93 postou uma resposta no tópico em Ferramentas OpenTibia
    Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Downloads → Utilitários para OTServs"
  11. ops, aqui elseif isMonster(target) faltou o then no final ... elseif isMonster(target) then
  12. luanluciano93 postou uma resposta no tópico em Suporte Tibia OTServer
    -- <movevent type="StepIn" actionid="30000" event="script" value="tp_city.lua"/> function onStepIn(cid, item, position, fromPosition) local townId = 2 if isPlayer(cid) then doTeleportThing(cid, getTownTemplePosition(townId)) doPlayerSetTown(cid, townId) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are the newest resident of " .. getTownName(townId) .. ".") end return true end
  13. -- <event type="kill" name="DeathChannel" script="death_channel.lua"/> -- <event type="login" name="DeathChannelLogin" script="death_channel.lua"/> function onLogin(cid) registerCreatureEvent(cid, "DeathChannel") return true end function onKill(cid, target) local channel_id = 12 if isPlayer(target) then doPlayerSendChannelMessage(cid, "[DEATH]", "O player ".. getCreatureName(target) .." [".. getPlayerLevel(target) .."] acaba de ser morto por ".. getCreatureName(cid) .." [".. getPlayerLevel(cid) .."]!", TALKTYPE_CHANNEL_O, channel_id) elseif isMonster(target) doPlayerSendChannelMessage(cid, "[DEATH]", "O player ".. getCreatureName(target) .." [".. getPlayerLevel(target) .."] acaba de ser morto por um ".. getCreatureName(cid) .."!", TALKTYPE_CHANNEL_O, channel_id) end return true end
  14. Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Scripting → Sistemas e MODs" Esta horrivel esse código, se possível indentar o código e usar o "code" do bbcode.
  15. @marcio1234 e @kualkerun, é só arrumar essa linha: <form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml">
  16. Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
  17. Tópico aprovado, obrigado por comaprtilhar. Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
  18. Botão direito na imagem -> copiar URL da imagem -> verificar o caminho pela URL, se existe ..
  19. @marcio1234, não mostra.
  20. editei lá!
  21. luanluciano93 postou uma resposta no tópico em Suporte Tibia OTServer
    Coloque o evento no monstro: <script> <event name="Azerus" /> </script>
  22. @adrianinho, qual versão é seu ot?
  23. O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → Geral" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  24. luanluciano93 postou uma resposta no tópico em Suporte Tibia OTServer
    local config = { message = "Azerus ran into teleporter! It will disappear in 2 minutes. Enter It!", teleportId = 1387, bossName = "Azerus", pos = {x=581, y=577, z=9}, {x=581, y=575, z=10}, } function onDeath(cid, corpse, killer) if getCreatureName(cid) == bossName then doCreateTeleport(config.teleportId, config.pos[1], config.pos[2]) doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1) end return true end

Informação Importante

Confirmação de Termo