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?