DaKent11 wrote: ↑Sun Dec 06, 2020 11:55 pm
Q1: Any way to make my team win the match? what should I turn on exactly?
Q2: Why attributes are not working? 4.1 version?
Q1 = Answer, read my post, just edit periodic script
use this code
{$lua}
if syntaxcheck then return end
[ENABLE]
local _updateFunc = function()
local club = getPersonClub(getPersonFromPlayer(getManagerPtr()))
forEachPlayerInClub(club, function(k, playerPtr)
writeSmallInteger(playerPtr+0x150+8, 25000)
writeSmallInteger(playerPtr+0x14C+8, 25000)
-- some users claim jadedness < 0 increase injuries so set to 0 for now
if readSignedShortInteger(playerPtr+0x14E+8) > 0 then
writeSmallInteger(playerPtr+0x14E+8, 0)
end
end)
end
local _currec = memrec
local t = createTimer()
t.Interval = 1 -- run fast first time
t.onTimer = function()
if t == nil or not _currec.Active then
t.Enabled = false
t.destroy()
t = nil
elseif _updateFunc ~= nil then
_updateFunc()
t.Interval = 1 -- slow down
end
end
t.Enabled = true
[DISABLE]