|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
ToxicBunny How do I cheat? Reputation: 0
Joined: 02 Oct 2014 Posts: 8
|
Posted: Wed Sep 01, 2021 4:17 pm Post subject: CE 7.3 - Mono - "address specifier is not valid" |
|
|
CE 7.3
Mono - Unity Engine - Unturned
I created a mono script in 7.1. The script works in 7.1, works in 7.2, will not work or even save cleanly in 7.3, giving the error "Address specifier is not valid"
When I try to recreate the script in 7.3 I get the "address specifier is not valid" error when using code inject as well as when trying to create the script manually.
The scripts that work on 7.1 and 7.2 will also not work on 7.3.
I've seen nothing in the release notes that could indicate that this is normal behaviour.
Given that the script works in 7.1 and 7.2, and only gives errors in 7.3, what additional info should I provide?
Thanks.
EDIT 1: "Activate Mono Features" was definitely enabled in 7.3 on the multiple times I restarted.
EDIT 2: It occurs to me that people may not understand that this is happening for older scripts, but is also happening when I try to recreate the scripts from scratch using automated tools like Auto Assemble and code inject. Mono support is clearly enabled since I was able to browse to a mono address in the memory view. When I go into auto assembler and try to do a code inject I get a failure using the automatically selected memory location.
Screenshot that may help attached. (Screenshot also shows that VAC and BattleEye are disabled)
Description: |
Error received after using the code inject feature and accepting the default auto selected address.
In the background you can see that the mem viewer is browsing that exact mem location. |
|
Filesize: |
1.63 MB |
Viewed: |
1842 Time(s) |
|
_________________
Sometimes it's better to just keep quiet. I seem to have trouble identifying those moments.
Last edited by ToxicBunny on Wed Sep 01, 2021 11:24 pm; edited 2 times in total |
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Wed Sep 01, 2021 4:31 pm Post subject: |
|
|
The script would be helpful to determine if there were any changes that could have caused the script to no longer function.
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed Sep 01, 2021 4:32 pm Post subject: |
|
|
Are you attached to the process with mono features enabled?
_________________
|
|
Back to top |
|
|
ToxicBunny How do I cheat? Reputation: 0
Joined: 02 Oct 2014 Posts: 8
|
Posted: Wed Sep 01, 2021 11:07 pm Post subject: |
|
|
LeFiXER wrote: | The script would be helpful to determine if there were any changes that could have caused the script to no longer function. |
Given that I get the problem when trying to create the script from scratch in 7.3 (using code inject), I'm, not sure how the script can help, but here it is:
Quote: | { Game : Unturned.exe
Version:
Date : 2021-09-01
Author : A Nonny Mouse
This script does blah blah blah
}
define(address,SDG.Unturned:UseableGun:fire+34a)
define(bytes,2B C1 40 88 86 43 02 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,SDG.Unturned:UseableGun:fire+34a)
label(code)
label(return)
newmem:
code:
//sub eax,ecx
mov eax, ff
mov [rsi+00000243],al
jmp return
address:
jmp newmem
nop 4
return:
[DISABLE]
address:
db bytes
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: SDG.Unturned:UseableGun:fire+34a
SDG.Unturned:UseableGun:fire+319: 48 89 85 20 F6 FF FF - mov [rbp-000009E0],rax
SDG.Unturned:UseableGun:fire+320: 48 8B CE - mov rcx,rsi
SDG.Unturned:UseableGun:fire+323: 66 66 90 - nop 3
SDG.Unturned:UseableGun:fire+326: 49 BB 60 CD 02 6B F2 01 00 00 - mov r11,SDG.Unturned:UseableGun:get_equippedGunAsset
SDG.Unturned:UseableGun:fire+330: 41 FF D3 - call r11
SDG.Unturned:UseableGun:fire+333: 48 8B C8 - mov rcx,rax
SDG.Unturned:UseableGun:fire+336: 48 8B 85 20 F6 FF FF - mov rax,[rbp-000009E0]
SDG.Unturned:UseableGun:fire+33d: 48 8B D1 - mov rdx,rcx
SDG.Unturned:UseableGun:fire+340: 83 3A 00 - cmp dword ptr [rdx],00
SDG.Unturned:UseableGun:fire+343: 0F B6 89 E6 01 00 00 - movzx ecx,byte ptr [rcx+000001E6]
// ---------- INJECTING HERE ----------
SDG.Unturned:UseableGun:fire+34a: 2B C1 - sub eax,ecx
// ---------- DONE INJECTING ----------
SDG.Unturned:UseableGun:fire+34c: 40 88 86 43 02 00 00 - mov [rsi+00000243],al
SDG.Unturned:UseableGun:fire+353: 48 8B CE - mov rcx,rsi
SDG.Unturned:UseableGun:fire+356: 49 BB 60 CD 02 6B F2 01 00 00 - mov r11,SDG.Unturned:UseableGun:get_equippedGunAsset
SDG.Unturned:UseableGun:fire+360: 41 FF D3 - call r11
SDG.Unturned:UseableGun:fire+363: 48 63 80 0C 02 00 00 - movsxd rax,dword ptr [rax+0000020C]
SDG.Unturned:UseableGun:fire+36a: 83 F8 04 - cmp eax,04
SDG.Unturned:UseableGun:fire+36d: 0F 84 A8 00 00 00 - je SDG.Unturned:UseableGun:fire+41b
SDG.Unturned:UseableGun:fire+373: 48 8B 46 20 - mov rax,[rsi+20]
SDG.Unturned:UseableGun:fire+377: 48 8B C8 - mov rcx,rax
SDG.Unturned:UseableGun:fire+37a: 83 39 00 - cmp dword ptr [rcx],00
}
| [/code]
_________________
Sometimes it's better to just keep quiet. I seem to have trouble identifying those moments.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Thu Sep 02, 2021 12:06 am Post subject: |
|
|
are you sure it affects older scripts?
There is a disassembler issue (i'll fix it later) but should only affect creating tables
e.g in the screenshot it's SDG.Unturned.UseableGun:fire+330 while it should be SDG.Unturned:UseableGun:fire+330 like in the script you posted
_________________
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 |
|
|
ToxicBunny How do I cheat? Reputation: 0
Joined: 02 Oct 2014 Posts: 8
|
Posted: Thu Sep 02, 2021 1:38 am Post subject: |
|
|
Dark Byte wrote: | are you sure it affects older scripts?
There is a disassembler issue (i'll fix it later) but should only affect creating tables
e.g in the screenshot it's SDG.Unturned.UseableGun:fire+330 while it should be SDG.Unturned:UseableGun:fire+330 like in the script you posted |
I can confirm I was mistaken, it is NOT affecting older scripts. I missed the colon / period issue, and copied the address from the code injector window and pasted it into a known working script from 7.2 thereby creating the impression that the older script was not working.
I then went back and created the script in 7.1 and 7.2, and since it visually appeared the same as the one that was not working from 7.3 I jumped to conclusions. I guess that's my exercise done for the day...
I feel a little sheepish, though, but thanks for the help.
TB
_________________
Sometimes it's better to just keep quiet. I seem to have trouble identifying those moments.
|
|
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
|
|