Page 9 of 12

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Wed Oct 17, 2018 4:28 pm
by TimFun13
kirby59 wrote:
Wed Oct 17, 2018 4:02 pm
Recifense wrote:
Sun Oct 14, 2018 6:55 pm
kirby59 wrote:
Sat Oct 13, 2018 3:00 pm

I can not activate. The script does not work.
Image
How did you get this message?

Cheers!
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:
Image
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.

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Wed Oct 17, 2018 4:34 pm
by mattynipps
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.

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Thu Oct 18, 2018 4:04 pm
by ezafach
Can not active 1.12.28520 PLAZA

edit: sorry, it works, I don't know if this needs to be activated in-game, not only from the main menu.. thank you :D

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sat Oct 20, 2018 3:52 am
by kirby59
ShyTwig16 wrote:
Wed Oct 17, 2018 4:28 pm
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:

Code: Select all

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.

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sat Oct 20, 2018 8:53 am
by TimFun13
kirby59 wrote:
Sat Oct 20, 2018 3:52 am
...
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:

Code: Select all

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.

Code: Select all

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

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Mon Oct 22, 2018 10:44 am
by aaronpaul
anyone working on this? :)

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Mon Oct 22, 2018 7:20 pm
by wilbur
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

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Wed Oct 24, 2018 12:09 pm
by aaronpaul
The table isnt working because Sudden Strike 4 was updated

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Fri Oct 26, 2018 3:12 pm
by Rexurioz
update pls

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sat Oct 27, 2018 6:06 pm
by bulluk
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?

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sat Oct 27, 2018 9:06 pm
by Rexurioz
why does the game crash when I click in cheat engine "Find out what writes to this adress "?

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sun Oct 28, 2018 1:41 pm
by Rexurioz
https://youtu.be/JxcG2hwyl3E

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Sat Nov 17, 2018 12:12 pm
by mattynipps
Steam version has been updated again, now to version: 1.13.29179

Re: Sudden Strike 4 (GM and More) 2018-Oct-14

Posted: Tue Dec 04, 2018 3:14 pm
by hajesu
Please update for origin version 1.12.28660.
Thanks

Re: Sudden Strike 4 (GM and More) 2018-Dec-14

Posted: Sat Dec 15, 2018 1:19 am
by Recifense
Hi guys,

A table was added for version 1.14.29902. Please look at the first post.

Cheers!