Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 05.09.2005, 19:54   #1
melco
Архивный участник
 
Join Date: Sep 2005
Posts: 33
Default Event - Medal Quest

ai.obj
Code:
class roy_the_cat : citizen
handler 32	// MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"fhtml0"
		"i0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	negate
	equal
	push_reg_sp
	fetch_i
	branch_false L41913
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	and
L41913
	branch_false L41932
L41914
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
	push_reg_sp
	fetch_i
	branch_true L41915
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	or
L41915
	branch_false L41930
L41916
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8889.	"eventmedal004.htm"
	push_string S8889
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41922
L41917
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8890.	"event_level"
	push_string S8890
S8891.	"rabbit"
	push_string S8891
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8892.	"sellid"
	push_string S8892
	push_const 22
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41929
L41922
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41924
L41923
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8893.	"event_level"
	push_string S8893
S8894.	"hyena"
	push_string S8894
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8895.	"sellid"
	push_string S8895
	push_const 23
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41928
L41924
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41926
L41925
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8896.	"event_level"
	push_string S8896
S8897.	"fox"
	push_string S8897
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8898.	"sellid"
	push_string S8898
	push_const 24
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41927
L41926
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8899.	"event_level"
	push_string S8899
S8900.	"wolf"
	push_string S8900
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8901.	"sellid"
	push_string S8901
	push_const 25
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
L41927
L41928
L41929
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L41931
L41930
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8902.	"eventmedal005.htm"
	push_string S8902
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41931
L41932
handler_end

class_end


class winnie_the_cat : citizen
handler 32	// MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"fhtml0"
		"i0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	negate
	equal
	branch_false L41966
L41933
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L41947
L41934
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L41945
L41935
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8903.	"winnie_the_cat003.htm"
	push_string S8903
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41937
L41936
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8904.	"event_level"
	push_string S8904
S8905.	"rabbit"
	push_string S8905
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8906.	"medal_count"
	push_string S8906
	push_const 10
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41944
L41937
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41939
L41938
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8907.	"event_level"
	push_string S8907
S8908.	"hyena"
	push_string S8908
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8909.	"medal_count"
	push_string S8909
	push_const 20
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41943
L41939
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41941
L41940
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8910.	"event_level"
	push_string S8910
S8911.	"fox"
	push_string S8911
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8912.	"medal_count"
	push_string S8912
	push_const 40
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
	jump L41942
L41941
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8913.	"event_level"
	push_string S8913
S8914.	"no level"
	push_string S8914
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8915.	"medal_count"
	push_string S8915
	push_const 5
	func_call 85	//  func[FHTML_SetInt]
	shift_sp -3
	shift_sp -1
L41942
L41943
L41944
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L41946
L41945
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8916.	"winnie_the_cat002.htm"
	push_string S8916
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41946
	jump L41965
	jump L41948
L41947
	push_reg_sp
	fetch_i
	push_const 4
	equal
	branch_false L41963
L41948
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L41962
L41949
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41951
L41950
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	jump L41958
L41951
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41953
L41952
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 20
	assign
	shift_sp -1
	jump L41957
L41953
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41955
L41954
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 40
	assign
	shift_sp -1
	jump L41956
L41955
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 5
	assign
	shift_sp -1
L41956
L41957
L41958
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_event	//  i0
	push_const 192
	add
	fetch_i
	greater_equal
	branch_false L41960
L41959
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8917.	"winnie_the_cat004.htm"
	push_string S8917
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L41961
L41960
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8918.	"winnie_the_cat005.htm"
	push_string S8918
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L41961
L41962
	jump L41964
L41963
L41964
L41965
	shift_sp -1
	jump L42008
L41966
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 2
	negate
	equal
	branch_false L42007
L41967
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6402
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	branch_false L42006
L41968
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41970
L41969
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 10
	assign
	shift_sp -1
	jump L41977
L41970
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41972
L41971
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 20
	assign
	shift_sp -1
	jump L41976
L41972
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41974
L41973
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 40
	assign
	shift_sp -1
	jump L41975
L41974
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_const 5
	assign
	shift_sp -1
L41975
L41976
L41977
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_event	//  i0
	push_const 192
	add
	fetch_i
	greater_equal
	branch_false L42005
L41978
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6393
	push_event	//  i0
	push_const 192
	add
	fetch_i
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 50
	greater
	branch_false L42000
