View previous topic :: View next topic |
Author |
Message |
Corruptor Advanced Cheater
Reputation: 3
Joined: 10 Aug 2011 Posts: 82
|
Posted: Tue Jul 09, 2013 8:21 am Post subject: Cheat Engine 6.3 auto assembler fails |
|
|
I have this happy little script that ive been using for quite a while now:
Code: | [ENABLE]
alloc(newmem,2048) //2kb should be enough
label(str_windowed)
label(returnhere)
newmem:
//no need to push registers at this point (call incoming)
//str at esp+5
lea eax, [esp+5]
push str_windowed
push 104
push eax
call msvcr80.strcat_s
add esp, C
//original code
lea edx,[esp+04]
lea ecx,[esp+00000108]
jmp returnhere
str_windowed:
db ' -windowed'
db 00
"worldedit.exe"+BE835:
jmp newmem
nop
nop
nop
nop
nop
nop
returnhere:
[DISABLE]
dealloc(newmem)
"worldedit.exe"+BE835:
lea edx,[esp+04]
lea ecx,[esp+00000108]
//Alt: db 8D 54 24 04 8D 8C 24 08 01 00 00 |
Its working pefectly fine in cheat engine 6.2. However, 6.3 wont let me execute it. when i try to resave it, it tells me that the line
Code: | call msvcr80.strcat_s |
can not be compiled. I had the same bug with CETack, but this time i have no c++ wrapper to work around this issue. tbh, as >50% of my cheat tables dont work anymore now, 6.3 is rather useless for me now.
Any ideas / suggestions / confirmations / fixes?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25781 Location: The netherlands
|
Posted: Tue Jul 09, 2013 8:24 am Post subject: |
|
|
Check the symbollist and search for strcat_s and check the symbolname it has now
_________________
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 |
|
 |
Corruptor Advanced Cheater
Reputation: 3
Joined: 10 Aug 2011 Posts: 82
|
Posted: Tue Jul 09, 2013 9:44 am Post subject: |
|
|
I scrolled a bit through the dll as its shown in the memory view. Turns out that every single function i found (including malloc and free) has a leading under score in its name. It actually works if i write msvcr80._strcat_s.
However, that seems to only apply to some librarys. Msvcr80 and ntdll have leading underscores everywhere, while user32 and kernel32 don't. I don't see the difference between those dlls either to actually guess by the name of it if it has leading underscores or not. Very confusing ._.'
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25781 Location: The netherlands
|
Posted: Tue Jul 09, 2013 9:53 am Post subject: |
|
|
hmm weird, that means the 32-bit msvcr80.dll is inside the system32 folder of windows instead of the wow64 system folder
I'll see if I can add a better detector for next version
_________________
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 |
|
 |
|