Ir para conteúdo

Posts Recomendados

Em 12/04/2015 em 16:53, gabrielbsales disse:

Bom, como um individuo(Vudi) não sabe cumprir o que fala, vou postar o sistema aqui.(não cabe ao post explicar aqui)
Bom, aqui está o smeargle system, igual o da PxG. Vamos lá.

1 - Vá na pasta Lib, substitua seu cooldown bar.lua por isso:

  Mostrar conteúdo oculto

 



function getPlayerPokeballs(cid)                                   --alterado v1.9 \/
local ret = {}
local container = 0

if isCreature(cid) then
   container = getPlayerSlotItem(cid, 3).uid
   local myball = getPlayerSlotItem(cid, 8)
   if myball.uid > 0 then
      table.insert(ret, myball)
   end
else
   container = cid
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 = getPlayerPokeballs(item.uid)
          if itemsbag and #itemsbag > 0 then
             for i = 0, #itemsbag do
                 table.insert(ret, itemsbag[i])
             end
          end
       elseif isPokeball(item.itemid) then
          table.insert(ret, item)
       end
   end
end
return ret
end

function doUpdatePokemonsBar(cid)
if not isCreature(cid) then return true end
if getPlayerStorageValue(cid, 656494) > 0 then
return true
end
setPlayerStorageValue(cid, 656494, 1000)
addEvent(setPlayerStorageValue, 100, cid, 656494, -1)

local ret = {}
table.insert(ret, "p#,")
local balls = getPlayerPokeballs(cid)
local times = 0
for a = 1, #balls do
    local item = balls[a]
    local hp = math.ceil(getItemAttribute(item.uid, "hp") * 100)
    local name = getItemAttribute(item.uid, "poke")
    local port = getPlayerSlotItem(cid, CONST_SLOT_LEGS) 
    if fotos[name] >= 11137 and fotos[name] <= 11387 then
       times = times + 1
       local foto = fotos[name] - 911
       doItemSetAttribute(item.uid, "ballorder", times)
       table.insert(ret, foto..","..name..""..times..","..hp..",")                
    elseif fotos[name] >= 12605 then                                           
       times = times + 1                                                      
       local foto = fotos[name] - 1178  --alterado v1.9 
       doItemSetAttribute(item.uid, "ballorder", times)
       table.insert(ret, foto..","..name..""..times..","..hp..",")
    else
       times = times + 1
       local foto = fotos[name] - 928
       doItemSetAttribute(item.uid, "ballorder", times)
       table.insert(ret, foto..","..name..""..times..","..hp..",")
    end
end
doPlayerSendCancel(cid, table.concat(ret))
end

function getNewMoveTable(table, n)
if table == nil or not n then return false end
local moves = {table.move1, table.move2, table.move3, table.move4, table.move5, table.move6, table.move7, table.move8, table.move9,
table.move10, table.move11, table.move12}

return moves[n] or false
end


function doUpdateMoves(cid)
if not isCreature(cid) then return true end
local summon = getCreatureSummons(cid)[1]
local ret = {}
table.insert(ret, "12&,")
if not summon then
   for a = 1, 12 do
       table.insert(ret, "n/n,")
   end
   doPlayerSendCancel(cid, table.concat(ret))
   addEvent(doUpdateCooldowns, 100, cid)
return true
end
if isTransformed(summon) then  --alterado v1.9
   moves = movestable[getPlayerStorageValue(summon, 1010)]
else                                                       
   moves = getCreatureName(summon) == "Smeargle" and getSmeargleMoveTable(cid) or movestable[getCreatureName(summon)]
end
for a = 1, 12 do
    local b = getNewMoveTable(moves, a)
    if b then
       table.insert(ret, (b.name:find("Sketch") and "Sketch" or b.name)..",")
    else
       table.insert(ret, "n/n,")
    end
end
doPlayerSendCancel(cid, table.concat(ret))
addEvent(doUpdateCooldowns, 100, cid)
end

function doUpdateCooldowns(cid)
if not isCreature(cid) then return true end
local a = getPlayerSlotItem(cid, 8)
local ret = {}
table.insert(ret, "12|,")
if a.uid <= 0 or #getCreatureSummons(cid) <= 0 then
   for cds = 1, 12 do
       if useOTClient then table.insert(ret, "-1|0,") else table.insert(ret, "-1,") end  
   end
   doPlayerSendCancel(cid, table.concat(ret))
return true
end
for cds = 1, 12 do                                                         
    ----
    local summon = getCreatureSummons(cid)[1]
    if summon and getPlayerStorageValue(summon, 212123) >= 1 then
       cdzin = "cm_move"..cds
    else                       
       cdzin = "move"..cds
    end
    ----
    if isTransformed(summon) then  --alterado v1.9
       moves = movestable[getPlayerStorageValue(summon, 1010)]
    else                                                       
       moves = movestable[getCreatureName(summon)]
    end
    local b = getNewMoveTable(moves, cds)
    if not b then
       for cds = 1, 12 do
           if useOTClient then table.insert(ret, "-1|0,") else table.insert(ret, "-1,") end   --alterado v1.9
       end
       doPlayerSendCancel(cid, table.concat(ret))
    return true
    end
    ----
    if getCD(a.uid, cdzin) > 0 then
       if (useOTClient and b) then table.insert(ret, (getCD(a.uid, cdzin)).."|"..(1)..",") else table.insert(ret, (getCD(a.uid, cdzin))..",") end
    else
       if (useOTClient and b) then table.insert(ret, "0|"..(1)..",") else table.insert(ret, "0,") end  
    end
end
doPlayerSendCancel(cid, table.concat(ret))                                             
end

function getBallsAttributes(item)
local t = {"poke", "gender", "nick", "boost", "happy", "hp", "description", "transBegin", "hunger", "transLeft", "transTurn", "transOutfit", "transName", 
"trans", "light", "blink", "move1", "move2", "move3", "move4", "move5", "move6", "move7", "move8", "move9", "move10", "move11", "move12", "ballorder", 
"hands", "aura", "burn", "burndmg", "poison", "poisondmg", "confuse", "sleep", "miss", "missSpell", "missEff", "fear", "fearSkill", "silence", 
"silenceEff", "stun", "stunEff", "stunSpell", "paralyze", "paralyzeEff", "slow", "slowEff", "leech", "leechdmg", "Buff1", "Buff2", "Buff3", "Buff1skill",
"Buff2skill", "Buff3skill", "control", "unique", "task", "lock"} 
local ret = {}
for a = 1, #t do
if getItemAttribute(item, t[a]) == "hands" then
return
end
ret[t[a]] = getItemAttribute(item, t[a]) or false
end
return ret
end

function doChangeBalls(cid, item1, item2)
if not isCreature(cid) then return true end
if item1.uid == item2.uid then
   if #getCreatureSummons(cid) <= 0 then
      doGoPokemon(cid, getPlayerSlotItem(cid, 8))
   else
      doReturnPokemon(cid, getCreatureSummons(cid)[1], getPlayerSlotItem(cid, 8), pokeballs[getPokeballType(getPlayerSlotItem(cid, 8).itemid)].effect)
   end
return true
end

if item1.uid > 0 and item2.uid > 0 then
   local io = getBallsAttributes(item1.uid)
   local it = getBallsAttributes(item2.uid)
   for a, b in pairs (io) do
       if b then
          doItemSetAttribute(item2.uid, a, b)
       else
          doItemEraseAttribute(item2.uid, a)
       end
   end
   for a, b in pairs (it) do
       if b then
          doItemSetAttribute(item1.uid, a, b)
       else
          doItemEraseAttribute(item1.uid, a)
       end
   end
   local id = item2.itemid
   doTransformItem(item2.uid, item1.itemid)
   doTransformItem(item1.uid, id)
   doGoPokemon(cid, getPlayerSlotItem(cid, 8))
else
   local id = item2.itemid
   local b = getBallsAttributes(item2.uid)
   local a = doPlayerAddItem(cid, 2643, false)
   for c, d in pairs (b) do
       if d then
          doItemSetAttribute(a, c, d)
       else
          doItemEraseAttribute(a, c)
       end
   end
   doRemoveItem(item2.uid, 1)
   doTransformItem(a, id)
   doGoPokemon(cid, getPlayerSlotItem(cid, 8))
