Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15.06.2005, 21:55   #6
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

Here my sources:

ai.obj
Code:
class merchant_for_agrade : default_npc
parameter_define_begin
	string fnHi "black_merchanta001.htm"
	string fnNotEnoughCrystal "black_merchanta100.htm"
parameter_define_end
handler 3	//  TALKED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnHi
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
handler_end
class_end

class chiron : merchant_for_agrade
class_end
black_merchanta001.htm
Code:
<html><head><body>Tallum Helmet

Physical Defense: 69

Price: Alphabets
<font color="LEVEL">T</font> - 
<font color="LEVEL">A</font> - 
<font color="LEVEL">L</font> 
Class B Crystal: 2000 and Class A Crystal: 1000



Would you like to purchase this item?







<center><a action="bypass -h menu_select?ask=-9&reply=1">OK
</a><a action="link chiron001t.htm">Cancel</a>

</center></body></html>
black_merchanta100.htm
Code:
<html>
<body>

You do not have enough crystals to purchase this item.
</body>
</html>
npcdata.txt
Code:
npc_begin	citizen	9000	[chiron]	level=70	exp=4296345xx.xx5	acquire_exp_rate=8.24439	undying=1	can_be_attacked=0	acquire_sp=1950	race=human	sex=female	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	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=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-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=999999	org_mp=999999	base_defend=999999	base_magic_attack=999999	base_magic_defend=999999	base_physical_attack=999999	physical_hit_modify=99	physical_avoid_modify=999	base_attack_speed=999	base_reuse_delay=0	base_critical=99	magic_use_speed_modify=999	status={normal}	align=-4900	collision_radius=8	collision_height=25.3	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[chiron];{[fnHi] = [chiron001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_pch.txt
Code:
[chiron]	=	1009000
I am maybe tired because its late for me but i dont find my error :? maybe tomorrow :roll: tx all

NB: I will try later to set caching html off...
krapno is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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:14.