View Single Post
Old 03.08.2007, 16:47   #1
BRuTALHiTMAN
Архивный участник
 
Join Date: May 2006
Posts: 38
Default Undefined (or unregistered) Help?

I'm making some new things, and among them are NPC's.. but after i make them and put them in the new ones error out and i got this:

[.\ObjectDB.cpp]undefined (or unregistered) Name[ub3rguard]
invalid npc name [ub3rguard] at file

npcdata.txt
Code:
npc_begin	guard	32527	[ub3rguard]	level=80	acquire_exp_rate=0	acquire_sp=0	unsowing=1	clan={@bodyguard_clan}	ignore_clan_list={}	clan_help_range=1200	slot_chest=[]	slot_rhand=[dark_elven_bow]	slot_lhand=[]	shield_defense_rate=0	shield_defense=0	skill_list={@s_race_undead;@s_full_magic_defence}	npc_ai={[ub3rguard];{[fnHi]=[ub3rguard001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=120};{[MoveAroundSocial2]=120}}	category={}	race=darkelf	sex=female	undying=1	can_be_attacked=0	corpse_time=7	no_sleep_mode=0	agro_range=1200	ground_high={160;0;0}	ground_low={50;0;0}	exp=2099325834	org_hp=28xx.xx	org_hp_regen=8.5	org_mp=1674.8	org_mp_regen=3	collision_radius={7;7}	collision_height={25;25}	str=99	int=99	dex=99	wit=99	con=99	men=10	base_attack_type=bow	base_attack_range=1100	base_damage_range={0;0;10;0}	base_rand_dam=10	base_physical_attack=59xx.xx672	base_critical=8	physical_hit_modify=0	base_attack_speed=800	base_reuse_delay=150	base_magic_attack=611	base_defend=3xx.xx	base_magic_defend=249.8	physical_avoid_modify=0	soulshot_count=9000	spiritshot_count=9000	hit_time_factor=0.6	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	hp_increase=0	mp_increase=0	safe_height=100	npc_end
npc_pch.txt
Code:
[ub3rguard] = 1032527
ai.obj
Code:
class 1 ub3rguard : ol_mahum_patrol
class_end
manual_pch
Code:
[bodyguard_clan]	=	102
anyone have any ideas why this wont load??
BRuTALHiTMAN is offline