Ir para conteúdo

oliverarrow

Membro
  • Registro em

  • Última visita

Tudo que oliverarrow postou

  1. É aqui que faz a checagem se vai dar certo ou n local random, effect = math.random(1, 100000), CONST_ME_MAGIC_GREEN Mas n sei como modificar pra ficar metade do q é
  2. Queria diminuir a chance de vir itens qnd usa obsidian knife e wood n sei oq lá, pela metade, pq ta vindo mt script local SKINS = { [5908] = { -- Minotaurs [2830] = {25000, 5878}, [2871] = {25000, 5878}, [2866] = {25000, 5878}, [2876] = {25000, 5878}, [3090] = {25000, 5878}, -- Lizards [4259] = {25000, 5876}, [4262] = {25000, 5876}, [4256] = {25000, 5876}, -- Dragons [3104] = {25000, 5877}, [2844] = {25000, 5877}, -- Dragon Lords [2881] = {25000, 5948}, -- Behemoths [2931] = {25000, 5930, 90000, 5893}, -- Bone Beasts [3031] = {25000, 5925} }, [5942] = { -- Demon [2956] = {25000, 5905}, -- Vampire [2916] = {25000, 5906} } } function onUse(cid, item, fromPosition, itemEx, toPosition) local skin = SKINS[item.itemid][itemEx.itemid] if(skin == nil) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) return true end local random, effect = math.random(1, 100000), CONST_ME_MAGIC_GREEN if(random <= skin[1]) then doPlayerAddItem(cid, skin[2], 1) elseif(skin[3] and random >= skin[3]) then doPlayerAddItem(cid, skin[4], 1) else effect = CONST_ME_POFF end doSendMagicEffect(toPosition, effect) doTransformItem(itemEx.uid, itemEx.itemid + 1) return true end
  3. Então pessoal, como meu PC é um lixo e não abre o mapa global nem fodendo, preciso pedir isso pra vc's... http://4.1m.yt/ccpjARy0E.png Esse local do mapa global, onde ficam os quaras e tals, que tem a quest do mermaid, alguem corta ele direitinho pra mim com os spawns? Dou 10 reps.. vlw Meu mapa é versão 8.6
  4. Então pessoal, como meu PC é um lixo e não abre o mapa global nem fodendo, preciso pedir isso pra vc's... http://4.1m.yt/ccpjARy0E.png Esse local do mapa global, onde ficam os quaras e tals, que tem a quest do mermaid, alguem corta ele direitinho pra mim com os spawns? Dou 10 reps.. vlw Edit: Meu mapa é versão 8.6
  5. Ta dando erro brother! 15:26 Change Name: Qual deve ser o seu novo nome? 15:26 Oliver Arrow [17]: Oliver Test Po cara obrigado por tentar ajudar, mas account mananger não rola, os caras vão acabar fazendo meu ot ter lag, usando magebomb e tals, ou logando mais um fake, queria npc mesmo
  6. Alguém pode me passar um script ou fazer ou me dar uma base de um NPC que troca seu nome por 30 itens do id 1010
  7. Teu script ta funcionando perfeitamente brother, mas só uma dúvida To achando que esse problema é no meu !frags, quando eu dou !frags da como se eu tive-se red ainda, fica a msg Your black skull will... Dessa parte do script eu acho if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end Será que isso não vai dar problema depois no meu ot não? Pq a variavel skullend ta > q 0 !frags.lua local config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end
  8. Tentei fazer o meu, mas quando fala red skull da esse erro: 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if getCreatureCondition(cid, CONDITION_INFIGHT) then npcHandler:say("You are in fight! Wait!", cid) return true end if(msgcontains(msg, 'remove')) then selfSay('I can remove you skulls: {red skull} [5 tokens], {black skull} [10 tokens]', cid) elseif(msgcontains(msg, 'red skull')) then if not getPlayerItemCount(cid, 6527) >= 5 then selfSay("You dont have 5 tokens!", cid) return true end if not getCreatureSkullType(cid) < 4 then selfSay("You dont have RED SKULL!", cid) return true end doPlayerRemoveItem(cid, 6527, 5) selfSay("Here it is.", cid) db.executeQuery("UPDATE killers SET unjustified = '0' WHERE id IN (SELECT kill_id FROM player_killers WHERE player_id = "..getPlayerGUID(cid)..")") doCreatureSetSkullType(cid, 0) elseif(msgcontains(msg, 'black skull')) then if not getPlayerItemCount(cid, 6527) >= 10 then selfSay("You dont have 10 tokens!", cid) return true end if not getCreatureSkullType(cid) < 5 then selfSay("You dont have BLACK SKULL!", cid) return true end doPlayerRemoveItem(cid, 6527, 10) selfSay("Here it is.", cid) db.executeQuery("UPDATE killers SET unjustified = '0' WHERE id IN (SELECT kill_id FROM player_killers WHERE player_id = "..getPlayerGUID(cid)..")") doCreatureSetSkullType(cid, 0) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  9. Preciso das checagens de se player tem black skull ou red skull, esse script já pode me dar uma base, mas ainda falta umas coisas, eu queria script que remove-se black e red, se vc me der os ifs, acho que já da pra eu fazer... e outra estrutura de condicional
  10. Queria um NPC que tira-se red e black skull pelo item 1010 Red skull 5 itens, black skull 10 itens Teria que pagar com o item 1010 pra remover a red e a black source 0.4
  11. Passeando pelo fórum achei um sistema que impede o anuncio de ots, mas se o cara tentar, tentar, tentar ele consegue, então queria algo mais funcional que ao em vez de mutar o jogador desse um banip nele temporario de uma hora, alguem sabe essa função? if(int(text.find("servegame"))>0||int(text.find("no-ip"))>0) { player->sendTextMessage(MSG_STATUS_SMALL, "You can't send this message."); return false; }
  12. É só essas aí que eu postei e coloquei em anexo
  13. Tava querendo atualizar os monstros com algumas magias que tem novas da hora no meu ot 8.6, mas eu não sei Uso versão 0.4 (8.60) Tem como fazer isso? Alguém sabe como? Pls, dou 20 reps São essas as magias <!-- Monster Spells --> <instant name="ghastly dragon curse" words="###1" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/ghastly dragon curse.lua"/> <instant name="djinn electrify" words="###2" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/djinn electrify.lua"/> <instant name="energy elemental electrify" words="###3" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/energy elemental electrify.lua"/> <instant name="massive energy elemental electrify" words="###4" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/massive energy elemental electrify.lua"/> <instant name="massive fire elemental soulfire" words="###5" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/massive fire elemental soulfire.lua"/> <instant name="hellfire fighter soulfire" words="###6" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/hellfire fighter soulfire.lua"/> <instant name="hellspawn soulfire" words="###7" aggressive="1" blockwalls="1" range="7" needtarget="1" needlearn="1" script="monster/hellspawn soulfire.lua"/> <instant name="spectre drown" words="###8" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/spectre drown.lua"/> <instant name="phantasm drown" words="###9" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/phantasm drown.lua"/> <instant name="undead dragon curse" words="###10" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/undead dragon curse.lua"/> <instant name="draken abomination curse" words="###11" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/draken abomination curse.lua"/> <instant name="lancer beetle curse" words="###12" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/lancer beetle curse.lua"/> <instant name="lizard magistratus curse" words="###13" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/lizard magistratus curse.lua"/> <instant name="death blob curse" words="###14" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/death blob curse.lua"/> <instant name="choking fear drown" words="###15" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/choking fear drown.lua"/> <instant name="blightwalker curse" words="###16" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/blightwalker curse.lua"/> <instant name="sea serpent drown" words="###17" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/sea serpent drown.lua"/> <instant name="young sea serpent drown" words="###18" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/young sea serpent drown.lua"/> <instant name="quara constrictor freeze" words="###19" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/quara constrictor freeze.lua"/> <instant name="quara constrictor electrify" words="###20" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/quara constrictor electrify.lua"/> <instant name="cliff strider electrify" words="###21" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/cliff strider electrify.lua"/> <instant name="war golem electrify" words="###22" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/war golem electrify.lua"/> <instant name="souleater drown" words="###23" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/souleater drown.lua"/> <instant name="mutated bat curse" words="###24" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/mutated bat curse.lua"/> <instant name="vulcongra soulfire" words="###25" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/vulcongra soulfire.lua"/> <instant name="lava golem soulfire" words="###26" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/lava golem soulfire.lua"/> <instant name="magma crawler soulfire" words="###27" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/magma crawler soulfire.lua"/> <instant name="war golem skill reducer" words="###28" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/war golem skill reducer.lua"/> <instant name="silencer skill reducer" words="###29" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/silencer skill reducer.lua"/> <instant name="warlock skill reducer" words="###30" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/warlock skill reducer.lua"/> <instant name="cliff strider skill reducer" words="###31" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/cliff strider skill reducer.lua"/> <instant name="stampor skill reducer" words="###32" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/stampor skill reducer.lua"/> <instant name="diabolic imp skill reducer" words="###33" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/diabolic imp skill reducer.lua"/> <instant name="dark torturer skill reducer" words="###34" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/dark torturer skill reducer.lua"/> <instant name="forest fury skill reducer" words="###35" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/forest fury skill reducer.lua"/> <instant name="demon outcast skill reducer" words="###36" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/demon outcast skill reducer.lua"/> <instant name="fury skill reducer" words="###37" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/fury skill reducer.lua"/> <instant name="barbarian brutetamer skill reducer" words="###38" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/barbarian brutetamer skill reducer.lua"/> <instant name="deepling spellsinger skill reducer" words="###39" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/deepling spellsinger skill reducer.lua"/> <instant name="werewolf skill reducer" words="###40" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/werewolf skill reducer.lua"/> <instant name="ice golem skill reducer" words="###41" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/ice golem skill reducer.lua"/> <instant name="feversleep skill reducer" words="###42" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/feversleep skill reducer.lua"/> <instant name="shock head skill reducer 1" words="###43" aggressive="1" blockwalls="1" needtarget="1" needlearn="1" script="monster/shock head skill reducer 1.lua"/> <instant name="shock head skill reducer 2" words="###44" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/shock head skill reducer 2.lua"/> <instant name="enslaved dwarf skill reducer 1" words="###45" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/enslaved dwarf skill reducer 1.lua"/> <instant name="enslaved dwarf skill reducer 2" words="###46" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/enslaved dwarf skill reducer 2.lua"/> <instant name="djinn cancel invisibility" words="###47" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/djinn cancel invisibility.lua"/> <instant name="betrayed wraith skill reducer" words="###48" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/betrayed wraith skill reducer.lua"/> <instant name="pirate corsair skill reducer" words="###49" direction="1" aggressive="1" blockwalls="1" needtarget="0" needlearn="1" script="monster/pirate corsair skill reducer.lua"/> monster.rar
  14. que desgraça deve ser outra função, procurar aqui, se eu achar aviso e passo pro pessoal, se alguem souber diz ai
  15. Queria arrumar uma coisa e precisava dessa função, jogar o player 2 sqm pra direita
  16. Mas eu to editando o script grande whitewolf, consegui fazer tudo, só fiquei com problema na hora de trabalhar com skills de ML Como substituir esse meu cod aqui? local mlstages if (getPlayerSkill(cid, SKILL_MAGIC) >= 1 and getPlayerSkill(cid, SKILL_MAGIC) <= 25 ) then mlstages = 40 elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 26 and getPlayerSkill(cid, SKILL_MAGIC) <= 50 ) then mlstages = 30 elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 51 and getPlayerSkill(cid, SKILL_MAGIC) <= 70 ) then mlstages = 20 elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 71 and getPlayerSkill(cid, SKILL_MAGIC) <= 80 ) then mlstages = 15 elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 81 and getPlayerSkill(cid, SKILL_MAGIC) <= 90 ) then mlstages = 10 elseif (getPlayerSkill(cid, SKILL_MAGIC) >= 91 ) then mlstages = 5 end mlqnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_MAGIC, getPlayerSkillLevel(cid, SKILL_MAGIC) + 1)/3000) * (getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) doPlayerAddSkillTry(cid, SKILL_MAGIC, (mlqnt / 2) * mlstages)
  17. Ta certinho aqui , [5119] = 5120, [5125] = 5127, [5126] = 5127, Procurei também por: 5097 ============================================ Acho melhor uma gambiarra no mod. kkkkk http://www.tibiaking.com/forum/topic/20691-mod-arena-quest-svargrond-100/ Alguem consegue fazer pra mim? na porta action 42357 quando vc clica, se n tem a storage certa aparece: 13:36 You have not paid NPC yet. Mas se você tem ele abre a porta pra vc, teria como em vez de abrir a porta já teleporta direto vc pra 2 sqm pra direita? As portas 42366, 42376, 42386 quando vc clica, se n tem a storage certa aparece: 13:39 You have not finished this arena level. Mas se você tem ele abre a porta pra vc, teria como em vez de abrir a porta já teleporta direto vc pra 2 sqm pra direita?
  18. SoulSarti Desculpe-me a demora, a gvt está um LIXO Procurei por: 5097 Só achei isso: <item id="5097" article="a" name="mango" plural="mangos"> <attribute key="weight" value="180" /> </item> Não tem outro 5097 no meu items.xml De baixo do mango tem umas portas <item id="5091" article="a" name="treasure map"> <attribute key="weight" value="830" /> </item> <item fromid="5092" toid="5096" article="a" name="palm" /> <item id="5097" article="a" name="mango" plural="mangos"> <attribute key="weight" value="180" /> </item> <item id="5098" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5099" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5100" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5101" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5102" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5103" article="a" name="gate of expertise"> <attribute key="type" value="door" /> <attribute key="levelDoor" value="1000" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5104" article="a" name="gate of expertise"> <attribute key="type" value="door" /> </item> <item id="5105" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5106" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5107" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5108" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5109" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5110" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5111" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5112" article="a" name="gate of expertise"> <attribute key="type" value="door" /> <attribute key="levelDoor" value="1000" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5113" article="a" name="gate of expertise"> <attribute key="type" value="door" /> </item> <item id="5114" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5115" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5116" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5117" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5118" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5119" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5120" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5121" article="a" name="gate of expertise"> <attribute key="type" value="door" /> <attribute key="levelDoor" value="1000" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5122" article="a" name="gate of expertise"> <attribute key="type" value="door" /> </item> <item id="5123" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5124" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5125" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5126" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5127" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5128" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5129" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5130" article="a" name="gate of expertise"> <attribute key="type" value="door" /> <attribute key="levelDoor" value="1000" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5131" article="a" name="gate of expertise"> <attribute key="type" value="door" /> </item> <item id="5132" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5133" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5134" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5135" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5136" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5137" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5138" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5139" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5140" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5141" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5142" article="an" name="open door"> <attribute key="type" value="door" /> </item> <item id="5143" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> <attribute key="description" value="It is locked." /> </item> <item id="5144" article="a" name="closed door"> <attribute key="type" value="door" /> <attribute key="blockprojectile" value="1" /> </item> <item id="5145" article="an" name="open door"> <attribute key="type" value="door" /> </item> Procurei por: 5127 Só tem esse: <item id="5127" article="an" name="open door"> <attribute key="type" value="door" /> </item> O mais estranho é que meu ot é 3884 limpo, só to fazendo mapa, esse é um dos primeiros scripts Só coloquei esse mod e algumas talkactions que não pode ser que estão bugando, até removi pra testar... O mais estranho é que o bug só ocorre de vez em qnd!
  19. Parabéns pelo script muito bacana mesmo, quem é fã de zezenia ctz ia curtir isso num OT Mas tenho uma dúvida, eu to editando o seu script, mas não to conseguindo trabalhar com as skills direito No final sempre adiciona skill de fist, não adiciona o que eu quero ex: doPlayerAddSkillTry(cid, SKILL_IDS[magic], mlqnt / 2) doPlayerAddSkillTry(cid, SKILL_IDS[shield], shieldqnt / 5) 00:25 You advanced in fist fighting [15]. O que eu to fazendo de errado?
  20. Como? Fucei tudo e achei isso aqui em: data/actions/scripts/other/doors.lua É isso? local function checkStackpos(item, position) position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local thing = getThingFromPos(position) position.stackpos = STACKPOS_TOP_FIELD local field = getThingFromPos(position) return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0) end local function doorEnter(cid, item, toPosition) doTransformItem(item.uid, item.itemid + 1) doTeleportThing(cid, toPosition) end function onUse(cid, item, fromPosition, itemEx, toPosition) if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) return true end if(getItemLevelDoor(item.itemid) > 0) then if(item.actionid == 189) then if(not isPremium(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local gender = item.actionid - 186 if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then if(gender ~= getPlayerSex(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local skull = item.actionid - 180 if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then if(skull ~= getCreatureSkullType(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local group = item.actionid - 150 if(group >= 0 and group < 30) then if(group > getPlayerGroupId(cid)) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end local vocation = item.actionid - 100 if(vocation >= 0 and vocation < 50) then local playerVocationInfo = getVocationInfo(getPlayerVocation(cid)) if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") return true end doorEnter(cid, item, toPosition) return true end if(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.") end return true end if(isInArray(specialDoors, item.itemid)) then if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then doorEnter(cid, item, toPosition) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.") end return true end if(isInArray(keys, item.itemid)) then if(itemEx.actionid > 0) then if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then doTransformItem(itemEx.uid, doors[itemEx.itemid]) return true end doPlayerSendCancel(cid, "The key does not match.") return true end return false end if(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.y = newPosition.y + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then local pzDoorPosition = getTileInfo(doorPosition).protection local pzNewPosition = getTileInfo(newPosition).protection if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or (not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then local newPosition = toPosition newPosition.x = newPosition.x + 1 local doorPosition = fromPosition doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE local doorCreature = getThingfromPos(doorPosition) if(doorCreature.itemid ~= 0) then if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) else doTeleportThing(doorCreature.uid, newPosition) if(not isInArray(closingDoors, item.itemid)) then doTransformItem(item.uid, item.itemid - 1) end end return true end doTransformItem(item.uid, item.itemid - 1) return true end if(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then if(item.actionid == 0) then doTransformItem(item.uid, doors[item.itemid]) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.") end return true end return false end
  21. Caralho, mas como assim? Nem eu sei, mas que porra é essa!? Alguem pls me ajuda não sei nem como nem pq Só sei que adicionei o sistema de arena mod aqui do fórum do mateus E as vezes eu entro e passo pela porta e eu como ela, não sei como, varia muito, mas as vezes eu passo pela porta e eu como ela, ou ela vira um melão, e agora o que eu faço? Como corrigir esse erro que eu nem sei de onde vem!? --- 5125 porta fechada deveria virar a porta 5127 as vezes ela ta virando a vermelha 5097 e se clicar na vermelha vc come ela ou ent?o ela vira a porra de um mel?o se vc tiver full sei l? dps de um tempo tbm informações extras: rev 3884 (0.4) pra versão 8,60 sem modificações arena: http://www.tibiaking.com/forum/topic/20691-mod-arena-quest-svargrond-100/
  22. tem uma cave lá então? de mummy e tal? uma tumba boa?
  23. Direto eu vejo vídeos de war, coisas do tipo nesse lugar, o que é isso? Pq geral vai pra lá e tal, pra q serve/oq é? Alguém pode recortar ele pra mim 8.6? meu pc n abre global map

Informação Importante

Confirmação de Termo