Ir para conteúdo

[Encerrado] [Pokemon] Dúvidas? - Pda


lucashgas

Posts Recomendados

Ta Ai O Move1

>

local msgs = {"use ", ""}

 

function doAlertReady(cid, id, movename, n, cd)

if not isCreature(cid) then return true end

local myball = getPlayerSlotItem(cid, 8)

if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!")

return true

end

local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid)

if not p or #p <= 0 then return true end

for a = 1, #p do

if getItemAttribute(p[a], cd) == "cd:"..id.."" then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!")

return true

end

end

end

 

function onSay(cid, words, param, channel)

 

 

if param ~= "" then return true end

if string.len(words) > 3 then return true end

 

if #getCreatureSummons(cid) == 0 then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.")

return 0

end

 

if getCreatureCondition(getCreatureSummons(cid)[1], CONDITION_INVISIBLE) and not isGhostPokemon(getCreatureSummons(cid)[1]) then

return 0

end

 

local mypoke = getCreatureSummons(cid)[1]

 

if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end

if getCreatureName(mypoke) == "Evolution" then return true end

 

local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke)

 

local it = string.sub(words, 2, 3)

local move = movestable[name].move1

local cdzin = "move"..it..""

 

if it == "2" then

move = movestable[name].move2

elseif it == "3" then

move = movestable[name].move3

elseif it == "4" then

move = movestable[name].move4

elseif it == "5" then

move = movestable[name].move5

elseif it == "6" then

move = movestable[name].move6

elseif it == "7" then

move = movestable[name].move7

elseif it == "8" then

move = movestable[name].move8

elseif it == "9" then

move = movestable[name].move9

elseif it == "10" then

move = movestable[name].move10

elseif it == "11" then

move = movestable[name].move11

elseif it == "12" then

move = movestable[name].move12

elseif it == "13" then

move = movestable[name].move13

end

 

if not move then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")

return true

end

 

if false and getLevel(mypoke) < move.level then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't have enough level to use this move.")

return 0

end

 

if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use this move again.")

return 0

end

 

if getTileInfo(getThingPos(mypoke)).protection then

doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.")

return 0

end

 

 

if move.target == 1 then

 

if not isCreature(getCreatureTarget(cid)) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.")

return 0

end

 

if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then

return 0

end

 

if getCreatureHealth(getCreatureTarget(cid)) <= 0 then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.")

return 0

end

 

if not isCreature(getCreatureSummons(cid)[1]) then

return true

end

 

if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.")

return 0

end

 

if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then

return 0

end

end

 

doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY)

 

local newid = 0

 

if isSleeping(mypoke) then

newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, 8)

doCreatureSay(mypoke, "zZzZ", TALKTYPE_MONSTER)

return 0

else

newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd)

end

 

if move.name ~= "Metronome" then

doCreatureSay(mypoke, ""..string.upper(move.name).."!", TALKTYPE_MONSTER)

end

 

addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin)

docastspell(mypoke, move.name)

doCreatureAddCondition(cid, playerexhaust)

 

if useKpdoDlls then

doUpdateCooldowns(cid)

end

 

return 0

end

 

 

 

Erro no Console >

[05:14:04] Lucas Morete: [Error - TalkAction Interface]

[30/01/2012 05:13:55] In a timer event called from:

[30/01/2012 05:13:55] data/talkactions/scripts/move1.lua:onSay

[30/01/2012 05:13:55] Description:

[30/01/2012 05:13:55] data/talkactions/scripts/move1.lua:6: attempt to concatenate local 'id' (a nil value)

[30/01/2012 05:13:55] stack traceback:

[30/01/2012 05:13:56] data/talkactions/scripts/move1.lua:6: in function <data/talkactions/scripts/move1.lua:3>

 

Link para o comentário
Compartilhar em outros sites

Cara teu erro ta nas primeiras linhas :

function doAlertReady(cid, id, movename, n, cd)
if not isCreature(cid) then return true end
local myball = getPlayerSlotItem(cid, 8)
if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!")
return true
end