end
end 

 

 

2 - Ainda no Lib, no fim(depois do ultimo end) do Some Functions.lua, adicione isso:

  Mostrar conteúdo oculto

 



function getSmeargleMoveTable(master)
  local ball = getPlayerSlotItem(master, 8).uid
  local moves = {}
  local skts = {"skt1", "skt2", "skt3", "skt4", "skt5", "skt6", "skt7", "skt8"}
  for x=1, #skts do
    moves["move"..x] = getItemAttribute(ball, skts[x]) and movestable[getItemAttribute(ball, skts[x])]["move"..x] and movestable[getItemAttribute(ball, skts[x])]["move"..x] ~= -1 and movestable[getItemAttribute(ball, skts[x])]["move"..x] or movestable["Smeargle"]["move"..x]
  end
  return moves
  end

function smeargleHaveSpell(cid, spellname)
local has = false
local moves = getSmeargleMoveTable(cid)
 local ball = getPlayerSlotItem(cid, 8).uid
local skts = {"skt1", "skt2", "skt3", "skt4", "skt5", "skt6", "skt7", "skt8"}
for x=1, #skts do
if getItemAttribute(ball, skts[x]) and moves["move"..x].name == spellname then
has = true
break
end
end
return has
end 

 

 

3 - Agora no order.lua, do Actions, em baixo de:

 

  Mostrar conteúdo oculto

 



if getTileThingByPos(checkpos).uid <= 0 then return true end

 

 

Adicione:

  Mostrar conteúdo oculto

 




 
--------SKETCH---------------
local lockedpokes = {"Mew", "Mewtwo", "Unown Legion", "Entei", "Raikou", "Suicune", "Zapdos", "Moltres", "Articuno", "Rocket Team", "Unown", "Lugia", "Celebi", "Ho-oh", "Mew_", "Mewtwo_"}
if isPlayer(cid) and #getCreatureSummons(cid) > 0 and getCreatureName(getCreatureSummons(cid)[1]) == "Smeargle" and getPlayerStorageValue(getCreatureSummons(cid)[1], 18554) > 0 then
if isMonster(item2.uid) and isInArray(lockedpokes, getCreatureName(item2.uid)) then
doPlayerSendTextMessage(cid, 20, "You can't copy this move.")
return true
end
local lockedcds = {"Divine Punishment", "Unown Rush", "Unown Help", "Mysterious Power", "Power Wave", "Shredder Team", "Double Team", "Team Slice", "Ancient Fury", "Camouflage", "Future Sight", "Acid Armor", "Rollout", "Flame Wheel", "Elemental Hands", "Super Vines", "ExplodeAll", "Aerial Ace", "Stampage", "Iron Defense", "Minimize", "Team Claw", ""}
for x=1, 8 do
table.insert(lockedcds, "Sketch "..x)
end
local canShiny = true
local smeargle = getCreatureSummons(cid)[1]
local tocopy = item2.uid
local selfball = getPlayerSlotItem(cid, 8).uid
if (isShinyName(getCreatureName(item2.uid)) and canShiny) or not isShinyName(getCreatureName(item2.uid)) then
if getPlayerStorageValue(smeargle, 18554) then
for x=1, 8 do
if getPlayerStorageValue(smeargle, 18554) == x and movestable[getCreatureName(tocopy)] and movestable[getCreatureName(tocopy)]["move"..(x)] and not isInArray(lockedcds, movestable[getCreatureName(tocopy)]["move"..(x)].name) then
if not smeargleHaveSpell(cid, movestable[getCreatureName(tocopy)]["move"..(x)].name) then
doItemSetAttribute(selfball, "skt"..(x), getCreatureName(tocopy))
else
doPlayerSendTextMessage(cid, 20, "You smeargle already have this move.")
end
end
end
setPlayerStorageValue(smeargle, 18554, -1)
end
doUpdateMoves(cid)
return true
else
doPlayerSendTextMessage(cid, 20, "You can't copy moves of shinyes pokemons.")
end
end

 



4 - Se seu servidor ja tiver os spells, sketch 1, sketch 2... Substitua por esses(data/lib/pokemon moves.lua):
 

  Mostrar conteúdo oculto

 



elseif spell == "Sketch 1" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 1)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Psy Pulse", "Shadow Ball", "Thunder Bolt", "Ember", "Rock Throw", "Razor Leaf", "Bubbles", "Ice Shards", "Egg Bomb", "Poison Bomb"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)

   end
elseif spell == "Sketch 2" then
    if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 2)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Mud Bomb", "Cyber Pulse", "Dark Pulse", "Rock Slide", "Magical Leaf", "Fireball", "Waterball", "Feather Dance"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
elseif spell == "Sketch 3" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 3)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Poison Gas", "Earthquake", "Petal Tornado", "Electro Field", "Flame Circle"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
elseif spell == "Sketch 4" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 4)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Thunder", "Night Slash", "Confusion", "Air Slash", "Confusion", "Night Shade"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
elseif spell == "Sketch 5" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 5)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Solar Beam", "Bullet Seed", "Raging Blast", "Fire Blast", "Bubble Blast", "Hydro Cannon", "Pin Missile"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
	elseif spell == "Sketch 6" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 6)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Shockwave", "Petal Dance", "Hyper Beam", "Zap Cannon", "Aurora Beam", "Ice Beam", "Ground Chop"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
elseif spell == "Sketch 7" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 7)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Fear", "Sunny Day", "Scary Face", "Skull Bash", "Cotton Spore", "Sleep Powder"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end
elseif spell == "Sketch 8" then
  if isSummon(cid) and isPlayer(getCreatureMaster(cid)) then
    setPlayerStorageValue(cid, 18554, 8)
    addEvent(function() if isCreature(cid) then setPlayerStorageValue(cid, 18554, -1) end end, 3000)
    else
local spells = {"Reflect", "Charm", "Agility", "Safeguard", "Synthesis", "Emergency Call", "Healarea", "Sing"}

    local random = math.random(1, #spells)

	local randommove = spells[random]
	local pos = getThingPosWithDebug(cid)
	pos.y = pos.y - 1

	doSendMagicEffect(pos, 0)
	
	local function doMetronome(cid, skill)
	if not isCreature(cid) then return true end
       docastspell(cid, skill)
    end
    
    addEvent(doMetronome, 200, cid, randommove)
end 

 

 

Se não, use os mesmos acima, não esqueça de adicionar no spells.xml.


5 - Agora, vá em talkactions/scripst, abra o move1.lua e substitua:

  Mostrar conteúdo oculto

 



local move = movestable[name].move1

 

 

Por

 

  Mostrar conteúdo oculto

 



local idd = getPlayerSlotItem(cid, 8).uid
local move = getCreatureName(mypoke) == "Smeargle" and getItemAttribute(idd, "skt1") and movestable[getItemAttribute(idd, "skt1")].move1 or movestable[name].move1

 

 

Depois:

 

  Mostrar conteúdo oculto

 



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 

 

 

Por:

 

  Mostrar conteúdo oculto

 



if it == "2" then
    if getItemAttribute(idd, "skt2") then  
  move = movestable[getItemAttribute(idd, "skt2")].move2
  else
        move = movestable[name].move2
        end
 elseif it == "3" then
    if getItemAttribute(idd, "skt3") then  
  move = movestable[getItemAttribute(idd, "skt3")].move3
  else
        move = movestable[name].move3
        end  
 elseif it == "4" then
    if getItemAttribute(idd, "skt4") then  
  move = movestable[getItemAttribute(idd, "skt4")].move4
  else
        move = movestable[name].move4
        end 
 elseif it == "4" then
    if getItemAttribute(idd, "skt4") then  
  move = movestable[getItemAttribute(idd, "skt4")].move4
  else
        move = movestable[name].move4
        end 
 elseif it == "5" then
    if getItemAttribute(idd, "skt5") then  
  move = movestable[getItemAttribute(idd, "skt5")].move5
  else
        move = movestable[name].move5
        end 
 elseif it == "6" then
    if getItemAttribute(idd, "skt6") then  
  move = movestable[getItemAttribute(idd, "skt6")].move6
  else
        move = movestable[name].move6
        end 
 elseif it == "7" then
    if getItemAttribute(idd, "skt7") then  
  move = movestable[getItemAttribute(idd, "skt7")].move7
  else
        move = movestable[name].move7
        end 
 elseif it == "8" then
    if getItemAttribute(idd, "skt8") then  
  move = movestable[getItemAttribute(idd, "skt8")].move8
  else
        move = movestable[name].move8
        end 
 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 

 

 

Em 12/04/2015 em 16:53, gabrielbsales disse:

Pronto, se tiver feito tudo certo, funcionará.
Como ficará:

  Mostrar conteúdo oculto


xocwS2Z.png
IW7P57G.png


Como usar:



Créditos: Eu(Todo o script)

 

[29/01/2020 16:23:50] [Error - Action Interface] 
[29/01/2020 16:23:50] data/actions/scripts/Basic/goback.lua:onUse
[29/01/2020 16:23:50] Description: 
[29/01/2020 16:23:50] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[29/01/2020 16:23:50] stack traceback:
[29/01/2020 16:23:50]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>

[29/01/2020 16:23:52] [Error - Action Interface] 
[29/01/2020 16:23:52] data/actions/scripts/Basic/goback.lua:onUse
[29/01/2020 16:23:52] Description: 
[29/01/2020 16:23:52] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[29/01/2020 16:23:52] stack traceback:
[29/01/2020 16:23:52]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>

Link para o comentário
Compartilhar em outros sites

  • 3 months later...
Em 07/07/2015 em 23:10, gabrielbsales disse:

Vish, nem lembro mais, usa isso:

http://winmerge.org/?lang=pt_br

14/05/2020 20:07:25] [Error - Action Interface] 
[14/05/2020 20:07:25] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 20:07:25] Description: 
[14/05/2020 20:07:25] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[14/05/2020 20:07:25] stack traceback:
[14/05/2020 20:07:25]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>

