| View previous topic :: View next topic |
| Author |
Message |
needmypandora How do I cheat?
Reputation: 0
Joined: 15 Nov 2020 Posts: 2
|
Posted: Sun Nov 15, 2020 4:21 am Post subject: Compare And Set Player and Ally Health Only |
|
|
Hi, everyone. I am trying to turn on godmode not only for the player but also for my teammates. So, is it possible to achieve that in this script or in any other way? Thanks.
| Code: |
newmem:
//Player: 65536 - Ally: 131072 - Enemy: 524288 - Enemy2: 1048576
cmp [ecx+28],#65536
jne code
mov [ecx+000000A8],#10000
jmp return
code:
mov [ecx+000000A8],eax
jmp return
|
|
|
| Back to top |
|
 |
OldCheatEngineUser Whateven rank
Reputation: 20
Joined: 01 Feb 2016 Posts: 1586
|
Posted: Sun Nov 15, 2020 10:19 pm Post subject: Re: Compare And Set Player and Ally Health Only |
|
|
| needmypandora wrote: |
//Player: 65536 - Ally: 131072 - Enemy: 524288 - Enemy2: 1048576
|
you may want to find team value, by mean of a value that indicates whether this entity in the same team as the player.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
| STN wrote: | | i am a sweetheart. |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25839 Location: The netherlands
|
Posted: Mon Nov 16, 2020 2:05 am Post subject: |
|
|
| Code: |
newmem:
//Player: 65536 - Ally: 131072 - Enemy: 524288 - Enemy2: 1048576
cmp [ecx+28],#65536
je correct
cmp [ecx+28],#131072
je correct
jmp code
correct:
mov [ecx+000000A8],#10000
jmp return
code:
mov [ecx+000000A8],eax
jmp return
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
needmypandora How do I cheat?
Reputation: 0
Joined: 15 Nov 2020 Posts: 2
|
Posted: Mon Nov 16, 2020 2:08 pm Post subject: |
|
|
| Quote: | | you may want to find team value, by mean of a value that indicates whether this entity in the same team as the player. |
I couldn't find it. There were so many numbers. I am grateful that I found at least these numbers.
| Dark Byte wrote: | | Code: |
newmem:
//Player: 65536 - Ally: 131072 - Enemy: 524288 - Enemy2: 1048576
cmp [ecx+28],#65536
je correct
cmp [ecx+28],#131072
je correct
jmp code
correct:
mov [ecx+000000A8],#10000
jmp return
code:
mov [ecx+000000A8],eax
jmp return
|
|
This piece of code told me a lot, thank you.
|
|
| Back to top |
|
 |
|