 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
LoshkaKartoshka How do I cheat?
Reputation: 0
Joined: 05 Mar 2022 Posts: 2
|
Posted: Sat Mar 05, 2022 1:47 am Post subject: How to make XOR like from Cheat Engine opcode in C#? |
|
|
Code: |
push ebp
mov ebp,esp
mov eax,[ebp+08]
xor eax,A4C12F73
mov [ecx],eax
pop ebp
|
This function invokes when character's stats change. (I got it when set "what writes to this address")
What I know:
At changing needing address's value, ecx = this address
I know what possible to change value of ECX to get needing number.
Trainer has input box. After inputi any number I should get this number in game at stat.
For example: when im standing at game my speed = 3862638451 (4 byte)
but speed at game = 125
So I need to know: how to change input number into encrypted value in address.
I saw trainer which makes it, it has offsets to KEY (here A4C12F73) and offsets to Character's speed address, it only uses this and change Char's speed into number from InputBox in form.
Im not good at Cheat Engine.
Can u help me with making it on C#?
|
|
Back to top |
|
 |
Frouk Master Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 493
|
Posted: Sat Mar 05, 2022 3:35 am Post subject: Re: How to make XOR like from Cheat Engine opcode in C#? |
|
|
LoshkaKartoshka wrote: | Code: |
push ebp
mov ebp,esp
mov eax,[ebp+08]
xor eax,A4C12F73
mov [ecx],eax
pop ebp
|
This function invokes when character's stats change. (I got it when set "what writes to this address")
What I know:
At changing needing address's value, ecx = this address
I know what possible to change value of ECX to get needing number.
Trainer has input box. After inputi any number I should get this number in game at stat.
For example: when im standing at game my speed = 3862638451 (4 byte)
but speed at game = 125
So I need to know: how to change input number into encrypted value in address.
I saw trainer which makes it, it has offsets to KEY (here A4C12F73) and offsets to Character's speed address, it only uses this and change Char's speed into number from InputBox in form.
Im not good at Cheat Engine.
Can u help me with making it on C#? |
speed must be in float
in C# it might be __asm code
and for C,C++ and CSharp there's || responding to or
|
|
Back to top |
|
 |
LoshkaKartoshka How do I cheat?
Reputation: 0
Joined: 05 Mar 2022 Posts: 2
|
Posted: Sat Mar 05, 2022 5:26 am Post subject: |
|
|
I tried to find any info about "__asm" for my question but found nth or I maybe can't write google request properly about what I need.
(by the way there's a ^ for XOR not | (OR) in C#)
Using xor operator and BitArray.Xor gave me 1123680256 (same with calculator):
x ^ y
Where X = value from address 3862638451 and Y = key (2764124019)
or 125 (my speed) ^ y = 2764123918, so far from X
I don't understand how to can use knowledge that speed is float.
Maybe it's bad to ask about such help, but can you write C# code for this or same example?
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|