Meu Server Ja Taba Com Smeargle Mais Taba Errado

 

E Linea 229  

 

     if getCreatureName(pk):find("Smeargle") then
            local id = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "SmeargleID")
              setPlayerStorageValue(pk, storages.SmeargleID, "Smeargle " .. id) 
        end

Em 04/01/2016 em 13:28, samlecter disse:

Se o Smeargle copiar 1 spell que eu criei, ele fica com a imagem dela na cd bar mas a spell não funciona, é só com as que criei, e da 1 erro na distro no move1 também, 1 pessoa ja postou o erro que da no move1 aqui, o meu é igual o dela. poderia dizer o que adicionar/alterar em cada script isso de "troque tudo por isto" é inviável, pois diversos outros sistemas que coloquei, teve que mexer nesses arquivos, se eu trocar pelo seu, perderei o que j adicionei :p

[14/05/2020 21:05:19] [Error - CreatureScript Interface] 
[14/05/2020 21:05:19] data/creaturescripts/scripts/player/pokeDeath.lua:matou
[14/05/2020 21:05:19] Description: 
[14/05/2020 21:05:19] data/lib/cooldown bar.lua:95: attempt to call global 'getSmeargleMoveTable' (a nil value)
[14/05/2020 21:05:19] stack traceback:
[14/05/2020 21:05:19]     data/lib/cooldown bar.lua:95: in function 'doUpdateMoves'
[14/05/2020 21:05:19]     data/creaturescripts/scripts/player/pokeDeath.lua:5: in function <data/creaturescripts/scripts/player/pokeDeath.lua:1>
[14/05/2020 21:05:19]     [C]: in function 'doKillWildPoke'
[14/05/2020 21:05:19]     data/creaturescripts/scripts/player/statsChange.lua:298: in function <data/creaturescripts/scripts/player/statsChange.lua:6>

