Yes, but the morale also changes to 20. I want to change only the fitness, not the morale.
No, that is not true. With 'Improve Team Condition', it only changes the fitness level. You can temporarily change the value running the table from the table value of 10000 to a safe value of 12500. Here is the table code that I manually changed stating the fitness level this on line 1397 of the table:
local fitnessValue = 12500
improveTeamCondition('ptrClub', fitnessValue, true)
Improve Team Condition was using the Remove All Injuries function by not touching the injured players. This script by default sets the player's morale to 20, as well as with Improve Team Condition.
As a result, you can only change it manually by opening the LUA Engine (Click on Memory View -> CTRL+L), pasting the codes below into the input area, and clicking execute.
function removePlayerInjuries(addr, value, skipInjury)
local Person = getAddressSafe(addr)
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword(addr)
end
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword('ptrPerson')
end
if Person == nil or Person == 0 or not isPlayer(Person) then return end
local Player = getPlayerFromPerson(Person)
if Player == nil or Player == 0 then return nil end
if not skipInjury then
local PlayerInjuries = readQword(Player+plao.Pijl)
if PlayerInjuries ~= nil and PlayerInjuries ~= 0 then
writeQword(PlayerInjuries+0x8, readQword(PlayerInjuries)) -- Remove All Injuries
end
end
writeSmallInteger(Player+plao.Pmsh, value) -- Match Sharpness
writeSmallInteger(Player+plao.Pftg, 0) -- Fatigue
writeSmallInteger(Player+plao.Popc, value) -- Overall Physical Condition
--writeByte(Player+plao.Pmor, 20) -- Morale
return
end
Improve Team Condition and Remove All Injuries can now be used without affecting player morale.
Hello, I have followed the instructions to the letter, but I am still having trouble in getting it worked. It was working like a charm when I used it for first, but everytime I repeat it, it only affects the 11 players who are playing, not the entire team. Their morale is also boosted to 20, even when it shouldn't be.
Hello, I have followed the instructions to the letter, but I am still having trouble in getting it worked. It was working like a charm when I used it for first, but everytime I repeat it, it only affects the 11 players who are playing, not the entire team. Their morale is also boosted to 20, even when it shouldn't be.
Here is the picture how it looks.
This operation won't be saved when you exit CE. So, you need to do these instructions every time you run CE.
As a result, you can only change it manually by opening the LUA Engine (Click on Memory View -> CTRL+L), pasting the codes below into the input area, and clicking execute.
function removePlayerInjuries(addr, value, skipInjury)
local Person = getAddressSafe(addr)
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword(addr)
end
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword('ptrPerson')
end
if Person == nil or Person == 0 or not isPlayer(Person) then return end
local Player = getPlayerFromPerson(Person)
if Player == nil or Player == 0 then return nil end
if not skipInjury then
local PlayerInjuries = readQword(Player+plao.Pijl)
if PlayerInjuries ~= nil and PlayerInjuries ~= 0 then
writeQword(PlayerInjuries+0x8, readQword(PlayerInjuries)) -- Remove All Injuries
end
end
writeSmallInteger(Player+plao.Pmsh, value) -- Match Sharpness
writeSmallInteger(Player+plao.Pftg, 0) -- Fatigue
writeSmallInteger(Player+plao.Popc, value) -- Overall Physical Condition
--writeByte(Player+plao.Pmor, 20) -- Morale
return
end
Improve Team Condition and Remove All Injuries can now be used without affecting player morale.
sir. why is it that every time I increase a player's attributes then after a few days the attributes start to decrease?
Note: besides raising the attributes, I also raised the player's PA to around 180
You need to change his CA / PA (Player Data -> General) as well. Match the CA to RCA and make PA value greater than RCA after you finish editing his attributes.
Hello, I have followed the instructions to the letter, but I am still having trouble in getting it worked. It was working like a charm when I used it for first, but everytime I repeat it, it only affects the 11 players who are playing, not the entire team. Their morale is also boosted to 20, even when it shouldn't be.
Here is the picture how it looks.
This operation won't be saved when you exit CE. So, you need to do these instructions every time you run CE.
As a result, you can only change it manually by opening the LUA Engine (Click on Memory View -> CTRL+L), pasting the codes below into the input area, and clicking execute.
function removePlayerInjuries(addr, value, skipInjury)
local Person = getAddressSafe(addr)
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword(addr)
end
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword('ptrPerson')
end
if Person == nil or Person == 0 or not isPlayer(Person) then return end
local Player = getPlayerFromPerson(Person)
if Player == nil or Player == 0 then return nil end
if not skipInjury then
local PlayerInjuries = readQword(Player+plao.Pijl)
if PlayerInjuries ~= nil and PlayerInjuries ~= 0 then
writeQword(PlayerInjuries+0x8, readQword(PlayerInjuries)) -- Remove All Injuries
end
end
writeSmallInteger(Player+plao.Pmsh, value) -- Match Sharpness
writeSmallInteger(Player+plao.Pftg, 0) -- Fatigue
writeSmallInteger(Player+plao.Popc, value) -- Overall Physical Condition
--writeByte(Player+plao.Pmor, 20) -- Morale
return
end
Improve Team Condition and Remove All Injuries can now be used without affecting player morale.
That's the same game, as in, I haven't quit the game or reloaded the cheat engine. What I meant is, that I check the box, it works well first time, but when I check it again after I pass a day ingame, it no longer works as intended.
That's the same game, as in, I haven't quit the game or reloaded the cheat engine. What I meant is, that I check the box, it works well first time, but when I check it again after I pass a day ingame, it no longer works as intended.
What club are you in charge of? I notice that all of the subs were unaffected by the script; are they from the same team or another in that club?
That's the same game, as in, I haven't quit the game or reloaded the cheat engine. What I meant is, that I check the box, it works well first time, but when I check it again after I pass a day ingame, it no longer works as intended.
What club are you in charge of? I notice that all of the subs were unaffected by the script; are they from the same team or another in that club?
The club is Penang, Malaysia. All the players are from the club, except the one with blue name. It just affects the 11 players on the main roster who are about to play, no one else.
Hello, I have followed the instructions to the letter, but I am still having trouble in getting it worked. It was working like a charm when I used it for first, but everytime I repeat it, it only affects the 11 players who are playing, not the entire team. Their morale is also boosted to 20, even when it shouldn't be.
Here is the picture how it looks.
This operation won't be saved when you exit CE. So, you need to do these instructions every time you run CE.
As a result, you can only change it manually by opening the LUA Engine (Click on Memory View -> CTRL+L), pasting the codes below into the input area, and clicking execute.
function removePlayerInjuries(addr, value, skipInjury)
local Person = getAddressSafe(addr)
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword(addr)
end
if Person == nil or Person == 0 or not isPlayer(Person) then
Person = readQword('ptrPerson')
end
if Person == nil or Person == 0 or not isPlayer(Person) then return end
local Player = getPlayerFromPerson(Person)
if Player == nil or Player == 0 then return nil end
if not skipInjury then
local PlayerInjuries = readQword(Player+plao.Pijl)
if PlayerInjuries ~= nil and PlayerInjuries ~= 0 then
writeQword(PlayerInjuries+0x8, readQword(PlayerInjuries)) -- Remove All Injuries
end
end
writeSmallInteger(Player+plao.Pmsh, value) -- Match Sharpness
writeSmallInteger(Player+plao.Pftg, 0) -- Fatigue
writeSmallInteger(Player+plao.Popc, value) -- Overall Physical Condition
--writeByte(Player+plao.Pmor, 20) -- Morale
return
end
Improve Team Condition and Remove All Injuries can now be used without affecting player morale.
sir. why is it that every time I increase a player's attributes then after a few days the attributes start to decrease?
Note: besides raising the attributes, I also raised the player's PA to around 180
You need to change his CA / PA (Player Data -> General) as well. Match the CA to RCA and make PA value greater than RCA after you finish editing his attributes.
why can't I change the RCA value, there is only an icon (;)?
The club is Penang, Malaysia. All the players are from the club, except the one with blue name. It just affects the 11 players on the main roster who are about to play, no one else.
Can you please send me your save so I can check and resolve it? As I never found this issue with my saved game.
The club is Penang, Malaysia. All the players are from the club, except the one with blue name. It just affects the 11 players on the main roster who are about to play, no one else.
Can you please send me your save so I can check and resolve it? As I never found this issue with my saved game.