| View previous topic :: View next topic |
| Author |
Message |
Game Hacking Dojo Master Cheater
Reputation: 1
Joined: 17 Sep 2023 Posts: 250
|
Posted: Sun Sep 08, 2024 4:16 am Post subject: Disable Togglebox for an Entry |
|
|
| I have an address that I don't want it to be togglable. Is that possible?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Sep 08, 2024 5:21 am Post subject: |
|
|
make it an autoAssembler script and have in there this code
| Code: |
{$lua}
error('nope')
|
also next version has memoryrecords without checkbox
_________________
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 |
|
 |
Game Hacking Dojo Master Cheater
Reputation: 1
Joined: 17 Sep 2023 Posts: 250
|
Posted: Sun Sep 08, 2024 5:54 am Post subject: |
|
|
But as far as I know, this method would only work for scripts, which nullifies the idea of having the script in the first place.
But in my case, if the address is toggled it will crash the game. I know workarounds but I wanted to know if that's available.
Looking forwards to the new version. Thank you
|
|
| Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 958
|
Posted: Sun Sep 08, 2024 7:59 am Post subject: |
|
|
May try this:
| Code: |
local al, TMR = GetAddressList(), 'TMemoryRecord'
local byDesc = al.GetMemoryRecordByDescription
local byID = al.GetMemoryRecordByID
function getMR(m) -- get memory record helper
local t = type(m)
return t=='number'and byID(m)or
t=='string'and byDesc(m)or
t=='userdata'and
m.ClassName==TMR and m
end
function NoStateChange(mr, before, curr)if not before then return true end end
-- ^ activation/deactivation stopper
autoAssemble'globalalloc(___,$1000)' -- address of mr'TESTNOACTIVAE'
local mr = getMR'TESTNOACTIVAE'
mr.OnActivate = NoStateChange
getMR'SSS'.OnActivate = NoStateChange -- mr with script of template 'Cheat Table Framework code'
|
_________________
- Retarded. |
|
| Back to top |
|
 |
|