Em 11/07/2015 em 20:59, nlalglaltlo disse:

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

	<instant name="Quick Attack" words="spell000" lvl="1000" mana="0" event="script" value="ps/Quick Attack.lua"></instant>
	<instant name="Razor Leaf" words="spell001" lvl="1000" mana="0" event="script" value="ps/Razor Leaf.lua"></instant>
	<instant name="Vine Whip" words="spell002" lvl="1000" mana="0" event="script" value="ps/Vine Whip.lua"></instant>
	<instant name="Headbutt" words="spell003" lvl="1000" mana="0" event="script" value="ps/Headbutt.lua"></instant>
	<instant name="Leech Seed" words="spell004" lvl="1000" mana="0" event="script" value="ps/Leech Seed.lua"></instant>
	<instant name="Solar Beam" words="spell005" lvl="1000" mana="0" event="script" value="ps/Solar Beam.lua"></instant>
	<instant name="Sleep Powder" words="spell006" lvl="1000" mana="0" event="script" value="ps/Sleep Powder.lua"></instant>
	<instant name="Stun Spore" words="spell007" lvl="1000" mana="0" event="script" value="ps/Stun Spore.lua"></instant>
	<instant name="Poison Powder" words="spell008" lvl="1000" mana="0" event="script" value="ps/Poison Powder.lua"></instant>
	<instant name="Bullet Seed" words="spell009" lvl="1000" mana="0" event="script" value="ps/Bullet Seed.lua"></instant>
	<instant name="Body Slam" words="spell010" lvl="1000" mana="0" event="script" value="ps/Body Slam.lua"></instant>
	<instant name="Leaf Storm" words="spell011" lvl="1000" mana="0" event="script" value="ps/Leaf Storm.lua"></instant>
	<instant name="Scratch" words="spell012" lvl="1000" mana="0" event="script" value="ps/Scratch.lua"></instant>
	<instant name="Ember" words="spell013" lvl="1000" mana="0" event="script" value="ps/Ember.lua"></instant>
	<instant name="Flamethrower" words="spell014" lvl="1000" mana="0" event="script" value="ps/Flamethrower.lua"></instant>
	<instant name="Fireball" words="spell015" lvl="1000" mana="0" event="script" value="ps/Fireball.lua"></instant>
	<instant name="Fire Fang" words="spell016" lvl="1000" mana="0" event="script" value="ps/Fire Fang.lua"></instant>
	<instant name="Fire Blast" words="spell017" lvl="1000" mana="0" event="script" value="ps/Fire Blast.lua"></instant>
	<instant name="Rage" words="spell018" lvl="1000" mana="0" event="script" value="ps/Rage.lua"></instant>
	<instant name="Raging Blast" words="spell019" lvl="1000" mana="0" event="script" value="ps/Raging Blast.lua"></instant>
	<instant name="Dragon Claw" words="spell020" lvl="1000" mana="0" event="script" value="ps/Dragon Claw.lua"></instant>
	<instant name="Wing Attack" words="spell021" lvl="1000" mana="0" event="script" value="ps/Wing Attack.lua"></instant>
	<instant name="Magma Storm" words="spell022" lvl="1000" mana="0" event="script" value="ps/Magma Storm.lua"></instant>
	<instant name="Bubbles" words="spell023" lvl="1000" mana="0" event="script" value="ps/Bubbles.lua"></instant>
	<instant name="Water Gun" words="spell024" lvl="1000" mana="0" event="script" value="ps/Water Gun.lua"></instant>
	<instant name="Waterball" words="spell025" lvl="1000" mana="0" event="script" value="ps/Waterball.lua"></instant>
	<instant name="Aqua Tail" words="spell026" lvl="1000" mana="0" event="script" value="ps/Aqua Tail.lua"></instant>
	<instant name="Hydro Cannon" words="spell027" lvl="1000" mana="0" event="script" value="ps/Hydro Cannon.lua"></instant>
	<instant name="Harden" words="spell028" lvl="1000" mana="0" event="script" value="ps/Harden.lua"></instant>
	<instant name="Calm Mind" words="spell029" lvl="1000" mana="0" event="script" value="ps/Calm Mind.lua"></instant>
	<instant name="Bubble Blast" words="spell030" lvl="1000" mana="0" event="script" value="ps/Bubble Blast.lua"></instant>
	<instant name="Skull Bash" words="spell0031" lvl="1000" mana="0" event="script" value="ps/Skull Bash.lua"></instant>
	<instant name="Hydropump" words="spell0032" lvl="1000" mana="0" event="script" value="ps/Hydropump.lua"></instant>
	<instant name="String Shot" words="spell033" lvl="1000" mana="0" event="script" value="ps/String Shot.lua"></instant>
	<instant name="Bug Bite" words="spell034" lvl="1000" mana="0" event="script" value="ps/Bug Bite.lua"></instant>
	<instant name="Super Sonic" words="spell035" lvl="1000" mana="0" event="script" value="ps/Super Sonic.lua"></instant>
	<instant name="Psybeam" words="spell036" lvl="1000" mana="0" event="script" value="ps/Psybeam.lua"></instant>
	<instant name="Confusion" words="spell037" lvl="1000" mana="0" event="script" value="ps/Confusion.lua"></instant>
	<instant name="Horn Attack" words="spell038" lvl="1000" mana="0" event="script" value="ps/Horn Attack.lua"></instant>
	<instant name="Poison Sting" words="spell039" lvl="1000" mana="0" event="script" value="ps/Poison Sting.lua"></instant>
	<instant name="Fury Cutter" words="spell040" lvl="1000" mana="0" event="script" value="ps/Fury Cutter.lua"></instant>
	<instant name="Pin Missile" words="spell041" lvl="1000" mana="0" event="script" value="ps/Pin Missile.lua"></instant>
	<instant name="Strafe" words="spell042" lvl="1000" mana="0" event="script" value="ps/Strafe.lua"></instant>
	<instant name="Agility" words="spell043" lvl="1000" mana="0" event="script" value="ps/Agility.lua"></instant>
	<instant name="Sand Attack" words="spell044" lvl="1000" mana="0" event="script" value="ps/Sand Attack.lua"></instant>
	<instant name="Gust" words="spell045" lvl="1000" mana="0" event="script" value="ps/Gust.lua"></instant>
	<instant name="Whirlwind" words="spell046" lvl="1000" mana="0" event="script" value="ps/Whirlwind.lua"></instant>
	<instant name="Drill Peck" words="spell047" lvl="1000" mana="0" event="script" value="ps/Drill Peck.lua"></instant>
	<instant name="Tornado" words="spell048" lvl="1000" mana="0" event="script" value="ps/Tornado.lua"></instant>
	<instant name="Bite" words="spell049" lvl="1000" mana="0" event="script" value="ps/Bite.lua"></instant>
	<instant name="Super Fang" words="spell050" lvl="1000" mana="0" event="script" value="ps/Super Fang.lua"></instant>
	<instant name="Poison Fang" words="spell051" lvl="1000" mana="0" event="script" value="ps/Poison Fang.lua"></instant>
	<instant name="Sting Gun" words="spell052" lvl="1000" mana="0" event="script" value="ps/Sting Gun.lua"></instant>
	<instant name="Acid" words="spell053" lvl="1000" mana="0" event="script" value="ps/Acid.lua"></instant>
	<instant name="Fear" words="spell054" lvl="1000" mana="0" event="script" value="ps/Fear.lua"></instant>
	<instant name="Roar" words="spell055" lvl="1000" mana="0" event="script" value="ps/Roar.lua"></instant>
	<instant name="Iron Tail" words="spell056" lvl="1000" mana="0" event="script" value="ps/Iron Tail.lua"></instant>
	<instant name="Thunder Shock" words="spell057" lvl="1000" mana="0" event="script" value="ps/Thunder Shock.lua"></instant>
	<instant name="Thunder Bolt" words="spell058" lvl="1000" mana="0" event="script" value="ps/Thunder Bolt.lua"></instant>
	<instant name="Thunder Wave" words="spell059" lvl="1000" mana="0" event="script" value="ps/Thunder Wave.lua"></instant>
	<instant name="Thunder" words="spell060" lvl="1000" mana="0" event="script" value="ps/Thunder.lua"></instant>
	<instant name="Mega Kick" words="spell061" lvl="1000" mana="0" event="script" value="ps/Mega Kick.lua"></instant>
	<instant name="Thunder Punch" words="spell062" lvl="1000" mana="0" event="script" value="ps/Thunder Punch.lua"></instant>
	<instant name="Electric Storm" words="spell063" lvl="1000" mana="0" event="script" value="ps/Electric Storm.lua"></instant>
	<instant name="Mud Shot" words="spell064" lvl="1000" mana="0" event="script" value="ps/Mud Shot.lua"></instant>
	<instant name="Mud Slap" words="spell065" lvl="1000" mana="0" event="script" value="ps/Mud Slap.lua"></instant>
	<instant name="Rollout" words="spell066" lvl="1000" mana="0" event="script" value="ps/Rollout.lua"></instant>
	<instant name="Shockwave" words="spell067" lvl="1000" mana="0" event="script" value="ps/Shockwave.lua"></instant>
	<instant name="Earthshock" words="spell068" lvl="1000" mana="0" event="script" value="ps/Earthshock.lua"></instant>
	<instant name="Earthquake" words="spell069" lvl="1000" mana="0" event="script" value="ps/Earthquake.lua"></instant>
	<instant name="Stomp" words="spell070" lvl="1000" mana="0" event="script" value="ps/Stomp.lua"></instant>
	<instant name="Toxic Spikes" words="spell071" lvl="1000" mana="0" event="script" value="ps/Toxic Spikes.lua"></instant>
	<instant name="Horn Drill" words="spell072" lvl="1000" mana="0" event="script" value="ps/Horn Drill.lua"></instant>
	<instant name="Doubleslap" words="spell073" lvl="1000" mana="0" event="script" value="ps/Doubleslap.lua"></instant>
	<instant name="Lovely Kiss" words="spell074" lvl="1000" mana="0" event="script" value="ps/Lovely Kiss.lua"></instant>
	<instant name="Sing" words="spell075" lvl="1000" mana="0" event="script" value="ps/Sing.lua"></instant>
	<instant name="Selfheal" words="spell076" lvl="1000" mana="0" event="script" value="ps/Selfheal.lua"></instant>
	<instant name="Restore" words="spell077" lvl="1000" mana="0" event="script" value="ps/Restore.lua"></instant>
	<instant name="Multislap" words="spell078" lvl="1000" mana="0" event="script" value="ps/Multislap.lua"></instant>
	<instant name="Metronome" words="spell079" lvl="1000" mana="0" event="script" value="ps/Metronome.lua"></instant>
	<instant name="Focus" words="spell080" lvl="1000" mana="0" event="script" value="ps/Focus.lua"></instant>
	<instant name="Flame Wheel" words="spell081" lvl="1000" mana="0" event="script" value="ps/Flame Wheel.lua"></instant>
	<instant name="Hyper Voice" words="spell082" lvl="1000" mana="0" event="script" value="ps/Hyper Voice.lua"></instant>
	<instant name="Healarea" words="spell083" lvl="1000" mana="0" event="script" value="ps/Healarea.lua"></instant>
	<instant name="Toxic" words="spell084" lvl="1000" mana="0" event="script" value="ps/Toxic.lua"></instant>
	<instant name="Absorb" words="spell085" lvl="1000" mana="0" event="script" value="ps/Absorb.lua"></instant>
	<instant name="Poison Bomb" words="spell086" lvl="1000" mana="0" event="script" value="ps/Poison Bomb.lua"></instant>
	<instant name="Poison Gas" words="spell087" lvl="1000" mana="0" event="script" value="ps/Poison Gas.lua"></instant>
	<instant name="Petal Dance" words="spell088" lvl="1000" mana="0" event="script" value="ps/Petal Dance.lua"></instant>
	<instant name="Slash" words="spell089" lvl="1000" mana="0" event="script" value="ps/Slash.lua"></instant>
	<instant name="X-Scissor" words="spell090" lvl="1000" mana="0" event="script" value="ps/X-Scissor.lua"></instant>
	<instant name="Psychic" words="spell091" lvl="1000" mana="0" event="script" value="ps/Psychic.lua"></instant>
	<instant name="Pay Day" words="spell092" lvl="1000" mana="0" event="script" value="ps/Pay Day.lua"></instant>
	<instant name="Psywave" words="spell093" lvl="1000" mana="0" event="script" value="ps/Psywave.lua"></instant>
	<instant name="Triple Kick" words="spell094" lvl="1000" mana="0" event="script" value="ps/Triple Kick.lua"></instant>
	<instant name="Triple Kick Lee" words="spell095" lvl="1000" mana="0" event="script" value="ps/Triple Kick Lee.lua"></instant>
	<instant name="Karate Chop" words="spell096" lvl="1000" mana="0" event="script" value="ps/Karate Chop.lua"></instant>
	<instant name="Cross Chop" words="spell097" lvl="1000" mana="0" event="script" value="ps/Cross Chop.lua"></instant>
	<instant name="Mega Punch" words="spell098" lvl="1000" mana="0" event="script" value="ps/Mega Punch.lua"></instant>
	<instant name="Tri Flames" words="spell099" lvl="1000" mana="0" event="script" value="ps/Tri Flames.lua"></instant>
	<instant name="War Dog" words="spell100" lvl="1000" mana="0" event="script" value="ps/War Dog.lua"></instant>
	<instant name="Hypnosis" words="spell101" lvl="1000" mana="0" event="script" value="ps/Hypnosis.lua"></instant>
	<instant name="Dizzy Punch" words="spell102" lvl="1000" mana="0" event="script" value="ps/Dizzy Punch.lua"></instant>
	<instant name="Ice Punch" words="spell103" lvl="1000" mana="0" event="script" value="ps/Ice Punch.lua"></instant>
	<instant name="Ice Beam" words="spell104" lvl="1000" mana="0" event="script" value="ps/Ice Beam.lua"></instant>
	<instant name="Psy Pulse" words="spell105" lvl="1000" mana="0" event="script" value="ps/Psy Pulse.lua"></instant>
	<instant name="Reflect" words="spell106" lvl="1000" mana="0" event="script" value="ps/Reflect.lua"></instant>
	<instant name="Psyusion" words="spell107" lvl="1000" mana="0" event="script" value="ps/Psyusion.lua"></instant>
	<instant name="Triple Punch" words="spell108" lvl="1000" mana="0" event="script" value="ps/Triple Punch.lua"></instant>
	<instant name="Fist Machine" words="spell109" lvl="1000" mana="0" event="script" value="ps/Fist Machine.lua"></instant>
	<instant name="Destroyer Hand" words="spell110" lvl="1000" mana="0" event="script" value="ps/Destroyer Hand.lua"></instant>
	<instant name="Rock Throw" words="spell111" lvl="1000" mana="0" event="script" value="ps/Rock Throw.lua"></instant>
	<instant name="Rock Slide" words="spell112" lvl="1000" mana="0" event="script" value="ps/Rock Slide.lua"></instant>
	<instant name="Falling Rocks" words="spell113" lvl="1000" mana="0" event="script" value="ps/Falling Rocks.lua"></instant>
	<instant name="Selfdestruct" words="spell114" lvl="1000" mana="0" event="script" value="ps/Selfdestruct.lua"></instant>
	<instant name="Crusher Stomp" words="spell115" lvl="1000" mana="0" event="script" value="ps/Crusher Stomp.lua"></instant>
	<instant name="Water Pulse" words="spell116" lvl="1000" mana="0" event="script" value="ps/Water Pulse.lua"></instant>
	<instant name="Sonicboom" words="spell117" lvl="1000" mana="0" event="script" value="ps/Sonicboom.lua"></instant>
	<instant name="Stickmerang" words="spell118" lvl="1000" mana="0" event="script" value="ps/Stickmerang.lua"></instant>
	<instant name="Stickslash" words="spell119" lvl="1000" mana="0" event="script" value="ps/Stickslash.lua"></instant>
	<instant name="Pluck" words="spell120" lvl="1000" mana="0" event="script" value="ps/Pluck.lua"></instant>
	<instant name="Tri-Attack" words="spell121" lvl="1000" mana="0" event="script" value="ps/Tri-Attack.lua"></instant>
	<instant name="Ice Shards" words="spell122" lvl="1000" mana="0" event="script" value="ps/Ice Shards.lua"></instant>
	<instant name="Icy Wind" words="spell123" lvl="1000" mana="0" event="script" value="ps/Icy Wind.lua"></instant>
	<instant name="Aurora Beam" words="spell124" lvl="1000" mana="0" event="script" value="ps/Aurora Beam.lua"></instant>
	<instant name="Rest" words="spell125" lvl="1000" mana="0" event="script" value="ps/Rest.lua"></instant>
	<instant name="Sludge" words="spell126" lvl="1000" mana="0" event="script" value="ps/Sludge.lua"></instant>
	<instant name="Sludge Rain" words="spell127" lvl="1000" mana="0" event="script" value="ps/Sludge Rain.lua"></instant>
	<instant name="Mud Bomb" words="spell128" lvl="1000" mana="0" event="script" value="ps/Mud Bomb.lua"></instant>
	<instant name="Mortal Gas" words="spell129" lvl="1000" mana="0" event="script" value="ps/Mortal Gas.lua"></instant>
	<instant name="Egg Bomb" words="spell131" lvl="1000" mana="0" event="script" value="ps/Egg Bomb.lua"></instant>
	<instant name="Super Vines" words="spell132" lvl="1000" mana="0" event="script" value="ps/Super Vines.lua"></instant>
	<instant name="Epicenter" words="spell133" lvl="1000" mana="0" event="script" value="ps/Epicenter.lua"></instant>
	<instant name="Bubblebeam" words="spell134" lvl="1000" mana="0" event="script" value="ps/Bubblebeam.lua"></instant>
	<instant name="Mimic Wall" words="spell135" lvl="1000" mana="0" event="script" value="ps/Mimic Wall.lua"></instant>
	<instant name="Swift" words="spell136" lvl="1000" mana="0" event="script" value="ps/Swift.lua"></instant>
	<instant name="Shredder Team" words="spell137" lvl="1000" mana="0" event="script" value="ps/Shredder Team.lua"></instant>
	<instant name="Team Slice" words="spell138" lvl="1000" mana="0" event="script" value="ps/Team Slice.lua"></instant>
	<instant name="Blizzard" words="spell139" lvl="1000" mana="0" event="script" value="ps/Blizzard.lua"></instant>
	<instant name="Great Love" words="spell140" lvl="1000" mana="0" event="script" value="ps/Great Love.lua"></instant>
	<instant name="Fire Punch" words="spell141" lvl="1000" mana="0" event="script" value="ps/Fire Punch.lua"></instant>
	<instant name="Guillotine" words="spell142" lvl="1000" mana="0" event="script" value="ps/Guillotine.lua"></instant>
	<instant name="Hyper Beam" words="spell143" lvl="1000" mana="0" event="script" value="ps/Hyper Beam.lua"></instant>
	<instant name="Thrash" words="spell144" lvl="1000" mana="0" event="script" value="ps/Thrash.lua"></instant>
	<instant name="Splash" words="spell145" lvl="1000" mana="0" event="script" value="ps/Splash.lua"></instant>
	<instant name="Dragon Breath" words="spell146" lvl="1000" mana="0" event="script" value="ps/Dragon Breath.lua"></instant>
	<instant name="Muddy Water" words="spell147" lvl="1000" mana="0" event="script" value="ps/Muddy Water.lua"></instant>
	<instant name="Venom Motion" words="spell148" lvl="1000" mana="0" event="script" value="ps/Venom Motion.lua"></instant>
	<instant name="Thunder Fang" words="spell149" lvl="1000" mana="0" event="script" value="ps/Thunder Fang.lua"></instant>
	<instant name="Sacred Fire" words="spell150" lvl="1000" mana="0" event="script" value="ps/Sacred Fire.lua"></instant>
	<instant name="Blaze Kick" words="spell160" lvl="1000" mana="0" event="script" value="ps/Blaze Kick.lua"></instant>
	<instant name="Overheat" words="spell161" lvl="1000" mana="0" event="script" value="ps/Overheat.lua"></instant>
	<instant name="Cyber Pulse" words="spell162" lvl="1000" mana="0" event="script" value="ps/Cyber Pulse.lua"></instant>
	<instant name="Zap Cannon" words="spell163" lvl="1000" mana="0" event="script" value="ps/Zap Cannon.lua"></instant>
	<instant name="Magic Coat" words="spell164" lvl="1000" mana="0" event="script" value="ps/Magic Coat.lua"></instant>
	<instant name="Ancient Power" words="spell165" lvl="1000" mana="0" event="script" value="ps/Ancient Power.lua"></instant>
	<instant name="Twister" words="spell166" lvl="1000" mana="0" event="script" value="ps/Twister.lua"></instant>
	<instant name="Multi-Kick" words="spell167" lvl="1000" mana="0" event="script" value="ps/Multi-Kick.lua"></instant>
	<instant name="Multi-Punch" words="spell168" lvl="1000" mana="0" event="script" value="ps/Multi-Punch.lua"></instant>
	<instant name="Squisky Licking" words="spell169" lvl="1000" mana="0" event="script" value="ps/Squisky Licking.lua"></instant>
	<instant name="Lick" words="spell170" lvl="10000" mana="0" event="script" value="ps/Lick.lua"></instant>
	<instant name="Bonemerang" words="spell171" lvl="1000" mana="0" event="script" value="ps/Bonemerang.lua"></instant>
	<instant name="Bone Club" words="spell172" lvl="1000" mana="0" event="script" value="ps/Bone Club.lua"></instant>
	<instant name="Bone Slash" words="spell173" lvl="1000" mana="0" event="script" value="ps/Bone Slash.lua"></instant>
	<instant name="Furious Legs" words="spell174" lvl="1000" mana="0" event="script" value="ps/Furious Legs.lua"></instant>
	<instant name="Ultimate Champion" words="spell175" lvl="1000" mana="0" event="script" value="ps/Ultimate Champion.lua"></instant>
	<instant name="Shadow Ball" words="spell176" lvl="1000" mana="0" event="script" value="ps/Shadow Ball.lua"></instant>
	<instant name="Shadow Punch" words="spell177" lvl="1000" mana="0" event="script" value="ps/Shadow Punch.lua"></instant>
	<instant name="Shadow Storm" words="spell178" lvl="1000" mana="0" event="script" value="ps/Shadow Storm.lua"></instant>
	<instant name="InvisibleGhost" words="spell179" lvl="1000" mana="0" event="script" value="ps/InvisibleGhost.lua"></instant>
	<instant name="Nightmare" words="spell180" lvl="1000" mana="0" event="script" value="ps/Nightmare.lua"></instant>
	<instant name="Night Shade" words="spell181" lvl="1000" mana="0" event="script" value="ps/Night Shade.lua"></instant>
	<instant name="Dream Eater" words="spell182" lvl="1000" mana="0" event="script" value="ps/Dream Eater.lua"></instant>
	<instant name="Dark Eye" words="spell183" lvl="1000" mana="0" event="script" value="ps/Dark Eye.lua"></instant>
	<instant name="Crabhammer" words="spell184" lvl="1000" mana="0" event="script" value="ps/Crabhammer.lua"></instant>
	<instant name="Ancient Fury" words="spell185" lvl="1000" mana="0" event="script" value="ps/Ancient Fury.lua"></instant>
	<instant name="Divine Punishment" words="spell186" lvl="1000" mana="0" event="script" value="ps/Divine Punishment.lua"></instant>
	<instant name="Ground Chop" words="spell187" lvl="1000" mana="0" event="script" value="ps/Ground Chop.lua"></instant>
	<instant name="Stick Throw" words="spell188" lvl="1000" mana="0" event="script" value="ps/Stick Throw.lua"></instant>
	<instant name="Clamp" words="spell189" lvl="1000" mana="0" event="script" value="ps/Clamp.lua"></instant>
	<instant name="Spark" words="spell190" lvl="1000" mana="0" event="script" value="ps/Spark.lua"></instant>
	<instant name="Charge Beam" words="spell191" lvl="1000" mana="0" event="script" value="ps/Charge Beam.lua"></instant>
	<instant name="Fury Attack" words="spell192" lvl="1000" mana="0" event="script" value="ps/Fury Attack.lua"></instant>

    <instant name="Acid Armor" words="spell193" lvl="1000" mana="0" event="script" value="ps/Acid Armor.lua"></instant>
	<instant name="Air Cutter" words="spell194" lvl="1000" mana="0" event="script" value="ps/Air Cutter.lua"></instant>
	<instant name="Air Slash" words="spell195" lvl="1000" mana="0" event="script" value="ps/Air Slash.lua"></instant>
	<instant name="Aromateraphy" words="spell196" lvl="1000" mana="0" event="script" value="ps/Aromateraphy.lua"></instant>
	<instant name="Assurance" words="spell197" lvl="1000" mana="0" event="script" value="ps/Assurance.lua"></instant>
	<instant name="Bug Fighter" words="spell198" lvl="1000" mana="0" event="script" value="ps/Bug Fighter.lua"></instant>
	<instant name="Camuflage" words="spell199" lvl="1000" mana="0" event="script" value="ps/Camuflage.lua"></instant>
	<instant name="Charge" words="spell200" lvl="1000" mana="0" event="script" value="ps/Charge.lua"></instant>
	<instant name="Charm" words="spell201" lvl="1000" mana="0" event="script" value="ps/Charm.lua"></instant>
	<instant name="Confuse Ray" words="spell202" lvl="1000" mana="0" event="script" value="ps/Confuse Ray.lua"></instant>
	<instant name="Cotton Spore" words="spell203" lvl="1000" mana="0" event="script" value="ps/Cotton Spore.lua"></instant>
	<instant name="Crunch" words="spell204" lvl="1000" mana="0" event="script" value="ps/Crunch.lua"></instant>
	<instant name="Defense Curl" words="spell205" lvl="1000" mana="0" event="script" value="ps/Defense Curl.lua"></instant>
	<instant name="Double Team" words="spell206" lvl="1000" mana="0" event="script" value="ps/Double Team.lua"></instant>
	<instant name="Draco Meteor" words="spell207" lvl="1000" mana="0" event="script" value="ps/Draco Meteor.lua"></instant>
	<instant name="Dragon Pulse" words="spell208" lvl="1000" mana="0" event="script" value="ps/Dragon Pulse.lua"></instant>
	<instant name="Egg Rain" words="spell209" lvl="1000" mana="0" event="script" value="ps/Egg Rain.lua"></instant>
	<instant name="Elecball" words="spell210" lvl="1000" mana="0" event="script" value="ps/Elecball.lua"></instant>
	<instant name="Emergency Call" words="spell211" lvl="1000" mana="0" event="script" value="ps/Emergency Call.lua"></instant>
	<instant name="Eruption" words="spell212" lvl="1000" mana="0" event="script" value="ps/Eruption.lua"></instant>
	<instant name="ExtremeSpeed" words="spell213" lvl="1000" mana="0" event="script" value="ps/ExtremeSpeed.lua"></instant>
	<instant name="Faint Attack" words="spell214" lvl="1000" mana="0" event="script" value="ps/Faint Attack.lua"></instant>
	<instant name="Feather Dance" words="spell215" lvl="1000" mana="0" event="script" value="ps/Feather Dance.lua"></instant>
	<instant name="Fighter Spirit" words="spell216" lvl="1000" mana="0" event="script" value="ps/Fighter Spirit.lua"></instant>
	<instant name="Future Sight" words="spell217" lvl="1000" mana="0" event="script" value="ps/Future Sight.lua"></instant>
	<instant name="Giga Drain" words="spell218" lvl="1000" mana="0" event="script" value="ps/Giga Drain.lua"></instant>
	<instant name="Hurricane" words="spell219" lvl="1000" mana="0" event="script" value="ps/Hurricane.lua"></instant>
	<instant name="Ice Fang" words="spell220" lvl="1000" mana="0" event="script" value="ps/Ice Fang.lua"></instant>
	<instant name="Iron Defense" words="spell221" lvl="1000" mana="0" event="script" value="ps/Iron Defense.lua"></instant>
	<instant name="Leaf Blade" words="spell222" lvl="1000" mana="0" event="script" value="ps/Leaf Blade.lua"></instant>
	<instant name="Magical Leaf" words="spell223" lvl="1000" mana="0" event="script" value="ps/Magical Leaf.lua"></instant>
	<instant name="Megahorn" words="spell224" lvl="1000" mana="0" event="script" value="ps/Megahorn.lua"></instant>
	<instant name="Metal Claw" words="spell225" lvl="1000" mana="0" event="script" value="ps/Metal Claw.lua"></instant>
	<instant name="Meteor Smash" words="spell226" lvl="1000" mana="0" event="script" value="ps/Meteor Smash.lua"></instant>
	<instant name="Minimize" words="spell227" lvl="1000" mana="0" event="script" value="ps/Minimize.lua"></instant>
	<instant name="Miracle Eye" words="spell228" lvl="1000" mana="0" event="script" value="ps/Miracle Eye.lua"></instant>
	<instant name="Night Daze" words="spell229" lvl="1000" mana="0" event="script" value="ps/Night Daze.lua"></instant>
	<instant name="Octazooka" words="spell230" lvl="1000" mana="0" event="script" value="ps/Octazooka.lua"></instant>
	<instant name="Peck" words="spell231" lvl="1000" mana="0" event="script" value="ps/Peck.lua"></instant>
	<instant name="Power Gem" words="spell232" lvl="1000" mana="0" event="script" value="ps/Power Gem.lua"></instant>
	<instant name="Psy Ball" words="spell233" lvl="1000" mana="0" event="script" value="ps/Psy Ball.lua"></instant>
	<instant name="Psyshock" words="spell234" lvl="1000" mana="0" event="script" value="ps/Psyshock.lua"></instant>
	<instant name="Pursuit" words="spell235" lvl="1000" mana="0" event="script" value="ps/Pursuit.lua"></instant>
	<instant name="Red Fury" words="spell236" lvl="1000" mana="0" event="script" value="ps/Red Fury.lua"></instant>
	<instant name="Rock Blast" words="spell237" lvl="1000" mana="0" event="script" value="ps/Rock Blast.lua"></instant>
	<instant name="Roost" words="spell238" lvl="1000" mana="0" event="script" value="ps/Roost.lua"></instant>
	<instant name="Safeguard" words="spell239" lvl="1000" mana="0" event="script" value="ps/Safeguard.lua"></instant>
	<instant name="Scary Face" words="spell240" lvl="1000" mana="0" event="script" value="ps/Scary Face.lua"></instant>
	<instant name="Shadowave" words="spell241" lvl="1000" mana="0" event="script" value="ps/Shadowave.lua"></instant>
	<instant name="SmokeScreen" words="spell242" lvl="1000" mana="0" event="script" value="ps/SmokeScreen.lua"></instant>
	<instant name="Steel Wing" words="spell243" lvl="1000" mana="0" event="script" value="ps/Steel Wing.lua"></instant>
	<instant name="Stone Edge" words="spell244" lvl="1000" mana="0" event="script" value="ps/Stone Edge.lua"></instant>
	<instant name="Sunny Day" words="spell245" lvl="1000" mana="0" event="script" value="ps/Sunny Day.lua"></instant>
	<instant name="Surf" words="spell246" lvl="1000" mana="0" event="script" value="ps/Surf.lua"></instant>
	<instant name="Swords Dance" words="spell247" lvl="1000" mana="0" event="script" value="ps/Swords Dance.lua"></instant>
	<instant name="Synthesis" words="spell248" lvl="1000" mana="0" event="script" value="ps/Synthesis.lua"></instant>
	<instant name="Tackle" words="spell249" lvl="1000" mana="0" event="script" value="ps/Tackle.lua"></instant>
	<instant name="Tailwind" words="spell250" lvl="1000" mana="0" event="script" value="ps/Tailwind.lua"></instant>
	<instant name="Take Down" words="spell251" lvl="1000" mana="0" event="script" value="ps/Take Down.lua"></instant>
	<instant name="Team Claw" words="spell252" lvl="1000" mana="0" event="script" value="ps/Team Claw.lua"></instant>
	<instant name="Tongue Grap" words="spell253" lvl="1000" mana="0" event="script" value="ps/Tongue Grap.lua"></instant>
	<instant name="Tongue Hook" words="spell254" lvl="1000" mana="0" event="script" value="ps/Tongue Hook.lua"></instant>
	<instant name="U-Turn" words="spell255" lvl="1000" mana="0" event="script" value="ps/U-Turn.lua"></instant>
	<instant name="Venom Gale" words="spell256" lvl="1000" mana="0" event="script" value="ps/Venom Gale.lua"></instant>
	<instant name="Yawn" words="spell257" lvl="1000" mana="0" event="script" value="ps/Yawn.lua"></instant>
	<instant name="Rock Drill" words="spell258" lvl="1000" mana="0" event="script" value="ps/Rock Drill.lua"></instant>

	<instant name="Sucker Punch" words="spell259" lvl="1000" mana="0" event="script" value="ps/Sucker Punch.lua"></instant>
	<instant name="Present" words="spell260" lvl="1000" mana="0" event="script" value="ps/Present.lua"></instant>
	<instant name="Low Kick" words="spell261" lvl="1000" mana="0" event="script" value="ps/Low Kick.lua"></instant>
	<instant name="Struggle Bug" words="spell262" lvl="1000" mana="0" event="script" value="ps/Struggle Bug.lua"></instant>
	<instant name="Shell Attack" words="spell263" lvl="1000" mana="0" event="script" value="ps/Shell Attack.lua"></instant>
	<instant name="Inferno" words="spell264" lvl="1000" mana="0" event="script" value="ps/Inferno.lua"></instant>
	<instant name="Fissure" words="spell265" lvl="1000" mana="0" event="script" value="ps/Fissure.lua"></instant>
	<instant name="Wrap" words="spell266" lvl="1000" mana="0" event="script" value="ps/Wrap.lua"></instant>
	<instant name="Rock n'Roll" words="spell267" lvl="1000" mana="0" event="script" value="ps/Rock n'Roll.lua"></instant>
	<instant name="Power Wave" words="spell268" lvl="1000" mana="0" event="script" value="ps/Power Wave.lua"></instant>
	<instant name="Psy Impact" words="spell269" lvl="1000" mana="0" event="script" value="ps/Psy Impact.lua"></instant>
	<instant name="Ground Crusher" words="spell270" lvl="1000" mana="0" event="script" value="ps/Ground Crusher.lua"></instant>
	<instant name="Last Resort" words="spell271" lvl="1000" mana="0" event="script" value="ps/Last Resort.lua"></instant>
	<instant name="Two Face Shock" words="spell272" lvl="1000" mana="0" event="script" value="ps/Two Face Shock.lua"></instant>
	<instant name="Aerial Ace" words="spell273" lvl="1000" mana="0" event="script" value="ps/Aerial Ace.lua"></instant>
	<instant name="Echoed Voice" words="spell274" lvl="1000" mana="0" event="script" value="ps/Echoed Voice.lua"></instant>
	<instant name="Electro Field" words="spell275" lvl="1000" mana="0" event="script" value="ps/Electro Field.lua"></instant>
	<instant name="Petal Tornado" words="spell276" lvl="1000" mana="0" event="script" value="ps/Petal Tornado.lua"></instant>
	<instant name="Seed Bomb" words="spell277" lvl="1000" mana="0" event="script" value="ps/Seed Bomb.lua"></instant>
	<instant name="Demon Kicker" words="spell278" lvl="1000" mana="0" event="script" value="passivas/Demon Kicker.lua"></instant>
	<instant name="Demon Puncher" words="spell279" lvl="1000" mana="0" event="script" value="passivas/Demon Puncher.lua"></instant>

	<instant name="Cross Poison" words="spell280" lvl="1000" mana="0" event="script" value="ps/Cross Poison.lua"></instant>
	<instant name="Fury Swipes" words="spell281" lvl="1000" mana="0" event="script" value="ps/Fury Swipes.lua"></instant>
	<instant name="Gyro Ball" words="spell282" lvl="1000" mana="0" event="script" value="ps/Gyro Ball.lua"></instant>
	<instant name="Hydro Dance" words="spell283" lvl="1000" mana="0" event="script" value="ps/Hydro Dance.lua"></instant>
	<instant name="Jump Kick" words="spell284" lvl="1000" mana="0" event="script" value="ps/Jump Kick.lua"></instant>
	<instant name="Night Slash" words="spell285" lvl="1000" mana="0" event="script" value="ps/Night Slash.lua"></instant>
	<instant name="Poison Jab" words="spell286" lvl="1000" mana="0" event="script" value="ps/Poison Jab.lua"></instant>
	<instant name="Rain Dance" words="spell287" lvl="1000" mana="0" event="script" value="ps/Rain Dance.lua"></instant>
	<instant name="Reverse Earthshock" words="spell288" lvl="1000" mana="0" event="script" value="ps/Reverse Earthshock.lua"></instant>
	<instant name="Rock Tomb" words="spell289" lvl="1000" mana="0" event="script" value="ps/Rock Tomb.lua"></instant>
	<instant name="Sand Tomb" words="spell290" lvl="1000" mana="0" event="script" value="ps/Sand Tomb.lua"></instant>
	<instant name="Waterfall" words="spell291" lvl="1000" mana="0" event="script" value="ps/Waterfall.lua"></instant>
	<instant name="Wild Charge" words="spell292" lvl="1000" mana="0" event="script" value="ps/Wild Charge.lua"></instant>
	<instant name="Icefall" words="spell293" lvl="1000" mana="0" event="script" value="ps/Icefall.lua"></instant>
	<instant name="Sonic Dance" words="spell294" lvl="1000" mana="0" event="script" value="ps/Sonic Dance.lua"></instant>
	<instant name="Outrage" words="spell295" lvl="1000" mana="0" event="script" value="ps/outrage.lua"></instant>
	<instant name="Lava Plume" words="spell296" lvl="1000" mana="0" event="script" value="ps/Lava Plume.lua"></instant>
	<instant name="Magnitude" words="spell297" lvl="1000" mana="0" event="script" value="ps/Magnitude.lua"></instant>
	<instant name="Sketch 1" words="spell301" lvl="1000" mana="0" event="script" value="ps/Sketch 1.lua"></instant>
	<instant name="Sketch 2" words="spell302" lvl="1000" mana="0" event="script" value="ps/Sketch 2.lua"></instant>
	<instant name="Sketch 3" words="spell303" lvl="1000" mana="0" event="script" value="ps/Sketch 3.lua"></instant>
	<instant name="Sketch 4" words="spell304" lvl="1000" mana="0" event="script" value="ps/Sketch 4.lua"></instant>
	<instant name="Sketch 5" words="spell305" lvl="1000" mana="0" event="script" value="ps/Sketch 5.lua"></instant>
	<instant name="Sketch 6" words="spell306" lvl="1000" mana="0" event="script" value="ps/Sketch 6.lua"></instant>
	<instant name="Sketch 7" words="spell307" lvl="1000" mana="0" event="script" value="ps/Sketch 7.lua"></instant>
	<instant name="Sketch 8" words="spell308" lvl="1000" mana="0" event="script" value="ps/Sketch 8.lua"></instant>
