tfigment wrote: ↑Sat Jul 27, 2019 2:32 pm
Here is my table for 19.3.5 (updated 9-Sep-2019). I did not fix any code or cheat scripts for super squads.
Didn't keep track of everything I did but this is what I can remember
- Updated "My Profile" for Coach Non-Player values with new pointers
- Added a new datatype (Mask 0x3FFF) which is used with Training Values
- Found some code injection points for training, fitness, morale
- Might be some partial structures in "Dissect structure" area for [basPlayer]
- Added Training Happiness (v2)
- Added Personal Reputation with Players (v2)
- Added pointers to player for Relationships (v2) . Made dynamic in (v3) and moved to Person.
- Added code location for disabling rejection of work visas (v2)
First, what I use this table most for is to "fix" morale, sharpness, jadeness and training for all Squad players after a match.
To get the current happiness, match condition, match shape and jadedness for everyone on the team and change all at once instead of player by player do the following:
- Attach CE. Take out of "Full View Mode". Select "Advanced Options". Put back in "Compact View Mode" if you like.
- Go to Squad selection
- (Optional) Select Players > All Players
- Sub Select Fitness (something other than "Selection Info")
- Switch to CE. Focus the Advanced Options window.
- Happiness
- Right click Select "ReadPlayerHappiness"
- "Find out what addresses this code reads from"
- Attach debugger if asked.
- Set data type to "Byte" at bottom
- Condition
- Right click Select "match condition"
- "Find out what addresses this code reads from"
- Set data type to "2 Bytes" at bottom
- Match Shape
- Right click Select "match shape"
- "Find out what addresses this code reads from"
- Set data type to "2 Bytes" at bottom
- Jadedness
- Right click Select "jadedness"
- "Find out what addresses this code reads from"
- Set data type to "2 Bytes" at bottom
- You should have 4 windows open from CE that are empty.
- Switch to FM. Sub Select "Selection Info". (The game may freeze for a few seconds as the values are read.)
- Switch to CE. The 4 windows should have values. Press "Stop" on all 4 windows. This is important for performance reasons also we only want this squad to show up.
- For each window. Select all values and change Happiness to 20, Match Condition/Shape to 10000, jadedness to 65036.
(Key commands for faster entry: Home, Shift+End, Enter, <Type Value>, Enter)
These values are good until you reload the game or something like that.
To mess with Individual Training:
- Attach CE. Take out of "Full View Mode". Select "Advanced Options". Put back in "Compact View Mode" if you like.
- Goto Training > Individual
- Put Filter in "Detailed" mode
- Select Single Player
- Switch to CE. Focus the Advanced Options window.
- Right click Select "Read Training Param on Individual"
- Change filter to "Mask 0x3FFF"
- Switch to FM. Change "Tactical Familiarity" to "No tactics selected" (any option works really)
- Switch to CE. The window should have a number of values now.
- Press "Stop". This is important for performance reasons since we don't want debugger always running.
- Select all values and change to 10000 or whatever.
I'm not actually sure how useful this really is but seems to help overall. This does not impact Position/Role/Duty. And some values like Marking, Tempo seem to be team wide values covered elsewhere.
3/Aug/2019: Updates for version 2 of my edits since it seems like some people downloaded the table.
Table shows the first 30 relationships (Thus greatly increased size). This might slow down this table as I can see it struggle to update when switching between players . Note that exact count is not easy since its tracked by start and end pointers not count. The table could be scripted to do something more correct here but its tricky and I'm probably not interested right now.
What I've seen in relationships is that these hold your manager and player relationships as expected but also hold strange things like Fitness Training Happiness and number of days left before work permit can be reapplied for. I used this to locate the pointer for Bulk Training Happiness code so players stop complaining about so much quickness training or whatever and improve relationships so I don't have to keep praising players for good game or training.
Anyway, if you go to Home > Relationships and use the "Home > Relationships: Relationships Values" to "Find out what address this code references" you can update how your players like or don't like you (does not work on other coaches).
If you go to "Dynamics > Training" and use the "Dynamics: Training Happiness" code to find addresses then you can change the first team training happiness. You can also create a custom view on the squad page to get training happiness columns and update players not in the first teams as well.
So work permit rejection can be annoying so I figured out how that works. There is a Relationship Record Type 117 which tracks work permit denied. The Info field is number of days until the permit is reevaluated. Set to zero to allow immediate retry.
Next you can use the "Force Work Permit (replace with nothing)" code in the Advanced Options table to "Replace with code that does nothing" before the day that the permit is evaluated. This will automatically allow permit to be issued. Note that its not good to leave this code commented out all the time unless you want all teams to get permits issued I suppose. "Restore with original code" when done using.
Update: I tried this today and it did not trigger on a transfer from another team. I will continue to investigate it. Perhaps the condition triggers only if you actually have hired the player and they are in your team and unable to play but still needs work permit.
Confirmed. For this to work the player must fail twice to get permit but still hire then get the 120 day reapply wait msg. Then use relationships pointer for the 117 Record Type code to change Info to 0 from the 119 or so value. If you then reapply and have this code set to do nothing then the player will be accepted next time this is evaluated.
31/Aug/2019: Uploaded v3 which moves relationships to Person Data since its valid for Non-Players too. Also made the list semi dynamic so it will create the entries dynamically based on actual number of relationships.
1/Sep/2019: There was issue with table script which I overlooked causing it to not load. Removed offending functions. (removed broken v3).
4/Sep/2019: Realized I removed too many functions when fixing v3 which lead to "Update Relationships" to not work. Minor update.
9/Sep/2019: Realized that the ID in relationships are actually pointers to objects. So changed to hex and extract name so you can see who relationship is with and put in description.
hi man, i like the tables and really thanks for that xD
for work permit, here are stuff i've noticed so far :
less annoying way :
if you sign youngster, application is more likely to be accepted if he has decent CA ( preferably above average of your current prospects ) and high PA (150+). better yet if he's in the current u19/u21 international. save before applying, reload when fail.
if you sign first team, the guy should have decent rep (you can copy the rep of your best key player in club overview). if he's current international then it's a bonus. high wage also works, save before appying, reload when fail.
slighly more annoying way : (mainly because i don't like dual nationality, lol, i like colorful flags)
you can try to locate "days in current country" and change it to 1824, he'll play tomorrow.
or you can change the club join date (in contract) to 5 years ago (-1 day). he'll also play tomorrow.
or heck, just give the guy 2nd nationality in relationship.
anyway, i gave up playing in england, brexit is a mistake.
also another thing, your "super team" sharpness/condition value is overkill. set them both to 12500. the game still read those as 100%.
and from my experience, 0 jadeness is better, 65036 is a bit buggy and more likely to injure players outside match.
post note : i like cheating small stuff, and slightly disappointed that i couldn't get your finance cheat to work. (trying to change matchday / season ticket prices) any advice?