Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.09.2005, 03:18   #1
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default [SHARE] SSMAN, For Occupations

Ok here we go.....

[highlight=red:65b9e93d03]WARNING: This might mess with the trader simplon (Gludio Weapon Dealer) But doesnt matter because it has a different npc right beside it :P.... Ill post a fix later.[/highlight:65b9e93d03]

NPCDATA.txt
Code:
npc_begin	merchant	7253	[trader_SSMAN]	level=70	exp=0	acquire_exp_rate=0	undying=1	can_be_attacked=0	acquire_sp=0	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=50	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=99	men=10	hp_increase=90	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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	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=-4900	collision_radius=10	collision_height=24	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[trader_SSMAN];{[fnHi] = [trader_SSMAN001.htm]};{[fnSell] = [trader_SSMAN002.htm]};{[fnBuy] = [trader_SSMAN003.htm]};{[fnUnableItemSell] = [trader_SSMAN005.htm]};{[fnYouAreChaotic] = [trader_SSMAN006.htm]};{[fnNowSiege] = [trader_SSMAN007.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	merchant	7253	[trader_SSMAN2]	level=70	exp=0	acquire_exp_rate=0	undying=1	can_be_attacked=0	acquire_sp=0	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=50	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=99	men=10	hp_increase=90	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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	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=-4900	collision_radius=10	collision_height=24	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[trader_SSMAN];{[fnHi] = [trader_SSMAN001.htm]};{[fnSell] = [trader_SSMAN002.htm]};{[fnBuy] = [trader_SSMAN003.htm]};{[fnUnableItemSell] = [trader_SSMAN005.htm]};{[fnYouAreChaotic] = [trader_SSMAN006.htm]};{[fnNowSiege] = [trader_SSMAN007.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	merchant	7253	[trader_SSMAN3]	level=70	exp=0	acquire_exp_rate=0	undying=1	can_be_attacked=0	acquire_sp=0	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=50	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=99	men=10	hp_increase=90	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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	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=-4900	collision_radius=10	collision_height=24	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[trader_SSMAN];{[fnHi] = [trader_SSMAN001.htm]};{[fnSell] = [trader_SSMAN002.htm]};{[fnBuy] = [trader_SSMAN003.htm]};{[fnUnableItemSell] = [trader_SSMAN005.htm]};{[fnYouAreChaotic] = [trader_SSMAN006.htm]};{[fnNowSiege] = [trader_SSMAN007.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
AI.obj
Code:
class trader_SSMAN : merchant
property_define_begin
	buyselllist_begin SellList0
		{1145; 20 }   //this is all of the
		{1161; 20 }   // Quest items
		{1190; 20 }
		{1292; 20 }
		{1201; 20 }
		{1204; 20 }
		{1217; 20 }
		{1230; 20 }
		{1235; 80 }
		{1244; 80 }
		{1252; 80 }
		{1261; 80 }
		{1270; 80 }
		{1592; 80 }
		{1615; 80 }
		{1631; 80 }
		{1635; 80 }
		{1642; 80 }
		{2627; 80 }
		{2734; 80 }
		{2672; 80 }
		{3276; 80 }
		{2633; 80 }
		{2820; 80 }
		{3307; 80 }
		{2673; 80 }
		{2809; 80 }
		{3293; 80 }
		{2674; 80 }
		{2840; 80 }
		{3336; 80 }
		{2721; 80 }
		{2821; 80 }
		{3140; 80 }
		{3119; 80 }
		{3172; 80 }
		{3203; 80 }
		{3238; 80 }
		{3390; 80 }
		{2879; 80 }
		{2867; 80 }
		{2762; 80 }   // quest items end here
	buyselllist_end
	buyselllist_begin SellList1
		{1463; 80}  // SS begins
		{1464; 80}
		{2510; 80}
		{2511; 80}
		{3948; 80}
		{3949; 80}
		{3947; 80}
		{1835; 80}
		{2509; 80}  // SS Ends
		{726; 80}  // manadrug
	buyselllist_end
property_define_end
handler 4	//  TALK_SELECTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_const 0
	equal
	branch_false L22183
L22182
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 405
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22184
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1191
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 1
	equal
	and
L22184
	branch_false L22186
L22185
	push_event	//  _choiceN
	push_const 328
	add
	push_reg_sp
	fetch_i
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	add
	assign
	shift_sp -1
	push_event	//  _code
	push_const 324
	add
	push_reg_sp
	fetch_i
	push_const 0
	assign
	shift_sp -1
	shift_sp 1
	push_const 0
S4686.	"Ask about becoming a Cleric"
	push_string S4686
	func_call 131	//  func[AddChoice]
	shift_sp -2
	shift_sp -1
L22186
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22187
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1138
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22187
	branch_false L22189
L22188
	push_event	//  _choiceN
	push_const 328
	add
	push_reg_sp
	fetch_i
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	add
	assign
	shift_sp -1
	push_event	//  _code
	push_const 324
	add
	push_reg_sp
	fetch_i
	push_const 1
	assign
	shift_sp -1
	shift_sp 1
	push_const 1
S4687.	"Ask about becoming a Warrior"
	push_string S4687
	func_call 131	//  func[AddChoice]
	shift_sp -2
	shift_sp -1
L22189
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22190
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1139
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22190
	branch_false L22192
L22191
	push_event	//  _choiceN
	push_const 328
	add
	push_reg_sp
	fetch_i
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	add
	assign
	shift_sp -1
	push_event	//  _code
	push_const 324
	add
	push_reg_sp
	fetch_i
	push_const 2
	assign
	shift_sp -1
	shift_sp 1
	push_const 2
S4688.	"Ask about becoming a Warrior"
	push_string S4688
	func_call 131	//  func[AddChoice]
	shift_sp -2
	shift_sp -1
L22192
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22193
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1143
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22193
	branch_false L22195
L22194
	push_event	//  _choiceN
	push_const 328
	add
	push_reg_sp
	fetch_i
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	add
	assign
	shift_sp -1
	push_event	//  _code
	push_const 324
	add
	push_reg_sp
	fetch_i
	push_const 3
	assign
	shift_sp -1
	shift_sp 1
	push_const 3
S4689.	"Ask about becoming a Warrior"
	push_string S4689
	func_call 131	//  func[AddChoice]
	shift_sp -2
	shift_sp -1
L22195
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	greater
	branch_false L22197
L22196
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1
	func_call 132	//  func[ShowChoicePage]
	shift_sp -2
	shift_sp -1
	exit_handler
L22197
L22183
	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_reg_sp
	fetch_i
	branch_true L22198
	push_event	//  _choiceN
	push_const 328
	add
	fetch_i
	push_const 1
	equal
	or
L22198
	branch_false L22200
L22199
	push_event	//  _code
	push_const 324
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 0
	equal
	branch_false L22203
L22202
	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_const 0
	equal
	push_reg_sp
	fetch_i
	branch_true L22204
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 405
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22205
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1191
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 1
	equal
	and
L22205
	or
L22204
	branch_false L22207
L22206
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1195
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L22209
L22208
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	fetch_i
	sub
	push_const 1
	greater
	branch_false L22211
L22210
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	assign
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4690.	"trader_simplon_q0405_01.htm"
	push_string S4690
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1195
	push_const 3
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
L22211
	jump L22212
L22209
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1195
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	greater
	branch_false L22214
L22213
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4691.	"trader_simplon_q0405_02.htm"
	push_string S4691
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L22214
L22212
L22207
	jump L22201
	jump L22215
L22203
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L22216
L22215
	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_const 0
	equal
	push_reg_sp
	fetch_i
	branch_true L22217
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22218
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1138
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22218
	or
L22217
	branch_false L22220
L22219
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4692.	"trader_simplon_q0401_01.htm"
	push_string S4692
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L22220
	jump L22201
	jump L22221
L22216
	push_reg_sp
	fetch_i
	push_const 2
	equal
	branch_false L22222
L22221
	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_const 0
	equal
	push_reg_sp
	fetch_i
	branch_true L22223
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22224
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1139
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22224
	or
L22223
	branch_false L22226
L22225
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1140
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 1
	less
	branch_false L22228
L22227
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4693.	"trader_simplon_q0401_03.htm"
	push_string S4693
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L22229
L22228
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1140
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 10
	less
	branch_false L22231
L22230
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4694.	"trader_simplon_q0401_04.htm"
	push_string S4694
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L22232
L22231
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1140
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 10
	greater_equal
	branch_false L22234
L22233
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	fetch_i
	sub
	push_const 1
	greater
	branch_false L22236
L22235
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	assign
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1139
	push_const 1
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1140
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1140
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1141
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1143
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4695.	"trader_simplon_q0401_05.htm"
	push_string S4695
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L22236
L22234
L22232
L22229
L22226
	jump L22201
	jump L22237
L22222
	push_reg_sp
	fetch_i
	push_const 3
	equal
	branch_false L22238
L22237
	push_event	//  _from_choice
	push_const 332
	add
	fetch_i
	push_const 0
	equal
	push_reg_sp
	fetch_i
	branch_true L22239
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 401
	func_call 59	//  func[HaveMemo]
	shift_sp -2
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22240
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1143
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	and
L22240
	or
L22239
	branch_false L22242
L22241
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4696.	"trader_simplon_q0401_06.htm"
	push_string S4696
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L22242
	jump L22201
	jump L22243
L22238
L22243
L22201
	shift_sp -1
	exit_handler
L22200
	call_super
handler_end

handler 32	//  MENU_SELECTED
	variable_begin
		"ask"
		"reply"
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 401
	equal
	branch_false L22245
L22244
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L22246
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1138
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	greater
	and
L22246
	branch_false L22248
L22247
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	fetch_i
	sub
	push_const 1
	greater
	branch_false L22250
L22249
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  quest_last_reward_time
	push_const 644
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	func_call 23	//  func[GetCurrentTick]
	assign
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S4697.	"trader_simplon_q0401_02.htm"
	push_string S4697
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1138
	push_const 1
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 1139
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
L22250
L22248
L22245
	call_super
handler_end

class_end
npcpch.txt
Code:
[trader_SSMAN]	        =	1907254
npcpos.txt
Code:
npc_begin	[trader_SSMAN]	pos = {-13991;123314;-3112;16384}	total = 1	respawn = 1min	npc_end
npc_begin	[trader_SSMAN2]	pos = {19266;144723;-3096;32768}	total = 1	respawn = 1min	npc_end
npc_begin	[trader_SSMAN3]	pos = {83305;147904;-3400;12288}	total = 1	respawn = 1min	npc_end
HTML... nah ill just upload

Their you Go my horribly pathetic but usefull for new server's, SSMAN (Soulshot Man) Because he sells :

BSPS NG/D/C |
SPS NG/D/C | - More Expensive than usual to premote Dwarfe's
SS NG/D/C |
Occupation Quest Items, for levels 20 and 40, Im pretty sure all are their, the prices are 0 adena in my server, thats whats in my Itemdata.txt file.
And Mana Drug ( i think 90a )

He is located:
Gludio Beside Pet Manager
Dion In center near a npc (A wagon nearby)
Giran Near Gatekeeper

Im sure i can change texture and make Simplon work again. but have been way to sick latly to do so. Hey Better than the old Rabbit.

If you fix up the whole trader_simplon crap just post it. (I think its missing one Occupation Item)
bob1122 is offline  
Old 22.09.2005, 05:46   #2
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

trader_simplon is 7253 npc WHICH IS ALREADY IN USE !

Code:
npc_begin	merchant	7253	[trader_simplon]	level=70	exp=429634524	acquire_exp_rate=0.5	undying=1	can_be_attacked=0	acquire_sp=80	race=human	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=50	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=8	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=24xx.xx818899627	org_mp=1346	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	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=-4900	collision_radius=10	collision_height=24	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[trader_simplon];{[fnHi]=[trader_simplon001.htm]};{[fnSell]=[trader_simplon002.htm]};{[fnBuy]=[trader_simplon003.htm]};{[fnUnableItemSell]=[trader_simplon005.htm]};{[fnYouAreChaotic]=[trader_simplon006.htm]};{[fnNowSiege]=[trader_simplon007.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
and btw why to add npc for selling SS official doesnt have such merchant.

also why u didnt make shop in multisell ? less html
demon is offline  
Old 22.09.2005, 08:37   #3
bwgreen
Архивный участник
 
Join Date: Sep 2005
Posts: 408
Default

I've stuck SS into the normal grocery stores like on retail. All it takes is another 3 lines per shop in the AI. Surely this would save all of this bother. Currently working on the waking scroll and energy stones. Potion of Fast Casting already implemented and being used (for about a month).

Why go through the trouble of making a new NPC?
bwgreen is offline  
Old 23.09.2005, 21:47   #4
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

demon : Please read whole post. :P I said that it is a rip of simplon, thats the easiest way to get a nice texture :>.

bw: I know the name is SSMAN but its no neccesarly just selling SS, It sells occupation change item. . I just posted this cause i have like 3 or 4 pm's asking about making npc's
bob1122 is offline  
Old 24.09.2005, 17:19   #5
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

1st: simplon is part of a quest
2nd: its necesary mess up simplon?? if u can make a new npc
3rd: npcpos missing territory_begin
4rd: is @ here other post with the quest items in multisell, there u can put a price without change the default_price on itemdata.
5:the npc_pch id is different from npcdata :?

we apreciate your work, but... (no words)
knife_sj is offline  
Old 24.09.2005, 18:19   #6
bob1122
Архивный участник
 
Join Date: Aug 2005
Posts: 278
Default

Quote:
Originally Posted by knife_sj
1st: simplon is part of a quest
2nd: its necesary mess up simplon?? if u can make a new npc
3rd: npcpos missing territory_begin
4rd: is @ here other post with the quest items in multisell, there u can put a price without change the default_price on itemdata.
5:the npc_pch id is different from npcdata :?
Allright ill add a new npc. as for the npcpos u can but it anywhere between a territory_begin tag. and the one with the mutlisell costs money.
bob1122 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 18:57.