</spells>

0UuTTYY.png

 

 

Falta oque para dar certo ? No cliente não aparece o Icone da magica Sketch , ele usa os seguintes ataques :

 

Headbutt
Body Slam
Quick Attack
Hyper Beam
Rage

 

[14/05/2020 21:38:39] [Error - Action Interface] 
[14/05/2020 21:38:39] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:38:39] Description: 
[14/05/2020 21:38:39] data/actions/scripts/Basic/goback.lua:231: attempt to concatenate local 'id' (a nil value)
[14/05/2020 21:38:39] stack traceback:
[14/05/2020 21:38:39]     data/actions/scripts/Basic/goback.lua:231: in function <data/actions/scripts/Basic/goback.lua:15>
[14/05/2020 21:38:51] Smeargle 7 ball has been created by ADM Kabo.

[14/05/2020 21:38:55] [Error - Action Interface] 
[14/05/2020 21:38:55] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:38:55] Description: 
[14/05/2020 21:38:55] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:38:56] stack traceback:
[14/05/2020 21:38:56]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:38:57] [Error - Action Interface] 
[14/05/2020 21:38:57] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:38:57] Description: 
[14/05/2020 21:38:57] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:38:57] stack traceback:
[14/05/2020 21:38:57]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>
[14/05/2020 21:39:04] Smeargle 6 ball has been created by ADM Kabo.