Esse erro é de quando pokemon usa m1 e da o alertar de quando está ready pra usar denovo, como tu ja deve te notado quando agente troca de pokemon o move que mostra ready ta com o nome trocado tipo
Rattata usa m1 você tira ele e poem magikarp
ai em vez de aparecer o
Rattata - Agility is ready-
vai aparecer
Magikarp - agility is ready-
Só tirando mesmo essa parte do script que eu acho que vai tirar o cd ready a todo caso tente:

 

 

local msgs = {"use ", ""}

 

local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid)

if not p or #p <= 0 then return true end

for a = 1, #p do

if getItemAttribute(p[a], cd) == "cd:"..id.."" then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!")

return true

end

end

end

 

function onSay(cid, words, param, channel)

 

 

if param ~= "" then return true end

if string.len(words) > 3 then return true end

 

if #getCreatureSummons(cid) == 0 then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.")

return 0

end

 

if getCreatureCondition(getCreatureSummons(cid)[1], CONDITION_INVISIBLE) and not isGhostPokemon(getCreatureSummons(cid)[1]) then

return 0

end

 

local mypoke = getCreatureSummons(cid)[1]

 

if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end

if getCreatureName(mypoke) == "Evolution" then return true end

 

local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke)

 

local it = string.sub(words, 2, 3)

local move = movestable[name].move1

local cdzin = "move"..it..""

 

if it == "2" then

move = movestable[name].move2

elseif it == "3" then

move = movestable[name].move3

elseif it == "4" then

move = movestable[name].move4

elseif it == "5" then

move = movestable[name].move5

elseif it == "6" then

move = movestable[name].move6

elseif it == "7" then

move = movestable[name].move7

elseif it == "8" then

move = movestable[name].move8

elseif it == "9" then

move = movestable[name].move9

elseif it == "10" then

move = movestable[name].move10

elseif it == "11" then

move = movestable[name].move11

elseif it == "12" then

move = movestable[name].move12

elseif it == "13" then

move = movestable[name].move13

end

 

if not move then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.")

return true

end

 

if false and getLevel(mypoke) < move.level then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't have enough level to use this move.")

return 0

end

 

if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use this move again.")

return 0

end

 

if getTileInfo(getThingPos(mypoke)).protection then

doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.")

return 0

end

 

 

if move.target == 1 then

 

if not isCreature(getCreatureTarget(cid)) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.")

return 0

end

 

if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then

return 0

end

 

if getCreatureHealth(getCreatureTarget(cid)) <= 0 then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.")

return 0

end

 

if not isCreature(getCreatureSummons(cid)[1]) then

return true

end

 

if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.")

return 0

end

 

if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then

return 0

end

end

 

doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY)

 

local newid = 0

 

if isSleeping(mypoke) then

newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, 8)

doCreatureSay(mypoke, "zZzZ", TALKTYPE_MONSTER)

return 0

else

newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd)

end

 

if move.name ~= "Metronome" then

doCreatureSay(mypoke, ""..string.upper(move.name).."!", TALKTYPE_MONSTER)

end

 

addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin)

docastspell(mypoke, move.name)

doCreatureAddCondition(cid, playerexhaust)

 

if useKpdoDlls then

doUpdateCooldowns(cid)

end

 

return 0

end

 

 

@pLoshvisk irei te ajudar com esse ip mas você sera obrigado a postar os shinys para todo mundo Aguarde.

Editado por SoulOroshie
Link para o comentário
Compartilhar em outros sites

@SoulOroshie apareceu milhoooeess de bugs agr, sem contar q os moves pararam de funcionar ;s

 

 

[30/01/2012 15:15:39] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/move1.lua:11: '<eof>' expected near 'end'

[30/01/2012 15:15:39] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/move1.lua)

[30/01/2012 15:15:39] data/talkactions/scripts/move1.lua:11: '<eof>' expected near 'end'

[30/01/2012 15:15:39] [Error - LuaScriptInterface::loadFile] data/talkactions/scripts/move1.lua:11: '<eof>' expected near 'end'

