View Single Post
Old 07.03.2006, 15:10   #16
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

ai.obj before change:[php:1:492752a29e].
func_call 29 // func[GetIndexFromCreature]
shift_sp -1
func_call 31 // func[RegisterGlobalMap]
shift_sp -2
shift_sp -1
L2414
L2412
push_event // myself
push_const 28
add
fetch_i // sm[/php:1:492752a29e]



make it look like this:[php:1:492752a29e].
func_call 29 // func[GetIndexFromCreature]
shift_sp -1
func_call 31 // func[RegisterGlobalMap]
shift_sp -2
shift_sp -1
// here starts the change
jump L2414
L2412
shift_sp 1
push_event // myself
push_const 28
add
fetch_i // sm
push_const 2400
add
fetch_i
push_const 3
func_call 68 // func[SetDBValue]
shift_sp -2
shift_sp -1
L2414
// end of change
push_event // myself
push_const 28
add
fetch_i // sm
[/php:1:492752a29e]
can't check it atm, because my dev-server is offline atm :/
Xellos is offline