Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 25.04.2007, 14:26   #1
Marios145
Архивный участник
 
Join Date: Oct 2006
Posts: 120
Default little "bug"

i have most npcs fixed right now, with correct classes but there is 1 error that confuses me
Code:
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:
Code:
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..
Code:
class 1 cave_ant_4 : warrior_ag_berserker
Code:
class 1 warrior_ag_berserker : warrior_berserker
Code:
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
Marios145 is offline  
Old 25.04.2007, 15:05   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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)

Code:
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.
FidoW is offline  
Old 25.04.2007, 15:14   #3
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

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
tpuNIsher is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:37.