Ir para conteúdo
Banner com Efeitos

Jonathan005

Membro
  • Registro em

  • Última visita

Tudo que Jonathan005 postou

  1. Funcionou irmão, vlw! REP +
  2. local ultimateHealthPot = 8473 local greatHealthPot = 7591 local greatManaPot = 7590 local greatSpiritPot = 8472 local strongHealthPot = 7588 local strongManaPot = 7589 local healthPot = 7618 local manaPot = 7620 local smallHealthPot = 8704 local antidotePot = 8474 local greatEmptyPot = 7635 local strongEmptyPot = 7634 local emptyPot = 7636 local antidote = Combat() antidote:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) antidote:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) antidote:setParameter(COMBAT_PARAM_TARGETCASTERORTOPMOST, true) antidote:setParameter(COMBAT_PARAM_AGGRESSIVE, false) antidote:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON) local exhaust = Condition(CONDITION_EXHAUST_HEAL) exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 100)) -- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion. function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 1 or itemEx.type ~= THING_TYPE_PLAYER then return true end local player = Player(cid) if player:getCondition(CONDITION_EXHAUST_HEAL) then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUAREEXHAUSTED)) return true end if item.itemid == antidotePot then if not doCombat(cid, antidote, numberToVariant(cid)) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(emptyPot, 1) elseif item.itemid == smallHealthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 60, 85, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(emptyPot, 1) elseif item.itemid == healthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 125, 175, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(emptyPot, 1) elseif item.itemid == manaPot then if not doTargetCombatMana(0, cid, 150, 200, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(emptyPot, 1) elseif item.itemid == strongHealthPot then if(not isInArray({3,8,13,18}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("Essa potion só pode ser consumida por paladins e suas vocações..", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 280, 400, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(strongEmptyPot, 1) elseif item.itemid == strongManaPot then if(not isInArray({3,8,13,18}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("Essa potion só pode ser usada por paladins e suas vocações, de level 50 ou mais.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 250, 350, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(strongEmptyPot, 1) elseif item.itemid == greatSpiritPot then if(not isInArray({3, 7}, player:getVocation():getId()) or (player:getLevel() < 80)) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by paladins of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) or not doTargetCombatMana(0, cid, 100, 200, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(greatEmptyPot, 1) elseif item.itemid == greatHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 500, 700, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(greatEmptyPot, 1) elseif item.itemid == greatManaPot then if(not isInArray({1,2,6,7,11,12,16,17}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("Essa potion só pode ser consumida por druids, sorceres level 80 ou mais.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 500, 650, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(greatEmptyPot, 1) elseif item.itemid == ultimateHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 130) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 130 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 650, 850, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) player:addItem(greatEmptyPot, 1) end return true end Verdade, expressei mal, kkk é isso, potar o aliado, não funciona, quando vai potar o aliado, pota a sí mesmo
  3. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Alguém pode me ajudar? Está acontecendo o seguinte, quando alguém vai se potar, a potion não pota o aliado, pota a si mesmo, como corrigir? Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  4. Lucas? hahaha, esse também não funciona irmão, já tentei, você me passou seu mapa, lembra? haha
  5. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Fala clã, então.. No meu servidor existem diversos bosses, porém eu precisava de um script que summonasse eles, aleatoriamente.. Por exemplo, de 40 em 40 minutos, nasce 1, dos X numero de bosses.. Um amigo me enviou esse script dele, pega no TFS 0.4.. porém o meu é TFS 1.0, e dá esse erro na distro: Alguem sabe corrigir? OBG. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: local shit = { {boss = "Smaug", pos = {x=1397, y=375, z=2}}, {boss = "laracna", pos = {x=980, y=866, z=12}}, {boss = "son of ancalagon", pos = {x=955, y=369, z=8}}, {boss = "son of ancalagon", pos = {x=1651, y=615, z=12}}, {boss = "Wormageddon", pos = {x=331, y=390, z=8}}, {boss = "olog-hai", pos = {x=1664, y=1141, z=8}}, {boss = "olog-hai", pos = {x=507, y=835, z=10}}, {boss = "scatha", pos = {x=1394, y=210, z=9}}, {boss = "valaraukar", pos = {x=554, y=295, z=1}}, {boss = "valaraukar", pos = {x=332, y=508, z=4}}, {boss = "ferumbras", pos = {x=1865, y=811, z=0}}, {boss = "jormungand", pos = {x=616, y=518, z=9}}, {boss = "adramelech", pos = {x=1659, y=517, z=11}}, {boss = "ancalagon", pos = {x=1630, y=851, z=14}}, {boss = "smaug", pos = {x=1397, y=375, z=2}}, {boss = "eddie", pos = {x=1636, y=458, z=11}}, {boss = "The Necromancer", pos = {x=557, y=315, z=0}}, {boss = "baalrog", pos = {x=553, y=761, z=9}}, {boss = "emelianenko", pos = {x=1206, y=766, z=11}}, {boss = "khel thuzad", pos = {x=1788, y=453, z=15}}, {boss = "ungoliant", pos = {x=1790, y=374, z=6}}, {boss = "saruman", pos = {x=959, y=983, z=1}}, {boss = "cerberus", pos = {x=1779, y=355, z=12}}, {boss = "scatha", pos = {x=1104, y=1183, z=0}}, {boss = "azaka", pos = {x=537, y=196, z=6}}, {boss = "Melkors Summon", pos = {x=1540, y=94, z=13}}, {boss = "Avari Leader", pos = {x=978, y=1341, z=8}}, {boss = "Azazel", pos = {x=374, y=182, z=9}}, {boss = "The Necromancer", pos = {x=337, y=706, z=1}}, {boss = "Wormageddon", pos = {x=274, y=832, z=9}}, {boss = "Melkors Summon", pos = {x=309, y=846, z=9}}, {boss = "Lord of The Elements", pos = {x=127, y=818, z=13}}, {boss = "deathstrike", pos = {x=1431, y=484, z=9}}, {boss = "Obujos", pos = {x=651, y=1153, z=13}}, {boss = "Jaul", pos = {x=775, y=1162, z=13}}, {boss = "Gaz'haragoth", pos = {x=319, y=1179, z=5}}, {boss = "Evancing", pos = {x=777, y=1514, z=12}} } function onThink(cid, interval) local random = math.random(1, #shit) if not getCreatureByName(shit[random].boss) then doCreateMonster(shit[random].boss, shit[random].pos) end return true end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  6. Jonathan005 postou uma resposta no tópico em Suporte Tibia OTServer
    Vou testar, obg. REP +
  7. Jonathan005 postou uma resposta no tópico em Suporte Tibia OTServer
    Vou testar, só 1 min Não entregou maninho
  8. Jonathan005 postou uma resposta no tópico em Suporte Tibia OTServer
    .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Boa noite família, installei o puglin de shop, configurei alguns itens, à gosto.. Porém, quando eu compro o item, não é entregue, alguém poderia me ajudar? Já testei alguns scripts shop.lua e adcionei a tag no global events, mas não deu, acho que os scripts não funcionavam, sei lá. Ficaria grato, obg. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  9. Obrigado irmão, testarei logo e te darei o retorno, obg
  10. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Boa noite família do TK, preciso de um script de alavanca que teleporte 4 players, eu escolho a posição dos pisos, e a posição para onde eles vão ser teleportados, e eles precisam de nivel mínimo 20, máximo 30. Por favor, alguém me ajuda, que deixe fácil a percepção p/ que eu possa editar esse script a gosto, pois no meu servidor irá ter 5 cityquests, e nelas, precisa-se desse script p/ entrar na quest. Edoras Quest - 20 a 30 Bree Quest - 30 a 40 Forod Quest - 40 a 55 Dol Quest - 100 a 120 e Moria Quest, 120 a 130.. Porém, com um script desse, eu consigo editar, e fazer os outros, obrigado, aguardo Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  11. ACTIONS.XML <!-- Taming Items --> <action itemid="13941" script="other/cup of molten gold.lua"/> <action itemid="5907" script="other/taming.lua"/> <action itemid="13247" script="other/taming.lua"/> <action fromid="13291" toid="13295" script="other/taming.lua"/> <action itemid="13298" script="other/taming.lua"/> <action itemid="13305" script="other/taming.lua"/> <action itemid="13307" script="other/taming.lua"/> <action itemid="13508" script="other/taming.lua"/> <action fromid="13535" toid="13539" script="other/taming.lua"/> <action fromid="13938" toid="13939" script="other/taming.lua"/> <action itemid="13498" script="other/taming.lua"/> <action fromid="15545" toid="15546" script="other/taming.lua"/> data/actions/scripts/others/taming.. Quando eu adciono, não dá certo, dá um help ai brother local ACTION_RUN, ACTION_BREAK, ACTION_NONE, ACTION_ALL = 1, 2, 3, 4 local TYPE_MONSTER, TYPE_NPC, TYPE_ACTION, TYPE_UNIQUE = 1, 2, 3, 4 local config = { [5907] = {NAME = 'Bear', ID = 3, TYPE = TYPE_MONSTER, CHANCE = 20, FAIL_MSG = { {1, "The bear ran away."}, {2, "Oh no! The slingshot broke."}, {3, "The bear is trying to hit you with its claws."} }, SUCCESS_MSG = "You have tamed the bear."}, [13295] = {NAME = 'Black Sheep', ID = 4, TYPE = TYPE_MONSTER, CHANCE = 25, FAIL_MSG = { {1, "The black sheep ran away."}, {2, "Oh no! The reins were torn."}, {3, "The black sheep is trying to run away."} }, SUCCESS_MSG = "You have tamed the sheep."}, [13293] = {NAME = 'Midnight Panther', ID = 5, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The panther has escaped."}, {2, "The whip broke."} }, SUCCESS_MSG = "You have tamed the panther."}, [13298] = {NAME = 'Terror Bird', ID = 2, TYPE = TYPE_MONSTER, CHANCE = 15, FAIL_MSG = { {1, "The bird ran away."}, {3, "The terror bird is pecking you."} }, SUCCESS_MSG = "You have tamed the bird."}, [13247] = {NAME = 'Boar', ID = 10, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The boar has run away"}, {3, "The boar attacks you."} }, SUCCESS_MSG = "You have tamed the boar."}, [13305] = {NAME = 'Crustacea Gigantica', ID = 7, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The crustacea has run away."}, {2, "The crustacea ate the shrimp."} }, SUCCESS_MSG = "You have tamed the crustacea."}, [13291] = {NAME = 'Undead Cavebear', ID = 12, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The undead bear has run away."} }, SUCCESS_MSG = "You have tamed the skeleton."}, [13307] = {NAME = 'Wailing Widow', ID = 1, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The widow has run away."}, {2, "The widow has eaten the sweet bait."} }, SUCCESS_MSG = "You have tamed the widow."}, [13292] = {NAME = 'inoperative tin lizzard', ID = 8, TYPE = TYPE_ITEM, CHANCE = 40, FAIL_MSG = { {2, "The key broke inside."} }, SUCCESS_MSG = "You have started the Tin Lizzard!"}, [13294] = {NAME = 'Draptor', ID = 6, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The draptor has run away."}, {3, "The draptor has fled."} }, SUCCESS_MSG = "You have tamed the draptor."}, [13536] = {NAME = 'Crystal Wolf', ID = 16, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The wolf has run away."} }, SUCCESS_MSG = "You have tamed the wolf."}, [13539] = {NAME = 'Enraged White Deer', ID = 18, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {2, "The cone broke."}, {3, "The deer has fled in fear."} }, SUCCESS_MSG = "You have tamed the deer."}, [13538] = {NAME = 'Panda', ID = 19, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {4, "Panda ate the leaves and ran away."} }, SUCCESS_MSG = "You have tamed the panda."}, [13535] = {NAME = 'Dromedary', ID = 20, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "Dromedary has run away."} }, SUCCESS_MSG = "You have tamed the dromedary."}, [13498] = {NAME = 'Sandstone Scorpion', ID = 21, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The scorpion has vanished."}, {2, "Scorpion broken the sceptre."} }, SUCCESS_MSG = "You have tamed the scorpion"}, [13537] = {NAME = 'Donkey', ID = 13, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The witch has escaped!"} }, SUCCESS_MSG = "You have tamed the mule."}, [13938] = {NAME = 'inoperative uniwheel', ID = 15, TYPE = TYPE_ITEM, CHANCE = 40, FAIL_MSG = { {2, "The oil is having no effect."} }, SUCCESS_MSG = "You have found an Uniwheel."}, [13508] = {NAME = 'Slug', ID = 14, TYPE = TYPE_MONSTER, CHANCE = 40, FAIL_MSG = { {1, "The slug has run away."}, {3, "The drug had no effect."} }, SUCCESS_MSG = "You have tamed the slug."}, [13939] = {NAME = 'War Horse', ID = 23, TYPE = TYPE_MONSTER, CHANCE = 15, FAIL_MSG = { {1, "The horse runs away."}, {2, "The horse ate the oats."} }, SUCCESS_MSG = "You have tamed the horse."}, [15545] = {NAME = 'Manta Ray', ID = 28, TYPE = TYPE_MONSTER, CHANCE = 30, FAIL_MSG = { {1, "The manta ray fled."}, {3, "The manta ray is trying to escape."} }, SUCCESS_MSG = "You have tamed the manta ray."}, [15546] = {NAME = 'Lady Bug', ID = 27, TYPE = TYPE_MONSTER, CHANCE = 30, FAIL_MSG = { {1, "The ladybug got scared and ran away."}, {3, "The ladybug is trying to nibble."} }, SUCCESS_MSG = "You tame a ladybug."}, [20138] = {NAME = 'Water Buffalo', ID = 35, TYPE = TYPE_MONSTER, CHANCE = 30, FAIL_MSG = { {1, "The water buffalo got scared and ran away."}, {3, "The water buffalo is trying to nibble."} }, SUCCESS_MSG = "You tamed a water buffalo."} } local function doFailAction(cid, mount, pos, item, itemEx) local action, effect = mount.FAIL_MSG[math.random(1, table.maxn(mount.FAIL_MSG))], CONST_ME_POFF if(action[1] == ACTION_RUN) then Creature(itemEx.uid):remove() elseif(action[1] == ACTION_BREAK) then effect = CONST_ME_BLOCKHIT Item(item.uid):remove(1) elseif(action[1] == ACTION_ALL) then Creature(itemEx.uid):remove() Item(item.uid):remove(1) end Position(pos):sendMagicEffect(effect) Player(cid):say(action[2], TALKTYPE_ORANGE_1) return action end function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) local monster = Monster(itemEx.uid) local npc = Npc(itemEx.uid) local targetitem = Item(itemEx.uid) local mount = config[item.itemid] if mount == nil or player:hasMount(mount.ID) then return false end local rand = math.random(1, 100) --Monster Mount if monster ~= nil and mount.TYPE == TYPE_MONSTER then if Creature(itemEx.uid):getMaster() then player:say("You cant tame a summon!", TALKTYPE_ORANGE_1) return true end if mount.NAME == monster:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) monster:remove() toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --NPC Mount elseif npc ~= nil and mount.TYPE == TYPE_NPC then if mount.NAME == npc:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Item Mount elseif targetitem ~= nil and mount.TYPE == TYPE_ITEM then if mount.NAME == targetitem:getName() then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Action Mount elseif itemEx.actionid > 0 and mount.TYPE == TYPE_ACTION then if(mount.NAME == itemEx.actionid) then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end --Unique Mount elseif itemEx.uid <= 65535 and mount.TYPE == TYPE_UNIQUE then if mount.NAME == itemEx.uid then if rand > mount.CHANCE then doFailAction(cid, mount, toPosition, item, itemEx) return true end player:addMount(mount.ID) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, mount.SUCCESS_MSG) player:say(mount.SUCCESS_MSG, TALKTYPE_ORANGE_1) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) return true end end return false end
  12. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Preciso de ajuda, como eu adciono o taming pra uma certa mount? Obs, meu servidor é mapa global e tudo mais, nele tem 42 mounts, porém, algumas não tem o taming com item, como eu add? Quando eu vou em actions, taming, etc, e add a mount p/ domar, por exemplo, o shadow draptor nao tem como domar com item, qnd eu vou lá no taming e coloco igual os outros, mudo o item, e o id dá mount, não funciona, e os outros itens, param de funcionar, aguardo, vlw.. Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  13. Obrigado meu mano, mas já consegui um script, mesmo assim, obrigado pelo apoio, rep +, tmj!
  14. Obrigado novamente irmão, você me salvou demais, hahaha Agora, deixa eu te perguntar, pra ficar tudo perfeito kkkkk Tem algum script que o player clica na lavanca, e faz surgir monstros? E algum que clica na lavanca e o player teleporta? Aguardo, vlw
  15. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Preciso de um script p/ tfs 1.0 que cria monsters ao puxar X lavanca, me ajudem clã, vlw! Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  16. Não dá pra usar em tfs 1.0 Tibia versão 10.41 né?
  17. Fala família, alguém poderia me ajudar? gostaria de editar algumas coisinhas no meu site, como o shop, adcionar outras coisinhas.. etc.. Quando vou criar vocação, as vocações não aparecem o nome, alguem sabe me ajudar? VALEU!
  18. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? As magias que eu adciono no meu servidor, com a conta GOD elas funcionam normalmente, porem, quando vou usa-lás com uma conta "player" o tibia da DEBUG.. Alguém sabe como resolver? OBRIGADO! Postarei abaixo o código dela, ainda vou editar o dano, etc... Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: SPELLS.XML <instant group="attack" spellid="205" name="Great Explosion" words="exevo mas vis" lvl="200" mana="2000" prem="1" exhaustion="40000" groupcooldown="4000" selftarget="1" needlearn="0" script="attack/mas vis.lua"> <vocation name="Sorcerer"/> <vocation name="Druid"/> <vocation name="Master Sorcerer"/> <vocation name="Archmage"/> <vocation name="Arcane Wizard"/> MAGIA: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) local area = createCombatArea(AREA_CROSS5X5) setCombatArea(combat, area) function onGetFormulaValues(cid, level, maglevel) min = -((level / 5) + (maglevel * ? + 50) max = -((level / 5) + (maglevel * 12) + 75) return min, max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") function onCastSpell(cid, var) return doCombat(cid, combat, var) end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  19. Jonathan005 postou uma resposta no tópico em Suporte Tibia OTServer
    O meu servidor é 10.41, TFS1.0
  20. .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Alguém poderia me ajudar? O item não protege de acordo com o attribute key dele, por exemplo, eu taco fire no chão, o fire hita 20, com ou sem o item.. Quando eu uso o item "Dragon Scale Mail" que tem 12 de protection fire, eu passo no fire sem, hita 20, com o DSM hita 17.. e tem os mesmos attribute key, alguém poderia me ajudar? VLW! Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: <item id="2506" article="a" name="dragon scale helmet"> <attribute key="description" value="It is made of dragon scales." /> <attribute key="weight" value="6000" /> <attribute key="armor" value="12" /> <attribute key="absorbPercentFire" value="8" /> <attribute key="slotType" value="head" /> Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  21. Caramba, humilde demais, jogou longe irmão, valeu pela força, abraço, tmjuntao Mano, eu testei o script, porém observei, onde eu coloco o item uniqid? e o actionid? que é onde a pessoa clica? dá uma luz ai, kk vlw
  22. Jonathan005 postou uma resposta no tópico em Suporte Tibia OTServer
    .Qual servidor ou website você utiliza como base? TFS 1.0 Qual o motivo deste tópico? Boa tarde família, alguém poderia me ajudar? Estou atrás de um NPC de task.. Se alguém se disponibilizar a me dar um help, por gentileza, me dê uma moralzinha, e se possivel, me explique, "caso eu não entenda" Onde alterar, os mobs, a quantidade de mobs que tem que matar, e a recompensa, aguardo família, fortalece aeee!! Abraços Está surgindo algum erro? Se sim coloque-o aqui. Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  23. Fala irmão, tranquilidade? Por acaso, você teria um script p/ quest? Tipo, uma action.. Aquelas quest por action, tlgd? Eu tenho um script de Action Quest aqui, porém ele dá p/ fazer qualquer level também, gostaria de fazer tais quests, porém com level, se liga, vê se você consegue me ajudar ai irmão, vlw, tmj.. function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if item.uid == 4955 then if player:getStorageValue(490) < 1 then player:setStorageValue(490, 1) player:addItem(2519, 1) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have found a crown shield.") else player:sendTextMessage(MESSAGE_INFO_DESCR, "The tree is empty.") end elseif item.uid == 3027 then if player:getStorageValue(491) < 1 then player:setStorageValue(491, 1) player:addItem(2487, 1) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have found a crown armor.") else player:sendTextMessage(MESSAGE_INFO_DESCR, "The tree is empty.") end end return true end
  24. Fala meu brother, deu certo sim, muito obrigado, eu tava colocando node1, 2 e 3, porém, só colocava no primeiro, esqueci de colocar nos outros, foi falta de atenção minha, perdão, valeu pela força, abraço meu mano!
  25. Valeu mesmo meu mano!! Só tenho uma dúvida.. local node1 = keywordHandler:addKeyword({'promot'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 20000 gold coins. Do you want me to promote you?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 0, level = 35, promotion = 3, text = 'Congratulations! You are now promoted.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true}) esse local node ai, tem como eu usar 3 desses? no mesmo npc? uma promotion level 35, uma promotion level 101, e a outra level 200, dá um salve quando puder, valeu mano, é nois! Ficaria assim, porém, quando eu digo, promotion1, ele oferece a promotion, com o valor de 10k, e eu falo yes, ele promove.. porém, se eu falo promotion2, ele oferece a promotion 2, com o valor de 30k e tal, mas se eu falar yes, ele não promove, nem a promotion3.. 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 node1 = keywordHandler:addKeyword({'promotion1'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce quer ser promovido custa 1 crystal coin (10k) ? . Voce aceita? ?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 10000, level = 35, promotion = 1, text = 'Congratulations! Você foi promovido.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Tudo bem, volte quando estiver pronto..', reset = true}) npcHandler:addModule(FocusModule:new()) local node2 = keywordHandler:addKeyword({'promotion2'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Você quer ser promovido custa 3 crystal coins (30k). Você aceita? ?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 30000, level = 101, promotion = 2, text = 'Congratulations! Você foi promovido.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Tudo bem, volte quando estiver pronto..', reset = true}) npcHandler:addModule(FocusModule:new()) local node3 = keywordHandler:addKeyword({'promotion3'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Você quer ser promovido custa 20 crystal coins (200k). Você aceita? ?'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 200000, level = 200, promotion = 3, text = 'Congratulations! Você foi promovido.'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Tudo bem, volte quando estiver pronto.', reset = true}) npcHandler:addModule(FocusModule:new())

Informação Importante

Confirmação de Termo