Ir para conteúdo

Pedro.

Membro
  • Registro em

  • Última visita

Tudo que Pedro. postou

  1. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    To tentando aqui fazer algo parecido com o online, só que ao inves de mostrar os players mostrar as raids que já deram no servidor. Se alguém puder me da uma luz, agradecido. Eu pensei, se teria uma forma dele fazer um check por nome ou posição.. function onUse(cid, item, fromPosition, itemEx, toPosition) local item = x local pos = {x = 979, y = 1461, z = 4} if getTileItemById(pos, item).uid > 0 then ?? ?? end return true end
  2. NAMORAL DANIEL, com todo respeito, VAI TOMA NO CU! tu mappeia muito, puta que pariu, que mapa bonito da porra!
  3. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    HEUAHEUAHEAHUEAHUEAHUEAU, cara da pra fazer várias coisas, pode ser um mapa de war que troque de mapa a cada x tempo. Ou pode ser um RPG, que evolua e troque de mapa, tipo stage1 stage2, ou pode ser tudo junto, sei lá IUAWEHUAWHEu doideira!
  4. Pedro. postou uma resposta no tópico em Formação de Equipe
    Carai zé, vai ser um projeto bem trabalhoso, espero que tu consiga terminar antes de desanimar. Curti as ideias! Força de vontade é fundamental!
  5. tu testou qual script? a ultima do comentário?
  6. Fera! @luanluciano93 anima não? hahahha
  7. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    eu tô usando a versão do Leonardo, https://github.com/jlcvp/GesiorMonteiro
  8. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    qual versão do gesior que cê ta usando? as imagens rs https://www.mediafire.com/file/bduyuflpyad2e5x/skill.rar
  9. Venho trazer pra vocês npc pra custom map, ou até mesmo global.. o Script foi testado tfs 1.2, mas creio eu que funcione tfs 1.0+ etc. Basicamente ele marca o map com icones. configurável local marks = { {mark = 5, pos = {x = 160, y = 51, z = 7}, desc = "Enigma City Temple"}, {mark = 10, pos = {x = 130, y = 52, z = 7}, desc = "Depot with bank"}, {mark = 13, pos = {x = 146, y = 44, z = 7}, desc = "Food store"}, {mark = 8, pos = {x = 278, y = 236, z = 7}, desc = "Smithery"}, {mark = 8, pos = {x = 130, y = 56, z = 7}, desc = "Distance weapons shop"}, {mark = 13, pos = {x = 268, y = 241, z = 7}, desc = "Jewelry, magic store and music instruments shop"}, {mark = 13, pos = {x = 303, y = 247, z = 7}, desc = "Food shop and magic store"}, {mark = 7, pos = {x = 174, y = 61, z = 7}, desc = "Tools and furniture"}, {mark = 13, pos = {x = 180, y = 68, z = 7}, desc = "Creature products and fashion"}, {mark = 9, pos = {x = 199, y = 74, z = 7}, desc = "Ship"}, Vamos a instalação. vá até npcs e crie um .xml Alice.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Alice" script="blessevoguide.lua" walkinterval="2000" floorchange="0" speechbubble="1"> <health now="100" max="100"/> <look type="138" head="58" body="114" legs="87" addons="3"/> <parameters> <!-- <parameter key="message_greet" value="Be greeted. If you need {something} just ask me."/> --> <parameter key="message_farewell" value="See you soon!"/> <parameter key="message_walkaway" value="Bye." /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="bless;help;temple;priestess;job;something;food;guide;blessings;enigma" /> <parameter key="keyword_reply1" value="I can grant you blessings such as {Wisdom} {of} {Solitude}, {Spark} {of} {The} {Phoenix}, our {Fire} {of} {Two} {Suns}, {Spiritual} {Shielding} and {The Embrace}. I can also grant you {all} of these blessings, just ask me." /> <parameter key="keyword_reply2" value="I can give you {blessings}, {heal} you if you are wounded and help you finding yourself by {marking} your {map}" /> <parameter key="keyword_reply3" value="I am last {Priestess} left in Enigma City. I wrote my knowledge in books in hope it will be saved. I am also a {guide} of Enigma City." /> <parameter key="keyword_reply4" value="We are here to {guide} people in their lives." /> <parameter key="keyword_reply5" value="We are here to {guide} people in their lives." /> <parameter key="keyword_reply6" value="I can give you {bless}ings and help you finding yourself by {marking} your {map}." /> <parameter key="keyword_reply7" value="You can earn some by hunting animals or buy some in stores near Depot." /> <parameter key="keyword_reply8" value="I can show you way around and set some {marks} on your {map}" /> <parameter key="keyword_reply9" value="I can grant you blessings such as {Wisdom} {of} {Solitude}, {Spark} {of} {The} {Phoenix}, our {Fire} {of} {Two} {Suns}, {Spiritual} {Shielding} and {The Embrace}. I can also grant you {all} of these blessings, just ask me." /> <parameter key="keyword_reply10" value="Our home. Great city of great prosperity. Isn't it a magical place?" /> </parameters> </npc> vá até /scripts e crie um .lua blessevoguide.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local random_texts = {'Welcome to our humble temple.', 'If you are hurt ask me, I\'ll heal you.', 'Feeling lost? Ask me for help.', 'Praise our God. He has power to revive adventurers whose adventure is not over yet!'} local random_texts_chance = 40 -- percent local random_texts_interval = 120 -- seconds random_word_bless = 0 local talkState = {} local function round(num, idp) local mult = 10^(idp or 0) if num >= 0 then return math.floor(num * mult + 0.5) / mult else return math.ceil(num * mult - 0.5) / mult end end 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() if(random_word_bless < os.time()) then random_word_bless = (os.time() + random_texts_interval) if(math.random(1, 100) < random_texts_chance) then selfSay(random_texts[math.random(1, #random_texts)]) end end npcHandler:onThink() end function onPlayerEndTrade(cid) npcHandler:onPlayerEndTrade(cid) end function onPlayerCloseChannel(cid) npcHandler:onPlayerCloseChannel(cid) end function greetCallback(cid) local talkUser = cid local msg = { "Be greeted. If you need {something} just ask me.", "Welcome to our humble temple, " .. getPlayerName(cid) .. ".", "Welcome, " .. getPlayerName(cid) .. "! Welcome to the temple of {Enigma City}. If you need {healing}, I can help you.", "Hello. How may I help you " .. getPlayerName(cid) .. "?", "Come in, " .. getPlayerName(cid) .. "." } npcHandler:setMessage(MESSAGE_GREET, msg[math.random(1, #msg)]) talkState[talkUser] = 0 return true end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = cid if(msgcontains(msg, 'map') or msgcontains(msg, 'mark')) then selfSay('Do you want me to mark your map with important locations in our town?', cid) talkState[talkUser] = 1 return true end if msgcontains(msg, "yes") and talkState[talkUser] == 1 then local marks = { {mark = 5, pos = {x = 160, y = 51, z = 7}, desc = "Enigma City Temple"}, {mark = 10, pos = {x = 130, y = 52, z = 7}, desc = "Depot with bank"}, {mark = 13, pos = {x = 146, y = 44, z = 7}, desc = "Food store"}, {mark = 8, pos = {x = 278, y = 236, z = 7}, desc = "Smithery"}, {mark = 8, pos = {x = 130, y = 56, z = 7}, desc = "Distance weapons shop"}, {mark = 13, pos = {x = 268, y = 241, z = 7}, desc = "Jewelry, magic store and music instruments shop"}, {mark = 13, pos = {x = 303, y = 247, z = 7}, desc = "Food shop and magic store"}, {mark = 7, pos = {x = 174, y = 61, z = 7}, desc = "Tools and furniture"}, {mark = 13, pos = {x = 180, y = 68, z = 7}, desc = "Creature products and fashion"}, {mark = 9, pos = {x = 199, y = 74, z = 7}, desc = "Ship"}, } local f_addMark = doPlayerAddMapMark if(not f_addMark) then f_addMark = doAddMapMark end for _, m in pairs(marks) do f_addMark(cid, m.pos, m.mark, m.desc ~= nil and m.desc or "") end selfSay('Here you are.', cid) talkState[talkUser] = 0 return true end if msgcontains(msg, "no") and talkState[talkUser] ~= 0 then selfSay('May God guide your path then.', cid) talkState[talkUser] = 0 return true end if msgcontains(msg, "heal") then if getCreatureCondition(cid, CONDITION_FIRE) then selfSay("You are burning. I will help you.", cid) doRemoveCondition(cid, CONDITION_FIRE) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) elseif getCreatureCondition(cid, CONDITION_POISON) then selfSay("You are poisoned. I will cure you.", cid) doRemoveCondition(cid, CONDITION_POISON) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED) elseif getCreatureCondition(cid, CONDITION_ENERGY) then selfSay("You are electrificed. I will help you.", cid) doRemoveCondition(cid, CONDITION_ENERGY) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) elseif getCreatureCondition(cid, CONDITION_PARALYZE) then selfSay("You are paralyzed. I will cure you.", cid) doRemoveCondition(cid, CONDITION_PARALYZE) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) elseif getCreatureCondition(cid, CONDITION_DROWN) then selfSay("You are drowing. I will help you.", cid) doRemoveCondition(cid, CONDITION_DROWN) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) elseif getCreatureCondition(cid, CONDITION_FREEZING) then selfSay("You are cold! I will help you.", cid) doRemoveCondition(cid, CONDITION_FREEZING) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HITBYFIRE) elseif getCreatureCondition(cid, CONDITION_BLEEDING) then selfSay("You are bleeding! I will help you.", cid) doRemoveCondition(cid, CONDITION_BLEEDING) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) elseif getCreatureCondition(cid, CONDITION_DAZZLED) then selfSay("You are dazzled! Do not mess with holy creatures anymore!", cid) doRemoveCondition(cid, CONDITION_DAZZLED) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_PURPLEENERGY) elseif getCreatureCondition(cid, CONDITION_CURSED) then selfSay("You are cursed! I will remove it.", cid) doRemoveCondition(cid, CONDITION_CURSED) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_PURPLEENERGY) elseif getCreatureHealth(cid) < 65 then selfSay("You are looking really bad. Let me heal your wounds.", cid) doCreatureAddHealth(cid, 65 - getCreatureHealth(cid)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) elseif getCreatureHealth(cid) < 2000 then selfSay("I did my best to fix your wounds.", cid) doCreatureAddHealth(cid, 2000 - getCreatureHealth(cid)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE) else local msgheal = { "You aren't looking really bad, " .. getCreatureName(cid) .. ". I only help in cases of real emergencies. Raise your health simply by eating {food}.", "Seriously? It's just a scratch", "Don't be a child. You don't need any help with your health.", "I'm not an expert. If you need help find a medic.", "Don't even waste my time, I have bigger problems than your scratched armor." } selfSay("" .. msgheal[math.random(1, #msgheal)] .. "", cid) end return true end if(msgcontains(msg, 'white') and msgcontains(msg, 'magic')) then selfSay('The white magic book, I saw it recently in library. If you are lucky enough you may still find it there.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'expert') and msgcontains(msg, 'spell')) then selfSay('They are available only for highest level wizards. They are mostly support and protection spells.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'stationary') and msgcontains(msg, 'shield')) then selfSay('Princess Estalice told me to learn this spell. It might be useful during assault of the hive one day.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'age') and msgcontains(msg, 'spell')) then selfSay('This one is available only for highest level wizards. I am not skilled enough to cast it.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'soft') and msgcontains(msg, 'wings')) then selfSay('This one allows to fly and walk on clouds by summoning mentioned wings, but they are very fragile and the spell is very complicated itself. I casted this spell once, but its user didn\'t appreciated my effort.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'lightbringer')) then selfSay('They are very rare creatures. Seeing one is like spotting a unicorn. They live in highest layers of clouds, a very little is known about them.', cid) talkState[talkUser] = 0 return true end if(msgcontains(msg, 'cloudwalking')) then local spelldur = round((getPlayerStorageValue(cid, 22444)-os.time())/3600) if getPlayerStorageValue(cid,22444) < os.time() then if getPlayerMoney(cid) > 4999 then selfSay('The cloudwalking spell is simpler alternative of {soft wings} spell, but it\'s more dangerous also. You have to watch youself - if you fall from a cloud, nothing can save you. This spell lasts for three days. Do you want me to cast it on you for a small donation of 5000 gold?', cid) talkState[talkUser] = 9 else selfSay('The cloudwalking spell is simpler alternative of {soft wings} spell, but it\'s more dangerous also. You have to watch youself - if you fall from a cloud, nothing can save you. This spell lasts for three days.', cid) talkState[talkUser] = 0 end else if getPlayerMoney(cid) > 4999 then if spelldur == 1 then rt = '' else rt = 's' end selfSay('It seems you still have ' .. spelldur .. ' hour' .. rt .. ' of spell left. Do you want to extend your spell for 5000 gold? It will work for three days from now.', cid) talkState[talkUser] = 9 else selfSay('The cloudwalking spell is simpler alternative of {soft wings} spell, but it\'s more dangerous also. You have to watch youself - if you fall from a cloud, nothing can save you. This spell lasts for three days. You have ' .. spelldur .. ' hour' .. rt .. ' of spell left.', cid) talkState[talkUser] = 0 end end return true end if msgcontains(msg, "yes") and talkState[talkUser] == 9 then if(doPlayerRemoveMoney(cid, 5000)) then doCreatureSetStorage(cid, 22444, os.time() + (86400 * 3)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN) selfSay('So be it! I hope you know what you are doing.', cid) talkState[talkUser] = 0 else selfSay('Come back when you decide to bring me donation for serious. I don\'t work with cheaters.', cid) talkState[talkUser] = 0 end return true end if msgcontains(msg, "yes") and talkState[talkUser] > 90 and talkState[talkUser] < 96 then if getPlayerBlessing(cid, talkState[talkUser] - 90) then selfSay("You already have this blessing!", cid) else b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end if doPlayerRemoveMoney(cid, b_price) then selfSay("You have been blessed by one of the five gods!", cid) doPlayerAddBlessing(cid, talkState[talkUser] - 90) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) else selfSay("I'm sorry. We need money to keep this temple up.", cid) end end talkState[talkUser] = 0 return true end if msgcontains(msg, "yes") and talkState[talkUser] == 96 then havebless = {} for i = 1, 5 do if(getPlayerBlessing(cid, i)) then table.insert(havebless,i) end end if #havebless == 5 then selfSay('You already have all available blessings.',cid) talkState[talkUser] = 0 return true end b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end b_price = ((5 - #havebless) * b_price) if doPlayerRemoveMoney(cid, b_price) then selfSay("You have been blessed by the five gods!", cid) for i = 1, 5 do doPlayerAddBlessing(cid, i) end doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) else selfSay("I'm sorry. We need money to keep this temple up.", cid) end talkState[talkUser] = 0 return true end if msgcontains(msg, "all") then havebless = {} b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end for i = 1, 5 do if(getPlayerBlessing(cid, i)) then table.insert(havebless,i) end end b_price = ((5 - #havebless) * b_price) if b_price == 0 then selfSay('You already have all available blessings.',cid) talkState[talkUser] = 0 return true end selfSay('Do you want to receive all blessings for ' .. b_price .. ' gold?',cid) talkState[talkUser] = 96 return true end local blesskeywords = {'wisdom', 'spark', 'fire', 'spiritual', 'embrace'} local blessnames = {'Wisdom of Solitude', 'Spark of The Phoenix', 'Fire of Two Suns', 'Spiritual Shielding', 'The Embrace'} for i = 1, #blesskeywords do if msgcontains(msg, blesskeywords[i]) then b_price = (2000 + ((math.min(130, getPlayerLevel(cid)) - 30) * 200)) if b_price < 2000 then b_price = 2000 end selfSay('Do you want me to grant you ' .. blessnames[i] .. ' blessing for ' .. b_price .. ' gold?',cid) talkState[talkUser] = 90 + i return true end end return true end npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) créditos zbizu.
  10. valeu mestre dos mestres haha
  11. O script é basicamente assim, você passa em um tile com um UID, e ele sumona um boss. Porém antes eu usava tfs 1.0 e agora to usando tfs 1.2. data/movements/scripts/custom/ver.lua:5: attempt to index global 'thing' (a nil value) function onStepIn(cid, item, frompos, item2, topos) gatepos = {x=1320, y=512, z=15, stackpos=1} if item.uid == 60233 and isPlayer(cid) then thing = getThingfromPos(gatepos) doRemoveItem(thing.uid,1) doSendMagicEffect(gatepos, 15) doCreatureSay(cid, "You have awaken Vermush, now fight!", TALKTYPE_ORANGE_2, getCreaturePosition(cid)) doSendMagicEffect({x=1320, y=509, z=15},14) doSendMagicEffect({x=1320, y=512, z=15},14) doSummonCreature("vermush",{x=1320, y=509, z=15}) fixed; local t = { storage = 60233, --storageid interval = 60, --how many seconds until next monster = {"Vermush", {x=747, y=1602, z=10}}, -- monster and coords msg = "It's too quiet here..." -- message players get } function onStepIn(cid, item, position, fromPosition) if os.difftime(os.time(), getGlobalStorageValue(t.storage)) >= t.interval then doCreatureSay(cid, t.msg, TALKTYPE_ORANGE_1) doSummonCreature(t.monster[1], t.monster[2]) setGlobalStorageValue(t.storage, os.time()) end end
  12. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    Dei uma modificada no meu gesior, tava bem zoado e antigo, quem quiser vou disponibilizar aqui o character.php :] as images dos skills, barra de hp/mana https://www.mediafire.com/file/bduyuflpyad2e5x/skill.rar antes depois character.php
  13. Voltei recentemente e to montando um servidor custom, achei uns scripts bem OLD aqui do forum do Bruno Minervino de trocar o efeito da Wand por talkactions, porém era bem antigo rev 0.4 se não me engano e bastante gente pediu 1x + Informações sobre o sistema Tem uma seção de configuração fácil para você personalizá-lo como você gostaria! Você só precisa preencher a tabela de configuração encontrada no script principal, segue a tabela abaixo. o GIF não mostra o mouse, mas pra trocar o efeito é só clicar com o botao direito na WAND. -- Config -- Set wand how the wand deals damage DamageTypeWand = { values = false, -- If this is set to true then it will use the min and max values. If set to false the wand will use the formula -- Damage Values min/max wandMinDam = 20, wandMaxDam = 50, -- Damage Formula formula = { wandMinDam = function(level, maglevel) return -((level / 5) + (maglevel * 1.4) + 8) end, wandMaxDam = function(level, maglevel) return -((level / 5) + (maglevel * 2.2) + 14) end, } } -- Modal window config and storage id local config = { storage = 10009, titleMsg = "Change Weapon Damage Type", mainMsg = "Choose a damage type from the list", -- End Config -- Damage Table [1] = {element = "Holy"}, [2] = {element = "Fire"}, [3] = {element = "Death"}, [4] = {element = "Poison"}, [5] = {element = "Energy"}, [6] = {element = "Earth"}, [7] = {element = "Ice"}, } Vamos a instalação do script. 1) Instalar modal window AQUI 2) Registre o script em /data/actions/actions.xml adicionando esta linha (Substituindo "ITEMID" pelo item que deseja usar: no meu caso seria 13880, ficando assim <action itemid="13880" script="weapon_damage"/> <action actionid="ACTIONID" script="weapon_damage"/> 3) Crie um novo documento de texto em /data/actions/ scripts e nomeie-o "weapon_damage.lua" e cole o seguinte: http://pastebin.com/c11fcRDg 4) Adicione a seguinte linha ao seu global.lua dofile('data/lib/weapon_damage.lua') 5) Crie um novo documento de texto em /data/lib/ e nomeie-o "weapon_damage.lua" e cole o seguinte: http://pastebin.com/y5UKLEAY 6) Registre a arma em /data/weapons/weapons.xml adicionando esta linha: NOTE ESTA LINHA É VEJA SE VOCÊ ESTÁ USANDO UMA WAND! <wand id="ITEM ID HERE" level="300" mana="20" script="weapon_damage.lua"> <vocation name="Sorcerer" /> </wand> 7) Crie um novo documento de texto em /data/weapons /scripts e nomeie-o "weapon_damage.lua" e cole o seguinte: http://pastebin.com/CQV5zmJS créditos: Jano e strutZ.
  14. w = { {effect = 36, shoot = 3, dmg = COMBAT_FIREDAMAGE}, {effect = 42, shoot = 28, dmg = COMBAT_ICEDAMAGE}, {effect = 45, shoot = 38, dmg = COMBAT_POISONDAMAGE}, {effect = 17, shoot = 31, dmg = COMBAT_DEATHDAMAGE}, {effect = 11, shoot = 35, dmg = COMBAT_ENERGYDAMAGE}, {effect = 31, shoot = 35, dmg = COMBAT_PHYSICALDAMAGE}, {effect = 49, shoot = 37, dmg = COMBAT_HOLYDAMAGE} } local min, max = 180, 350 function onUseWeapon(player, variant) local target = player:getTarget() if target then local shootType = w[math.random(#w)] player:getPosition():sendDistanceEffect(target:getPosition(), shootType.shoot) addEvent(function(cid, tid) local target = Creature(tid) if not Player(cid) or not target then return end doAreaCombatHealth(cid, shootType.dmg, target:getPosition(), 0, -min, -max, shootType.effect) end, 100, player:getId(), target:getId()) end return true end funcionando tfs 1.2 créditos ao static_
  15. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    Presta um pouco de atenção, tem uma escada na direção da parede, quando o player subir vai ficar bem encima. E o map tá bem vazio, na parte de cima tu jogou uns vials no chão. Curti as estantes c musgo.
  16. que sisteminha monstro! não entendo MT de Naruto, derivados porém genial! curti rs
  17. Pedro. postou uma resposta no tópico em Playground (Off-topic)
    no, eu caio nisso todo dia de um jeito diferente no wpp. aqui também não
  18. Pedro. postou uma resposta no tópico em Playground (Off-topic)
    eu.
  19. Changes: • Diminuido cooldown de algumas spells.• Adicionado rewards por level.• Adicionado Newbie Quest (-1 de baixo do templo.). • Arrumado Buy With Backpack de npcs.• Adicionado diversas Quests.• Adicionado Araneus Marmoreus (boss). • Removido os flasks das potions ao usar.• Adicionado novo continente Roshamuz (similar Roshamuul). • Adicionado Glooth Bandits. • Fixado todos os bugs reportados no map. você pode ver as atualizações no git também! github.com/pedrogiampietro/alunia/tree/master/dataKind regards, The Alunia Team
  20. fiz algumas alterações se alguém se interessar * Fixado lever da DH, tava com erro de função no antigo script. [C]: in function 'getTile' data/actions/scripts/levers.lua:15: in function <data/actions/scripts/levers.lua:9> local tile = position:getTile() local tile = Tile(position) * Adicionado npc pra voltar das hunts, diminuindo os teleports e deixando mais bonito. * Adicionado novos Bosses, quests, hunts. * Modificado as lojas. * Modificado Teleport-Room. * Adicionado os Trainers nos Rooms. * Adicionado Cassino no lugar dos antigos Teleports. * Modificado saida Sul da cidade. * Adicionado potions pot lever, opcional. * 20% das Hunts foram modificadas, behemoths, demons, frost, hydras (.. * REMOVIDO ITENS QUE PODEM SER PEGOS COM BROWSE FIELD! Algumas SS. provavelmente tá dando erro de tabela, olha no console e vê qual erro tá dando. mas quando instalei aqui também deu um erro de tabela, provavelmente falta uma em accounts. vai na database em sql e executa. ALTER TABLE `accounts`ADD `secret` varchar(255);
  21. Pedro. postou uma resposta no tópico em Playground (Off-topic)
    nb, eu só gosto das tuas spells tirando isso, você é mt feio @galokoao Boa mano, tomara que tu se amarre na faculdade, no meu primeiro periodo tinha uns 50 anos hoje tem uns 18-20 no maximo, mas é isso, se tu gosta.. futuramente tu vai ler lua e já vai ter uma puta base! good lucky
  22. tem um scripts de catacombs, porém ta pra tfs 1.1 e não funciona, mas não acusa nenhum erro quando eu executo então nem sei aonde ou como arrumar, sou bem leigo se não tiver um warning ou error no console fica dificil hrhura Create in data folder, file: catacombs.lua, put in: Code (Text): places = { [1] = {placeName = "Zenoya Graveyard", placeStorage = 6661, placepos = {x = 443, y = 527, z = 8}}, [2] = {placeName = "Azshara West Catacomb", placeStorage = 6662, placepos = {x = 246, y = 485, z = 8}}, [3] = {placeName = "Azshara North Catacomb", placeStorage = 6663, placepos = {x = 259, y = 401, z = 7}} } function getCatacombByName(name) for k, v in pairs(places) do if v.placeName:lower() == name:lower() then return k end end return false end function sendCatacombWindow(cid) CatacombWindow = ModalWindow(1900, "Catacombs Teleporter", "Select place:") if CatacombWindow:getId() == 1900 then CatacombWindow:addButton(1, "Teleport") CatacombWindow:setDefaultEnterButton(1) CatacombWindow:addButton(2, "Cancel") CatacombWindow:setDefaultEscapeButton(2) for i = 1, #places do if getCreatureStorage(cid, places.placeStorage) == 1 then CatacombWindow:addChoice(i, places.placeName) end end end CatacombWindow:sendToPlayer(cid) return true end Add in file global.lua on top, this: Spoiler Code (Text): dofile('data/catacombs.lua') Create in creaturescripts\scripts file catacomb_window.lua, put in: Spoiler Code (Text): function onModalWindow(cid, modalWindowId, buttonId, choiceId) local player = Player(cid) local pos = player:getPosition() if modalWindowId ~= 1900 then return false end if buttonId == 1 then -- Teleport if getCreatureStorage(cid, places[choiceId].placeStorage) == 1 then pos:sendMagicEffect(11) player:teleportTo(places[choiceId].placepos) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have succesfully teleported to ' .. places[choiceId].placeName .. '.') doSendMagicEffect(places[choiceId].placepos, 11) else sendCatacombWindow(cid) end elseif buttonId == 255 then doPlayerPopupFYI(cid,"Please use a button.") sendCatacombWindow(cid) end return true end In data\creaturescripts.xml add this: Spoiler Code (Text): <event type="modalwindow" name="catacombw" script="catacomb_window.lua"/> And declare it in data\creaturescripts\login.lua by paste this: Spoiler Code (Text): player:registerEvent("catacombw") In data\movements.xml add this: Spoiler Code (Text): <movevent event="StepIn" itemid="_ YOUR ITEMID of Teleport Rock on ground _" script="catacombs/teleporter.lua"/> <movevent event="StepIn" uniqueid="6661" script="catacombs/zenoyagraveyard.lua"/> <movevent event="StepIn" uniqueid="6662" script="catacombs/azsharawest.lua"/> <movevent event="StepIn" uniqueid="6663" script="catacombs/azsharanorth.lua"/> Create folder "catacombs" in data\movements\scriptsIn folder data\movements\scripts\catacombs\Create in sequence files: azsharanorth.lua, azsharawest.lua, teleporter.lua, zenoyagraveyard.luaFiles: Spoiler azsharanorth.lua Code (Text): local t = { pos = {x=259, y=400, z=7}, effect = CONST_ME_TUTORIALARROW } function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end if player:getStorageValue(6663) < 1 then player:setStorageValue(6663, 1) player:say('It looks like a teleporter..', TALKTYPE_MONSTER_SAY) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have unlocked Catacomb Teleporter: Azshara North Catacomb.') doSendMagicEffect(t.pos, t.effect, cid) end return true end azsharawest.lua Code (Text): local t = { pos = {x=246, y=486, z=8}, effect = CONST_ME_TUTORIALARROW } function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end if player:getStorageValue(6662) < 1 then player:setStorageValue(6662, 1) player:say('It looks like a teleporter..', TALKTYPE_MONSTER_SAY) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have unlocked Catacomb Teleporter: Azshara West Catacomb.') doSendMagicEffect(t.pos, t.effect, cid) end return true end teleporter.lua Code (Text): local choose = {} function onStepIn(cid, item, position, fromPosition) local player = Player(cid) local pos = player:getPosition() if not player then return true end if getPlayerStorageValue(cid, 6661) == 1 then return sendCatacombWindow(cid) end return true end zenoyagraveyard.lua Code (Text): local t = { pos = {x=443, y=526, z=8}, effect = CONST_ME_TUTORIALARROW } function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end if player:getStorageValue(6661) < 1 then player:setStorageValue(6661, 1) player:say('It looks like a teleporter..', TALKTYPE_MONSTER_SAY) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have unlocked Catacomb Teleporter: Zenoya Graveyard.') doSendMagicEffect(t.pos, t.effect, cid) end return true end

Informação Importante

Confirmação de Termo