Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01.12.2005, 01:33   #1
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default Help Ai

I have this code
Code:
handler 10	//  MY_DYING
	variable_begin
		"c1"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  c1
	push_const 276
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	func_call 83	//  func[GetLastAttacker]
	assign
	shift_sp -1

	shift_sp 1
	push_event	//  c1
	push_const 276
	add
	fetch_i
	push_const 4629
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	and
	branch_false L7672

	shift_sp 1
	push_event	//  c1
	push_const 276
	add
	fetch_i
	push_const 4630
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1

	shift_sp 1
	push_event	//  c1
	push_const 276
	add
	fetch_i
	push_const 4629
	push_const 1
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
L7672
L7670
	call_super
handler_end
If i kill 1 monster, then all good work. But, if kill many monsters, error...
12/01/2005 04:02:xx.xx1, Kicked for invalid items. (nick)(276)

Who know how fix this error?
dar55 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 19:56.