L41979
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41981
L41980
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8919.	"winnie_the_cat008.htm"
	push_string S8919
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	jump L41982
L41981
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8920.	"winnie_the_cat009.htm"
	push_string S8920
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
L41982
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41986
L41983
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	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 6400
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8921.	"event_level"
	push_string S8921
S8922.	"hyena"
	push_string S8922
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41985
L41984
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8923.	"event_level2"
	push_string S8923
S8924.	"hyena"
	push_string S8924
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41985
	jump L41999
L41986
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41990
L41987
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6400
	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 6401
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8925.	"event_level"
	push_string S8925
S8926.	"fox"
	push_string S8926
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41989
L41988
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8927.	"event_level2"
	push_string S8927
S8928.	"fox"
	push_string S8928
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41989
	jump L41998
L41990
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	not_equal
	branch_false L41994
L41991
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6401
	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 6402
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8929.	"event_level"
	push_string S8929
S8930.	"wolf"
	push_string S8930
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41993
L41992
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8931.	"event_level2"
	push_string S8931
S8932.	"wolf"
	push_string S8932
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41993
	jump L41997
L41994
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6399
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8933.	"event_level"
	push_string S8933
S8934.	"rabbit"
	push_string S8934
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L41996
L41995
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S8935.	"event_level2"
	push_string S8935
S8936.	"rabbit"
	push_string S8936
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L41996
L41997
L41998
L41999
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L42004
L42000
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L42002
L42001
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8937.	"winnie_the_cat006.htm"
	push_string S8937
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L42003
L42002
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S8938.	"winnie_the_cat007.htm"
	push_string S8938
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L42003
L42004
L42005
L42006
L42007
L42008
handler_end

class_end
itemdata
Code:
item_begin	questitem	6399	[badge_of_rabbit]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6400	[badge_of_hyena]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6401	[badge_of_fox]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	questitem	6402	[badge_of_wolf]	item_type=questitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=100	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6392	[event__medal]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6393	[event__glittering_medal]	item_type=etcitem	slot_bit_type={none}	armor_type=none	etcitem_type=none	blessed=0	weight=0	default_action=action_none	consume_type=consume_type_stackable	initial_count=1	maximum_count=1	spiritshot_count=0	immediate_effect=1	price=0	default_price=0	item_skill=[none]	critical_attack_skill=[none]	material_type=gold	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
npcdata
Code:
npc_begin	citizen	8228	[roy_the_cat]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.1	undying=1	can_be_attacked=0	acquire_sp=10	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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx4851683855	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=0	collision_radius=9	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[roy_the_cat];{[fnHi] = [eventmedal001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
npc_begin	citizen	8229	[winnie_the_cat]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.1	undying=1	can_be_attacked=0	acquire_sp=10	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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx4851683855	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=0	collision_radius=9	collision_height=16	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[winnie_the_cat];{[fnHi] = [winnie_the_cat001.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
multisell
Code:
MultiSell_begin	[event_medal_1]	21
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}}}
MultiSell_end

MultiSell_begin	[event_medal_2]	22
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}}}
MultiSell_end

MultiSell_begin	[event_medal_3]	23
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}}}
MultiSell_end

MultiSell_begin	[event_medal_4]	24
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}};
{{[scrl_of_ench_am_a];1};{{[event__medal];833}}};
{{[scrl_of_ench_wp_a];1};{{[event__medal];3000}}};
{{[red_party_mask];1};{{[event__medal];833}}}}
MultiSell_end

MultiSell_begin	[event_medal_5]	25
selllist={{{[adv_quick_step_potion];1};{{[event__medal];5}}};
{{[adv_swift_attack_potion];1};{{[event__medal];10}}};
{{[potion_of_acumen3];1};{{[event__medal];10}}};
{{[quick_healing_potion];1};{{[event__medal];17}}};
{{[blessed_scroll_of_escape];1};{{[event__medal];250}}};
{{[blessed_scroll_of_resurrection];1};{{[event__medal];667}}};
{{[scrl_of_ench_am_d];1};{{[event__medal];25}}};
{{[scrl_of_ench_wp_d];1};{{[event__medal];83}}};
{{[scrl_of_ench_am_c];1};{{[event__medal];67}}};
{{[scrl_of_ench_wp_c];1};{{[event__medal];183}}};
{{[scrl_of_ench_am_b];1};{{[event__medal];267}}};
{{[scrl_of_ench_wp_b];1};{{[event__medal];833}}};
{{[scrl_of_ench_am_a];1};{{[event__medal];833}}};
{{[scrl_of_ench_wp_a];1};{{[event__medal];3000}}};
{{[red_party_mask];1};{{[event__medal];833}}};
{{[sealed_majestic_necklace];1};{{[event__medal];6240}}};
{{[sealed_majestic_earing];1};{{[event__medal];4680}}};
{{[sealed_majestic_ring];1};{{[event__medal];3120}}}}
MultiSell_end
item_pch
Code:
[event__medal]	=	6392
[event__glittering_medal]	=	6393
medal's drop manualy add to drop 8)
melco is offline  
Old 05.09.2005, 20:54   #2
inc0gnit0
Архивный участник
 
