Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 18.09.2006, 10:28   #1
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default Does anybody have this problem?

When I open NPC error log, I see a lot of errors. For example:
Code:
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx2, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx1, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx7, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[AcceptShoutTarget]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[HealBonus]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SelfExplosion]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[ShoutTarget]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SoulShot]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SoulShotRate]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpeedBonus]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpiritShot]. failed to set
09/18/2006 14:43:xx.xx8, Npc[lavasaurus] doesn't have parameter[SpiritShotRate]. failed to set
But for this Lavasaurus I have all of them in Npcdata:
Code:
npc_begin	warrior	1394	[lavasaurus]	level=79	acquire_exp_rate=57xx.xx4	acquire_sp=3984800	unsowing=0	clan={@fire_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_construct;@s_d5_monster;@s_npc_resist_physical_dmg7;@s_npc_resist_fire2;@s_npc_weakness_water2;@s_npc_weakness_blunt1;@s_npc_high_level_6;@s_npc_resist_derangement4}	npc_ai={[lavasaurus];{[MoveAroundSocial]=140};{[MoveAroundSocial1]=140};{[MoveAroundSocial2]=140};{[ShoutTarget]=0};{[AcceptShoutTarget]=1};{[SoulShot]=100};{[SoulShotRate]=20};{[SkillRange]=500};{[SpiritShot]=100};{[SpeedBonus]=80};{[HealBonus]=1};{[SpiritShotRate]=30};{[DDMagic]=@s_magma_attack};{[SelfExplosion]=@s_dead_explosion8}}	category={}	race=construct	sex=male	undying=0	can_be_attacked=1	corpse_time=7	no_sleep_mode=0	agro_range=300	ground_high={1;0;0}	ground_low={1;0;0}	exp=2099275834	org_hp=142xx.xx935	org_hp_regen=42.5	org_mp=1641	org_mp_regen=3	collision_radius={15;15}	collision_height={75;75}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=bow	base_attack_range=500	base_damage_range={0;0;10;0}	base_rand_dam=10	base_physical_attack=29xx.xx4119014	base_critical=8	physical_hit_modify=0	base_attack_speed=163	base_reuse_delay=1500	base_magic_attack=5xx.xx136	base_defend=2xx.xx3243636364	base_magic_defend=2xx.xx326	physical_avoid_modify=10	soulshot_count=0	spiritshot_count=0	hit_time_factor=0.48	item_make_list={}	corpse_make_list={{[rp_soulshot_s];1;1;50};{[sealed_helm_of_nightmare_design];1;1;100};{[rp_spiritshot_s];1;1;50}}	additional_make_list={}	additional_make_multi_list={{{{[adena];56230000;114760000;100}};70};{{{[dragon_grinder];1;1;0.2693};{[dragon_grinder_edge];1;1;xx.xx07}};100};{{{[crafted_leather];1;1;xx.xx3};{[mold_glue];1;1;xx.xx33};{[mold_hardener];1;1;2.7243};{[thons];1;1;xx.xx33};{[scrl_of_ench_am_s];1;1;0.1253};{[mithril_arrow];60;180;xx.xx08}};100}}	hp_increase=0	mp_increase=0	safe_height=100	npc_end
What is wrong?
kin is offline  
Old 18.09.2006, 11:47   #2
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

As msg syas: npc doesn't have parameter.

Simply: in your AI there are missing above parameters in class for lavasaurus.
You can add it to AI.
Luno is offline  
Old 18.09.2006, 14:00   #3
MuNLoK
Архивный участник
 
Join Date: Sep 2005
Posts: 255
Default

In this case all is correct in the ai, you need delete the parameters in the npcdata.
MuNLoK is offline  
Old 18.09.2006, 16:02   #4
nick0179
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

to MuNLok
if i delete the parameters ...will the mob. work properly?
nick0179 is offline  
Old 18.09.2006, 17:48   #5
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Quote:
Originally Posted by Luno View Post
As msg syas: npc doesn't have parameter.

Simply: in your AI there are missing above parameters in class for lavasaurus.
You can add it to AI.
Nope...
These parameters are setted in parent class, called monster_parameter.
But npcserver search parameters only in class, which setted in npcdata.txt...
Better way is delete those parameters from npcdata.txt, as MuNLoK says.
hel is offline  
Old 18.09.2006, 18:15   #6
kin
Архивный участник
 
Join Date: Sep 2006
Posts: 882
Default

