Thread: ≈ [help]l2npc error
View Single Post
Old 12.02.2007, 18:32   #25
TehUb3r
Архивный участник
 
Join Date: Feb 2007
Posts: 26
Default

THANKS HF :P

if i understand right what you are saying is this


if i got code like this:

Code:
L10251
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1006
	push_const 20000
	func_call 184680487	//  func[AddTimerEx]
	shift_sp -2
	shift_sp -1
L10249
	push_const 1004
	push_event	//  timer_id
	push_const 236
	add
	fetch_i4
	equal
	branch_false L10256
L10255
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  p_state
	push_const 280
	add
	fetch_i4
	push_const 3
	not_equal
	push_reg_sp
	fetch_i
	branch_false L10257
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  p_state
	push_const 280
	add
	fetch_i4
	push_const 10
	not_equal
	and
L10257
	branch_false L10259
L10258
	push_event	//  myself
	push_const 704
	add
	fetch_i
	func_call 184549616	//  func[Despawn]
	shift_sp -1
	jump L10260
L10259
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1004
	push_const 20000
	func_call 184680487	//  func[AddTimerEx]
	shift_sp -2
	shift_sp -1
L10260
L10256
	call_super
handler_end

i should delete a block and stay with something like this:

Code:
L10251
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 1006
	push_const 20000
	func_call 184680487	//  func[AddTimerEx]
	shift_sp -2
	shift_sp -1
L10249
L10255
L10257
L10258
L10259
L10260
L10256

	call_super
handler_end

or im doing something wrong?
TehUb3r is offline