PDA

View Full Version : little "bug"


Marios145
25.04.2007, 14:26
i have most npcs fixed right now, with correct classes but there is 1 error that confuses me
04/22/2007 17:01:xx.xx8, Npc[cave_ant_4] doesn't have parameter[Fury]. failed to set
04/22/2007 17:01:xx.xx8, Npc[cave_ant_4] doesn't have parameter[MaxRoarCount]. failed to set in npcdata:
npc_begin warrior 1271 [cave_ant_4] level=37 acquire_exp_rate=xx.xx1698 acquire_sp=987 unsowing=1 clan={@ant_clan} ignore_clan_list={} clan_help_range=300 slot_chest=[] slot_rhand=[] slot_lhand=[] shield_defense_rate=0 shield_defense=0 skill_list={@s_race_bug;@s_npc_weakness_fire2} npc_ai={[cave_ant_4];{[MoveAroundSocial]=120};{[MoveAroundSocial1]=120};{[MoveAroundSocial2]=120};{[IsTransform]=3};{[step1]=@cave_ant_4};{[step2]=@cave_recruit_4};{[step3]=@cave_noble_ant_4};{[MaxRoarCount]=3};{[Fury]=@s_rage_might}}..... and ai now..
class 1 cave_ant_4 : warrior_ag_berserker
class 1 warrior_ag_berserker : warrior_berserker class 1 warrior_berserker : warrior
parameter_define_begin
int Fury 1033473
int MaxRoarCount 1
parameter_define_end the parameter exists in ai, so where is the error? :S

FidoW
25.04.2007, 15:05
Im not sure but try adding the parameters to cave_ant_lava_4 class in AI or in the npc in npcdata...

cave_ant_4 (step1) born from the transform of cave_ant_lava_4, later... cave_recruit_4 (step2) and finally cave_noble_ant_4 (step3)

So you will need to add PhysicalSpecial parameters too... (for the step 2 and 3)

Npc[cave_ant_4] doesn't have parameter[MaxRoarCount]. failed to set
Npc[cave_recruit_4] doesn't have parameter[PhysicalSpecial]. failed to set
Npc[cave_noble_ant_4] doesn't have parameter[PhysicalSpecial]. failed to set

The error is due that transform thingy, for some reason take the parameters from the main npc.

tpuNIsher
25.04.2007, 15:14
If that doesn't work too =p simple warning prolly as i said in msn =p maybe l2npc lag / l2npc limitation etc.. while transform group <-> new npc etc.. =p