CLEO Help Call function causing crash?

CLEO related
Status
Not open for further replies.

reiss82

Active member
Joined
Feb 13, 2014
Messages
32
Reaction score
0
Code:
0AA5: call 0x4207A0 num_params 1 pop 1 _value 11@ // asin
0AE9: pop_float 18@

0AA5: call 0x4207C0 num_params 2 pop 2 _x 21@ _y 22@ // atan2
0AE9: pop_float 19@

These two calls are causing a crash when I run them, I can run the call code but the pop_float makes it crash. Does anyone know why?
 

reiss82

Active member
Joined
Feb 13, 2014
Messages
32
Reaction score
0
This is the bit that's crashing it, if I put it in any script it gives me loads of exceptions
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'FREECAM'
0007: 7@ = 16.0
0007: 8@ = 0.0
:FREECAM
wait 0 
if
    0AB0:   key_pressed 73
then                                            
    0AA5: call 0x4207A0 num_params 1 pop 1 _value 7@ // asin
    0AE9: pop_float 8@
end
jump @FREECAM
 
Status
Not open for further replies.
Top