[14/05/2020 21:39:07] [Error - Action Interface] 
[14/05/2020 21:39:07] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:39:07] Description: 
[14/05/2020 21:39:07] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:39:07] stack traceback:
[14/05/2020 21:39:07]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:39:07] [Error - Action Interface] 
[14/05/2020 21:39:07] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:39:08] Description: 
[14/05/2020 21:39:08] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:39:08] stack traceback:
[14/05/2020 21:39:08]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:43:26] [Error - Action Interface] 
[14/05/2020 21:43:26] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:43:26] Description: 
[14/05/2020 21:43:26] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:43:26] stack traceback:
[14/05/2020 21:43:26]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:43:27] [Error - Action Interface] 
[14/05/2020 21:43:27] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:43:27] Description: 
[14/05/2020 21:43:27] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:43:27] stack traceback:
[14/05/2020 21:43:27]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:43:32] [Error - Action Interface] 
[14/05/2020 21:43:32] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:43:32] Description: 
[14/05/2020 21:43:32] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:43:32] stack traceback:
[14/05/2020 21:43:32]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:43:33] [Error - Action Interface] 
[14/05/2020 21:43:33] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:43:33] Description: 
[14/05/2020 21:43:33] data/actions/scripts/Basic/goback.lua:176: attempt to call global 'retireSmeargleNumber' (a nil value)
[14/05/2020 21:43:33] stack traceback:
[14/05/2020 21:43:33]     data/actions/scripts/Basic/goback.lua:176: in function <data/actions/scripts/Basic/goback.lua:15>
[14/05/2020 21:48:44] Reloaded actions.