[30/01/2012 15:15:39] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/move1.lua)

[30/01/2012 15:15:39] data/talkactions/scripts/move1.lua:11: '<eof>' expected near 'end'

 

Link para o comentário
Compartilhar em outros sites

Bom acho melhor então você usar o do 1º post desse tópico oque ja é do servidor que aqui não da esse erro.

:( Se alguem conseguir arrumar poste :

 

@pLoshvisk

Esta aqui o seu client com seu ip, você tem 24hrs para postar os portraits shinys.

Se quiser pode postars os shinys tbm mas a todo caso eu ja os tenho.

Estamos no aguardo.

 

http://www.filebox.com/ws8ev96mnn3v

Editado por SoulOroshie
Link para o comentário
Compartilhar em outros sites

@all

ae galera.. terminei de editar a skill passiva, swords dance/"giro ball", dos pokes scyther, shiny scyther, hitmontop, forretress, pineco...

caso de algum erro me avise.. e esperando alguem q entenda os scripts do brun123 pra deixar essa passiva 100% ;p

LEMBRANDO: esse script eh pra servir de base pra vcs... ele n esta 100%

Detalhes:
  ●Script esta funcional mas n esta 100%...
  ●E so esta funcionando em pokes selvagens.. pois n sei como funciona o sistema de pokes de player...
  ●Eu n sei como funciona o sistema de dano nesse serv entao coloquei qlqr coisa.. quem for usar tem q arruma a parte do dano...  
  ●Esses IDs de outfits do script sao referentes ao .dat e .spr do novo sistema de portrait q postaram aki... n me recordo quem foi q fez.. desculpe... entao caso seu .dat ou .spr sejam diferentes altere as outfits...

 

 

1* vá a pasta spells/scripts/ ... e crie uma pasta chamada "passivas" ... ficando spells/scripts/passivas .. crie um novo documento .lua e cole isso dentro...

 

 

function getThingPosWithDebug(what)

if not isCreature(what) or getCreatureHealth(what) <= 0 then

return {x = 1, y = 1, z = 1}

end

return getThingPos(what)

end

 

-- [outfit normal] = {out = outfit girando, efeitos}

local OutFit = {

[366] = {out = 496, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --scyther

[912] = {out = 918, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --Scizor

[1317] = {out = 849, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --Shiny Scyther

[952] = {out = 1193, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --Hitmontop

[909] = {out = 1194, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --pineco

[910] = {out = 1192, cima = 128, direita = 129, esquerda = 130, baixo = 131}, --Forretress

}

 

--acima do efeito 255 n aparece -pelo menos aki- entao fica esse por enquanto... ;x

--efeito vermelho => {cima = 261, direita = 263, esquerda = 264, baixo = 262}

function onCastSpell(cid, var)

if getPlayerStorageValue(cid, 32623) == 1 then --proteçao pra n usar a spell 2x seguidas...

return false

end

 

local outfitt = OutFit[getCreatureOutfit(cid).lookType]

local function doWingAttack(cid, a, damage, min, max)

local damagearea = {}

local effectpos = getThingPosWithDebug(cid)

local effect = 255

if a == 0 then

effect = outfitt.cima

effectpos.x = effectpos.x + 1

effectpos.y = effectpos.y - 1

damagearea = wingdn

elseif a == 1 then

effect = outfitt.direita

effectpos.x = effectpos.x + 2

effectpos.y = effectpos.y + 1

damagearea = wingde

elseif a == 2 then

effect = outfitt.baixo

effectpos.x = effectpos.x + 1

effectpos.y = effectpos.y + 2

damagearea = wingds

elseif a == 3 then

effect = outfitt.esquerda

effectpos.x = effectpos.x - 1

effectpos.y = effectpos.y + 1

damagearea = wingdw

end

doSendMagicEffect(effectpos, effect)

if damage then

if getCreatureOutfit(cid).lookType == (366 or 1317) then --scyther e shiny scyther

doAreaCombatHealth(cid, FLYINGDAMAGE, getThingPosWithDebug(cid), damagearea, -min, -max, CONST_ME_NONE)

elseif getCreatureOutfit(cid).lookType == 952 then --hitmontop

doAreaCombatHealth(cid, FIGHTINGDAMAGE, getThingPosWithDebug(cid), damagearea, -min, -max, CONST_ME_NONE)

else --resto

doAreaCombatHealth(cid, STEELDAMAGE, getThingPosWithDebug(cid), damagearea, -min, -max, CONST_ME_NONE)

end

end

end

 

local dire = getCreatureLookDir(cid)

local cpos = getThingPosWithDebug(cid)

local min = getWildPokemonLevel(cid)*10 --nao sei como funciona o sistema de dano...

local max = getWildPokemonLevel(cid)*15 --nao sei como funciona o sistema de dano...

 

setPlayerStorageValue(cid, 32623, 1) --proteçao

doSetCreatureOutfit(cid, {lookType = OutFit[getCreatureOutfit(cid).lookType].out}, -1)

 

local function doDance(cid, dir, damage, min, max)

if not isCreature(cid) then return true end

doCreatureSetLookDir(cid, dir)

doWingAttack(cid, dir, damage, min, max)

end

 

for times = 0, 5 do

for directions = 0, 3 do

addEvent(doDance, times * 300, cid, directions, true, min, max)

end

end

 

local function doChangeO(cid, dir, pos)

if not isCreature(cid) then return true end

setPlayerStorageValue(cid, 32623, 0) --proteçao

doRemoveCondition(cid, CONDITION_OUTFIT)

if getThingPosWithDebug(cid).x == pos.x and getThingPosWithDebug(cid).y == pos.y then

doCreatureSetLookDir(cid, dir)

end

end

 

addEvent(doChangeO, 5 * 300 + 10, cid, dire, cpos)

end

 

 

depois volte na pasta spells e abra o spells.xml e cole isso ... antes de </spells>

 

 

<instant name="Sword Dance" words="spell270" lvl="1000" mana="0" event="script" value="passivas/Sword Dance.lua"></instant>

 

 

e por ultimo.. va na pasta monster/pokes e abra um desses pokes {Scyther, Shiny Scyther, hitmontop, Forretress, Pineco} e coloque isso na parte de "defense" do poke.. PS: altere a "chance" como vc preferir...

 

 

<defenses armor="0" defense="0">

<defense name="Sword Dance" interval="1000" chance="24" min="90" max="120">

</defense>

</defenses>

 

 

ficando assim.. Exemplo do Scyther...

 

 

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Scyther" nameDescription="a scyther" race="bug" experience="1044" speed="177" manacost="0">

<health now="110" max="110"/>

<look type="366" head="55" body="80" legs="95" feet="113" corpse="11958"/>

<targetchange interval="10000" chance="0"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="1"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="1"/>

<flag staticattack="97"/>

<flag runonhealth="0"/>

<flag hungerdelay="20"/>

</flags>

<attacks>

<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>

<attack name="Quick Attack" interval="2570" chance="31" range="2"/>

<attack name="Slash" interval="2852" chance="29" range="1"/>

<attack name="Wing Attack" interval="3322" chance="26" range="6"/>

<attack name="Fury Cutter" interval="3040" chance="28" range="1"/>

<attack name="Agility" interval="6330" chance="17" range="6"/>

<attack name="Razor Wind" interval="3040" chance="28" range="6"/>

<attack name="Swords Dance" interval="4403" chance="20" range="6"/>

<attack name="X-Scissor" interval="3698" chance="24" range="1"/>

</attacks>

<defenses armor="0" defense="0">

<defense name="Sword Dance" interval="1000" chance="24" min="90" max="120">

</defense>

</defenses>

<voices interval="5000" chance="10">

<voice sentence="SCYTHER!"/>

</voices>

<loot>

<item id="12171" chance="10000" count="1" countmax="1"/>

<item id="11448" chance="100" count="1" countmax="1"/>

<item id="12167" chance="10000" count="1" countmax="1"/>

</loot>

<script>

<event name="Spawn"/>

</script>

</monster>

 

 

 

 

 

não deu certo desculpe so aparece shiny scyther girando >_>

Link para o comentário
Compartilhar em outros sites

Bom acho melhor então você usar o do 1º post desse tópico oque ja é do servidor que aqui não da esse erro.

:( Se alguem conseguir arrumar poste :

 

@pLoshvisk

Esta aqui o seu client com seu ip, você tem 24hrs para postar os portraits shinys.

Se quiser pode postars os shinys tbm mas a todo caso eu ja os tenho.

Estamos no aguardo.

 

http://www.filebox.com/ws8ev96mnn3v

portrait shiny tem noo novo cliente que tem portrait novas e so ir no dat editor e adicionar no itemeditor ^^

Link para o comentário
Compartilhar em outros sites

Bom acho melhor então você usar o do 1º post desse tópico oque ja é do servidor que aqui não da esse erro.

:( Se alguem conseguir arrumar poste :

 

@pLoshvisk

Esta aqui o seu client com seu ip, você tem 24hrs para postar os portraits shinys.

Se quiser pode postars os shinys tbm mas a todo caso eu ja os tenho.

Estamos no aguardo.

 

http://www.filebox.com/ws8ev96mnn3v

portrait shiny tem noo novo cliente que tem portrait novas e so ir no dat editor e adicionar no itemeditor ^^

 

Kra ele fala os 151 shinys portraits parece que vc nem entende a converça --'

Link para o comentário
Compartilhar em outros sites

Bom acho melhor então você usar o do 1º post desse tópico oque ja é do servidor que aqui não da esse erro.

:( Se alguem conseguir arrumar poste :

 

@pLoshvisk

Esta aqui o seu client com seu ip, você tem 24hrs para postar os portraits shinys.

Se quiser pode postars os shinys tbm mas a todo caso eu ja os tenho.

Estamos no aguardo.

 

http://www.filebox.com/ws8ev96mnn3v

portrait shiny tem noo novo cliente que tem portrait novas e so ir no dat editor e adicionar no itemeditor ^^

 

Kra ele fala os 151 shinys portraits parece que vc nem entende a converça --'

 

meu filho la tem so procura eu fiz nos meus '--

@Mapperotpoketibia

vc deve estar usando um .dat e .spr diferente do meu... eh soh trocar as outfits na tabela...

 

a ropa deles firando e o mesmo looktype

Link para o comentário
Compartilhar em outros sites

Alguem poderia me passar o Item.OTB item.XML com os corps arrumado? sempre que eu to tentando arruma da bug pela 3 vez ja :S

 

 

 

e queria saber quando o brun123 ira postar oque ele ta fazendo? ;S

Editado por Guinhoololzin
Link para o comentário
Compartilhar em outros sites

Alguem poderia me passar o Item.OTB item.XML com os corps arrumado? sempre que eu to tentando arruma da bug pela 3 vez ja :S

 

 

 

e queria saber quando o brun123 ira postar oque ele ta fazendo? ;S

 

kara pra voce evita isso faz um backup

Link para o comentário
Compartilhar em outros sites

sinceramente não creio que o brun123 irá continuar postando atualizações mas...vamos esperar né!

 

 

 

@Mapperotpoketibia

 

 

Aprendeu hein a criar restauração '-'

 

 

 

@jeffe000

 

 

Todos os pokemon da versão _f já estão configurados dessa forma.

Editado por WPR
Link para o comentário
Compartilhar em outros sites

Como prometido, vocês me ajudaram agora minha vez de ajudar vocês!

 

- Arrumando barra de Pokemon

 

Abra o configuration.lua dentro da pasta "...\data\lib"

 

e ADICIONE este codigo no final.

 

 

 

barracd = {

["Bulbasaur"] = 11989,

["Ivysaur"] = 11990,

["Venusaur"] = 11991,

["Charmander"] = 11992,

["Charmeleon"] = 11993,

["Charizard"] = 11994,

["Squirtle"] = 11995,

["Wartortle"] = 11996,

["Blastoise"] = 11997,

["Caterpie"] = 11998,

["Metapod"] = 11999,

["Butterfree"] = 12000,

["Weedle"] = 12001,

["Kakuna"] = 12002,

["Beedrill"] = 12003,

["Pidgey"] = 12004,

["Pidgeotto"] = 12005,

["Pidgeot"] = 12006,

["Rattata"] = 12007,

["Raticate"] = 12008,

["Spearow"] = 12009,

["Fearow"] = 12010,

["Ekans"] = 12011,

["Arbok"] = 12012,

["Pikachu"] = 12013,

["Raichu"] = 12014,

["Sandshrew"] = 12015,

["Sandslash"] = 12016,

["Nidoran Female"] = 12017,

["Nidorina"] = 12018,

["Nidoqueen"] = 12019,

["Nidoran Male"] = 12020,

["Nidorino"] = 12021,

["Nidoking"] = 12022,

["Clefairy"] = 12023,

["Clefable"] = 12024,

["Vulpix"] = 12025,

["Ninetales"] = 12026,

["Jigglypuff"] = 12027,

["Wigglytuff"] = 12028,

["Zubat"] = 12029,

["Golbat"] = 12030,

["Oddish"] = 12031,

["Gloom"] = 12032,

["Vileplume"] = 12033,

["Paras"] = 12034,

["Parasect"] = 12035,

["Venonat"] = 12036,

["Venomoth"] = 12037,

["Diglett"] = 12038,

["Dugtrio"] = 12039,

["Meowth"] = 12040,

["Persian"] = 12041,

["Psyduck"] = 12042,

["Golduck"] = 12043,

["Mankey"] = 12044,

["Primeape"] = 12045,

["Growlithe"] = 12046,

["Arcanine"] = 12047,

["Poliwag"] = 12048,

["Poliwhirl"] = 12049,

["Poliwrath"] = 12050,

["Abra"] = 12051,

["Kadabra"] = 12052,

["Alakazam"] = 12053,

["Machop"] = 12054,

["Machoke"] = 12055,

["Machamp"] = 12056,

["Bellsprout"] = 12057,

["Weepinbell"] = 12058,

["Victreebel"] = 12059,

["Tentacool"] = 12060,

["Tentacruel"] = 12061,

["Geodude"] = 12062,

["Graveler"] = 12063,

["Golem"] = 12064,

["Ponyta"] = 12065,

["Rapidash"] = 12066,

["Slowpoke"] = 12067,

["Slowbro"] = 12068,

["Magnemite"] = 12069,

["Magneton"] = 12070,

["Farfetch'd"] = 12071,

["Doduo"] = 12072,

["Dodrio"] = 12073,

["Seel"] = 12074,

["Dewgong"] = 12075,

["Grimer"] = 12076,

["Muk"] = 12077,

["Shellder"] = 12078,

["Cloyster"] = 12079,

["Gastly"] = 12080,

["Haunter"] = 12081,

["Gengar"] = 12082,

["Onix"] = 12083,

["Drowzee"] = 12084,

["Hypno"] = 12085,

["Krabby"] = 12086,

["Kingler"] = 12087,

["Voltorb"] = 12088,

["Electrode"] = 12089,

["Exeggcute"] = 12090,

["Exeggutor"] = 12091,

["Cubone"] = 12092,

["Marowak"] = 12093,

["Hitmonlee"] = 12094,

["Hitmonchan"] = 12095,

["Lickitung"] = 12096,

["Koffing"] = 12097,

["Weezing"] = 12098,

["Rhyhorn"] = 12099,

["Rhydon"] = 12100,

["Chansey"] = 12101,

["Tangela"] = 12102,

["Kangaskhan"] = 12103,

["Horsea"] = 12104,

["Seadra"] = 12105,

["Goldeen"] = 12106,

["Seaking"] = 12107,

["Staryu"] = 12108,

["Starmie"] = 12109,

["Mr. Mime"] = 12110,

["Scyther"] = 12111,

["Jynx"] = 12112,

["Electabuzz"] = 12113,

["Magmar"] = 12114,

["Pinsir"] = 12115,

["Tauros"] = 12116,

["Magikarp"] = 12117,

["Gyarados"] = 12118,

["Lapras"] = 12119,

["Ditto"] = 12120,

["Eevee"] = 12121,

["Vaporeon"] = 12122,

["Jolteon"] = 12123,

["Flareon"] = 12124,

["Porygon"] = 12125,

["Omanyte"] = 12126,

["Omastar"] = 12127,

["Kabuto"] = 12128,

["Kabutops"] = 12129,

["Aerodactyl"] = 12130,

["Snorlax"] = 12131,

["Articuno"] = 12132,

["Zapdos"] = 12133,

["Moltres"] = 12134,

["Dratini"] = 12135,

["Dragonair"] = 12136,

["Dragonite"] = 12137,

["Mewtwo"] = 12138,

["Mew"] = 12139,

["Shiny Bulbasaur"] = 11154,

["Shiny Ivysaur"] = 11155,

["Shiny Venusaur"] = 11156,

["Shiny Charmander"] = 11157,

["Shiny Charmeleon"] = 11158,

["Shiny Charizard"] = 11159,

["Shiny Squirtle"] = 11160,

["Shiny Wartortle"] = 11161,

["Shiny Blastoise"] = 11162,

["Shiny Caterpie"] = 11163,

["Shiny Metapod"] = 11164,

["Shiny Butterfree"] = 11165,

["Shiny Weedle"] = 11166,

["Shiny Kakuna"] = 11167,

["Shiny Beedrill"] = 11168,

["Shiny Pidgey"] = 11169,

["Shiny Pidgeotto"] = 11170,

["Shiny Pidgeot"] = 11171,

["Shiny Rattata"] = 11172,

["Shiny Raticate"] = 11173,

["Shiny Spearow"] = 11174,

["Shiny Fearow"] = 11175,

["Shiny Ekans"] = 11176,

["Shiny Arbok"] = 11177,

["Shiny Pikachu"] = 11178,

["Shiny Raichu"] = 11179,

["Shiny Sandshrew"] = 11180,

["Shiny Sandslash"] = 11181,

["Shiny Nidoran Female"] = 11182,

["Shiny Nidorina"] = 11183,

["Shiny Nidoqueen"] = 11184,

["Shiny Nidoran Male"] = 11185,

["Shiny Nidorino"] = 11186,

["Shiny Nidoking"] = 11187,

["Shiny Clefairy"] = 11188,

["Shiny Clefable"] = 11189,

["Shiny Vulpix"] = 11190,

["Shiny Ninetales"] = 11191,

["Shiny Jigglypuff"] = 11192,

["Shiny Wigglytuff"] = 11193,

["Shiny Zubat"] = 11194,

["Shiny Golbat"] = 11195,

["Shiny Oddish"] = 11196,

["Shiny Gloom"] = 11197,

["Shiny Vileplume"] = 11198,

["Shiny Paras"] = 11199,

["Shiny Parasect"] = 11200,

["Shiny Venonat"] = 11201,

["Shiny Venomoth"] = 11202,

["Shiny Diglett"] = 11203,

["Shiny Dugtrio"] = 11204,

["Shiny Meowth"] = 11205,

["Shiny Persian"] = 11206,

["Shiny Psyduck"] = 11207,

["Shiny Golduck"] = 11208,

["Shiny Mankey"] = 11209,

["Shiny Primeape"] = 11210,

["Shiny Growlithe"] = 11211,

["Shiny Arcanine"] = 11212,

["Shiny Poliwag"] = 11213,

["Shiny Poliwhirl"] = 11214,

["Shiny Poliwrath"] = 11215,

["Shiny Abra"] = 11216,

["Shiny Kadabra"] = 11217,

["Shiny Alakazam"] = 11218,

["Shiny Machop"] = 11219,

["Shiny Machoke"] = 11220,

["Shiny Machamp"] = 11221,

["Shiny Bellsprout"] = 11222,

["Shiny Weepinbell"] = 11223,

["Shiny Victreebel"] = 11224,

["Shiny Tentacool"] = 11225,

["Shiny Tentacruel"] = 11226,

["Shiny Geodude"] = 11227,

["Shiny Graveler"] = 11228,

["Shiny Golem"] = 11229,

["Shiny Ponyta"] = 11230,

["Shiny Rapidash"] = 11231,

["Shiny Slowpoke"] = 11232,

["Shiny Slowbro"] = 11233,

["Shiny Magnemite"] = 11234,

["Shiny Magneton"] = 11235,

["Shiny Farfetch'd"] = 11236,

["Shiny Doduo"] = 11237,

["Shiny Dodrio"] = 11238,

["Shiny Seel"] = 11239,

["Shiny Dewgong"] = 11240,

["Shiny Grimer"] = 11241,

["Shiny Muk"] = 11242,

["Shiny Shellder"] = 11243,

["Shiny Cloyster"] = 11244,

["Shiny Gastly"] = 11245,

["Shiny Haunter"] = 11246,

["Shiny Gengar"] = 11247,

["Shiny Onix"] = 11248,

["Shiny Drowzee"] = 11249,

["Shiny Hypno"] = 11250,

["Shiny Krabby"] = 11251,

["Shiny Kingler"] = 11252,

["Shiny Voltorb"] = 11253,

["Shiny Electrode"] = 11254,

["Shiny Exeggcute"] = 11255,

["Shiny Exeggutor"] = 11256,

["Shiny Cubone"] = 11257,

["Shiny Marowak"] = 11258,

["Shiny Hitmonlee"] = 11259,

["Shiny Hitmonchan"] = 11260,

["Shiny Lickitung"] = 11261,

["Shiny Koffing"] = 11262,

["Shiny Weezing"] = 11263,

["Shiny Rhyhorn"] = 11264,

["Shiny Rhydon"] = 11265,

["Shiny Chansey"] = 11266,

["Shiny Tangela"] = 11267,

["Shiny Kangaskhan"] = 11268,

["Shiny Horsea"] = 11269,

["Shiny Seadra"] = 11270,

["Shiny Goldeen"] = 11271,

["Shiny Seaking"] = 11272,

["Shiny Staryu"] = 11273,

["Shiny Starmie"] = 11274,

["Shiny Mr. Mime"] = 11275,

["Shiny Scyther"] = 11276,

["Shiny Jynx"] = 11277,

["Shiny Electabuzz"] = 11278,

["Shiny Magmar"] = 11279,

["Shiny Pinsir"] = 11280,

["Shiny Tauros"] = 11281,

["Shiny Magikarp"] = 11282,

["Shiny Gyarados"] = 11283,

["Shiny Lapras"] = 11284,

["Shiny Ditto"] = 11285,

["Shiny Eevee"] = 11286,

["Shiny Vaporeon"] = 11287,

["Shiny Jolteon"] = 11288,

["Shiny Flareon"] = 11289,

["Shiny Porygon"] = 11290,

["Shiny Omanyte"] = 11291,

["Shiny Omastar"] = 11292,

["Shiny Kabuto"] = 11293,

["Shiny Kabutops"] = 11294,

["Shiny Aerodactyl"] = 11295,

["Shiny Snorlax"] = 11296,

["Shiny Articuno"] = 11297,

["Shiny Zapdos"] = 11298,

["Shiny Moltres"] = 11299,

["Shiny Dratini"] = 11300,

["Shiny Dragonair"] = 11301,

["Shiny Dragonite"] = 11302,

["Shiny Mewtwo"] = 11303,

["Shiny Mew"] = 11304}

 

 

 

Agora abra o cooldown bar.lua dentro da pasta "...\data\lib" e mude

 

 

local foto = fotos[name] - 928

 

 

para

 

 

local foto = barracd[name] - 928

 

Ajudei?

 

REP+

 

Quer entrar no Pokemon Start?

 

Adicione no msn "ploshvisk@hotmail.com", ja estamos com dominio .com.br!

Editado por pLoshvisk
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...