Tudo que lucasmourahere postou
-
(Resolvido)Pokemons Iniciais
up
-
Pokemons Sumindo
Olá Tibiaking, Gostaria de saber de vocês um bug que vem em praticamente todas atualizações do PDA, mas nunca vi ninguém falando nada a respeito.. é sobre um bug que o pokemon some na bag ao relogar. Isso já aconteceu algumas vezes comigo em meu servidor, ao relogar o pokemon some sozinho da bag. Alguém saberia a solução deste problema? Grato desde já!!
-
(Resolvido)Pokemons Iniciais
Olá Tibiaking, como faço para dar 3 Pokemons Iniciais, sem ser com box.. quando o novo jogador nascer ele já vem com as 3 pokeballs, que seriam eles Charmander, Bulbasaur e Squirtle.
-
[Duel PDA] pokemons na bag
up
-
[Duel PDA] pokemons na bag
up
-
[Duel PDA] pokemons na bag
up
-
[Duel PDA] pokemons na bag
up
-
[Duel PDA] pokemons na bag
Olá TIBIAKING, estou com um grande problema ao chamar Duel no meu servidor. Quando chamo Duelo tendo 2 pokemons na bag, da pra chamar Duel para 4 pokemons.. ou seja, está contando 2 pokemons a mais na bag na hora de chamar o Duel. alguem poderia me ajudar? segue a função que está sendo usada para checar os pokemons na bag: creaturescripts/scripts/tvsys.lua ---------------- Proteçao para os 2 players terem a qntdade de pokes pro duel local pokes1 = getLivePokeballs(cid, getPlayerSlotItem(cid, 3).uid, true) local pokes2 = getLivePokeballs(sid, getPlayerSlotItem(sid, 3).uid, true) if #pokes1 < (channelId-12) or #pokes2 < (channelId-12) then local tpw = getPlayerStorageValue(cid, 52480) > 1 and "ally" or "opponent" doPlayerSendTextMessage(cid, 20, "You or your "..tpw.." doesn't have that amount of pokemons in their bags! Duel are canceled!") doPlayerSetVocation(cid, 1) for i = 1, #storagesDuel do setPlayerStorageValue(cid, storagesDuel[i], -1) end doCreatureSetSkullType(cid, 0) return false end ---------------- e sobre esta função "getLivePokeballs" está armazenada em some functions.lua em /lib. Segue a função "getLivePokeballs". function getLivePokeballs(cid, container, duel) --alterado v2.8 if not isCreature(cid) then return {} end if not isContainer(container) then return {} end local items = {} --- local ballSlot = getPlayerSlotItem(cid, 8) if ballSlot.uid ~= 0 then for a, b in pairs (pokeballs) do if ballSlot.itemid == b.on or ballSlot.itemid == b.use then if duel and getPlayerLevel(cid) >= (pokes[getItemAttribute(ballSlot.uid, "poke")].level + getPokeballBoost(ballSlot)) then table.insert(items, ballSlot.uid) --alterado v2.8 elseif not duel then table.insert(items, ballSlot.uid) end end end end --- if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getPokeballsInContainer(item.uid) for i=0, #itemsbag do if not isInArray(items, itemsbag[i]) then table.insert(items, itemsbag[i]) end end elseif isPokeball(item.itemid) then for a, b in pairs (pokeballs) do if item.itemid == b.on then if duel and getPlayerLevel(cid) >= (pokes[getItemAttribute(item.uid, "poke")].level + getPokeballBoost(item)) then table.insert(items, item.uid) --alterado v2.8 elseif not duel then table.insert(items, item.uid) end end end end end end return items end Grato desde já para quem me ajudar! Atenciosamente, Lucas.
-
Error Duel System
Resolvido. podem fechar o tópico!
-
Error Duel System
up
-
Error Duel System
Eai pessoal do TibiaKing. Estou com um grande problema aqui no meu Duelo System de PDA.. quando chamo um jogador para Duelo abre uma janela no chat mostrando a quantidade de players, exemplo: 1 x 1 e também abre uma janela mostrando a quantidade de pokemons que vai ser no duelo, exemplo: 6 x 6.. eu queria que ao chamar não abrisse janela alguma no chat. Alguem poderia me ajudar? segue uma foto mostrando o erro. INFO: TFS 0.3.6 Imagem 1 do Erro: Imagem 2 do Erro: Imagem 3 do Erro: up up
-
[POKETIBIA] FIGHTING PESCANDO
up
-
[POKETIBIA] FIGHTING PESCANDO
pda mano, não tenho muita experiência com script, teria algum de exemplo ai?
-
[POKETIBIA] FIGHTING PESCANDO
up
-
[POKETIBIA] FIGHTING PESCANDO
up alguem?
-
[POKETIBIA] FIGHTING PESCANDO
Olá TibiaKing, Gostaria de saber se algum de vocês poderiam me dizer como faço para quando eu pescar um pokemon dar battle para o meu summon sem eu dar target no pokemon pescado? Grato desde já!
-
[POKETIBIA] CONDITION_INFIGHT
up
-
Mudar Level do Wild
up
-
Mudar Level do Wild
up up
-
Mudar Level do Wild
up up
-
Mudar Level do Wild
Olá pessoal, Gostaria de saber se algum de vocês sabe me informar como faço para mudar apenas o level do pokemon Wild(Selvagem) e quando eu der catch nesse pokemon Wild ele vir com level padrão do configuration. Exemplo: deu respawn de um Charizard [250] matando esse charizard, taco a ball e pego, quero que ele não venha com mesmo level do Wild e sim da tabela em configuration.. como faço isso? Servidor que estou usando como base: Obs: já alterei o "WildLvlMin & WildLvlMax" e mesmo assim quando pego o pokemon ele vem com mesmo Level que estava antes de eu pegar. Linha de exemplo: ["Charizard"] = {offense = 11.5, defense = 10.5, specialattack = 13.5, vitality = 18, agility = 0.3, exp = 729, level = 75, wildLvlMin = 70, wildLvlMax = 75, type = "fire", type2 = "flying"}, Grato desde já.
-
[POKETIBIA] CONDITION_INFIGHT
up
-
[POKETIBIA] CONDITION_INFIGHT
Olá TibiaKing, Tudo beleza com vocês?! espero que sim. Bom, vamos ao que interessa.. gostaria de saber se algum de vocês saberiam fazer algo com que o Summon (Pokemon sumonado pelo player) pegasse condição de FIGHT também, ao invés de só o Player, ambos pegarem FIGHT. Grato desde já.
-
Bug no battle do pokemon
up
-
Order System
Obrigado aos que responderam. REP+ caso resolvido.