Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.11.2006, 12:34   #1
BeBu
Архивный участник
 
Join Date: Feb 2006
Posts: 8
Default Custom NPC

Hi,

i tried making a custom npc with this line in npcdata.txt:

Code:
npc_begin	citizen	20000	[henry]	level=70	acquire_exp_rate=0	acquire_sp=0	unsowing=1	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_undead;@s_full_magic_defence}	npc_ai={[citizen];{[fnHi]=[henry001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=90};{[MoveAroundSocial2]=90}}	category={}	race=dwarf	sex=male	undying=1	can_be_attacked=0	corpse_time=7	no_sleep_mode=0	agro_range=1000	ground_high={120;0;0}	ground_low={50;0;0}	exp=429634528	org_hp=24xx.xx819	org_hp_regen=7.5	org_mp=1345.8	org_mp_regen=2.7	collision_radius={8;8}	collision_height={17;17}	str=40	int=21	dex=30	wit=20	con=43	men=10	base_attack_type=sword	base_attack_range=40	base_damage_range={0;0;80;120}	base_rand_dam=30	base_physical_attack=6xx.xx373	base_critical=4	physical_hit_modify=4.75	base_attack_speed=253	base_reuse_delay=0	base_magic_attack=4xx.xx463	base_defend=2xx.xx597	base_magic_defend=2xx.xx847	physical_avoid_modify=0	soulshot_count=0	spiritshot_count=0	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
but it lets my l2server die. i also inserted it into npc_pch

maybe someone could point to my error?

thanks in advance
BeBu is offline  
Old 27.11.2006, 14:23   #2
Marios145
Архивный участник
 
Join Date: Oct 2006
Posts: 120
Default

Code:
npc_ai={[citizen];{[fnHi]=[henry001.htm]};{[MoveAroundSocial]=0};{[MoveAroundSocial1]=90};{[MoveAroundSocial2]=90}}
i think this is the problem
maybe it should be default_npc

EDIT
ok i haven't tested to load up npc but it seems that you have to put another id,not 20000
ex.i used 13853 which is the next number from the last id(13852) in my scripts
Marios145 is offline  
Old 27.11.2006, 15:33   #3
BeBu
Архивный участник
 
Join Date: Feb 2006
Posts: 8
Default

thx i will try now
BeBu is offline  
Old 27.11.2006, 16:49   #4
KTPSMF
Архивный участник
 
Join Date: Oct 2005
Posts: 367
Default

server does because of id of npc, it is too hogh, c4 server does not understand it
KTPSMF is offline  
Old 27.11.2006, 17:15   #5
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

i think KTP means the NPC id is to HIGH and the server cant understand the high id number u inserted (just make it lower)
nish is offline  
Old 28.11.2006, 19:12   #6
BeBu
Архивный участник
 
Join Date: Feb 2006
Posts: 8
Default

thx guys it worked!!

i made the number sequential and now it runs
BeBu is offline  
Old 28.11.2006, 20:24   #7
Marios145
Архивный участник
 
Join Date: Oct 2006
Posts: 120
Default

what kind of npc was it? :P
Marios145 is offline  
Old 29.11.2006, 10:43   #8
BeBu
Архивный участник
 
Join Date: Feb 2006
Posts: 8
Default

he sells jobmarks

its the narketeer dwarf i just love the looks
BeBu 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 20:49.