Ir para conteúdo

arthur122222

Membro
  • Registro em

  • Última visita

Tudo que arthur122222 postou

  1. Valeu Wakon, kkk, Ceos, no cry!
  2. 1 - Boca foi feita pra comer 2 - Teclado foi feito pra escrever 3 - Foda-se foi feito pra você
  3. Não tem isso: <?xml version="1.0" encoding="UTF-8"?> <monster name="Jaul" nameDescription="Jaul" race="blood" experience="30000" speed="560" manacost="0"> <health now="95000" max="95000"/> <look type="444" corpse="15220"/> <targetchange interval="2000" chance="50"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="1"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="0"/> <flag runonhealth="60"/> </flags> <attacks> <attack name="melee" interval="2000" min="0" max="-2000" poison="870"/> <attack name="fire" interval="2200" chance="19" range="7" radius="7" target="1" min="-0" max="-1000"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="manadrain" interval="3000" chance="32" range="7" radius="7" target="1" min="-200" max="-800"> <attribute key="areaEffect" value="mortarea"/> </attack> <attack name="earth" interval="1300" chance="27" radius="3" target="0" min="-0" max="-600"> <attribute key="areaEffect" value="explosionarea"/> </attack> <attack name="death" interval="1200" chance="6" length="8" spread="0" min="-300" max="-900"> <attribute key="areaEffect" value="mortarea"/> </attack> <attack name="fire" interval="1000" chance="5" length="8" spread="0" min="-500" max="-1000"> <attribute key="areaEffect" value="fire"/> </attack> <attack name="ice" interval="1000" chance="5" length="8" spread="0" min="-1000" max="-2000"> <attribute key="areaEffect" value="icearea"/> </attack> <attack name="lifedrain" interval="4000" chance="10" length="8" spread="3" min="-500" max="-1000"> <attribute key="areaEffect" value="watersplash"/> </attack> <attack name="speed" interval="1900" chance="14" range="7" radius="1" target="1" speedchange="-600" duration="15000"/> </attacks> <defenses armor="40" defense="40"> <defense name="healing" interval="2000" chance="25" min="1000" max="2300"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="healing" interval="5500" chance="10" min="14000" max="21000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity ice="1" /> <immunity paralyze="1" /> <immunity drown="1" /> <immunity fire="1" /> </immunities> <voices interval="3000" chance="200"> <voice sentence="QJELL AFAR GOU JEY!!"/> <voice sentence="DIE!! KENH!!"/> </voices> <elements> <element deathPercent="-1"/> </elements> <loot> <item id="15413" chance="7000"/><!-- ornate shield --> <item id="15408" chance="4000"/><!-- depth galea --> <item id="15404" chance="12000"/><!-- deepling axe --> <item id="15406" chance="2500"/><!-- ornate chestplate --> <item id="15407" chance="3500"/><!-- depth lorica --> <item id="15410" chance="3000"/><!-- depth calcei --> <item id="15414" chance="10000"/><!-- ornate mace --> <item id="15412" chance="2000"/><!-- ornate legs --> </loot> </monster>
  4. Queria colocar pra trocar o Wooden Stake por Blessed Wooden Stake sem que precise de missão. Alguém poderia me ajudar? Script do NPC ai: TFS 1,0 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, "stampor") or msgcontains(msg, "mount") then if not player:hasMount(11) then npcHandler:say("You did bring all the items I requqested, cuild. Good. Shall I travel to the spirit realm and try finding a stampor compasion for you?", cid) npcHandler.topic[cid] = 1 else npcHandler:say("You already have stampor mount.", cid) npcHandler.topic[cid] = 0 end elseif msgcontains(msg, "addon") then if player:hasOutfit(player:getSex() == 0 and 158 or 154) then if player:getStorageValue(Storage.OutfitQuest.ShamanAddons) < 1 then selfSay("Deep in the Tiquandian jungle a monster lurks which is seldom seen. It is the revenge of the jungle against humankind. ...", cid) selfSay("This monster, if slain, carries a rare root called Mandrake. If you find it, bring it to me. Also, gather 5 of the voodoo dolls used by the mysterious dworc voodoomasters. ...", cid) npcHandler:say("If you manage to fulfil this task, I will grant you your own staff. Have you understood everything and are ready for this test?", cid) npcHandler.topic[cid] = 4 elseif player:getStorageValue(Storage.OutfitQuest.ShamanAddons) == 1 then npcHandler:say("Have you gathered the mandrake and the 5 voodoo dolls from the dworcs?", cid) npcHandler.topic[cid] = 5 elseif player:getStorageValue(Storage.OutfitQuest.ShamanAddons) == 2 then npcHandler:say("You have successfully passed the first task. If you can fulfil my second task, I will grant you a mask like the one I wear. Will you listen to the requirements?", cid) npcHandler.topic[cid] = 6 end else npcHandler:say("Come back when you can wear shamanic clothing.", cid) end elseif msgcontains(msg, "tribal mask") then if player:getStorageValue(Storage.OutfitQuest.ShamanAddons) == 3 then npcHandler:say("Have you gathered the 5 tribal masks and the 5 banana staves?", cid) npcHandler.topic[cid] = 8 end elseif(msgcontains(msg, "spellbook")) then if player:getItemCount(6120) >= 1 then player:removeItem(6120, 1) player:setStorageValue(37938, 1) npcHandler:say("Ah, thank you very much! I will honour his memory.", cid) npcHandler.topic[cid] = 0 end elseif(msgcontains(msg, "energy field")) then if player:getStorageValue(37938) == 1 then npcHandler:say("Ah, the energy barrier set up by the cult is maintained by lousy magic, but is still effective. Without a proper counterspell you won't be able to pass it.", cid) npcHandler.topic[cid] = 9 end elseif(msgcontains(msg, "counterspell")) then if npcHandler.topic[cid] == 9 then npcHandler:say("You mean, you are interested in a counterspell to cross the energy barrier on Goroma?", cid) npcHandler.topic[cid] = 10 elseif player:getStorageValue(55701) == 1 then npcHandler:say("Did you bring the fresh dead chicken?", cid) npcHandler.topic[cid] = 12 elseif player:getStorageValue(55701) == 2 then npcHandler:say("Did you bring the fresh dead rat?", cid) npcHandler.topic[cid] = 13 elseif player:getStorageValue(55701) == 3 then npcHandler:say("Did you bring the fresh dead black sheep?", cid) npcHandler.topic[cid] = 14 end elseif msgcontains(msg, "yes") then if npcHandler.topic[cid] == 1 then if player:removeItem(13299, 50) and player:removeItem(13301, 30) and player:removeItem(13300, 100) then selfSay("Ohhhhh Mmmmmmmmmmmm Ammmmmgggggggaaaaaaa ...", cid) selfSay("Aaaaaaaaaahhmmmm Mmmaaaaaaaaaa Kaaaaaamaaaa ...", cid) selfSay("Brrt! I think it worked! It's a male stampor. I linked this spirit to yours. You can probably already summon him to you ...", cid) npcHandler:say("So, since me are done here... I need to prepare another ritual, so please let me work, cuild.", cid) player:addMount(11) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) else npcHandler:say("Sorry you don't have the necessary items.", cid) end npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 3 then if player:getItemCount(5941) >= 1 then player:setStorageValue(Storage.FriendsandTraders.TheBlessedStakeWaitTime, os.time()) npcHandler:say("<mumblemumble> Sha Kesh Mar!", cid) player:removeItem(5941, 1) player:addItem(5942, 1) else npcHandler:say("You don't have the required items.", cid) end npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 4 then player:setStorageValue(50085, 1) npcHandler:say("Good! Come back once you found a mandrake and collected 5 dworcish voodoo dolls.", cid) npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 5 then if player:getItemCount(5015) > 0 and player:getItemCount(3955) >= 5 then player:removeItem(5015, 1) player:removeItem(3955, 5) player:addOutfitAddon(158, 1) player:addOutfitAddon(154, 1) player:setStorageValue(Storage.OutfitQuest.ShamanAddons, 2) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN) npcHandler:say("I am proud of you, my child, excellent work. This staff shall be yours from now on!", cid) else npcHandler:say("You don't have the required items.", cid) end npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 6 then selfSay("The dworcs of Tiquanda like to wear certain tribal masks which I would like to take a look at. Please bring me 5 of these masks. ...", cid) selfSay("Secondly, the high ape magicians of Banuta use banana staves. I would love to learn more about theses staves, so pleasebring me 5 of them also. ...", cid) npcHandler:say("If you manage to fulfil this task, I will grant you your own mask. Have you understood everything and are ready for this test?", cid) npcHandler.topic[cid] = 7 elseif npcHandler.topic[cid] == 7 then player:setStorageValue(Storage.OutfitQuest.ShamanAddons, 3) selfSay("Good! Come back once you have collected 5 tribal masks and 5 banana staves. ...", cid) npcHandler:say("I shall grant you a sign of your progress as shaman if you can fulfil my task.", cid) npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 8 then if player:getItemCount(3966) >= 5 and player:getItemCount(3967) >= 5 then player:removeItem(3966, 5) player:removeItem(3967, 5) player:addOutfitAddon(158, 2) player:addOutfitAddon(154, 2) player:setStorageValue(Storage.OutfitQuest.ShamanAddons, 4) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN) npcHandler:say("Well done, my child! I hereby grant you the right to wear a shamanic mask. Do it proudly.", cid) else npcHandler:say("You don't have the required items.", cid) end elseif npcHandler.topic[cid] == 10 then npcHandler:say("This is really not advisable. Behind this barrier, strong forces are raging violently. Are you sure that you want to go there?", cid) npcHandler.topic[cid] = 11 elseif npcHandler.topic[cid] == 11 then selfSay("I guess I cannot stop you then. Since you told me about my apprentice, it is my turn to help you. I will perform a ritual for you, but I need a few ingredients. ...", cid) npcHandler:say("Bring me one fresh dead chicken, one fresh dead rat and one fresh dead black sheep, in that order.", cid) player:setStorageValue(55701, 1) npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 12 then if player:getItemCount(4265) >= 1 then player:removeItem(4265, 1) npcHandler:say("Very good! <mumblemumble> 'Your soul shall be protected!' Now, I need a fresh dead rat.", cid) player:setStorageValue(55701, 2) npcHandler.topic[cid] = 0 else npcHandler:say("You don't have it...", cid) end elseif npcHandler.topic[cid] == 13 then if player:getItemCount(2813) >= 1 then player:removeItem(2813, 1) npcHandler:say("Very good! <chants and dances> 'You shall face black magic without fear!' Now, I need a fresh dead black sheep.", cid) player:setStorageValue(55701, 3) npcHandler.topic[cid] = 0 else npcHandler:say("You don't have it...", cid) end elseif npcHandler.topic[cid] == 14 then if player:getItemCount(2914) >= 1 then player:removeItem(2914, 1) npcHandler:say("Very good! <stomps staff on ground> 'EVIL POWERS SHALL NOT KEEP YOU ANYMORE! SO BE IT!'", cid) player:setStorageValue(55701, 4) npcHandler.topic[cid] = 0 else npcHandler:say("You don't have it...", cid) end npcHandler.topic[cid] = 0 end elseif msgcontains(msg, "wooden stake") then if npcHandler.topic[cid] < 1 then if player:getStorageValue(Storage.FriendsandTraders.TheBlessedStake) == 12 and player:getItemCount(5941) >= 1 then if player:getStorageValue(Storage.FriendsandTraders.TheBlessedStakeWaitTime) + 7 * 24 * 60 * 60 < os.time() then npcHandler:say("Ten prayers for a blessed stake? Don't tell me they made you travel whole Tibia for it! Listen, child, if you bring me a {wooden stake}, I'll bless it for you. <chuckles>", cid) npcHandler.topic[cid] = 2 else npcHandler:say("Sorry I'm still exhausted from the last ritual. come back later and try again.", cid) npcHandler.topic[cid] = 0 end end elseif npcHandler.topic[cid] == 2 then if player:getItemCount(5941) >= 1 then npcHandler:say("Would you like to receive a spiritual prayer to bless your stake?", cid) npcHandler.topic[cid] = 3 end end elseif msgcontains(msg, "no") and npcHandler.topic[cid] > 2 then npcHandler:say("Maybe next time.", cid) npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) UP
  5. É que no meu ot, os bosses jaul,obujos e tanjis não veem o player quando ele está de utana vid, Onde mexer para arrumar isso? TFS 1.0 se necessário.
  6. Queria saber onde mexer para quando o player for comprar x item em um NPC desse um exausted nele pra comprar outro. Ex: Compro 1 POT, ai vou tentar comprar outro e tem um exausted na compra de 2 segundos, sei la. UP
  7. O player fica x dias sem logar e perde a house e os items vão pro inbox. Procurei, achei uns ai, mas não funcionaram. Alguém pode mover para a área correta, por favor.
  8. Que tfs você usa?
  9. Acho que você não entendeu. Não quero sair alterando de 1 por 1 no rme, deve ter em algum lugar que altere o time de todos (ACHO).
  10. Wakon, funcionou. REPUTEI TODOS! Wakon, tem alguma chance do player trocar de sexo e perder os addons, com essa script que você passou?
  11. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local vocation = {} local town = {} local config = { towns = { ["venore"] = 1, ["thais"] = 2, ["carlin"] = 4 }, vocations = { ["sorcerer"] = { text = "A SORCERER! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", vocationId = 1, --equipment spellbook, wand of vortex, magician's robe, mage hat, studded legs, leather boots, scarf {{2175, 1}, {2190, 1}, {8819, 1}, {8820, 1}, {2468, 1}, {2643, 1}, {2661, 1}}, --container rope, shovel, mana potion {{2120, 1}, {2554, 1}, {7620, 1}} }, ["druid"] = { text = "A DRUID! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", vocationId = 2, --equipment spellbook, snakebite rod, magician's robe, mage hat, studded legs, leather boots scarf {{2175, 1}, {2182, 1}, {8819, 1}, {8820, 1}, {2468, 1}, {2643, 1}, {2661, 1}}, --container rope, shovel, mana potion {{2120, 1}, {2554, 1}, {7620, 1}} }, ["paladin"] = { text = "A PALADIN! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", vocationId = 3, --equipment dwrven shield, 5 spear, ranger's cloak, ranger legs scarf, legion helmet {{2525, 1}, {2389, 5}, {2660, 1}, {8923, 1}, {2643, 1}, {2661, 1}, {2480, 1}}, --container rope, shovel, health potion, bow, 50 arrow {{2120, 1}, {2554, 1}, {7618, 1}, {2456, 1}, {2544, 50}} }, ["knight"] = { text = "A KNIGHT! ARE YOU SURE? THIS DECISION IS IRREVERSIBLE!", vocationId = 4, --equipment dwarven shield, steel axe, brass armor, brass helmet, brass legs scarf {{2525, 1}, {8601, 1}, {2465, 1}, {2460, 1}, {2478, 1}, {2643, 1}, {2661, 1}}, --container jagged sword, daramian mace, rope, shovel, health potion {{8602, 1}, {2439, 1}, {2120, 1}, {2554, 1}, {7618, 1}} } } } 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 greetCallback(cid) local player = Player(cid) local level = player:getLevel() if level < 8 then npcHandler:say("CHILD! COME BACK WHEN YOU HAVE GROWN UP!", cid) npcHandler:resetNpc(cid) return false elseif level > 31 then npcHandler:say(player:getName() ..", I CAN'T LET YOU LEAVE - YOU ARE TOO STRONG ALREADY! YOU CAN ONLY LEAVE WITH LEVEL 9 OR LOWER.", cid) npcHandler:resetNpc(cid) return false elseif player:getVocation():getId() > 0 then npcHandler:say("YOU ALREADY HAVE A VOCATION!", cid) npcHandler:resetNpc(cid) return false else npcHandler:setMessage(MESSAGE_GREET, player:getName() ..", ARE YOU PREPARED TO FACE YOUR DESTINY?") end return true end local function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local player = Player(cid) if npcHandler.topic[cid] == 0 then if msgcontains(msg, "yes") then npcHandler:say("IN WHICH TOWN DO YOU WANT TO LIVE: {CARLIN}, {THAIS}, OR {VENORE}?", cid) npcHandler.topic[cid] = 1 end elseif npcHandler.topic[cid] == 1 then local cityTable = config.towns[msg:lower()] if cityTable then town[cid] = cityTable npcHandler:say("IN ".. string.upper(msg) .."! AND WHAT PROFESSION HAVE YOU CHOSEN: {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) npcHandler.topic[cid] = 2 else npcHandler:say("IN WHICH TOWN DO YOU WANT TO LIVE: {CARLIN}, {THAIS}, OR {VENORE}?", cid) end elseif npcHandler.topic[cid] == 2 then local vocationTable = config.vocations[msg:lower()] if vocationTable then npcHandler:say(vocationTable.text, cid) npcHandler.topic[cid] = 3 vocation[cid] = vocationTable.vocationId else npcHandler:say("{KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) end elseif npcHandler.topic[cid] == 3 then if msgcontains(msg, "yes") then npcHandler:say("SO BE IT!", cid) player:setVocation(Vocation(vocation[cid])) player:setTown(Town(town[cid])) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) player:teleportTo(Town(town[cid]):getTemplePosition()) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have received a backpack with starting items for reaching the mainlands.") local targetVocation = config.vocations[Vocation(vocation[cid]):getName():lower()] for i = 1, #targetVocation[1] do player:addItem(targetVocation[1][1], targetVocation[1][2]) end local backpack = player:addItem(1988) for i = 1, #targetVocation[2] do backpack:addItem(targetVocation[2][1], targetVocation[2][2]) end else npcHandler:say("THEN WHAT? {KNIGHT}, {PALADIN}, {SORCERER}, OR {DRUID}?", cid) npcHandler.topic[cid] = 2 end end return true end local function onAddFocus(cid) town[cid] = 0 vocation[cid] = 0 end local function onReleaseFocus(cid) town[cid] = nil vocation[cid] = nil end npcHandler:setCallback(CALLBACK_ONADDFOCUS, onAddFocus) npcHandler:setCallback(CALLBACK_ONRELEASEFOCUS, onReleaseFocus) npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setMessage(MESSAGE_FAREWELL, "COME BACK WHEN YOU ARE PREPARED TO FACE YOUR DESTINY!") npcHandler:setMessage(MESSAGE_WALKAWAY, "COME BACK WHEN YOU ARE PREPARED TO FACE YOUR DESTINY!") npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  12. Onde colocar para quando o player sair de rookguard já sair com uma montaria após ele escolher a vocação?
  13. É como está dizendo no título do tópico, quando o player ficar por x dias (configurado por mim) o player perde a house e os items vão para o inbox dele.
  14. Wakon, por item. Stinger, quero o remover que tire os frags também, e esse change sex tinha testado antes e não funcionou.
  15. É que no RME também está com aparencia de slime..
  16. Procurei scripts de skull remover e change sex, achei, mas não funcionaram. Ai resolvi fazer o pedido. TFS 1.0
  17. Bom, estou querendo aumentar a velocidade do respawn dos bixos do meu ot, só que não sei onde alterar, alguém poderia me dizer onde? OBS: Não quero alterar só de uns bichos, quero alterar de todos direto.
  18. Fire, o script não funcionou.
  19. Fire, irei testar..

Informação Importante

Confirmação de Termo