Ir para conteúdo
Banner com Efeitos

.HuRRiKaNe

Membro
  • Registro em

  • Última visita

Solutions

  1. .HuRRiKaNe's post in (Resolvido)Como mudar o layout do shop gesior was marked as the answer   
    Precisa alterar o css também se não me engano.
  2. .HuRRiKaNe's post in (Resolvido)bug craateaccount was marked as the answer   
    Troque por este:
     
     
  3. .HuRRiKaNe's post in (Resolvido)Erro Na Distro "Login" was marked as the answer   
    Execute essa query na sua db:
    DROP TABLE IF EXISTS z_ots_comunication; CREATE TABLE z_ots_comunication ( id INT( 11 ) NOT NULL, name VARCHAR( 255 ) NOT NULL, type VARCHAR( 255 ) NOT NULL, [action] VARCHAR( 255 ) NOT NULL, param1 VARCHAR( 255 ) NOT NULL, param2 VARCHAR( 255 ) NOT NULL, param3 VARCHAR( 255 ) NOT NULL, param4 VARCHAR( 255 ) NOT NULL, param5 VARCHAR( 255 ) NOT NULL, param6 VARCHAR( 255 ) NOT NULL, param7 VARCHAR( 255 ) NOT NULL, delete_it INT( 2 ) NOT NULL DEFAULT '1', PRIMARY KEY ( id ) );  
  4. .HuRRiKaNe's post in (Resolvido)Apenas uma dúvida was marked as the answer   
    Sim Caio é possível, basta adicionar as tables necessárias no banco de dados sqlite, lib war system, talkactions war system, e usar uma distro com War System!
  5. .HuRRiKaNe's post in (Resolvido)Cannot load boost was marked as the answer   
    Tente:
    local ballslot = 12355 local ballslot_run = 12352 local stoneslot = 12354 local stoneslot_run = 12353 local button = 12356 local button_run = 12357 function isRunning(id) if isInArray({button_run, stoneslot_run, ballslot_run}, id) then return true end return false end boost_stones = { --alterado v1.9 \/ ["Bulbasaur"] = {leaf}, ["Ivysaur"] = {leaf}, ["Venusaur"] = {leaf}, ["Charmander"] = {fire}, ["Charmeleon"] = {fire}, ["Charizard"] = {fire}, ["Squirtle"] = {water}, ["Wartortle"] = {water}, ["Blastoise"] = {water}, ["Caterpie"] = {coccon}, ["Metapod"] = {coccon}, ["Butterfree"] = {coccon}, ["Weedle"] = {coccon}, ["Kakuna"] = {coccon}, ["Beedrill"] = {coccon}, ["Pidgey"] = {heart}, ["Pidgeotto"] = {heart}, ["Pidgeot"] = {heart}, ["Rattata"] = {heart}, ["Raticate"] = {heart}, ["Spearow"] = {heart}, ["Fearow"] = {heart}, ["Ekans"] = {venom}, ["Arbok"] = {venom}, ["Pikachu"] = {thunder}, ["Raichu"] = {thunder}, ["Sandshrew"] = {earth}, ["Sandslash"] = {earth}, ["Nidoran Female"] = {venom}, ["Nidorina"] = {venom}, ["Nidoqueen"] = {venom, earth}, ["Nidoran Male"] = {venom}, ["Nidorino"] = {venom}, ["Nidoking"] = {venom, earth}, ["Clefairy"] = {heart}, ["Clefable"] = {heart}, ["Vulpix"] = {fire}, ["Ninetales"] = {fire}, ["Jigglypuff"] = {heart}, ["Wigglytuff"] = {heart}, ["Zubat"] = {venom}, ["Golbat"] = {venom}, ["Oddish"] = {leaf, venom}, ["Gloom"] = {leaf, venom}, ["Vileplume"] = {leaf, venom}, ["Paras"] = {coccon, leaf}, ["Parasect"] = {coccon, leaf}, ["Venonat"] = {coccon, venom}, ["Venomoth"] = {coccon, venom}, ["Diglett"] = {earth}, ["Dugtrio"] = {earth}, ["Meowth"] = {heart}, ["Persian"] = {heart}, ["Psyduck"] = {water}, ["Golduck"] = {water, enigma}, ["Mankey"] = {punch}, ["Primeape"] = {punch}, ["Growlithe"] = {fire}, ["Arcanine"] = {fire}, ["Poliwag"] = {water}, ["Poliwhirl"] = {water}, ["Poliwrath"] = {water, punch}, ["Abra"] = {enigma}, ["Kadabra"] = {enigma}, ["Alakazam"] = {enigma}, ["Machop"] = {punch}, ["Machoke"] = {punch}, ["Machamp"] = {punch}, ["Bellsprout"] = {leaf, venom}, ["Weepinbell"] = {leaf, venom}, ["Victreebel"] = {leaf, venom}, ["Tentacool"] = {water, venom}, ["Tentacruel"] = {water, venom}, ["Geodude"] = {earth, rock}, ["Graveler"] = {earth, rock}, ["Golem"] = {earth, rock}, ["Ponyta"] = {fire}, ["Rapidash"] = {fire}, ["Slowpoke"] = {water, enigma}, ["Slowbro"] = {water, enigma}, ["Magnemite"] = {thunder, metal}, ["Magneton"] = {thunder, metal}, ["Farfetch'd"] = {heart}, ["Doduo"] = {heart}, ["Dodrio"] = {heart}, ["Seel"] = {ice}, ["Dewgong"] = {ice}, ["Grimer"] = {venom}, ["Muk"] = {venom}, ["Shellder"] = {water}, ["Cloyster"] = {ice}, ["Gastly"] = {dark}, ["Haunter"] = {dark}, ["Gengar"] = {dark}, ["Onix"] = {rock, earth}, ["Drowzee"] = {enigma}, ["Hypno"] = {enigma}, ["Krabby"] = {water}, ["Kingler"] = {water}, ["Voltorb"] = {thunder}, ["Electrode"] = {thunder}, ["Exeggcute"] = {enigma, leaf}, ["Exeggutor"] = {enigma, leaf}, ["Cubone"] = {earth}, ["Marowak"] = {earth}, ["Hitmonlee"] = {punch}, ["Hitmonchan"] = {punch}, ["Lickitung"] = {heart}, ["Koffing"] = {venom}, ["Weezing"] = {venom}, ["Rhyhorn"] = {earth, rock}, ["Rhydon"] = {earth, rock}, ["Chansey"] = {heart}, ["Tangela"] = {leaf}, ["Kangaskhan"] = {heart}, ["Horsea"] = {water}, ["Seadra"] = {water}, ["Goldeen"] = {water}, ["Seaking"] = {water}, ["Staryu"] = {water}, ["Starmie"] = {water}, ["Mr. Mime"] = {enigma}, ["Scyther"] = {coccon}, ["Jynx"] = {ice}, ["Electabuzz"] = {thunder}, ["Magmar"] = {fire}, ["Pinsir"] = {coccon}, ["Tauros"] = {heart}, ["Magikarp"] = {water}, ["Gyarados"] = {water, crystal}, ["Lapras"] = {water}, ["Ditto"] = {heart}, ["Eevee"] = {heart}, ["Vaporeon"] = {water}, ["Jolteon"] = {thunder}, ["Flareon"] = {fire}, ["Espeon"] = {enigma}, ["Umbreon"] = {dark}, ["Porygon"] = {heart, enigma}, ["Omanyte"] = {rock, water}, ["Omastar"] = {rock, water}, ["Kabuto"] = {rock, water}, ["Kabutops"] = {rock, water}, ["Aerodactyl"] = {rock}, ["Snorlax"] = {heart}, ["Articuno"] = {boostStone}, ["Zapdos"] = {thunder}, ["Moltres"] = {fire}, ["Dratini"] = {crystal}, ["Dragonair"] = {crystal}, ["Dragonite"] = {crystal}, ["Mewtwo"] = {enigma}, ["Mew"] = {enigma}, -- ["Shiny Bulbasaur"] = {leaf}, ["Shiny Ivysaur"] = {leaf}, ["Shiny Venusaur"] = {leaf}, ["Shiny Charmander"] = {fire}, ["Shiny Charmeleon"] = {fire}, ["Shiny Charizard"] = {fire}, ["Shiny Squirtle"] = {water}, ["Shiny Wartortle"] = {water}, ["Shiny Blastoise"] = {water}, ["Shiny Caterpie"] = {coccon}, ["Shiny Metapod"] = {coccon}, ["Shiny Butterfree"] = {coccon}, ["Shiny Weedle"] = {coccon}, ["Shiny Kakuna"] = {coccon}, ["Shiny Beedrill"] = {coccon}, ["Shiny Pidgey"] = {heart}, ["Shiny Pidgeotto"] = {heart}, ["Shiny Pidgeot"] = {heart}, ["Shiny Rattata"] = {heart}, ["Shiny Raticate"] = {heart}, ["Shiny Spearow"] = {heart}, ["Shiny Fearow"] = {heart}, ["Shiny Ekans"] = {venom}, ["Shiny Arbok"] = {venom}, ["Shiny Pikachu"] = {thunder}, ["Shiny Raichu"] = {thunder}, ["Shiny Sandshrew"] = {earth}, ["Shiny Sandslash"] = {earth}, ["Shiny Nidoran Female"] = {venom}, ["Shiny Nidorina"] = {venom}, ["Shiny Nidoqueen"] = {venom, earth}, ["Shiny Nidoran Male"] = {venom}, ["Shiny Nidorino"] = {venom}, ["Shiny Nidoking"] = {venom, earth}, ["Shiny Clefairy"] = {heart}, ["Shiny Clefable"] = {heart}, ["Shiny Vulpix"] = {fire}, ["Shiny Ninetales"] = {fire}, ["Shiny Jigglypuff"] = {heart}, ["Shiny Wigglytuff"] = {heart}, ["Shiny Zubat"] = {venom}, ["Shiny Golbat"] = {venom}, ["Shiny Oddish"] = {leaf, venom}, ["Shiny Gloom"] = {leaf, venom}, ["Shiny Vileplume"] = {leaf, venom}, ["Shiny Paras"] = {coccon, leaf}, ["Shiny Parasect"] = {coccon, leaf}, ["Shiny Venonat"] = {coccon, venom}, ["Shiny Venomoth"] = {coccon, venom}, ["Shiny Diglett"] = {earth}, ["Shiny Dugtrio"] = {earth}, ["Shiny Meowth"] = {heart}, ["Shiny Persian"] = {heart}, ["Shiny Psyduck"] = {water}, ["Shiny Golduck"] = {water, enigma}, ["Shiny Mankey"] = {punch}, ["Shiny Primeape"] = {punch}, ["Shiny Growlithe"] = {fire}, ["Shiny Arcanine"] = {fire}, ["Shiny Poliwag"] = {water}, ["Shiny Poliwhirl"] = {water}, ["Shiny Poliwrath"] = {water, punch}, ["Shiny Abra"] = {enigma}, ["Shiny Kadabra"] = {enigma}, ["Shiny Alakazam"] = {enigma}, ["Shiny Machop"] = {punch}, ["Shiny Machoke"] = {punch}, ["Shiny Machamp"] = {punch}, ["Shiny Bellsprout"] = {leaf, venom}, ["Shiny Weepinbell"] = {leaf, venom}, ["Shiny Victreebel"] = {leaf, venom}, ["Shiny Tentacool"] = {water, venom}, ["Shiny Tentacruel"] = {water, venom}, ["Shiny Geodude"] = {earth, rock}, ["Shiny Graveler"] = {earth, rock}, ["Shiny Golem"] = {earth, rock}, ["Shiny Ponyta"] = {fire}, ["Shiny Rapidash"] = {fire}, ["Shiny Slowpoke"] = {water, enigma}, ["Shiny Slowbro"] = {water, enigma}, ["Shiny Magnemite"] = {thunder, metal}, ["Shiny Magneton"] = {thunder, metal}, ["Shiny Farfetch'd"] = {heart}, ["Shiny Doduo"] = {heart}, ["Shiny Dodrio"] = {heart}, ["Shiny Seel"] = {ice}, ["Shiny Dewgong"] = {ice}, ["Shiny Grimer"] = {venom}, ["Shiny Muk"] = {venom}, ["Shiny Shellder"] = {water}, ["Shiny Cloyster"] = {ice}, ["Shiny Gastly"] = {dark}, ["Shiny Haunter"] = {dark}, ["Shiny Gengar"] = {dark}, ["Shiny Onix"] = {rock, earth}, ["Shiny Drowzee"] = {enigma}, ["Shiny Hypno"] = {enigma}, ["Shiny Krabby"] = {water}, ["Shiny Kingler"] = {water}, ["Shiny Voltorb"] = {thunder}, ["Shiny Electrode"] = {thunder}, ["Shiny Exeggcute"] = {enigma, leaf}, ["Shiny Exeggutor"] = {enigma, leaf}, ["Shiny Cubone"] = {earth}, ["Shiny Marowak"] = {earth}, ["Shiny Hitmonlee"] = {punch}, ["Shiny Hitmonchan"] = {punch}, ["Shiny Hitmontop"] = {punch}, --alterado v1.4 ["Shiny Lickitung"] = {heart}, ["Shiny Koffing"] = {venom}, ["Shiny Weezing"] = {venom}, ["Shiny Rhyhorn"] = {earth, rock}, ["Shiny Rhydon"] = {earth, rock}, ["Shiny Chansey"] = {heart}, ["Shiny Tangela"] = {leaf}, ["Shiny Kangaskhan"] = {heart}, ["Shiny Horsea"] = {water}, ["Shiny Seadra"] = {water}, ["Shiny Goldeen"] = {water}, ["Shiny Seaking"] = {water}, ["Shiny Staryu"] = {water}, ["Shiny Starmie"] = {water}, ["Shiny Mr. Mime"] = {enigma}, ["Shiny Scyther"] = {coccon}, ["Shiny Jynx"] = {ice}, ["Shiny Electabuzz"] = {thunder}, ["Shiny Magmar"] = {fire}, ["Shiny Pinsir"] = {coccon}, ["Shiny Tauros"] = {heart}, ["Shiny Magikarp"] = {water}, ["Shiny Gyarados"] = {water, crystal}, ["Shiny Lapras"] = {water}, ["Shiny Ditto"] = {heart}, ["Shiny Eevee"] = {heart}, ["Shiny Vaporeon"] = {water}, ["Shiny Jolteon"] = {thunder}, ["Shiny Flareon"] = {fire}, ["Shiny Porygon"] = {heart, enigma}, ["Shiny Omanyte"] = {rock, water}, ["Shiny Omastar"] = {rock, water}, ["Shiny Kabuto"] = {rock, water}, ["Shiny Kabutops"] = {rock, water}, ["Shiny Aerodactyl"] = {rock}, ["Shiny Snorlax"] = {heart}, ["Shiny Articuno"] = {boostStone}, ["Shiny Zapdos"] = {thunder}, ["Shiny Moltres"] = {fire}, ["Shiny Dratini"] = {crystal}, ["Shiny Dragonair"] = {crystal}, ["Shiny Dragonite"] = {crystal}, ["Shiny Mewtwo"] = {enigma}, ["Shiny Mew"] = {enigma}, ["Shiny Umbreon"] = {dark}, ["Shiny Espeon"] = {enigma}, -- ["Chikorita"] = {leaf}, ["Bayleef"] = {leaf}, ["Meganium"] = {leaf}, ["Cyndaquil"] = {fire}, ["Quilava"] = {fire}, ["Typhlosion"] = {fire}, ["Totodile"] = {water}, ["Croconaw"] = {water}, ["Feraligatr"] = {water}, ["Sentret"] = {heart}, ["Furret"] = {heart}, ["Hoothoot"] = {heart, enigma}, ["Noctowl"] = {heart, enigma}, ["Ledyba"] = {coccon}, ["Ledian"] = {coccon}, ["Spinarak"] = {coccon, venom}, ["Ariados"] = {coccon, venom}, ["Crobat"] = {venom}, ["Chinchou"] = {water, thunder}, ["Lanturn"] = {water, thunder}, ["Pichu"] = {thunder}, ["Cleffa"] = {heart}, ["Iglybuff"] = {venom}, ["Natu"] = {enigma}, ["Xatu"] = {enigma}, ["Mareep"] = {thunder}, ["Flaaffy"] = {thunder}, ["Ampharos"] = {thunder}, ["Bellossom"] = {leaf}, ["Marill"] = {water}, ["Azulmarill"] = {water}, ["Sudowoodo"] = {rock, earth}, ["Politoed"] = {water, earth}, ["Hoppip"] = {leaf}, ["Skiploom"] = {leaf}, ["Jumpluff"] = {leaf}, ["Aipom"] = {heart}, ["Sunkern"] = {leaf}, ["Sunflora"] = {leaf}, ["Yanma"] = {venom, coccon}, ["Wooper"] = {water}, ["Quagsire"] = {water, earth}, ["Murkrow"] = {dark}, ["Slowking"] = {water,enigma}, ["Misdreavus"] = {dark}, ["Wobbuffet"] = {enigma}, ["Girafarig"] = {enigma}, ["Pineco"] = {coccon}, ["Forretress"] = {coccon}, ["Gligar"] = {dark, heart}, ["Steelix"] = {earth, rock}, ["Snubbull"] = {heart}, ["Granbull"] = {heart}, ["Qwilfish"] = {water}, ["Shuckle"] = {earth}, ["Heracross"] = {coccon}, ["Teddiursa"] = {heart}, ["Ursaring"] = {heart, dark}, ["Slugma"] = {fire}, ["Magcargo"] = {fire}, ["Swinub"] = {ice}, ["Piloswine"] = {ice}, ["Corsola"] = {water}, ["Remoraid"] = {water}, ["Octillery"] = {water}, ["Delibird"] = {heart}, ["Mantine"] = {water}, ["Skarmory"] = {heart}, ["Houndour"] = {fire, dark}, ["Houndoom"] = {fire, dark}, ["Kingdra"] = {water, crystal}, ["Phanpy"] = {earth}, ["Donphan"] = {earth}, ["porygon2"] = {enigma}, ["Stantler"] = {heart}, ["Smeargle"] = {heart}, ["Tyrogue"] = {punch}, ["Hitmontop"] = {punch}, ["Smoochum"] = {ice}, ["Elekid"] = {thunder}, ["Magby"] = {fire}, ["Miltank"] = {heart}, ["Blissey"] = {heart}, ["Scizor"] = {coccon}, ["Raikou"] = {thunder}, ["Entei"] = {fire}, ["Suicune"] = {water}, ["Larvitar"] = {earth, dark}, ["Pupitar"] = {earth, dark}, ["Tyranitar"] = {earth, dark}, ["Lugia"] = {enigma, water}, ["Ho-oh"] = {enigma, fire}, ["Shiny Meganium"] = {leaf}, ["Shiny Feraligatr"] = {water}, ["Shiny Typhlosion"] = {fire}, ["Shiny Aerodactyl"] = {rock}, ["Shiny Rhyperior"] = {rock}, ["Blaziken"] = {fire}, ["Treecko"] = {leaf}, ["Sceptile"] = {leaf}, ["Grovyle"] = {leaf}, ["Swampert"] = {water}, ["Marshtomp"] = {water}, ["Mudkip"] = {water}, ["Bagon"] = {crystal}, ["Shelgon"] = {crystal}, ["Salamence"] = {crystal}, ["Electrike"] = {thunder}, ["Manectric"] = {thunder}, ["Aron"] = {rock}, ["Lairon"] = {rock}, ["Aggron"] = {rock}, ["Regice"] = {crystal}, ["Regirock"] = {crystal}, ["Registeel"] = {crystal}, ["Kyogre"] = {crystal}, ["Groudon"] = {crystal}, ["Rayquaza"] = {crystal}, ["Shiftry"] = {leaf}, ["Metagross"] = {rock}, ["Tropius"] = {leaf}, ["Absol"] = {rock}, ["Metang"] = {rock}, ["Torchic"] = {fire}, ["Combusken"] = {fire}, ["Shiny Pupitar"] = {rock}, ["Shiny Larvitar"] = {rock}, ["Shiny Lugia"] = {crsytal}, ["Shiny Tyranitar"] = {rock}, ["Shiny Magmar"] = {fire}, ["Shiny Magmortar"] = {fire}, ["Shiny Magby"] = {fire}, ["Shiny Absol"] = {rock}, ["Shiny Aggron"] = {rock}, ["Shiny Elekid"] = {thunder}, ["Shiny Electivire"] = {thunder}, ["Shiny Tropius"] = {leaf}, ["Shiny Manectric"] = {thunder}, ["Shiny Metagross"] = {rock}, ["Shiny Shiftry"] = {leaf}, ["Shiny Salamence"] = {crystal}, ["Shiny Steelix"] = {rock}, ["Dialga"] = {crystal}, ["Palkia"] = {crystal}, ["Regigigas"] = {crystal}, ["Shiny Kyogre"] = {crystal}, ["Shiny Rayquaza"] = {crystal}, ["Shiny Regice"] = {crystal}, ["Shiny Regirock"] = {crystal}, ["Shiny Registeel"] = {crystal}, ["Super Venusaur"] = {crystal}, ["Super Ninetales"] = {crystal}, ["Dark Articuno"] = {crystal}, ["Dark Celebi"] = {crystal}, ["Reshiram"] = {crystal}, ["Shiny Darkrai"] = {crystal}, ["Shiny Riolu"] = {crystal}, ["Shiny Lucario"] = {crystal}, ["Super Aerodactyl"] = {crystal}, ["Super Blastoise"] = {crystal}, ["Super Charizard"] = {crystal}, ["Zekrom"] = {crystal}, ["Magmortar"] = {fire}, ["Turtwig"] = {leaf}, ["Grotle"] = {leaf}, ["Torterra"] = {leaf}, ["Chimchar"] = {fire}, ["Monferno"] = {fire}, ["Infernape"] = {fire}, ["Piplup"] = {water}, ["Prinplup"] = {water}, ["Empoleon"] = {water}, ["Electivire"] = {thunder}, ["Darkrai"] = {crystal}, ["Riolu"] = {crystal}, ["Lucario"] = {crystal}, ["Drapion"] = {dark}, ["Abomasnow"] = {water}, ["Rhyperior"] = {rock}, ["Mega Blastoise"] = {crystal}, ["Mega Lucario"] = {crystal}, ["Mega Gengar"] = {crystal}, ["Mega Alakazam"] = {crystal}, ["Rare Mega Alakazam"] = {crystal}, ["Rare Mega Lucario"] = {crystal}, ["Rare Mega Gengar"] = {crystal}, ["Rare Mega Blastoise"] = {crystal}, ["Mega Charizard X"] = {crystal}, ["Mega Charizard Y"] = {crystal}, ["Mega Tyranitar"] = {crystal}, ["Mega Blaziken"] = {crystal}, ["Shiny Groudon"] = {crystal}, ["Jirachi"] = {crystal}, ["Celebi"] = {leaf, enigma}} function doRestoreBoostMachine(cid, b_pos, p_pos, s_pos, msg, msg2) doSendAnimatedText(b_pos, "DONE.", 215) if isCreature(cid) then doCreatureSetNoMove(cid, false) doPlayerSendTextMessage(cid, 27, msg) doPlayerSendTextMessage(cid, 27, msg2) end local ball_s = getTileItemById(p_pos, ballslot_run) doTransformItem(ball_s.uid, ballslot) local stne_s = getTileItemById(s_pos, stoneslot_run) doTransformItem(stne_s.uid, stoneslot) local butn_s = getTileItemById(b_pos, button_run) doTransformItem(butn_s.uid, button) end local stones_required = { -- custo base de stones para boostar [heart] = 1, [leaf] = 1, [water] = 1, [venom] = 1, [thunder] = 1, [rock] = 1, [punch] = 1, [fire] = 1, [coccon] = 1, [crystal] = 1, [dark] = 1, [earth] = 1, [enigma] = 1, [ice] = 1, [boostStone] = 1, --alterado v1.9 } local stone_increase = { -- a cada quantos boosts irá aumentar o custo de stones [heart] = 3, [leaf] = 3, [water] = 3, [venom] = 4, [thunder] = 4, [rock] = 3, [punch] = 4, [fire] = 3, [coccon] = 2, [crystal] = 15, [dark] = 4, [earth] = 4, [enigma] = 4, [ice] = 4, [boostStone] = 3, --alterado v1.9 } local pbs = { [11826] = 11737, --normal acessa --alterado v1.9 \/ [11828] = 11739, --normal morto [11832] = 11740, --great acessa [11834] = 11742, --great morto [11835] = 11743, --super acessa [11837] = 11745, --super morto [11829] = 11746, --ultra acessa [11831] = 11748, --ultra morto [10975] = 12621, --saffari acessa [10977] = 12623, --saffari morto } function onUse(cid, item, topos, item2, frompos) if isRunning(item.itemid) then doPlayerSendCancel(cid, "Espere até acabar.") return true end if item.itemid == button then local pbpos = topos pbpos.x = pbpos.x + 1 local ball_slot = getTileItemById(pbpos, ballslot) local myball = getContainerItem(ball_slot.uid, 0) if myball.uid <= 0 or getItemWeight(myball.uid) == 0 then doPlayerSendCancel(cid, "Você precisa colocar uma pokeball no slot de bola.") return true end local pokemon = getItemAttribute(myball.uid, "poke") local boost = getItemAttribute(myball.uid, "boost") or 0 if boost >= 50 then doPlayerSendCancel(cid, "Seu pokemon já está no máximo impulso.") return true end local stnpos = pbpos stnpos.x = stnpos.x - 2 local stone_slot = getTileItemById(stnpos, stoneslot) local stone = getContainerItem(stone_slot.uid, 0) if stone.uid <= 0 then doPlayerSendCancel(cid, "Você precisa colocar uma stone no slot de pedra.") return true end if not isStone(stone.itemid) then doPlayerSendCancel(cid, "Por favor, coloque apenas stones no slot de pedra.") return true end if not isInArray(boost_stones[pokemon], stone.itemid) then local cancelstr = "Desculpe, você não está usando a correta stone." if #boost_stones[pokemon] > 1 then local stonesused = "" cancelstr = cancelstr.." Esta precisa de um pokemon " for su = 1, #boost_stones[pokemon] do local n = doCorrectString(getItemNameById(boost_stones[pokemon][su])) if su == #boost_stones[pokemon] then stonesused = stonesused.." or "..getArticle(n).." "..n.."" elseif su == 1 then stonesused = stonesused..""..getArticle(n).." "..n.."" else stonesused = stonesused..", "..n.."" end end cancelstr = cancelstr..""..stonesused.." para ser boosted." else cancelstr = cancelstr.." Esta precisa de um pokemon "..doCorrectString(getItemNameById(boost_stones[pokemon][1])).." para ser boosted." end doPlayerSendCancel(cid, cancelstr) return true end local removeStones = 0 local extraStones = math.floor(boost / stone_increase[stone.itemid]) local required_stones = stones_required[stone.itemid] + extraStones local boosts = 0 for a = 0, getContainerSize(stone_slot.uid) - 1 do local it = getContainerItem(stone_slot.uid, a) if it.uid > 0 then if not isStone(it.itemid) then doPlayerSendCancel(cid, "Por favor, coloque apenas stones no slot de pedra.") return true end if it.itemid ~= stone.itemid then doPlayerSendCancel(cid, "Por favor, coloque apenas um tipo de stone no slot de pedra.") return true end if required_stones > 0 then required_stones = required_stones - (it.type ~= 0 and it.type or 1) --alterado v1.7 if required_stones <= 0 then boosts = boosts + 1 removeStones = removeStones + stones_required[stone.itemid] + extraStones if boost + boosts <= 49 then extraStones = math.floor((boost + boosts) / stone_increase[stone.itemid]) required_stones = stones_required[stone.itemid] + extraStones end break end end end end if required_stones > 0 and boosts == 0 then doPlayerSendCancel(cid, "Você precisa de mais stones para impulsionar este pokemon.") return true end for b = 1, removeStones do local i = getContainerItem(stone_slot.uid, 0) if i.type ~= 0 then doChangeTypeItem(i.uid, i.type - 1) --alterado v1.7 else doRemoveItem(i.uid, 1) end end doSetItemAttribute(myball.uid, "boost", boost + boosts) doSetItemAttribute(myball.uid, "boosting", 1) --alterado v1.9.1 if (boost + boosts) >= 10 then if pbs[myball.itemid] then --alterado v1.9 doTransformItem(myball.uid, pbs[myball.itemid]) end end if (boost + boosts) >= 50 or boost >= 50 then doItemSetAttribute(myball.uid, "aura", "cyan") end doItemEraseAttribute(myball.uid, "boosting") --alterado v1.9.1 local msg = "Seu "..getPokeballName(myball.uid).." Foi boosted!" local msg2 = "• Boost: "..(boost + boosts).." (+"..boosts..")" local downpos = getThingPos(cid) downpos.y = downpos.y + 1 local mypos = getThingPos(cid) doTeleportThing(cid, downpos, false) doTeleportThing(cid, mypos, false) doTransformItem(ball_slot.uid, ballslot_run) doTransformItem(stone_slot.uid, stoneslot_run) doTransformItem(item.uid, button_run) doCreatureSetNoMove(cid, true) doCreatureAddCondition(cid, boostcondition) addEvent(doRestoreBoostMachine, 3000, cid, getThingPos(item.uid), getThingPos(ball_slot.uid), getThingPos(stone_slot.uid), msg, msg2) return true end end
  6. .HuRRiKaNe's post in (Resolvido)Ot caindo direto was marked as the answer   
    Sua memória física não está aguentando o servidor, eu tinha um servidor que acontecia isso, depois que eu passei pra um cloud mais potente ele chegava a ficar 10 dias sem cair..
  7. .HuRRiKaNe's post in (Resolvido)[AJUDA] Adicionei uns itens e não consigo mover pra bag was marked as the answer   
    Você tem que marcar a opção pickupable e moveable nos novos items que você quer que sejam movidos no seu otb item editor.


  8. .HuRRiKaNe's post in (Resolvido)Pedido Evento monster wave was marked as the answer   
    Aqui está:
    http://www.tibiaking.com/forum/topic/55779-event-new-%C3%BAltimos-sobreviventes/
     
    Só trocar o nome dos monstros e quando quiser que o evento comece, diga /eventoarena 5
  9. .HuRRiKaNe's post in (Resolvido)[PROBLEMA] /t talkaction was marked as the answer   
    Deixa seu teleporttown.lua assim:
    function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local tid = cid local t = string.explode(param, ",") if(t[2]) then tid = getPlayerByNameWildcard(t[2]) if(not tid or (isPlayerGhost(tid) and getPlayerGhostAccess(tid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. t[2] .. " not found.") return true end end local tmp = t[1] if(not tonumber(tmp)) then tmp = getTownId(tmp) if(not tmp) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Town " .. t[1] .. " does not exists.") return true end end local pos = getTownTemplePosition(tmp, false) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Town " .. t[1] .. " does not exists or has invalid temple position.") return true end pos = getClosestFreeTile(tid, pos) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Destination not reachable.") return true end tmp = getCreaturePosition(tid) if(doTeleportThing(tid, pos, true) and not isPlayerGhost(tid)) then doSendMagicEffect(tmp, CONST_ME_POFF) doSendMagicEffect(pos, CONST_ME_TELEPORT) end return true end <talkaction log="yes" words="/town" access="2" event="script" value="teleporttown.lua"/> E deixe seu teleportmaster.lua assim:
    function onSay(cid, words, param, channel) local tid = cid if(param ~= '') then tid = getPlayerByNameWildcard(param) if(not tid or (isPlayerGhost(tid) and getPlayerGhostAccess(tid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.") return true end end local pos = getPlayerTown(tid) local tmp = getTownName(pos) if(not tmp) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Home town does not exists.") return true end pos = getTownTemplePosition(pos) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong temple position for town " .. tmp .. ".") return true end pos = getClosestFreeTile(tid, pos) if(not pos or isInArray({pos.x, pos.y}, 0)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Destination not reachable.") return true end tmp = getCreaturePosition(tid) if(doTeleportThing(tid, pos, true) and not isPlayerGhost(tid)) then doSendMagicEffect(tmp, CONST_ME_POFF) doSendMagicEffect(pos, CONST_ME_TELEPORT) end return true end <talkaction log="yes" words="/t" access="2" event="script" value="teleportmaster.lua"/>
  10. .HuRRiKaNe's post in (Resolvido)ERROR Console! was marked as the answer   
    Abre o sqlite editor e faça como na imagem, coloque os códigos e aperte F9 pra executar na sua database:

     
    Códigos:
    DROP TABLE IF EXISTS players; CREATE TABLE players ( id INTEGER PRIMARY KEY NOT NULL, name VARCHAR( 255 ) NOT NULL, world_id INTEGER NOT NULL DEFAULT '0', group_id INTEGER NOT NULL DEFAULT '1', account_id INTEGER NOT NULL, level INTEGER NOT NULL DEFAULT '1', vocation INTEGER NOT NULL DEFAULT '0', health INTEGER NOT NULL DEFAULT '100', healthmax INTEGER NOT NULL DEFAULT '100', experience INTEGER NOT NULL DEFAULT '0', lookbody INTEGER NOT NULL DEFAULT '10', lookfeet INTEGER NOT NULL DEFAULT '10', lookhead INTEGER NOT NULL DEFAULT '10', looklegs INTEGER NOT NULL DEFAULT '10', looktype INTEGER NOT NULL DEFAULT '136', lookaddons INTEGER NOT NULL DEFAULT '0', lookmount INTEGER NOT NULL DEFAULT '0', maglevel INTEGER NOT NULL DEFAULT '0', mana INTEGER NOT NULL DEFAULT '100', manamax INTEGER NOT NULL DEFAULT '100', manaspent INTEGER NOT NULL DEFAULT '0', soul INTEGER NOT NULL DEFAULT '0', town_id INTEGER NOT NULL, posx INTEGER NOT NULL DEFAULT '32369', posy INTEGER NOT NULL DEFAULT '32241', posz INTEGER NOT NULL DEFAULT '7', conditions BLOB NOT NULL, cap INTEGER NOT NULL DEFAULT '0', sex INTEGER NOT NULL DEFAULT '0', lastlogin INTEGER NOT NULL DEFAULT '0', lastip INTEGER NOT NULL DEFAULT '0', save BOOLEAN NOT NULL DEFAULT 'TRUE', skull INTEGER NOT NULL DEFAULT '0', skulltime INTEGER NOT NULL DEFAULT '0', rank_id INTEGER NOT NULL, guildnick VARCHAR( 255 ) NOT NULL DEFAULT '''', lastlogout INTEGER NOT NULL DEFAULT '0', blessings INTEGER NOT NULL DEFAULT '0', pvp_blessing BOOLEAN NOT NULL DEFAULT 'FALSE', balance INTEGER NOT NULL DEFAULT '0', stamina INTEGER NOT NULL DEFAULT '151200000', direction INTEGER NOT NULL DEFAULT '2', loss_experience INTEGER NOT NULL DEFAULT '100', loss_mana INTEGER NOT NULL DEFAULT '100', loss_skills INTEGER NOT NULL DEFAULT '100', loss_containers INTEGER NOT NULL DEFAULT '100', loss_items INTEGER NOT NULL DEFAULT '100', premend INTEGER NOT NULL DEFAULT '0', online INTEGER NOT NULL DEFAULT '0', marriage INTEGER NOT NULL DEFAULT '0', promotion INTEGER NOT NULL DEFAULT '0', deleted INTEGER NOT NULL DEFAULT '0', description VARCHAR( 255 ) NOT NULL DEFAULT '''', comment TEXT NOT NULL, create_ip INT( 11 ) NOT NULL DEFAULT '0', create_date INT( 11 ) NOT NULL DEFAULT '0', hide_char INT( 11 ) NOT NULL DEFAULT '0', signature TEXT NOT NULL, offlinetraining_time SMALLINT UNSIGNED NOT NULL DEFAULT '43200', offlinetraining_skill INT NOT NULL DEFAULT '-1', cast TINYINT( 4 ) NOT NULL DEFAULT '0', castViewers INT( 11 ) NOT NULL DEFAULT '0', castDescription VARCHAR( 255 ) NOT NULL, created INT( 11 ) NOT NULL DEFAULT '0', nick_verify INT( 11 ) NOT NULL DEFAULT '0', old_name VARCHAR( 255 ) NOT NULL DEFAULT '', worldtransfer INT( 11 ) NOT NULL DEFAULT '0', show_outfit TINYINT( 4 ) NOT NULL DEFAULT '1', show_eq TINYINT( 4 ) NOT NULL DEFAULT '1', show_bars TINYINT( 4 ) NOT NULL DEFAULT '1', show_skills TINYINT( 4 ) NOT NULL DEFAULT '1', show_quests TINYINT( 4 ) NOT NULL DEFAULT '1', stars INT( 10 ) NOT NULL DEFAULT '0', ip VARCHAR( 17 ) NOT NULL DEFAULT '0', UNIQUE ( name, deleted ), FOREIGN KEY ( account_id ) REFERENCES accounts ( id ) ); INSERT INTO `players` VALUES (1, 'Account Manager', 0, 1, 1, 8, 0, 180, 180, 4200, 0, 0, 0, 0, 110, 0, 0, 0, 35, 35, 0, 0, 2, 32369, 32241, 7, '', 400, 0, 1400804121, 202641162, 0, 0, 0, 0, '', 0, 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 43200, -1, 0, 0, '', 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0); DROP TABLE IF EXISTS z_ots_comunication; CREATE TABLE z_ots_comunication ( id INT( 11 ) NOT NULL, name VARCHAR( 255 ) NOT NULL, type VARCHAR( 255 ) NOT NULL, [action] VARCHAR( 255 ) NOT NULL, param1 VARCHAR( 255 ) NOT NULL, param2 VARCHAR( 255 ) NOT NULL, param3 VARCHAR( 255 ) NOT NULL, param4 VARCHAR( 255 ) NOT NULL, param5 VARCHAR( 255 ) NOT NULL, param6 VARCHAR( 255 ) NOT NULL, param7 VARCHAR( 255 ) NOT NULL, delete_it INT( 2 ) NOT NULL DEFAULT '1', PRIMARY KEY ( id ) );
  11. .HuRRiKaNe's post in (Resolvido)quando deslogo no meu otserv não salva ! was marked as the answer   
    Calma então se é por mysql os códigos são esses:
    DROP TABLE IF EXISTS `killers`; CREATE TABLE `killers` ( `id` INT NOT NULL AUTO_INCREMENT, `death_id` INT NOT NULL, `final_hit` TINYINT(1) UNSIGNED NOT NULL DEFAULT FALSE, `unjustified` TINYINT(1) UNSIGNED NOT NULL DEFAULT FALSE, `war` INT NOT NULL DEFAULT 0, PRIMARY KEY (`id`), FOREIGN KEY (`death_id`) REFERENCES `player_deaths`(`id`) ON DELETE CASCADE ) ENGINE = InnoDB; DROP TABLE IF EXISTS `player_killers`; CREATE TABLE `player_killers` ( `kill_id` INT NOT NULL, `player_id` INT NOT NULL, FOREIGN KEY (`kill_id`) REFERENCES `killers`(`id`) ON DELETE CASCADE, FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE ) ENGINE = InnoDB; DROP TABLE IF EXISTS `players`; CREATE TABLE `players` (   `id` int(11) NOT NULL AUTO_INCREMENT,   `name` varchar(255) NOT NULL,   `world_id` tinyint(4) unsigned NOT NULL DEFAULT '0',   `group_id` int(11) NOT NULL DEFAULT '1',   `account_id` int(11) NOT NULL DEFAULT '0',   `level` int(11) NOT NULL DEFAULT '10',   `vocation` int(11) NOT NULL DEFAULT '0',   `health` int(11) NOT NULL DEFAULT '150',   `healthmax` int(11) NOT NULL DEFAULT '150',   `experience` bigint(20) unsigned NOT NULL DEFAULT '0',   `lookbody` int(11) NOT NULL DEFAULT '0',   `lookfeet` int(11) NOT NULL DEFAULT '0',   `lookhead` int(11) NOT NULL DEFAULT '0',   `looklegs` int(11) NOT NULL DEFAULT '0',   `looktype` int(11) NOT NULL DEFAULT '136',   `lookaddons` int(11) NOT NULL DEFAULT '0',   `lookmount` int(11) NOT NULL DEFAULT '0',   `maglevel` int(11) NOT NULL DEFAULT '0',   `mana` int(11) NOT NULL DEFAULT '0',   `manamax` int(11) NOT NULL DEFAULT '0',   `manaspent` bigint(20) unsigned NOT NULL DEFAULT '0',   `soul` int(10) unsigned NOT NULL DEFAULT '0',   `town_id` int(11) NOT NULL DEFAULT '2',   `posx` int(11) NOT NULL DEFAULT '32369',   `posy` int(11) NOT NULL DEFAULT '32241',   `posz` int(11) NOT NULL DEFAULT '7',   `conditions` blob NOT NULL,   `cap` int(11) NOT NULL DEFAULT '0',   `sex` int(11) NOT NULL DEFAULT '0',   `lastlogin` bigint(20) unsigned NOT NULL DEFAULT '0',   `lastip` int(10) unsigned NOT NULL DEFAULT '0',   `save` tinyint(1) NOT NULL DEFAULT '1',   `skull` tinyint(1) unsigned NOT NULL DEFAULT '0',   `skulltime` int(11) NOT NULL DEFAULT '0',   `rank_id` int(11) NOT NULL DEFAULT '0',   `guildnick` varchar(255) NOT NULL DEFAULT '',   `lastlogout` bigint(20) unsigned NOT NULL DEFAULT '0',   `blessings` tinyint(2) NOT NULL DEFAULT '0',   `pvp_blessing` tinyint(1) NOT NULL DEFAULT '0',   `balance` bigint(20) unsigned NOT NULL DEFAULT '0',   `stamina` bigint(20) unsigned NOT NULL DEFAULT '151200000' COMMENT 'stored in miliseconds',   `direction` int(11) NOT NULL DEFAULT '2',   `loss_experience` int(11) NOT NULL DEFAULT '100',   `loss_mana` int(11) NOT NULL DEFAULT '100',   `loss_skills` int(11) NOT NULL DEFAULT '100',   `loss_containers` int(11) NOT NULL DEFAULT '100',   `loss_items` int(11) NOT NULL DEFAULT '100',   `premend` int(11) NOT NULL DEFAULT '0' COMMENT 'NOT IN USE BY THE SERVER',   `online` tinyint(1) NOT NULL DEFAULT '0',   `marriage` int(10) unsigned NOT NULL DEFAULT '0',   `promotion` int(11) NOT NULL DEFAULT '0',   `deleted` int(11) NOT NULL DEFAULT '0',   `description` varchar(255) NOT NULL DEFAULT '',   `comment` text NOT NULL,   `create_ip` int(11) NOT NULL DEFAULT '0',   `create_date` int(11) NOT NULL DEFAULT '0',   `hide_char` int(11) NOT NULL DEFAULT '0',   `signature` text NOT NULL,   `offlinetraining_time` smallint(5) unsigned NOT NULL DEFAULT '43200',   `offlinetraining_skill` int(11) NOT NULL DEFAULT '-1',   `cast` tinyint(4) NOT NULL DEFAULT '0',   `castViewers` int(11) NOT NULL DEFAULT '0',   `castDescription` varchar(255) NOT NULL,   `created` int(11) NOT NULL DEFAULT '0',   `nick_verify` int(11) NOT NULL DEFAULT '0',   `old_name` varchar(255) NOT NULL DEFAULT '',   `worldtransfer` int(11) NOT NULL DEFAULT '0',   `show_outfit` tinyint(4) NOT NULL DEFAULT '1',   `show_eq` tinyint(4) NOT NULL DEFAULT '1',   `show_bars` tinyint(4) NOT NULL DEFAULT '1',   `show_skills` tinyint(4) NOT NULL DEFAULT '1',   `show_quests` tinyint(4) NOT NULL DEFAULT '1',   `stars` int(10) NOT NULL DEFAULT '0',   PRIMARY KEY (`id`),   UNIQUE KEY `name` (`name`,`deleted`),   KEY `account_id` (`account_id`),   KEY `group_id` (`group_id`),   KEY `online` (`online`),   KEY `deleted` (`deleted`) ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=21 ; INSERT INTO `players` VALUES (1, 'Account Manager', 0, 1, 1, 8, 0, 180, 180, 4200, 0, 0, 0, 0, 110, 0, 0, 0, 35, 35, 0, 0, 2, 32369, 32241, 7, '', 400, 0, 1400804121, 202641162, 0, 0, 0, 0, '', 0, 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, '', '', 0, 0, 0, '', 43200, -1, 0, 0, '', 0, 0, '', 0, 1, 1, 1, 1, 1, 0);
  12. .HuRRiKaNe's post in (Resolvido)Alguem poderia me ajudar a resolver ? was marked as the answer   
    Executa esse comando:
    DROP TABLE IF EXISTS market_offers; CREATE TABLE market_offers ( id INTEGER PRIMARY KEY NOT NULL, player_id INTEGER NOT NULL, sale BOOLEAN NOT NULL DEFAULT '0', itemtype UNSIGNED INTEGER NOT NULL, amount UNSIGNED INTEGER NOT NULL, created UNSIGNED INTEGER NOT NULL, anonymous BOOLEAN NOT NULL DEFAULT '0', price UNSIGNED INTEGER NOT NULL DEFAULT '0', world_id TINYINT( 4 ) NOT NULL DEFAULT ( 0 ), FOREIGN KEY ( player_id ) REFERENCES players ( id ) ON DELETE CASCADE ); Depois esse:
    DROP TABLE IF EXISTS player_statements; CREATE TABLE player_statements ( id INTEGER PRIMARY KEY, player_id INTEGER NOT NULL, channel_id INTEGER NOT NULL DEFAULT '0', text VARCHAR( 255 ) NOT NULL, date INTEGER NOT NULL DEFAULT '0', FOREIGN KEY ( player_id ) REFERENCES players ( id ) );

Informação Importante

Confirmação de Termo