Postado Junho 24, 2014 11 anos Eu adicionei os helds itens no meu server normal até ai , mais quando ligo o server nao aparece nada e depois de um tempo aparece o seguintes erros: [23/06/2014 22:36:44] [Error - CreatureScript Interface] [23/06/2014 22:36:44] data/creaturescripts/scripts/exp2.0.lua:onStatsChange [23/06/2014 22:36:44] Description: [23/06/2014 22:36:44] data/creaturescripts/scripts/exp2.0.lua:627: attempt to index field '?' (a nil value) [23/06/2014 22:36:44] stack traceback: [23/06/2014 22:36:44] data/creaturescripts/scripts/exp2.0.lua:627: in function <data/creaturescripts/scripts/exp2.0.lua:64> [23/06/2014 22:36:44] [C]: in function 'doAreaCombatHealth' [23/06/2014 22:36:44] data/lib/pokemon moves.lua:4839: in function <data/lib/pokemon moves.lua:4837> [23/06/2014 22:37:03] [Error - CreatureScript Interface] [23/06/2014 22:37:04] data/creaturescripts/scripts/exp2.0.lua:onStatsChange [23/06/2014 22:37:04] Description: [23/06/2014 22:37:04] data/creaturescripts/scripts/exp2.0.lua:627: attempt to index field '?' (a nil value) [23/06/2014 22:37:04] stack traceback: [23/06/2014 22:37:04] data/creaturescripts/scripts/exp2.0.lua:627: in function <data/creaturescripts/scripts/exp2.0.lua:64> [23/06/2014 22:37:04] [C]: in function 'doAreaCombatHealth' [23/06/2014 22:37:04] data/lib/pokemon moves.lua:4839: in function <data/lib/pokemon moves.lua:4837> [23/06/2014 22:37:06] [Error - CreatureScript Interface] [23/06/2014 22:37:06] data/creaturescripts/scripts/exp2.0.lua:onStatsChange [23/06/2014 22:37:06] Description: [23/06/2014 22:37:06] data/creaturescripts/scripts/exp2.0.lua:627: attempt to index field '?' (a nil value) [23/06/2014 22:37:06] stack traceback: [23/06/2014 22:37:06] data/creaturescripts/scripts/exp2.0.lua:627: in function <data/creaturescripts/scripts/exp2.0.lua:64> [23/06/2014 22:37:06] [C]: in function 'doAreaCombatHealth' [23/06/2014 22:37:06] data/lib/pokemon moves.lua:4839: in function <data/lib/pokemon moves.lua:4837> [23/06/2014 22:37:20] Phineas has logged out. [23/06/2014 22:37:21] Account Manager has logged in. [23/06/2014 22:37:22] Error trying to use move Bubbles, move not specified in the pokemon table. [23/06/2014 22:37:23] Error trying to use move Psywave, move not specified in the pokemon table. [23/06/2014 22:37:24] Error trying to use move Poison Bomb, move not specified in the pokemon table. [23/06/2014 22:37:24] Error trying to use move Acid, move not specified in the pokemon table. [23/06/2014 22:37:25] Error trying to use move Acid, move not specified in the pokemon table. [23/06/2014 22:37:26] Error trying to use move Waterball, move not specified in the pokemon table. [23/06/2014 22:37:27] Error trying to use move Acid, move not specified in the pokemon table. [23/06/2014 22:37:27] Error trying to use move Acid, move not specified in the pokemon table. Vou postar as config que fiz aonde ta dando o error na script exp2.0. if damageCombat == FIREDAMAGE and not isBurning(cid) then -- Helfire -- local hellfire = {} if isSummon(attacker) and isPlayer(getCreatureMaster(attacker)) then local ball = getPlayerSlotItem(getCreatureMaster(attacker), 8) local TierArray = {22, 23, 24, 25, 26, 27, 28} local Tiers = { [22] = {bonus = HellBonus1}, [23] = {bonus = HellBonus2}, [24] = {bonus = HellBonus3}, [25] = {bonus = HellBonus4}, [26] = {bonus = HellBonus5}, [27] = {bonus = HellBonus6}, [28] = {bonus = HellBonus7}, } local Tier = getItemAttribute(ball.uid, "heldx") -- if Tier then hellfire = Tiers[Tier].bonus elseif not isInArray(TierArray, getItemAttribute(ball.uid, "heldx")) then hellfire = 1 end end -- Hellfire -- local ret = {} ret.id = cid ret.cd = math.random(5, 12) ret.check = getPlayerStorageValue(cid, conds["Burn"]) ret.damage = isSummon(attacker) and (getMasterLevel(attacker)+getPokemonBoost(attacker)) * hellfire or getPokemonLevel(attacker) ret.cond = "Burn" doCondition2(ret) elseif damageCombat == POISONDAMAGE and not isPoisoned(cid) then -- Poison -- local xpoison = {} if isSummon(attacker) and isPlayer(getCreatureMaster(attacker)) then local ball = getPlayerSlotItem(getCreatureMaster(attacker), 8) local TierArray = {29, 30, 31, 32, 33, 34, 35} local Tiers = { [29] = {bonus = PoisonBonus1}, [30] = {bonus = PoisonBonus2}, [31] = {bonus = PoisonBonus3}, [32] = {bonus = PoisonBonus4}, [33] = {bonus = PoisonBonus5}, [34] = {bonus = PoisonBonus6}, [35] = {bonus = PoisonBonus7}, } local Tier = getItemAttribute(ball.uid, "heldx") if Tier then xpoison = Tiers[Tier].bonus elseif not isInArray(TierArray, getItemAttribute(ball.uid, "heldx")) then xpoison = 1 end end -- Poison -- local ret = {} ret.id = cid ret.cd = math.random(6, 15) ret.check = getPlayerStorageValue(cid, conds["Poison"]) local lvl = isSummon(attacker) and (getMasterLevel(attacker)) * xpoison or getPokemonLevel(attacker) ret.damage = math.floor((getPokemonLevel(attacker)+lvl)/2) ret.cond = "Poison" doCondition2(ret) end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.