So, it should be:
Code:
npc_begin	warrior	1394	[lavasaurus]	level=79	acquire_exp_rate=57xx.xx4	acquire_sp=3984800	unsowing=0	clan={@fire_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_construct;@s_d5_monster;@s_npc_resist_physical_dmg7;@s_npc_resist_fire2;@s_npc_weakness_water2;@s_npc_weakness_blunt1;@s_npc_high_level_6;@s_npc_resist_derangement4}	npc_ai={[lavasaurus];{[DDMagic]=@s_magma_attack};{[SelfExplosion]=@s_dead_explosion8}}	category={}	race=construct	sex=male	undying=0	can_be_attacked=1	corpse_time=7	no_sleep_mode=0	agro_range=300	ground_high={1;0;0}	ground_low={1;0;0}	exp=2099275834	org_hp=142xx.xx935	org_hp_regen=42.5	org_mp=1641	org_mp_regen=3	collision_radius={15;15}	collision_height={75;75}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=bow	base_attack_range=500	base_damage_range={0;0;10;0}	base_rand_dam=10	base_physical_attack=29xx.xx4119014	base_critical=8	physical_hit_modify=0	base_attack_speed=163	base_reuse_delay=1500	base_magic_attack=5xx.xx136	base_defend=2xx.xx3243636364	base_magic_defend=2xx.xx326	physical_avoid_modify=10	soulshot_count=0	spiritshot_count=0	hit_time_factor=0.48	item_make_list={}	corpse_make_list={{[rp_soulshot_s];1;1;50};{[sealed_helm_of_nightmare_design];1;1;100};{[rp_spiritshot_s];1;1;50}}	additional_make_list={}	additional_make_multi_list={{{{[adena];56230000;114760000;100}};70};{{{[dragon_grinder];1;1;0.2693};{[dragon_grinder_edge];1;1;xx.xx07}};100};{{{[crafted_leather];1;1;xx.xx3};{[mold_glue];1;1;xx.xx33};{[mold_hardener];1;1;2.7243};{[thons];1;1;xx.xx33};{[scrl_of_ench_am_s];1;1;0.1253};{[mithril_arrow];60;180;xx.xx08}};100}}	hp_increase=0	mp_increase=0	safe_height=100	npc_end
MuNlok, am i correct? And how do you know if this AI problem, or NpcData?

For example, here is another one:
Code:
09/18/2006 14:43:xx.xx1, Npc[ketra_orc_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/18/2006 14:43:xx.xx1, Npc[ketra_orc_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/18/2006 14:43:xx.xx1, Npc[ketra_orc_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set
09/18/2006 14:43:xx.xx1, Npc[ketra_orc_officer] doesn't have parameter[SelfRangeDDMagic]. failed to set
Here is my NpcData:
Code:
npc_begin	warrior	1339	[ketra_orc_officer]	level=84	acquire_exp_rate=23xx.xx56	acquire_sp=1975200	unsowing=0	clan={@ketra_orc_clan}	ignore_clan_list={}	clan_help_range=300	slot_chest=[]	slot_rhand=[axe_of_ketra_orc_chieftain]	slot_lhand=[]	shield_defense_rate=0	shield_defense=0	skill_list={@s_race_humanoid;@s_d2_monster;@s_npc_critical_power;@s_npc_critical_chance;@s_npc_high_level_8}	npc_ai={[ketra_orc_officer];{[MoveAroundSocial]=140};{[MoveAroundSocial1]=54};{[MoveAroundSocial2]=140};{[FriendShip1]=@q_ketra_friendship_1};{[FriendShip2]=@q_ketra_friendship_2};{[FriendShip3]=@q_ketra_friendship_3};{[FriendShip4]=@q_ketra_friendship_4};{[FriendShip5]=@q_ketra_friendship_5};{[MaxRoarCount]=3};{[SoulShot]=100};{[SoulShotRate]=50};{[Fury]=@s_rage_might};{[SelfRangeDDMagic]=@s_npc_blazing_circle9};{[PhysicalSpecial]=@s_npc_sonic_blaster9};{[DeBuff]=@s_npc_shackle5};{[DeBuff1]=@s_b_k_stone}}	category={}	race=humanoid	sex=male	undying=0	can_be_attacked=1	corpse_time=7	no_sleep_mode=0	agro_range=300	ground_high={175
As I understood this is AI problem? Looking in AI :
Code:
class 1 ketra_orc_officer : warrior_ag_berserker_physicalspecial_stone
handler 10 2038	//  MY_DYING
	variable_begin
		"always_list"
		"code_info"
		"i4"
		"i9"
		"last_attacker"
		"lparty"
		"member"
		"random1_list"
		"target"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end
and next:
Code:
class 1 warrior_ag_berserker_physicalspecial_stone : warrior_berserker_physicalspecial_stone
handler 5 917	//  SEE_CREATURE
	variable_begin
		"creature"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end
and next:
Code:
class 1 warrior_berserker_physicalspecial_stone : warrior_berserker_physicalspecial
parameter_define_begin
	int DeBuff1 1155841
parameter_define_end
and next
Code:
class 1 warrior_berserker_physicalspecial : warrior_berserker
parameter_define_begin
	int PhysicalSpecial 1032193
	int SelfRangePhysicalSpecial 1068034
	int DeBuff 1033473
parameter_define_end
and the last
Code:
class 1 warrior_berserker : warrior
parameter_define_begin
	int Fury 1033473
	int MaxRoarCount 1
parameter_define_end
So, there is no SelfRangeDDMagic parameter. In which section should I enter it and what type (int, var)?
kin 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 19:26.