Join Date: Sep 2005
Posts: 1
Default

Its really working?
inc0gnit0 is offline  
Old 05.09.2005, 22:07   #3
krapno
Архивный участник
 
Join Date: May 2005
Posts: 368
Default

missing itemdata [event__medal] ...
krapno is offline  
Old 06.09.2005, 02:55   #4
melco
Архивный участник
 
Join Date: Sep 2005
Posts: 33
Default

Quote:
Originally Posted by krapno
missing itemdata [event__medal] ...
fixed
melco is offline  
Old 07.09.2005, 05:20   #5
s00r
Архивный участник
 
Join Date: Jul 2005
Posts: 47
Default

hi,
help me please,
with start of server, i see:
Code:
[ObjectDB.cpp][168] undefined (or unregistered) Name[red_perty_mask]
[ObjectDB.cpp][168] undefined (or unregistered) Name[red_perty_mask]
s00r is offline  
Old 07.09.2005, 07:01   #6
TourT
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

Quote:
Originally Posted by s00r
hi,
help me please,
with start of server, i see:
Code:
[ObjectDB.cpp][168] undefined (or unregistered) Name[red_perty_mask]
[ObjectDB.cpp][168] undefined (or unregistered) Name[red_perty_mask]
red_perty_mask - party <===
TourT is offline  
Old 07.09.2005, 07:34   #7
s00r
Архивный участник
 
Join Date: Jul 2005
Posts: 47
Default

oh..
i do error on post,
i see not Name[red_perty_mask], i see Name[red_party_mask] with start my server

sorry for my bad english...

ps. all ok, i see now
s00r is offline  
Old 07.09.2005, 14:27   #8
TourT
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

руский руского понял можеш неизвеняться за кривой английский))
TourT is offline  
Old 11.09.2005, 08:19   #9
kenfalco
Архивный участник
 
Join Date: Sep 2005
Posts: 37
Default

The html eventmedal004.htm and eventmedal005.htm contain a small error : substitute "muitisell" with "multisell"...

:lol:
kenfalco is offline  
Old 11.09.2005, 19:14   #10
maximus
Архивный участник
 
Join Date: Jun 2005
Posts: 135
Default

hahaha nice kenfalco i dont see XD
maximus is offline  
Old 16.09.2005, 01:08   #11
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

When I add a drop, I get many many errors with ObjectDB.cpp

This is what I do

Code:
npc_begin	warrior	1	[gremlin]	level=1	exp=1	acquire_exp_rate=1xx.xx	undying=0	can_be_attacked=1	acquire_sp=14	race=fairy	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={}	magic_list={}	max_item=50	item_make_list={}	corpse_make_list={{[magic_ring];1;1;100};{[stem];1;5;xx.xx85}}	additional_make_list={}	additional_make_multi_list={{{{[event__medal];1;1;100}};{{{[adena];70;100;100}};100};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};xx.xx6};{{{[stem];1;5;75};{[suede];1;5;25}};6.531}}}	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=2	org_mp_regen=0.9	ground_low={20;0;10}	ground_high={50;-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=xx.xx81717042201	org_mp=40	base_defend=xx.xx91162425052	base_magic_attack=5.78703703703704	base_magic_defend=xx.xx25155877146	base_physical_attack=4.12912046182547	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=-1	collision_radius=10	collision_height=15	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[gremlin]}	corpse_time=7	no_sleep_mode=0	npc_end
Kenster is offline  
Old 16.09.2005, 06:40   #12
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

