Ir para conteúdo
  • Cadastre-se

luanluciano93

Héroi
  • Total de itens

    5980
  • Registro em

  • Última visita

  • Dias Ganhos

    119

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 → Notícias e OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de WebSites"
  2. Muito interessante, vou testar!
  3. @Caronte, C++? Define n o tópico! Indentação tbem é ótimo
  4. #Partiu ver essas 99 aulas. 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: "Desenvolvimento e Programação → C / C# / C++" Para: "Desenvolvimento e Programação → C / C# / C++ → Tutoriais"
  5. 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"
  6. 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"
  7. 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_CONS
  8. 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.
  9. @marcio1234, kkk , isso é indiferente, o importante é a tag no actions.xml estar com o nome igual do arquivo que você criou.
  10. 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"
  11. Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Downloads → Utilitários para OTServs"
  12. ops, aqui elseif isMonster(target) faltou o then no final ... elseif isMonster(target) then
  13. -- <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
  14. -- <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) doPlayerS
  15. 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.
  16. @marcio1234 e @kualkerun, é só arrumar essa linha: <form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml">
  17. Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
  18. Tópico aprovado, obrigado por comaprtilhar. Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
  19. Botão direito na imagem -> copiar URL da imagem -> verificar o caminho pela URL, se existe ..
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo