Ir para conteúdo

Wakon

Héroi
  • Registro em

  • Última visita

Tudo que Wakon postou

  1. Tópico aprovado, obrigado por compartilhar.
  2. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Suporte > OTServ > Scripts Para: Suporte > OTServ > Programação
  3. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting > OTServ > CreatureScripts, GlobalEvents e MoveMents Para: Suporte > OTServ > Scripts
  4. Tópico aprovado, obrigado por compartilhar.
  5. Tópico aprovado, obrigado por compartilhar.
  6. @lucaspds, vá no seu config.lua e procure por: addonsOnlyPremium = true troque por: addonsOnlyPremium = false Caso não tenha essa opção, adicione.
  7. Em "Data/talkactions/scripts", crie um arquivo.lua e cole: function onSay(cid, words) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Life: '.. getCreatureHealth(cid) ..'/'.. getCreatureMaxHealth(cid) ..' - Mana: '.. getCreatureMana(cid) ..'/'.. getCreatureMaxMana(cid) ..'.') return true end Em "Data/talkactions", abra o arquivo talkactions.xml e adicione: <talkaction log="yes" words="!life;!mana;!stats" event="script" value="arquivo.lua" />
  8. @lucaspds, você deve ter removido algo a mais, testei aqui e está normal: local addonDoll = 2112 function onSay(cid, words, param) local femaleOutfits = { ["citizen"]={136}, ["hunter"]={137}, ["mage"]={138}, ["knight"]={139}, ["nobleman"]={140}, ["summoner"]={141}, ["warrior"]={142}, ["barbarian"]={147}, ["druid"]={148}, ["wizard"]={149}, ["oriental"]={150}, ["pirate"]={155}, ["assassin"]={156}, ["beggar"]={157}, ["shaman"]={158}, ["norsewoman"]={252}, ["nightmare"]={269}, ["jester"]={270}, ["brotherhood"]={279}, ["demonhunter"]={288}, ["yalaharian"]={324} } local maleOutfits = { ["citizen"]={128}, ["hunter"]={129}, ["mage"]={130}, ["knight"]={131}, ["nobleman"]={132},["summoner"]={133}, ["warrior"]={134}, ["barbarian"]={143}, ["druid"]={144}, ["wizard"]={145}, ["oriental"]={146}, ["pirate"]={151}, ["assassin"]={152}, ["beggar"]={153}, ["shaman"]={154}, ["norsewoman"]={251}, ["nightmare"]={268}, ["jester"]={273}, ["brotherhood"]={278}, ["demonhunter"]={289}, ["yalaharian"]={325} } local msg = {"Digite o nome correto!", "Voce não possui Addon Doll!", "Bad param!", "Você recebeu seu addons!"} local param = string.lower(param) if(getPlayerItemCount(cid, addonDoll) > 0) then if(param ~= "" and maleOutfits[param] and femaleOutfits[param]) then doPlayerRemoveItem(cid, addonDoll, 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[4]) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS) if(getPlayerSex(cid) == 0)then doPlayerAddOutfit(cid, femaleOutfits[param][1], 3) else doPlayerAddOutfit(cid, maleOutfits[param][1], 3) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[1]) end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, msg[2]) end end
  9. @lucaspds, remova essas linhas do script: if (not isPremium(cid)) then doPlayerSendCancel(cid, "Você nao tem premium account.") return TRUE end
  10. Tente:
  11. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > Actions e TalkActions Para: Suporte OTServ > OTServ > Suporte de Scripts Script: http://www.tibiaking.com/forum/topic/2623-creaturescript-ganhar-3-dias-de-premium-ao-logar-pela-primeira-vez/
  12. Wakon postou uma resposta no tópico em Suporte OTServer Derivados
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Clients OTServ > OTServ > Tutoriais de Clients Para: Suporte OTServ > OTServ > Suporte de Clients
  13. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > Outros Tipos Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  14. Wakon postou uma resposta no tópico em Websites
    A imagem está offline e está faltando o scan do download.
  15. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > Actions e TalkActions Para: Suporte OTServ > OTServ > Suporte de Scripts
  16. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: WebSites OTServ > OTServ > Downloads de Websites Para: Suporte OTServ > OTServ > Suporte de WebSites
  17. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Suporte OTServ > OTServ > Suporte de WebSites Para: Suporte OTServ > OTServ > Suporte de Mapping
  18. @Myshhler, aguarde 24 horas para dar "UP" no tópico! Leia as regras: http://www.tibiaking.com/forum/topic/1281-regras-gerais/
  19. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: OTServ > Notícias e OTServ Geral Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  20. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: OTServ > Notícias e OTServ Geral Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  21. Wakon postou uma resposta no tópico em Outros Clients
    @Dakuz, try the new download, change eloth.exe and eloth.dll.
  22. Achei esse script muito interessante na OTLand e resolvi trazer pra vocês. Versão: TFS 1.X Função: Mostra quanto tempo levou para upar deis de o ultimo level. Instalação: Em "Data/creaturescripts/scripts", copie e cole um arquivo.LUA, renomeie para timeLevel.lua, apague tudo e cole: function timeString(timeDiff) local dateFormat = { {"day", timeDiff / 60 / 60 / 24}, {"hour", timeDiff / 60 / 60 % 24}, {"minute", timeDiff / 60 % 60}, {"second", timeDiff % 60} } local out = {} for k, t in ipairs(dateFormat) do local v = math.floor(t[2]) if(v > 0) then table.insert(out, (k < #dateFormat and (#out > 0 and ', ' or '') or ' and ') .. v .. ' ' .. t[1] .. (v ~= 1 and 's' or '')) end end local ret = table.concat(out) if ret:len() < 16 and ret:find("second") then local a, b = ret:find(" and ") ret = ret:sub(b+1) end return ret end function onAdvance(player, skill, oldlevel, newlevel) if skill ~= SKILL_LEVEL then return true end oldtime = player:getStorageValue(3499) timenow = os.time() if oldtime == -1 then player:setStorageValue(3499, timenow) else player:sendTextMessage(MESSAGE_INFO_DESCR, "It took you " .. timeString(timenow - oldtime) .. " to advance in level from your last advance.") player:setStorageValue(3499, timenow) end return true end Novamente em "Data/creaturescripts/scripts", abra o arquivo login.lua e registre: player:registerEvent("timelevel") Agora em "Data/creaturescripts", abra o arquivo creaturescripts.xml e adicione: <event type="advance" name="timelevel" script="timelevel.lua"/> Créditos: Ahilphino
  23. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > CreatureScripts, GlobalEvents e MoveMents Para: Suporte OTServ > OTServ > Suporte de Scripts
  24. Wakon postou uma resposta no tópico em Suporte Tibia OTServer
    @Morphred, pra usar em uma porta é necessário uma action. Em "Data/actions/scripts", copie e cole um arquivo.lua, renomeie para nomedoscript.lua, apague tudo e cole: local level = 300 function onUse(cid, item, position) if getPlayerLevel(cid) >= level then doTeleportThing(cid, position) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Apenas jogadores level '.. level ..' ou mais podem passar.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return true end Agora em "Data/actions", abra o arquivo actions.xml e adicione: <action actionid="XXXX" event="script" value="nomedoscript.lua"/> Ai é só colocar a action em XXXX e configurar na porta.
  25. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > Actions e TalkActions Para: Suporte OTServ > OTServ > Suporte de Scripts

Informação Importante

Confirmação de Termo