- Achievements & Reward Chest
-
(Resolvido)[Pedido] (Action) item quando clicar cria 1 monstro e item quebrar
Qual a versão do seu TFS, e qual é o id do item?
-
-
(Resolvido)[TFS 1.0]Usar alavanca e monstro aparecer
Aqui está amigo, se te ajudei clique em gostei.
-
[Pedido] simples script de globalevents
Removido
-
Ajuda com script
não, ele faz tudo certo só que quando é pra falar "yes" ele não faz nada e nem fala nada. @UP
-
Ajuda com script
Quero que alguém concerte esse script pois quando é pra falar yes o npc não fala nada. Esse script consiste que o jogador ganhe uma storage na sorte, mas caso não consiga ele tem entregar um item para tentar novamente. Versão TFS 1.2. Valendo 3 Rep+ local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local player = Player(cid) if msgcontains(msg, "Sorte") then if player:getStorageValue(121) == 15 and player:getStorageValue(1212) <= 1 then npcHandler:say("blá blá", cid) npcHandler.topic[cid] = 1 elseif player:getStorageValue(121) == 15 and player:getStorageValue(1212) == 2 then npcHandler:say("preciso de um item!", cid) npcHandler.topic[cid] = 2 end elseif msgcontains(msg, "agora") then if npcHandler.topic[cid] == 1 then if math.random(100) <= 50 then if player:getStorageValue(121) == 1 then npcHandler:say('Perdeu', cid) player:setStorageValue(1212, 2) npcHandler.topic[cid] = 0 else npcHandler:say("nothing", cid) player:setStorageValue(121, 0) npcHandler.topic[cid] = 0 end end elseif msgcontains(msg, "yes") then if npcHandler.topic[cid] == 2 then if player:getItemCount(2160) >= 1 then player:removeItem(2160 1) npcHandler:say("Peguei o item!", cid) player:setStorageValue(121, 1) npcHandler.topic[cid] = 0 else npcHandler:say("Você não tem o item!", cid) npcHandler.topic[cid] = 0 end end end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
Suporte em npc + script
@Up
-
Suporte em npc + script
O que você me forneceu não tem a funcionalidade do global.
-
Suporte em npc + script
Olá pessoal, alguém pode me fornecer os NPC "A Dead Bureaucrat" da Pits of Inferno quest. Preciso que eles estejam na versão antiga do tfs e que funcionem perfeitamente como o Tibia Global. Valendo REP+
-
Ajuda em conversão de script
Alguém ajuda @up @Up
-
Ajuda em conversão de script
@up @Up @Up
-
Ajuda em conversão de script
Removido
-
Preciso de ajuda na conversão de um script
Ajuda muito bem vinda, reputado!
-
-
Preciso de ajuda na conversão de um script
Queria que alguém convertesse este script para versão antiga do tfs, valendo REP+

danilomeloo
Membro
-
Registro em
-
Última visita