View Single Post
Old 09.12.2005, 01:01   #9
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default

Quote:
Originally Posted by SoaPy
i made this but i dont know if my stack is right, cause maybe i need a push_reg_sp to copy one of the values, dont know yet cause didnt test.

add
fetch_i
push_const 1345
push_const 1320
func_call 55 // [Rand]
shift_sp -1
push_const 480
add
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
if i use this code, my L2npc crash
dar55 is offline