
Tudo que Wakon postou
-
(Resolvido)Invasão diaria, erro no script
Troca o GlobalStorageValue por getGlobalStorageValue.
-
(Resolvido)Wand/Rod com quatro atks
Tem esse aqui, testei e tá funcionando: http://www.tibiaking.com/forum/topic/16187-wand-muda-de-efeito/
-
(Resolvido)[Stamina BUG] player morre = stamina full)
Já tentou usar outra distro pra ver se é problema nas sources mesmo?
-
nao consigo entrar nos ots
Usa MageBot, pode ser o Demo Version mesmo, só IPChanger funciona, se for windows 8+ recomendo executar como administrador:
-
(Resolvido)[Stamina BUG] player morre = stamina full)
Pode ser um creaturescript também, passa sua pasta creaturescripts pra verificar se algum script está adicionando stamina ao player.
-
Cliente Próprio c/ Mc
Tenta assim: Cria seu cliente próprio normalmente da maneira que você sabe e edita ele pelo hex: http://www.tibiaking.com/forum/topic/43758-old-client-mc-todas-vers%C3%B5es-e-client-pr%C3%B3prio/
-
(Resolvido)Consertando Erros e Novos Pedidos!
O xWhiteWolf arrumou esse bug ai, testa o script dele: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 local coins = {[2148] = 1, [2152] = 100, [2160] = 10000} function countMoneyOnPos(pos) local money = 0 for stack = 1, 255 do pos.stackpos = stack local item = getThingFromPos(pos) if item and item.uid > 0 then if coins[item.itemid] then money = money + coins[item.itemid] * item.type end end end return money end local posCoal = {x = 145, y = 49, z = 7} -- POSIÇÃO DO COAL, ONDE O GOLD DEVE ESTAR local posNpc = {x = 145, y = 48, z = 7} -- POSIÇÃO DO NPC local pos = getPosByDir(getThingPos(cid), getCreatureLookDirection(cid), 1) -- NÃO ALTERAR if msgcontains(msg, 'l') or msgcontains(msg, 'L') or msgcontains(msg, 'low') or msgcontains(msg, 'Low') then if countMoneyOnPos(pos) > 0 then if math.random(1, 6) <= 3 then doPlayerAddMoney(cid, countMoneyOnPos(pos)*2) doSendMagicEffect(posNpc, 26) doSendMagicEffect(posNpc, 28) doCreatureSay(getNpcId(), getCreatureName(cid)..' tirou o numero '..math.random(1, 3)..', parabéns!', TALKTYPE_ORANGE_1) else doSendMagicEffect(posNpc, 2) doSendMagicEffect(posNpc, 26) doCreatureSay(getNpcId(), getCreatureName(cid)..' tirou o numero '..math.random(4, 6)..', tente novamente!', TALKTYPE_ORANGE_1) end for stack = 1, 255 do pos.stackpos = stack local item = getThingFromPos(pos) if item and item.uid > 0 then if coins[item.itemid] then doRemoveItem(item.uid) end end end else doCreatureSay(getNpcId(), getCreatureName(cid)..', coloque uma quantia de gold no recipiente para começar a apostar!', TALKTYPE_ORANGE_1) end elseif msgcontains(msg, 'h') or msgcontains(msg, 'H') or msgcontains(msg, 'high') or msgcontains(msg, 'High') then if countMoneyOnPos(pos) > 0 then if math.random(1, 6) <= 3 then doPlayerAddMoney(cid, countMoneyOnPos(pos)*2) doSendMagicEffect(posNpc, 26) doSendMagicEffect(posNpc, 28) doCreatureSay(getNpcId(), getCreatureName(cid)..' tirou o numero '..math.random(4, 6)..', parabéns!', TALKTYPE_ORANGE_1) else doSendMagicEffect(posNpc, 2) doSendMagicEffect(posNpc, 26) doCreatureSay(getNpcId(), getCreatureName(cid)..' tirou o numero '..math.random(1, 3)..', tente novamente!', TALKTYPE_ORANGE_1) end for stack = 1, 255 do pos.stackpos = stack local item = getThingFromPos(pos) if item and item.uid > 0 then if coins[item.itemid] then doRemoveItem(item.uid) end end end else doCreatureSay(getNpcId(), getCreatureName(cid)..', coloque uma quantia de gold no recipiente para começar a apostar!', TALKTYPE_ORANGE_1) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Bot seleciona mas aparece como se não estivesse selecionado
Tenta colocar o fire timer em 150, mage bot é bem chatinho mesmo na parte de caçar, te recomendo usar ibot.
-
(Resolvido)Global Save trocando vocation
Tenta colocar globalSaveEnabled = false no config.lua, mais pode ser por globalevent também. Vá em "Data/globalevents/scripts" e procure algo relacionado ao global save, ai você pode retirar ou se quiser posta aqui pra ver o que tem de errado.
-
(Resolvido)como mudar o spr do client de versão
Tenta abrir ela com o Object Builder e compilar na versão desejada!
-
(Resolvido)Comando Que Deicha o char mudando o outfit
local colors = {94, 81, 79, 88, 18, 11, 92, 128} local storage = 65535 local time = 100 --in miliseconds function onSay(cid, words, param, channel) if isPremium(cid) == true then if(param == "on") then if getPlayerStorageValue(cid, storage) < 1 then if doPlayerRemoveMoney(cid, 0) == TRUE then local event = addEvent(changeOutfit, time, cid) setPlayerStorageValue(cid, storage, 1) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have enough money.") return TRUE end else return TRUE end elseif(param == "off") then if getPlayerStorageValue(cid, storage) > 0 then setPlayerStorageValue(cid, storage, 0) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You do not have rainbow outfit on.") return TRUE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Use !rainbow on-off.") return TRUE end else doPlayerSendCancel(cid, "You need premium account to use this command.") return true end return TRUE end function changeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(repeatChangeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end function repeatChangeOutfit(cid) local randomHead = colors[math.random(#colors)] local randomLegs = colors[math.random(#colors)] local randomBody = colors[math.random(#colors)] local randomFeet = colors[math.random(#colors)] local tmp = {} if getPlayerStorageValue(cid, storage) > 0 then local outfit = getCreatureOutfit(cid) tmp = outfit tmp.lookType = outfit.lookType tmp.lookHead = randomHead tmp.lookLegs = randomLegs tmp.lookBody = randomBody tmp.lookFeet = randomFeet tmp.lookAddons = outfit.lookAddons doCreatureChangeOutfit(cid, tmp) local event = addEvent(changeOutfit, time, cid) return TRUE else stopEvent(event) return TRUE end end
-
(Resolvido)Comando Que Deicha o char mudando o outfit
Tenta assim: local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "Yes", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, nopz = false, -- Não usar em protect zone. [True/False] manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {1450, 1500}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {100, 200}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {1050, 1200}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {1900, 2220}, mana = {1800, 2200}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return true end if config.nopz == true and getTilePzInfo(getCreaturePosition(cid)) == true then doPlayerSendCancel(cid, "You cannot use potions in protection zone.") return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(itemEx.uid), 66) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end return true end
-
(Resolvido)Comando Que Deicha o char mudando o outfit
local config = { removeOnUse = "yes", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", realAnimation = "Yes", -- make text effect visible only for players in range 1x1 healthMultiplier = 1.0, manaMultiplier = 1.0 } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 7, mana = {200, 250}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPos(item.uid) end doDecayItem(doCreateItem(2016, potion.splash, toPosition)) doTransformItem(item.uid, potion.empty) return true end if getTilePzInfo(getCreaturePosition(cid)) == true then doPlayerSendCancel(cid, "You cannot use potions in protection zone.") return TRUE end if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then return false end if(not realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doSendMagicEffect(getThingPos(itemEx.uid), 66) doSendMagicEffect(getThingPos(itemEx.uid), 12) else for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) if(not potion.empty or config.removeOnUse) then return true end return true end
-
(Resolvido)[Erro] Porta de reputação
Tenta usar a action assim: function onUse(cid, item, frompos, item2, topos) local config = { repNeeded = 5000 } if rep.getPoints(cid) >= config.repNeeded then pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stay in front of the door.') return 1 end doTeleportThing(cid,pos) doSendMagicEffect(topos,12) else doPlayerSendTextMessage(cid,22,"Only players with " .. config.repNeeded .. " reputation can open the chest.") end return TRUE end E no final do seu mod falta fechar a função <mod, não sei se está assim no seu também, se estiver coloque </mod> na ultima linha do script.
-
(Resolvido)[Erro] Porta de reputação
Ele não está encontrando a função getRepPoints, tem certeza que adicionou corretamente o sistema de rep ao seu servidor? PS: Seu script da pasta Mods está igual ao da action.
-
(Resolvido)[AJUDA] Alavanca com 2 funçoes.
Cara coloquei 1 global storage, ai só um player pode usar a cada 24 horas, veja se é assim que você quer: function onUse(cid, item, fromPos, itemEx, toPos) local config = { stoneid = 1285, -- ID da stone. postp = {x=1021, y=1014, z=7}, -- Local a ser teleportado após usar a alavanca. stonepos = {x= 1021, y= 1016, z=7}, -- Local onde irá criar a stone. storage = 55989, -- Global storage, para apenas um player usar por dia. temp = 24 -- Tempo em horas para usar a alavanca novamente. } if getGlobalStorageValue(config.storage) > os.time() then doPlayerSendTextMessage(cid, 25, "You need wait " .. getGlobalStorageValue(cid, config.storage) - os.time() .. ' second' .. (getGlobalStorageValue(cid, config.storage) - os.time() == 1 and "" or "s") .. " to use this lever again.") return true end setGlobalStorageValue(config.storage, os.time() + config.temp * 3600) doTeleportThing(cid, config.postp) doPlayerSendTextMessage(cid, 22, "Good luck.") doCreateItem(config.stoneid, 1, config.stonepos) return true end Coloquei a pedra também, mais creio que não seja necessário, se quiser que eu tire é só avisar!
-
[DEBUG] QUANDO APARECE ESSA MSG
Testei aqui e tá normal o script, coloca uma posição valida na configuração do script.
-
server e cliante de avatar
Não há servidores de avatar para download ainda, no Avatar Online o administrador pegou uma base de Tibia e foi desenvolvendo o projeto, criando sprites, scripts e mapa.
-
(Resolvido)Por favor, ajuda com itens iniciais de pally
Troca pelo seu: local firstItems_storage = 30001 local allvoc = { -- Items para todas as vocações. {itemid=2554, inContainer = TRUE}, -- Shovel. {itemid=2120, inContainer = TRUE}, -- Rope. {itemid=7618, count=10, inContainer = TRUE}, -- Health Potions. {itemid=7620, count=10, inContainer = TRUE}, -- Mana Potions. {itemid=2152, count=20, inContainer = TRUE}, -- 10 Platinum Coins. {itemid=2643} -- Leather Boots. } local firstItems = { { -- Sorcerer {itemid=5949, container = TRUE}, -- Beach Backpack --> {itemid=2525}, -- Shield --> {itemid=2457}, -- Helmet --> {itemid=2647}, -- Legs --> {itemid=2463}, -- Armor --> {itemid=2190} -- Weapon --> }, { -- Druid {itemid=5949, container = TRUE}, -- Beach Backpack --> {itemid=2525}, -- Shield --> {itemid=2457}, -- Helmet --> {itemid=2647}, -- Legs --> {itemid=2463}, -- Armor --> {itemid=2182} -- Weapon --> }, { -- Paladin {itemid=5949, container = TRUE}, -- Beach Backpack --> {itemid=2525}, -- Shield --> {itemid=2399, count = 5}, -- Weapon --> {itemid=2457}, -- Helmet --> {itemid=2647}, -- Legs --> {itemid=2463} -- Armor --> }, { -- Knight {itemid=5949, container = TRUE}, -- Beach Backpack --> {itemid=2525}, -- Shield --> {itemid=2457}, -- Helmet --> {itemid=2647}, -- Legs --> {itemid=2463}, -- Armor --> {itemid=2409} -- Weapon --> } } for _, items in ipairs(firstItems) do for _, item in ipairs(allvoc) do table.insert(items, item) end end function onLogin(cid) if getPlayerGroupId(cid) < 2 and getPlayerStorageValue(cid, firstItems_storage) <= 0 then local currvoc = getPlayerVocation(cid) local vocation = 5 > currvoc and currvoc or currvoc - 4 local giveItems = firstItems[vocation] if giveItems then for _, v in ipairs(giveItems) do if v.container == TRUE then backpack = doPlayerAddItem(cid, v.itemid, 1) elseif v.inContainer == TRUE then doAddContainerItem(backpack, v.itemid, v.count or 1) else doPlayerAddItem(cid, v.itemid, v.count or 1) end end end setPlayerStorageValue(cid, firstItems_storage, 1) end return TRUE end Ai é só editar ali na count do paladin.
-
Como diminuir a tela do Magebot?
Creio que não, pois os desenvolvedores do software não liberaram a função para modificar o tamanho. Notebook é bem tenso, também tinha esse problema na tela de note ;/
- (Resolvido)Porta que só abre com certo Item (Pokemon)
-
Como diminuir a tela do Magebot?
Creio que não seja possível, não é a tela do magebot de outras pessoas que é menor, é o monitor delas que é maior. Exemplo: Tenho 1920x1080 de resolução aqui, ai fica assim: http://i.imgur.com/EcZ4v6H.jpg
-
(Resolvido)Erro action
Tenta assim: local pos = fromPosition local aqui = getPlayerPosition(cid) local vocs = {154, 155, 156, 157, 158, 159, 160, 161, 162, 163} local agua = {4610, 4612, 4611, 4664, 4613, 4666, 4646, 4654, 4609, 4665, 4608, 4625, 4665, 4666, 4645} local parede = {1030, 1029, 1025, 1026, 1027, 1259, 1028, 1032, 1034, 1033, 1536, 1533, 873, 919, 874, 1037, 2700, 2708, 4472, 4475, 4471, 3388, 3373, 3363, 3398, 3408, 3417, 3420, 3407, 3368, 2701, 5130, 6170, 6166, 1596, 3361, 3362, 3363, 3364, 3365, 3366, 3367, 3368, 3369, 3370, 3371, 3372, 3373, 3374, 3375, 3376, 3377, 3378, 3379, 3380, 3381, 3382, 3383, 3384, 3385, 3386, 3387, 3388, 3389, 3390, 3391, 3392, 3393, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401, 3402, 3403, 3404, 3405, 3406, 3407, 3408, 3409, 3410, 3411, 3412, 3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422} local pedra = {874, 919, 873, 2707, 2784, 2778, 3330, 4471, 4475, 4473, 4472, 4474, 4468, 4478, 4469, 4470, 4479, 2703, 2704, 1534, 2739, 3867, 5324, 5316, 5315, 5317, 1600, 1597, 1601} if getDistanceBetween(aqui, toPosition) >= 8 then return doPlayerSendTextMessage(cid, 27, "Está muito longe.") elseif(not(isSightClear(aqui, toPosition, 1))) then return doPlayerSendTextMessage(cid, 27, "Isso é impossivel.") elseif(getTilePzInfo(aqui)) then return doPlayerSendCancel(cid, "Não pode usar a tecnica Deus Dragão em casas ou areas protegidas.") elseif(getTilePzInfo(toPosition)) then return doPlayerSendCancel(cid, "Não pode usar a tecnica Deus Dragão em casas ou areas protegidas.") elseif(isInArray(agua, itemEx.itemid)) then return doPlayerSendTextMessage(cid, 27, "voce nao pode usar em agua") elseif(isInArray(parede, itemEx.itemid)) then return doPlayerSendTextMessage(cid, 27, "voce nao pode usar em paredes") elseif(isInArray(pedra, itemEx.itemid)) then return doPlayerSendTextMessage(cid, 27, "voce nao pode usar em pedras") elseif(not(isInArray(vocs, getPlayerVocation(cid)))) then return doPlayerSendTextMessage(cid, 27, "Desculpe, Apenas Minato pode usar a tecnica Deus Dragão.") end if(doTeleportThing(cid, toPosition, false)) then doSendMagicEffect(toPosition, 84) doCreatureSay(cid, "Shunshin", 19) return doSendDistanceShoot(pos, toPosition, 44) end return doPlayerSendCancel(cid, "Desculpe nao foi possivel.")
-
(Resolvido)Ajuda com script de personagem inicial
Faz assim, abre esse que o seu servidor está puxando e na segunda linha onde está enabled="yes" coloque "no". Agora vai em "Data/creaturescripts" abre o creaturescripts.xml e adicione a tag: <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> Agora o servidor irá parar de ler o mod e começar a ler o firstitems.lua
- (Resolvido)Ajuda com script de personagem inicial