link asi cleo

mrT101

Active member
Joined
Feb 18, 2014
Messages
58
Reaction score
0
hey, is there a way to transfer memory between asi and cleo files? possibly via allocating memory using hex in cleo and writing to it with the asi?
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
No you can't use a cleo file's memory(UNLESS IF YOU WANT STATIC MEMORY FOR STORAGE OR SOMETHING) since those scripts are being emulated. But you can use an asi/dll's memory and you can read/write to it via a cleo script.
PHP:
char * result = "ASI FILE IS LOADED!";
char * welcome = "Welcome to HaX v0.01";
/*char * smth = "Fuck you, you cannot use this cleo, nob don't steal my hax";*/

to get the address of those variables use the address-of operator (&)(if it's not a pointer, ex : int a, char a, short a, float a..., or if you want you can use it too, and do what you gotta do..)

since these are pointers we do this :
PHP:
printf("result : %X , welcome : %X", (unsigned int)result, (unsigned int)welcome);

then by using CLEO you can do read_memory and write_memory. :urtheman:
 
Top