View Single Post
Old 20.08.2005, 13:12   #1
silverdog
Архивный участник
 
Join Date: Apr 2005
Posts: 42
Default [Help] Error with privates.

I have recently upgraded from C1 and have come across some errors which I find rather weird.

During the loading of L2NPC, these errors come up:
Code:
08/20/2005 14:03:xx.xx7, invalid npc name [wild_desperado_fellow] at file[NPC.cpp], line[4462]
It does that for all privates that are in npcpos.

My info in other files:

ai.obj
Code:
class wild_desperado : party_leader_aggressive
class_end
class wild_desperado_fellow : party_private
class_end
npcdata.txt
Code:
npc_begin	warrior	745	[wild_desperado]	level=35	exp=87404xx.xx	acquire_exp_rate=xx.xx	undying=0	can_be_attacked=1	acquire_sp=864	race=bug	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_bug_weakness}	magic_list={}	max_item=50	item_make_list={}	corpse_make_list={{[enchanted_earing];1;1;4.238};{[advanced_antidote];1;3;100}}	additional_make_list={}	additional_make_multi_list={{{{[adena];1778;3549;100}};100};{{{[mithril_banded_mail];1;1;0.8127};{[mithril_banded_mail_material];1;1;xx.xx5};{[reinforce_leather_shirt];1;1;0.8127};{[mithril_banded_gaiters];1;1;1.2977};{[mithril_banded_gaiters_material];1;1;xx.xx42};{[reinforce_leather_gaiters];1;1;1.2977}};9.5935};{{{[thread];1;21;xx.xx34};{[suede];1;21;9.5711};{[cord];1;21;8.8349};{[high_grade_suede];1;21;1.1964};{[scroll_of_resurrection];1;1;2.8713};{[scrl_of_ench_am_d];1;1;0.9571};{[bone_arrow];20;79;xx.xx58}};xx.xx05}}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=10	mp_increase=3	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={80;0;10}	ground_high={139;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=7xx.xx8017248857	org_mp=402.6	base_defend=1xx.xx2430546793	base_magic_attack=xx.xx49122834552	base_magic_defend=1xx.xx2701197714	base_physical_attack=1xx.xx895629306	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-1225	collision_radius=35	collision_height=17	category={}	clan={@ant_clan}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[wild_desperado]}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	warrior	746	[wild_desperado_fellow]	level=31	exp=52312xx.xx	acquire_exp_rate=xx.xx	undying=0	can_be_attacked=1	acquire_sp=632	race=bug	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_bug_weakness}	magic_list={}	max_item=50	item_make_list={}	corpse_make_list={{[enchanted_necklace_chain];1;1;xx.xx5};{[rp_bone_arrow];1;1;100}}	additional_make_list={}	additional_make_multi_list={{{{[adena];1421;2835;100}};100};{{{[elven_tunic];1;1;0.9308};{[white_tunic];1;1;0.9308};{[white_tunic_pattern];1;1;xx.xx66};{[mage's_tunic];1;1;0.9308};{[elven_hose];1;1;1.4878};{[dark_hose];1;1;1.4878};{[dark_hose_fabric];1;1;xx.xx77};{[mage's_hose];1;1;1.4877}};7.6385};{{{[thread];1;7;xx.xx91};{[suede];1;7;xx.xx3};{[cord];1;7;xx.xx82};{[high_grade_suede];1;7;2.3641};{[rp_tiger'seye_earing];1;1;4.4121};{[scrl_of_ench_wp_d];1;1;0.1135}};xx.xx55}}	slot_chest=[]	slot_rhand=[]	slot_lhand=[]	base_attack_type=fist	base_can_penetrate=0	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	str=40	int=21	dex=30	wit=20	con=43	men=10	hp_increase=10	mp_increase=3	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={80;0;10}	ground_high={139;-30;30}	underwater_low={50;0;10}	underwater_high={0;0;30}	fly_low={0;0;10}	fly_high={0;-30;30}	float_low={0;0;10}	float_high={0;-30;30}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=6xx.xx4365256314	org_mp=343.8	base_defend=1xx.xx8192210846	base_magic_attack=xx.xx43037690698	base_magic_defend=xx.xx56648606231	base_physical_attack=1xx.xx1847969701	physical_hit_modify=4.75	physical_avoid_modify=0	base_attack_speed=253	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-961	collision_radius=26	collision_height=15	category={}	clan={@ant_clan}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[wild_desperado_fellow]}	corpse_time=7	no_sleep_mode=0	npc_end
I am struggling to find the error and why it is happening.
Someone please help me.
silverdog is offline