| View previous topic :: View next topic |
| Author |
Message |
DeletedUser412833 How do I cheat?
Reputation: 1
Joined: 09 Feb 2017 Posts: 0
|
Posted: Tue Nov 08, 2016 3:49 pm Post subject: Using custom symbol as pointer offset |
|
|
Hello. I'm looking for help with a lua script that can automatically update the pointer offset:
I have a pointer: Address + 80 + 1F80, however the last offset is not very reliable and might move a little (usually +10). Is it possible to register a custom symbol to use it instead of 1F80?
Screenshot: http://i.imgur.com/0tGr7VG.png
We probably can use following pattern (check screenshot) 48 8b 83 * * * * 48 8b 10 48 85 d2 * * 8b (that work in all game versions so far) in order to get offset from mov rax,[rbx+00001F80] and then register a custom symbol instead of 00001F80 that I can use for pointers?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25875 Location: The netherlands
|
Posted: Tue Nov 08, 2016 4:18 pm Post subject: |
|
|
you can also just register the symbol and give as offset the name of the symbol (assuming you're using ce 6.6)
_________________
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
Last edited by Dark Byte on Tue Nov 08, 2016 4:18 pm; edited 1 time in total |
|
| Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 961
|
Posted: Tue Nov 08, 2016 4:18 pm Post subject: |
|
|
Have try in ce 6.6+, in pointer setting, offset can accept lua expression?
ie.
base : address
offset 1: 80
offset 2: readInteger('aob_488b83+03') -- oops,correction
EDIT:
sorry, I may misunderstood, the above is for memory record, pointer address setting for address [[address]+80]+1f80, (I thought address+80+1f80 is a short form)
_________________
- Retarded.
Last edited by panraven on Tue Nov 08, 2016 4:41 pm; edited 2 times in total |
|
| Back to top |
|
 |
DeletedUser412833 How do I cheat?
Reputation: 1
Joined: 09 Feb 2017 Posts: 0
|
Posted: Tue Nov 08, 2016 4:36 pm Post subject: |
|
|
Dark Byte
Yes, I'm using Cheat engine 6.6. I've tried to register a symbol here, but I'm not exactly understand the usage of this method (because it gives me incorrect offset. Could you please show me an example based on the address from my screenshot?
panraven
Sorry can't get it to work due lua error:
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Nov 08, 2016 5:33 pm Post subject: |
|
|
| Code: | [ENABLE]
{$lua}
if syntaxcheck then return end
autoAssemble([[
aobscanmodule(myoffset,DarkSoulsIII.exe,48 8B 83 * * * * 48 8B 10 48 85 D2 * * 8B)
registersymbol(myoffset)
]])
local value = readInteger("myoffset+3")
unregisterSymbol("myoffset")
registerSymbol("myoffset", value, true)
[DISABLE]
{$asm}
unregistersymbol(myoffset) |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25875 Location: The netherlands
|
Posted: Tue Nov 08, 2016 5:36 pm Post subject: |
|
|
In this example I have created the userdefined symbol called bla, and given it the value 1f80
| Description: |
|
| Filesize: |
91.75 KB |
| Viewed: |
7804 Time(s) |

|
_________________
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 |
|
 |
DeletedUser412833 How do I cheat?
Reputation: 1
Joined: 09 Feb 2017 Posts: 0
|
Posted: Tue Nov 08, 2016 8:20 pm Post subject: |
|
|
Zanzer
Thank you Zanzer this is exactly what I needed.
Dark Byte
Is it possible to add / remove certain symbol right to this Symbol Config from your screenshot using asm / lua script?
For example I want to add "Testsymbol" with address 00000948.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25875 Location: The netherlands
|
Posted: Tue Nov 08, 2016 8:57 pm Post subject: |
|
|
lua command registerSymbol('Testsymbol',0x948)
_________________
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 |
|
 |
|