CLEO Help Question about 0AA2: $hLIB = load_library "CLEO\version.dll"

CLEO related
Status
Not open for further replies.

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
What i doing wrong???

Cheat Engine code.:
PHP:
"OWClient.dll" + 0027DF78 + 50 * 2 + 20 /// return P key is pressed or not pressed , 1 / 0

My code.:
PHP:
:Snippet_0AB0
0AA2: 1@ = "OWClient.dll"
1@ += 0x27DF78
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 50
1@ *= 2
1@ += 20
0AB2: ret 1 1@
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
Is the cheat engine thing you posted a mathematical formula? Or at some point of the equation the memory is read and the result is passed onto the next operation?

From what you posted:
Cheat engine method = dll + 0x27DFF0
Cleo method = (value_at(dll + 0x27DF78) + 50) * 2 + 20

So these are 2 different things
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
Is the cheat engine thing you posted a mathematical formula? Or at some point of the equation the memory is read and the result is passed onto the next operation?

From what you posted:
Cheat engine method = dll + 0x27DFF0
Cleo method = (value_at(dll + 0x27DF78) + 50) * 2 + 20

So these are 2 different things

EDX is Virtual key codes offset like - F12 = 7B
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    325.7 KB · Views: 19
Status
Not open for further replies.
Top