Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I am trying to use a custom address but the value won't show

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ZoomGC
How do I cheat?
Reputation: 0

Joined: 06 Dec 2021
Posts: 6

PostPosted: Thu Dec 28, 2023 5:02 pm    Post subject: I am trying to use a custom address but the value won't show Reply with quote

Hello there,

I am trying to use a custom address (created through registersymbol() in a script) and it seems the value constantly shows as undefined (??) in the table

Code:

Code:

[ENABLE]

aobscanmodule(ArmourHack,DOOMEternalx64vk.exe,01 00 00 84 C0 75 0C F3 0F 10 44 24 4C F3 0F 11 44 1E 44) // should be unique
alloc(newmem,$1000,ArmourHack)
alloc(armour_set,64)
label(code)
label(return)
registersymbol(armour_set)

newmem:
  cmp [RSP+B8],0
  jne code
  movss xmm0, [armour_set]

code:
  movss [rsi+rbx+44],xmm0
  jmp return

armour_set:
  dd (float)150

ArmourHack+0D:
  jmp newmem
  nop
return:
registersymbol(ArmourHack)

[DISABLE]

ArmourHack+0D:
  db F3 0F 11 44 1E 44

unregistersymbol(ArmourHack)
unregistersymbol(armour_set)
dealloc(armour_set)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: DOOMEternalx64vk.exe+D3A1CD

DOOMEternalx64vk.exe+D3A19B: 48 3B 83 80 01 00 00     - cmp rax,[rbx+00000180]
DOOMEternalx64vk.exe+D3A1A2: 74 07                    - je DOOMEternalx64vk.exe+D3A1AB
DOOMEternalx64vk.exe+D3A1A4: 48 89 83 80 01 00 00     - mov [rbx+00000180],rax
DOOMEternalx64vk.exe+D3A1AB: 0F B6 44 24 56           - movzx eax,byte ptr [rsp+56]
DOOMEternalx64vk.exe+D3A1B0: 0F 28 C6                 - movaps xmm0,xmm6
DOOMEternalx64vk.exe+D3A1B3: F3 0F 58 83 78 01 00 00  - addss xmm0,[rbx+00000178]
DOOMEternalx64vk.exe+D3A1BB: F3 0F 11 83 78 01 00 00  - movss [rbx+00000178],xmm0
DOOMEternalx64vk.exe+D3A1C3: 84 C0                    - test al,al
DOOMEternalx64vk.exe+D3A1C5: 75 0C                    - jne DOOMEternalx64vk.exe+D3A1D3
DOOMEternalx64vk.exe+D3A1C7: F3 0F 10 44 24 4C        - movss xmm0,[rsp+4C]
// ---------- INJECTING HERE ----------
DOOMEternalx64vk.exe+D3A1CD: F3 0F 11 44 1E 44        - movss [rsi+rbx+44],xmm0
// ---------- DONE INJECTING  ----------
DOOMEternalx64vk.exe+D3A1D3: 80 7C 24 54 00           - cmp byte ptr [rsp+54],00
DOOMEternalx64vk.exe+D3A1D8: 48 8B B4 24 F8 00 00 00  - mov rsi,[rsp+000000F8]
DOOMEternalx64vk.exe+D3A1E0: F3 0F 10 7C 24 48        - movss xmm7,[rsp+48]
DOOMEternalx64vk.exe+D3A1E6: F3 0F 11 3E              - movss [rsi],xmm7
DOOMEternalx64vk.exe+D3A1EA: 0F 84 13 01 00 00        - je DOOMEternalx64vk.exe+D3A303
DOOMEternalx64vk.exe+D3A1F0: 48 8B 03                 - mov rax,[rbx]
DOOMEternalx64vk.exe+D3A1F3: 41 0F 28 C8              - movaps xmm1,xmm8
DOOMEternalx64vk.exe+D3A1F7: 48 8B CB                 - mov rcx,rbx
DOOMEternalx64vk.exe+D3A1FA: FF 90 98 01 00 00        - call qword ptr [rax+00000198]
DOOMEternalx64vk.exe+D3A200: 48 8B 03                 - mov rax,[rbx]
}



DoomCEIssue2.png
 Description:
When the script is enabled it shows an address as expected, only, this address seems to have its value undefined even though it is defined as "(float)200" in the script
 Filesize:  3.63 KB
 Viewed:  1366 Time(s)

DoomCEIssue2.png



DoomCEIssue1.png
 Description:
When the script is disabled it shows as it normally would, with the address name and the value is undefined
 Filesize:  5.28 KB
 Viewed:  1366 Time(s)

DoomCEIssue1.png



_________________
Gotten much better at CE, still learning and loving it though, also started using IDA :)


Last edited by ZoomGC on Thu Dec 28, 2023 5:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4721

PostPosted: Thu Dec 28, 2023 5:07 pm    Post subject: Reply with quote

`armour_set` is an address. `[armour_set]` is a float.

The "address" field should be an address. Remove the square brackets.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
ZoomGC
How do I cheat?
Reputation: 0

Joined: 06 Dec 2021
Posts: 6

PostPosted: Thu Dec 28, 2023 5:16 pm    Post subject: Reply with quote

ParkourPenguin wrote:
`armour_set` is an address. `[armour_set]` is a float.

The "address" field should be an address. Remove the square brackets.


Ahhhhh of course! thank you, the consequences of coming back after so long haha

_________________
Gotten much better at CE, still learning and loving it though, also started using IDA :)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites