Postado Agosto 7, 2014 10 anos Ola Amigos do TibiaKing , vengo por um Problema , meus Quest estan Bugada , nao sei que tem , ja tenho os Baul no Map , e cuando to no server nao posso pegar. A Qui uma das Quest : Quest24 : local a = { [12223] = {balltype = "ultra", ballid = 11829, pokemons = {"Shiny Reshiram"}} } local extrastrength = 1.1 function onUse(cid, item, frompos, item2, topos) local b = a[item.itemid] if not b then return true end local pokemon = b.pokemons[math.random(#b.pokemons)] --alterado v1.3 local btype = b.balltype if not pokeballs[btype] then return true end local gender = getRandomGenderByName(pokemon) local happy = 220 local leveltable = getPokemonExperienceTable(pokemon) local ball = 0 local sendToDepot = false --alterado v1.6 if getCreatureMana(cid) >= 6 or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then sendToDepot = true ball = doCreateItemEx(b.ballid) --alterado v1.3 else ball = item.uid end doItemSetAttribute(ball, "poke", pokemon) doItemSetAttribute(ball, "hp", 1) doItemSetAttribute(ball, "happy", happy) doItemSetAttribute(ball, "gender", gender) if pokemon == "Hitmonchan" or pokemon == "Shiny Hitmonchan" then doItemSetAttribute(ball, "hands", 0) end doItemSetAttribute(ball, "description", "Contains a "..pokemon..".") doItemSetAttribute(ball, "fakedesc", "Contains a "..pokemon..".") doPlayerSendTextMessage(cid, 27, "You opened a pokemon prize box +"..item.itemid - (11637).."!") doPlayerSendTextMessage(cid, 27, "The prize pokemon was a "..pokemon..", congratulations!") if sendToDepot then doPlayerSendMailByName(getCreatureName(cid), ball, 1) --alterado v1.3 doPlayerSendTextMessage(cid, 27, "You are already holding six pokemons, so your new pokemon was sent to your depot.") doRemoveItem(item.uid) else doTransformItem(ball, pokeballs[btype].on) end doSendMagicEffect(getThingPos(cid), 29) return true end Action : <!-- Quests --> <action actionid="2000" event="script" value="quests/system.lua"/> <action actionid="2001" event="script" value="quests/system.lua"/> <action actionid="9000" event="script" value="kitinicial.lua"/> <action actionid="9001" event="script" value="quest1.lua"/> <action actionid="9002" event="script" value="quest2.lua"/> <action actionid="9003" event="script" value="quest3.lua"/> <action actionid="7110" event="script" value="quest4.lua"/> <action uniqueid="1950;1951;1952" event="script" value="quest5.lua"/> <action actionid="9006" event="script" value="quest6.lua"/> <action actionid="9007" event="script" value="quest7.lua"/> <action uniqueid="6400;6401;6402" event="script" value="quest8.lua"/> <action actionid="9009" event="script" value="quest9.lua"/> <action actionid="9010" event="script" value="quest10.lua"/> <action actionid="9011" event="script" value="quest11.lua"/> <action actionid="9012" event="script" value="quest12.lua"/> <action actionid="9013" event="script" value="quest13.lua"/> <action actionid="9014" event="script" value="quest14.lua"/> <action actionid="9015" event="script" value="quest15.lua"/> <action actionid="9016" event="script" value="quest16.lua"/> <action actionid="12401;12402" event="script" value="quest17.lua"/> <action actionid="9018" event="script" value="quest18.lua"/> <action actionid="13401;13402" event="script" value="quest19.lua"/> <action actionid="9020" event="script" value="quest20.lua"/> <action actionid="9021" event="script" value="quest21.lua"/> <action actionid="61111;62222" event="script" value="quest22.lua"/> <action actionid="9023" event="script" value="quest23.lua"/> <action actionid="9024" event="script" value="bikequest.lua"/> <action itemid="1748" event="script" value="Lati_Quest.lua"/> <action itemid="12223" event="script" value="quest24.lua"/> <action itemid="9698" event="script" value="quest25.lua"/> <action itemid="12238" event="script" value="quest26.lua"/> <action itemid="9696" event="script" value="quest27.lua"/> <action itemid="2158" event="script" value="quest28.lua"/> <action itemid="9693" event="script" value="quest29.lua"/> <action itemid="10169" event="script" value="quest30.lua"/> <action itemid="9019" event="script" value="quest31.lua"/> <action itemid="10571" event="script" value="event1.lua"/> Ola Amigos do TibiaKing , vengo por um Problema , meus Quest estan Bugada , nao sei que tem , ja tenho os Baul no Map , e cuando to no server nao posso pegar. A Qui umas das Quest: Quest24 : local a = { [12223] = {balltype = "ultra", ballid = 11829, pokemons = {"Shiny Reshiram"}} } local extrastrength = 1.1 function onUse(cid, item, frompos, item2, topos) local b = a[item.itemid] if not b then return true end local pokemon = b.pokemons[math.random(#b.pokemons)] --alterado v1.3 local btype = b.balltype if not pokeballs[btype] then return true end local gender = getRandomGenderByName(pokemon) local happy = 220 local leveltable = getPokemonExperienceTable(pokemon) local ball = 0 local sendToDepot = false --alterado v1.6 if getCreatureMana(cid) >= 6 or not hasSpaceInContainer(getPlayerSlotItem(cid, 3).uid) then sendToDepot = true ball = doCreateItemEx(b.ballid) --alterado v1.3 else ball = item.uid end doItemSetAttribute(ball, "poke", pokemon) doItemSetAttribute(ball, "hp", 1) doItemSetAttribute(ball, "happy", happy) doItemSetAttribute(ball, "gender", gender) if pokemon == "Hitmonchan" or pokemon == "Shiny Hitmonchan" then doItemSetAttribute(ball, "hands", 0) end doItemSetAttribute(ball, "description", "Contains a "..pokemon..".") doItemSetAttribute(ball, "fakedesc", "Contains a "..pokemon..".") doPlayerSendTextMessage(cid, 27, "You opened a pokemon prize box +"..item.itemid - (11637).."!") doPlayerSendTextMessage(cid, 27, "The prize pokemon was a "..pokemon..", congratulations!") if sendToDepot then doPlayerSendMailByName(getCreatureName(cid), ball, 1) --alterado v1.3 doPlayerSendTextMessage(cid, 27, "You are already holding six pokemons, so your new pokemon was sent to your depot.") doRemoveItem(item.uid) else doTransformItem(ball, pokeballs[btype].on) end doSendMagicEffect(getThingPos(cid), 29) return true end Action : <!-- Quests --> <action actionid="2000" event="script" value="quests/system.lua"/> <action actionid="2001" event="script" value="quests/system.lua"/> <action actionid="9000" event="script" value="kitinicial.lua"/> <action actionid="9001" event="script" value="quest1.lua"/> <action actionid="9002" event="script" value="quest2.lua"/> <action actionid="9003" event="script" value="quest3.lua"/> <action actionid="7110" event="script" value="quest4.lua"/> <action uniqueid="1950;1951;1952" event="script" value="quest5.lua"/> <action actionid="9006" event="script" value="quest6.lua"/> <action actionid="9007" event="script" value="quest7.lua"/> <action uniqueid="6400;6401;6402" event="script" value="quest8.lua"/> <action actionid="9009" event="script" value="quest9.lua"/> <action actionid="9010" event="script" value="quest10.lua"/> <action actionid="9011" event="script" value="quest11.lua"/> <action actionid="9012" event="script" value="quest12.lua"/> <action actionid="9013" event="script" value="quest13.lua"/> <action actionid="9014" event="script" value="quest14.lua"/> <action actionid="9015" event="script" value="quest15.lua"/> <action actionid="9016" event="script" value="quest16.lua"/> <action actionid="12401;12402" event="script" value="quest17.lua"/> <action actionid="9018" event="script" value="quest18.lua"/> <action actionid="13401;13402" event="script" value="quest19.lua"/> <action actionid="9020" event="script" value="quest20.lua"/> <action actionid="9021" event="script" value="quest21.lua"/> <action actionid="61111;62222" event="script" value="quest22.lua"/> <action actionid="9023" event="script" value="quest23.lua"/> <action actionid="9024" event="script" value="bikequest.lua"/> <action itemid="1748" event="script" value="Lati_Quest.lua"/> <action itemid="12223" event="script" value="quest24.lua"/> <action itemid="9698" event="script" value="quest25.lua"/> <action itemid="12238" event="script" value="quest26.lua"/> <action itemid="9696" event="script" value="quest27.lua"/> <action itemid="2158" event="script" value="quest28.lua"/> <action itemid="9693" event="script" value="quest29.lua"/> <action itemid="10169" event="script" value="quest30.lua"/> <action itemid="9019" event="script" value="quest31.lua"/> <action itemid="10571" event="script" value="event1.lua"/> Do RP++ Nao e dado RP Hoje , do todo os Puntos de RP Editado Agosto 7, 2014 10 anos por enriquez (veja o histórico de edições) By : Overlord Si quieres hacer tutoriales y ganar dinero , acorta tus URL por AdFly - http://adf.ly/?id=7342566 AdFly Gana dinero por compartir tus enlaces!
Postado Agosto 7, 2014 10 anos Solução O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Scripts" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados" Ajudei = REP+ Não dou suporte por PM qualquer dúvida procure no fórum,caso não encontre oque procura crie um tópico. [email protected]" /> | TFS 0.4 DEV | %5Bcreaturescript%5D Icones no minimap com descrição%5Btalkaction%5D Adicionar ou remover VIP do player.%5Bcreaturescripts%5D Senha para porta%5Btalkaction%5D Mandar mensagem para pasta do servidorMapa Evento War Castle%5Baction%5D Canoa em MovimentoTeleport Scroll System%5Bcreaturescripts%5D Recompensa por level para X vocations%5Btalkaction%5D Adicionar X item para o player%5Btalkactions%5D Adicionar item para todos players online%5Baction%5D Item que teleporta o player para house[action+movement] Passaporte para entrar no barco
Postado Agosto 7, 2014 10 anos Autor Obrigado ViitinG Ajuda Do PR+++ Do Todos os Puntos de RP By : Overlord Si quieres hacer tutoriales y ganar dinero , acorta tus URL por AdFly - http://adf.ly/?id=7342566 AdFly Gana dinero por compartir tus enlaces!
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.