NoobFragged wrote: ↑Tue Aug 10, 2021 9:03 am
~
What are the odds you could figure out a way to make a cheat table where you can remove the "DEAD" from a game with perma death enabled?
I had to show incredible restraint tonight when my kid was messing around with my game, which is at level 80 with perma death on hard mode and when he left, he had put my pets away and left me idle at a spawn point. I have no idea what killed me, but I came home from walking my dog to see You have died... thanks for playing.
It would go a long way towards his future if you might be able to figure this one out, not to mention something I know people are looking for and not finding.
Hi,
pls do not quote a whole big post
the "DEAD" flag is easy to find in the cGameSaveManager->cGameSaveData(mCurrentSaveGame) static instance:
Code: Select all
{$lua}
if syntaxcheck then return end
[ENABLE]
LaunchMonoDataCollector()
local cId = mono_findClass('', 'cGameSaveManager')
local publicField = mono_class_getStaticFieldAddress(mono_enumDomains()[1], cId)
local currentGame = readPointer(publicField+0x10)
if (currentGame > 0) then
writeBytes(currentGame+0x32,0x0)
else
print("click on a savegame first")
error("no savegame")
end
print("death flag removed - click on >Enter Game<")
return("assert(true)")
[DISABLE]
how to add the script:
Cheat Engine Memory View -> CTRL +A and then paste the code above.
File -> Assign to current table
how to use:
click on the dead character savegame (The "Enter Game" Screen) and execute the script and click on "Enter Game", then the game will load your character and the flag is removed.
//
table works on my machine on the current update most of the time, sometimes its crashing, i will maybe rework the complete table, but i dont know when i will have time for it :/