Double click on the script, then in the appeared window, push Ctrl+A (select all), Ctrl+C (copy all), press the button "OK". Then In the main window of Cheat Engine call a Memory Viewer. Go to the menu Tools->Auto Assemble and push Ctrl+V (paste all) and press the button "Execute" and get an the error:
I think, therefore, the script cannot be activated.
Those scripts are CE table framework scripts, they have extra stuff (disable and enable sections) to "execute" a script like that you would need to edit the script to only have one section. And on the table some scripts require other script to have been ran; so that's why it can't find the "MOSR" symbol, it was never created.
Why not just use the table as is? Just enable the scripts you want.
It's fine to edit stuff, but you really need to understand what's going on in the script, thus you need to also understand how the scripting works in CE.
There are some tutorials here at the forum, and the [Link] also has some.
How to use this cheat table?
Install Cheat Engine
Double-click the .CT file in order to open it.
Click the PC icon in Cheat Engine in order to select the game process.
Keep the list.
Activate the trainer options by checking boxes or setting values from 0 to 1
It appears the game has been updated yet again (Steam version anyway)...
From version 1.12.28250
To version: 1.12.28732
therefore the latest versions of the cheats are not working.
Those scripts are CE table framework scripts, they have extra stuff (disable and enable sections) to "execute" a script like that you would need to edit the script to only have one section. And on the table some scripts require other script to have been ran; so that's why it can't find the "MOSR" symbol, it was never created.
Why not just use the table as is? Just enable the scripts you want.
It's fine to edit stuff, but you really need to understand what's going on in the script, thus you need to also understand how the scripting works in CE.
There are some tutorials here at the forum, and the [Link] also has some.
The fact is that if do this: //assert(MOSR,48 8B 47 38 F3 0F 10 80 10 01 00 00)
then the script is activated, but the game crashes.
The problem lies somewhere in this Lua script:
local a = readInteger("ServerUnit:GetSightRange+02cf")
local s0 = string.format("%X",a)
local a = readInteger("ServerUnit:GetSightRange+027a")
local s1 = string.format("%X",a)
if (s0 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+02cf)"
elseif (s1 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+027a)"
else
return ""
end
When I try to execute it, an error occurs:
Error:[string "local a = readInteger("ServerUnit:GetSightRan..."]:2: bad argument #2 to 'format' (number expected, got nil)
This lua script sometimes works, but the main script i can not activated.
...
The fact is that if do this: //assert(MOSR,48 8B 47 38 F3 0F 10 80 10 01 00 00)
then the script is activated, but the game crashes.
The problem lies somewhere in this Lua script:
local a = readInteger("ServerUnit:GetSightRange+02cf")
local s0 = string.format("%X",a)
local a = readInteger("ServerUnit:GetSightRange+027a")
local s1 = string.format("%X",a)
if (s0 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+02cf)"
elseif (s1 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+027a)"
else
return ""
end
When I try to execute it, an error occurs:
Error:[string "local a = readInteger("ServerUnit:GetSightRan..."]:2: bad argument #2 to 'format' (number expected, got nil)
This lua script sometimes works, but the main script i can not activated.
Sounds like a version difference, with the readInteger returning nil; see if in the memory viewer you can "go to [this] address" ServerUnit:GetSightRange.
You can put in a check for nil, but you'll still have the issue of not finding the address.
local a = readInteger("ServerUnit:GetSightRange+02cf")
local s0 = string.format("%X",a or 0)
a = readInteger("ServerUnit:GetSightRange+027a")
local s1 = string.format("%X",a or 0)
if (s0 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+02cf)"
elseif (s1 == "38478B48") then
return "define(MOSR,ServerUnit:GetSightRange+027a)"
else
return ""
end
this is gonna sound stupid but after playing for 3 days the cheat table no longer responds, when i try to activate it,game is still the same as previous days, no updates applied ,1.12.28250
i'm playing the sudden strike 4 with desert DLC version 1.12.28520, and somehow the table for the 1.12.28520 didn't work on me.
would you please take a look on the table, Recifense?