It has to be either
Quote:
{{{[event__medal];1;1;100}};100};
or
Quote:
{{{[event__medal];1;1;50};{[adena];70;100;50}};100};
The last one gives 50% chance on a medeal, 50% chance on adena.
Aikeleer is offline  
Old 16.09.2005, 06:46   #13
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Will that mean, it will double drop adena if both adena are picked?
Kenster is offline  
Old 16.09.2005, 14:32   #14
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

If they are seperated, like {{{[event__medal];1;1;100}};100};{{{[adenal];5;50;100}};100};, they will both drop, If they are in one column like the second code in my previous post, only 1 will drop.
Aikeleer is offline  
Old 18.09.2005, 00:35   #15
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

I do not see subjects in a bag. Give me them. In advanceю thanks
superkent is offline  
Old 18.09.2005, 07:23   #16
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Any suggestion to adding drops to ALL the mobs in the game, other than manually?
Kenster is offline  
Old 18.09.2005, 11:05   #17
tandrea85
Архивный участник
 
Join Date: Aug 2005
Posts: 7
Default

Quote:
Originally Posted by Kenster
Any suggestion to adding drops to ALL the mobs in the game, other than manually?
yes, maybe with the AI in the class warrior and the handler 10 // MY_DYING
tandrea85 is offline  
Old 19.09.2005, 03:26   #18
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

I SEE GIANT RABBITS...HELP MEEEEE
Flamestrike is offline  
Old 19.09.2005, 04:17   #19
Kryak
Архивный участник
 
Join Date: May 2005
Posts: 48
Default

Quote:
Originally Posted by Flamestrike
I SEE GIANT RABBITS...HELP MEEEEE
edit client-side
Kryak is offline  
Old 24.12.2005, 18:44   #20
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

nothing works, i change sellid -21>65 i etc., maybe this is problem?
xarion is offline  
Old 26.12.2005, 02:01   #21
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

Give me plizz Client-side for item's 6392,6393
superkent is offline  
Old 26.12.2005, 04:24   #22
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default

etcitemgrp.dat
Code:
item_begin	object_id=6392	object_name=[]	drop_type=0	drop_anim_type=0	drop_radius=2	drop_height=5	drop_mesh={[dropitems.drop_sack_m00]}	drop_texture={[dropitemstex.drop_sack_t01]}	icon={[icon.etc_event_medal_i00]}	mesh={[none]}	texture={[none]}	crystallizable=0	drop_sound=[ItemSound.itemdrop_sack]	equip_sound=[none]	etcitem_type=none	weight=0	consume_type=consume_type_stackable	material_type=steel	crystal_type=none	durability=0	c3_newvar=0	item_end
item_begin	object_id=6393	object_name=[]	drop_type=0	drop_anim_type=0	drop_radius=2	drop_height=5	drop_mesh={[dropitems.drop_sack_m00]}	drop_texture={[dropitemstex.drop_sack_t01]}	icon={[icon.etc_event_glitter_medal_i00]}	mesh={[none]}	texture={[none]}	crystallizable=0	drop_sound=[ItemSound.itemdrop_sack]	equip_sound=[none]	etcitem_type=none	weight=0	consume_type=consume_type_stackable	material_type=steel	crystal_type=none	durability=0	c3_newvar=0	item_end
itemname.dat
Code:
item_name_begin	id=6392	name=[Event - Medal]	additionalname=[]	popup=-1	description=[L2 Medal Collection Event – If you take it to an Event Manager, he will trade it for a prize item of your choice.]	item_name_end
item_name_begin	id=6393	name=[Event - Glittering Medal]	additionalname=[]	popup=-1	description=[L2 Medal Collection Event – It is used to raise the grade of a collector during the event.]	item_name_end
filrip is offline  
Old 27.12.2005, 17:33   #23
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

If I change the sellid, whether it is necessary to change a AI?

/ru Если я меняю селайди, нужно ли что-то менять в аи?/ru

[glow=red:217d85c281]Update[/glow:217d85c281]

/ru Видимо да /ru
xarion is offline  
Old 27.12.2005, 18:52   #24
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

if you about multisell group Id then here change 21 to 65
<a action="bypass -h muitisell?id=21"> </a>
serjr is offline  
Old 27.12.2005, 18:56   #25
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

and nothing)))))
/ru я оставил так как есть, вроде должно работать но при этом клиент выдает крит ошибку и выпадает, на серваке пишет ошибку ObjectDB.cpp/ru
xarion 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 19:17.