Re: Sudden Strike 4 v1.00.19037 (GM and More) 2017-Aug-15
Posted: Wed Aug 16, 2017 7:48 am
fast and good tables always thx - the best
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Code: Select all
{$lua}
if syntaxcheck==true then return '' end
if (LaunchMonoDataCollector() == 0) then
error("no mono")
end
function reEscape(s)
local escPatChars = [[().%+-*?[^]]
s = s:gsub('.', function(c) if escPatChars:find(c, 1, true) then return '%'..c end end)
return s
end
function findMethodAddrBySignature(classname, methodname, signature, check)
local method = findMethodBySignature(classname, methodname, signature, check)
if method ~= nil and method > 0 then
return mono_compile_method(method)
end
end
function findMethodBySignature(classname, methodname, signature, check)
assert(type(signature) == 'string', "invalid signature")
signature = "^"..reEscape(signature:gsub(";", ","))
local class = mono_findClass('', classname)
if type(class) ~= 'number' or class == 0 then return nil end
local methods = mono_class_enumMethods(class)
if type(methods) ~= 'table' or #methods < 1 then return nil end
if check then print('check:'..methodname..": <"..signature.."> vs ") end
for i = 1, #methods do
if methodname == methods[i].name then
local sign = mono_method_getSignature(methods[i].method)
if check then print(" >> <"..sign..'>') end
if sign:match(signature) then
return methods[i].method
end
end
end
end
{$asm}
Code: Select all
{$lua}
if syntaxcheck==true then return '' end
secondGunnerGetMaxRangeFunction = findMethodAddrBySignature('Gunner', 'GetMaxRange', 'ServerUnit')
{$asm}
Recifense wrote: ↑Wed Aug 16, 2017 8:16 pm@FauDrei,
Thank you for the tip. But I will prefer to keep the script the way it is.
@Akulio,
Hi moy drug,
It is the "Guess What" of one of the releases. Someone asked for it and I decided to add it to GM. But it can be added as a different feature.
You can edit the script and remove the line "mov [rdi+00000088],al" at "_MonUnitCopy".
Cheers!
The same problem in my GOG version. I don't know why, but "ServerUnit:GetSightRange" offset changes from launch to launch on my system.
Code: Select all
//define(MOSR,ServerUnit:GetSightRange+0237) // original offset
define(MOSR,ServerUnit:GetSightRange+024A) // my offset
Recifense wrote: ↑Sat Aug 12, 2017 2:38 pmHi guys,
Here is my contribution for "Sudden Strike 4" version 1.00.19037. The table contains a script with the following features:
The features are DISABLED by default. See [USAGE] above;Code: Select all
=========================================== Game Title : Sudden Strike 4 Game Version : 1.00.19037 Game Sponsor : PATRONS Process Name : SuddenStrike4.exe Relevant Info : Unity Engine/64bits/WWII-RTS Script Version: 3.0 CE Version : 6.7 Release date : 15-Aug-2017 Author : Recifense History: 12-Aug-2017: First Release 13-Aug-2017: Fix FUR and some side-effects. (s1.1) 14-Aug-2017: Fix + Added 2 more features (Sight Range/Weapon Range) (s2.0) 15-Aug-2017: Removed Weapon Range (s2.1) 15-Aug-2017: Added 2 more features: Reshot and Reload time (s3.0) Features: - God Mode [1] - Full Unit Resources: [2] - Fuel - Ammo(es) - Minimum Prestigy [3] - Unit Sight Range (x4) [4] - Weapon reshot Time [5] - Weapon reload Time [6] - Some Pointers =========================================== [1] For human player's units only; [2] For human player's units only; [3] Minimum amount = 670 (human player only); [4] Minimum = default X 4 (human player only); [5] Maximum = 1.0 (human player only) (usually = 2.2-10); [6] Maximum = 1.0 (human player only) (usually > 7); =========================================== [USAGE] - Run CE 6.7 or greater; - Run the GAME; - Load game process "SuddenStrike4.exe" via CE; - Load this Table; - Start or load a game; - Activate the main script by clicking on its box [X]; - Now Activate the script of each cheat you want to use; - Go back to the game and have fun. [NOTE] - Before closing the game, deactivate the MAIN SCRIPT or close CE. =========================================== HOTKEYS: - See each table entry =========================================== [WARNING] - This table is meant to be used in single player games. =========================================== [INFO] Tested on Win10 64bits =========================================== Have fun!
Note: The scripts use the CE command ASSER and will not load if it is incompatible with the running game version.
After downloading the table, copy it to the "My Cheat Table" folder.
It is for CE 6.7 or greater
Cheers to All, specially to my Patrons!