[14/05/2020 21:48:49] [Error - Action Interface] 
[14/05/2020 21:48:49] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:48:49] Description: 
[14/05/2020 21:48:49] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[14/05/2020 21:48:49] stack traceback:
[14/05/2020 21:48:49]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:48:55] [Error - Action Interface] 
[14/05/2020 21:48:55] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:48:55] Description: 
[14/05/2020 21:48:55] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[14/05/2020 21:48:55] stack traceback:
[14/05/2020 21:48:55]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>

[14/05/2020 21:48:57] [Error - Action Interface] 
[14/05/2020 21:48:57] data/actions/scripts/Basic/goback.lua:onUse
[14/05/2020 21:48:57] Description: 
[14/05/2020 21:48:57] data/actions/scripts/Basic/goback.lua:229: attempt to concatenate local 'id' (a nil value)
[14/05/2020 21:48:57] stack traceback:
[14/05/2020 21:48:57]     data/actions/scripts/Basic/goback.lua:229: in function <data/actions/scripts/Basic/goback.lua:15>
[14/05/2020 21:49:28] Reloaded actions.
[14/05/2020 21:51:19] Smeargle ball has been created by ADM Kabo.

[14/05/2020 21:51:19] [Error - TalkAction Interface] 
[14/05/2020 21:51:19] data/talkactions/scripts/createpokeball.lua:onSay
[14/05/2020 21:51:19] Description: 
[14/05/2020 21:51:20] data/talkactions/scripts/createpokeball.lua:66: attempt to index local 'x' (a nil value)
[14/05/2020 21:51:20] stack traceback:
[14/05/2020 21:51:20]     data/talkactions/scripts/createpokeball.lua:66: in function 'createBall'
[14/05/2020 21:51:20]     data/talkactions/scripts/createpokeball.lua:44: in function <data/talkactions/scripts/createpokeball.lua:1>

 

Link para o comentário
Compartilhar em outros sites

  • 9 months later...

volto dnovo

 

[08/03/2021 16:11:01] [Error - Action Interface] 
[08/03/2021 16:11:01] data/actions/scripts/goback.lua:onUse
[08/03/2021 16:11:01] Description: 
[08/03/2021 16:11:01] data/lib/level system.lua:231: attempt to index field '?' (a nil value)
[08/03/2021 16:11:01] stack traceback:
[08/03/2021 16:11:01]     data/lib/level system.lua:231: in function 'adjustStatus'
[08/03/2021 16:11:01]     data/actions/scripts/goback.lua:270: in function <data/actions/scripts/goback.lua:21>

 

agora n base PokeXTibia Project

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...