I am unable to use it, there are some errors in certain areas
Edit - It seems to run after an error, but Suit Energy pointers cannot be found
Great CT, I mainly use Freeze Time
Yeah, the pointer's less stable than I thought. I'll try to find a better one or another method for unlimited suit energy. If anyone wants to help with the table as well, feel free.
Некорректный формат адреса: TheAlters-Win64-Shipping.exe+28C33E8 - формат адреса может быть некорректным.
В Cheat Engine обычно используется формат с точкой (например, TheAlters.exe+28C33E8)
Пример кода:
-- SUB to ADD Toggle Script for Cheat Engine
local targetAddress = "TheAlters.exe+28C33E8" -- Corrected format
local originalBytes = nil
local patchedBytes = nil
local isPatched = false
function getOpcodeBytes(address)
local bytes = readBytes(address, 5, true)
if bytes[1] == 0x2B then
local newBytes = {0x03, bytes[2], bytes[3], bytes[4], bytes[5]}
return bytes, newBytes
elseif bytes[1] == 0x83 and bytes[2] == 0xEC then
local newBytes = {0x83, 0xC4, bytes[3], bytes[4], bytes[5]}
return bytes, newBytes
elseif bytes[1] == 0x81 and bytes[2] == 0xEC then -- Добавлена поддержка 32-битного SUB
local newBytes = {0x81, 0xC4, bytes[3], bytes[4], bytes[5]}
return bytes, newBytes
else
error("Unsupported instruction at address "..string.format("%X", address))
end
end
function togglePatch()
if originalBytes == nil then
originalBytes, patchedBytes = getOpcodeBytes(targetAddress)
end
if isPatched then
writeBytes(targetAddress, originalBytes)
print("Restored SUB instruction at "..string.format("%X", targetAddress))
else
writeBytes(targetAddress, patchedBytes)
print("Changed SUB to ADD at "..string.format("%X", targetAddress))
end
isPatched = not isPatched
end
function createToggleEntry()
local form = getMainForm()
local panel = getProperty(form, "ExtraPanel")
local toggle = createToggleBox(panel)
setProperty(toggle, "Left", 10)
setProperty(toggle, "Top", 10)
setProperty(toggle, "Caption", "Toggle SUB/ADD at "..string.format("%X", targetAddress))
setProperty(toggle, "Width", 300)
setMethodProperty(toggle, "OnChange", "togglePatch")
end
-- Improved initialization
if getCEVersion() >= 7.0 then
bad table, it's pointless as game crashes when saving with this table on
Do you mean it crashes if saving while an entry, like freeze time, is active?
Since the game saves when you sleep and that is also when time skips to morning, it would make sense that having that active would crash the game.
If that is the issue, have you tried deactivating that cheat before sleeping?
Do you mean it crashes if saving while an entry, like freeze time, is active?
Since the game saves when you sleep and that is also when time skips to morning, it would make sense that having that active would crash the game.
If that is the issue, have you tried deactivating that cheat before sleeping?
Just tested it, it still crashes even when unchecking all cheats and terminating CE before going to sleep.
I also put in the adress code fix suggestion above, same.
Do you mean it crashes if saving while an entry, like freeze time, is active?
Since the game saves when you sleep and that is also when time skips to morning, it would make sense that having that active would crash the game.
If that is the issue, have you tried deactivating that cheat before sleeping?
Just tested it, it still crashes even when unchecking all cheats and terminating CE before going to sleep.
I also put in the adress code fix suggestion above, same.
Alright, that’s too bad.
I’m currently using eggs’ table: here
Haven’t slept yet, but try using that for modifying time instead; it might not have the crashing issue.
Cheat Table causes a crash whenever you use any of the resource options, and then move on to next day.
The only real use I see of this, is the Freeze Time for exploration. Since time is frozen, you cannot do much. Mining, Crafting, Recharging your batteries from miners/pylons, they all take a time progression and thus do not work.
Freeze Time effectively only lets you run around and collect loose resources, as well as explore and remove debris if you have the correct equipment and quantity of it, crafted before hand.
As others have reported, I am also experiencing a crash when using either of the resource cheats. I've only been wanting to use the "spending keeps resources" one, though. Still, upon testing, the crash happens when using the "adds" one as well.
One happens when deactivating the cheat. An immediate CTD and crash dialog happens the instant I untick the script.
The other happens when saving, which is what I was initially experiencing. So my first thought was to just deactivate the cheat before ending the day (as explained above) but that's when I discovered the 'deactivation' crash.
While the cheats technically work as described, no progress can be made once activated. The effort is appreciated all the same, though!