Postado Dezembro 31, 2016 8 anos alguem tem Sistema de Bones de Roshamuul aquele sistema de bater osso e tal http://www.tibiawiki.com.br/wiki/Roshamuul_(Lower_Roshamuul)_Quest#The_Walls_of_Roshamuul pode ser algo improvisado tipo usar o item no osso lá pode dar respawn de Guzzlemaw ou pode vim um cluster of solace , quem manja dos scripts e vai ajudar o amigo?
Postado Dezembro 31, 2016 8 anos Solução local lowerRoshamuul = { [1] = "guzzlemaw", [2] = "22389" } local pos = { [1] = Position(33654, 32453, 7), [2] = Position(33658, 32462, 7), [3] = Position(33644, 32467, 7), [4] = Position(33647, 32482, 7), [5] = Position(33658, 32481, 7), [6] = Position(33637, 32485, 7), [7] = Position(33662, 32470, 7), [8] = Position(33666, 32472, 7), [9] = Position(33673, 32473, 7), [10] = Position(33677, 32476, 7), [11] = Position(33679, 32476, 7), [12] = Position(33647, 32482, 7), [13] = Position(33681, 32489, 7), [14] = Position(33688, 32488, 7), [15] = Position(33688, 32488, 7), [16] = Position(33680, 32498, 7), [17] = Position(33696, 32482, 7), [18] = Position(33705, 32481, 7), [19] = Position(33707, 32487, 7), [20] = Position(33698, 32491, 7), [21] = Position(33657, 32500, 7), [22] = Position(33670, 32499, 7) } local time = 30 -- In seconds local storage = 98119 function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 22513 then for v=1, #pos do if item:getPosition() == pos[v] then if player:getStorageValue(storage) < os.time() then if lowerRoshamuul[math.random(1,2)] == lowerRoshamuul[1] then Game.createMonster(lowerRoshamuul[1], (player:getPosition() + Position(-1, 2, 0)), true, true) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You ransack the pile but fail to find any useful parts.") else player:addItem(tonumber(lowerRoshamuul[2]), 1) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Amidst the pile of various bones you find a large, hollow part, similar to a pipe.") end player:setStorageValue(storage, os.time() + time) else return player:sendCancelMessage(string.format("Sorry, you're exausted. You need wait %d second%s", player:getStorageValue(storage) - os.time(), (player:getStorageValue(storage) - os.time()) > 1 and "s." or ".")) end end end end return true end Na tabela pos, você coloca a posição dos ossos que eles vão clicar. @This life is filled with hurt When happiness doesn't work Trust me and take my hand When the lights go out you will understand
Postado Janeiro 1, 2017 8 anos Autor 17 horas atrás, login12 disse: local lowerRoshamuul = { [1] = "guzzlemaw", [2] = "22389" } local pos = { [1] = Position(33654, 32453, 7), [2] = Position(33658, 32462, 7), [3] = Position(33644, 32467, 7), [4] = Position(33647, 32482, 7), [5] = Position(33658, 32481, 7), [6] = Position(33637, 32485, 7), [7] = Position(33662, 32470, 7), [8] = Position(33666, 32472, 7), [9] = Position(33673, 32473, 7), [10] = Position(33677, 32476, 7), [11] = Position(33679, 32476, 7), [12] = Position(33647, 32482, 7), [13] = Position(33681, 32489, 7), [14] = Position(33688, 32488, 7), [15] = Position(33688, 32488, 7), [16] = Position(33680, 32498, 7), [17] = Position(33696, 32482, 7), [18] = Position(33705, 32481, 7), [19] = Position(33707, 32487, 7), [20] = Position(33698, 32491, 7), [21] = Position(33657, 32500, 7), [22] = Position(33670, 32499, 7) } local time = 30 -- In seconds local storage = 98119 function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 22513 then for v=1, #pos do if item:getPosition() == pos[v] then if player:getStorageValue(storage) < os.time() then if lowerRoshamuul[math.random(1,2)] == lowerRoshamuul[1] then Game.createMonster(lowerRoshamuul[1], (player:getPosition() + Position(-1, 2, 0)), true, true) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You ransack the pile but fail to find any useful parts.") else player:addItem(tonumber(lowerRoshamuul[2]), 1) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Amidst the pile of various bones you find a large, hollow part, similar to a pipe.") end player:setStorageValue(storage, os.time() + time) else return player:sendCancelMessage(string.format("Sorry, you're exausted. You need wait %d second%s", player:getStorageValue(storage) - os.time(), (player:getStorageValue(storage) - os.time()) > 1 and "s." or ".")) end end end end return true end Na tabela pos, você coloca a posição dos ossos que eles vão clicar. funcionou perfeito amigo, thanks !
Postado Abril 13, 2017 8 anos galera vi que sistema de use bones no meu ot funciona 100% mais sistema de usar mouthpiece no bones nao funciona e depois teria que usar paredao pra trocar por cluster
Postado Dezembro 14, 2017 7 anos Em 31/12/2016 em 06:52, Pedriinz disse: local lowerRoshamuul = { [1] = "guzzlemaw", [2] = "22389" } local pos = { [1] = Position(33654, 32453, 7), [2] = Position(33658, 32462, 7), [3] = Position(33644, 32467, 7), [4] = Position(33647, 32482, 7), [5] = Position(33658, 32481, 7), [6] = Position(33637, 32485, 7), [7] = Position(33662, 32470, 7), [8] = Position(33666, 32472, 7), [9] = Position(33673, 32473, 7), [10] = Position(33677, 32476, 7), [11] = Position(33679, 32476, 7), [12] = Position(33647, 32482, 7), [13] = Position(33681, 32489, 7), [14] = Position(33688, 32488, 7), [15] = Position(33688, 32488, 7), [16] = Position(33680, 32498, 7), [17] = Position(33696, 32482, 7), [18] = Position(33705, 32481, 7), [19] = Position(33707, 32487, 7), [20] = Position(33698, 32491, 7), [21] = Position(33657, 32500, 7), [22] = Position(33670, 32499, 7) } local time = 30 -- In seconds local storage = 98119 function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 22513 then for v=1, #pos do if item:getPosition() == pos[v] then if player:getStorageValue(storage) < os.time() then if lowerRoshamuul[math.random(1,2)] == lowerRoshamuul[1] then Game.createMonster(lowerRoshamuul[1], (player:getPosition() + Position(-1, 2, 0)), true, true) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You ransack the pile but fail to find any useful parts.") else player:addItem(tonumber(lowerRoshamuul[2]), 1) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Amidst the pile of various bones you find a large, hollow part, similar to a pipe.") end player:setStorageValue(storage, os.time() + time) else return player:sendCancelMessage(string.format("Sorry, you're exausted. You need wait %d second%s", player:getStorageValue(storage) - os.time(), (player:getStorageValue(storage) - os.time()) > 1 and "s." or ".")) end end end end return true end Na tabela pos, você coloca a posição dos ossos que eles vão clicar. Amigo onde eu coloco esse trem ai para dar certo?
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.