Instant = Immediately or one timemalinchoo2 wrote: ↑Mon Jan 06, 2020 12:50 pmso if the script is activated the whole squad condition and fatigue wont go down until the script is deactivated?
Periodic = On timer. Run every 60 seconds (my default)
This will not freeze the condition and fatigue but will make it so high that it is really hard for it to decrease much during game. But those values are only change once when Instant or when timer is run (every 60 sec).
Its possible. The lua script is probably not the fastest/best way but its possible. This would be better done in code modification but that is harder to write and test.BipBop wrote: ↑Mon Jan 06, 2020 5:19 pmWondering something else. Since you did this human team freezer, which is awesome, could you do that for a league?
The purpose is for testing leagues, fitness, condition, morale, attributes, injuries, team cohesion. Just asking, it sounds complicated but looks like you already got the basics with the human team.
Having said that I'm not doing this. I will share that you could copy the existing scripts and change the foreach iteration to the players list.
Hint
local startAddr=readQword('[[datPlayersList]+88]+0')
local endAddr=readQword('[[datPlayersList]+88]+8')
forEach(startAddr, endAddr, 0x8, function(k, addr)
local resolveAddr = readQword(addr)
if resolveAddr == nil then return end
local playerPtr = getPlayerFromPerson(resolveAddr)
if playerPtr == nil then return end
-- do stuff here
end)
This code would take seconds to run depending on size of player database so not good to have in periodic script but rather instant so only run on demand. Even better would be in assembly as fast and secure (but harder to author).
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