FMScoutFramework icon indicating copy to clipboard operation
FMScoutFramework copied to clipboard

Not all players are loaded

Open DavyDepuydt opened this issue 8 years ago • 3 comments

I've downloaded the latest version and playing with FM2016 16.3.2

I've created a lightweight app that shows all players of your own team with CA & PA.

However the list is randomly missing players from my team. when I advance one day, close the save, reload it in FM and then re-open my app the list is still missing players, but not necesairly the same, sometimes 1 player is missing, sometimes more. (it has nothing to do with players on loan or so ...)

I also have a search function that searches the entire Player list, and when searching for the missing player nothing comes up, so it looks like the player wasn't loaded from memory at all. (While the next time you load the game it's possible that the player is loaded correctly)

EDIT: each time I close and reopen the game, the nr of players in the players list is different (it can be different by several thousands)

DavyDepuydt avatar Oct 11 '16 11:10 DavyDepuydt

at one point I even had my own manager coming up in the player list of my team. I guess there's something wrong the the player memory address configured for 16.3.2?

DavyDepuydt avatar Oct 12 '16 11:10 DavyDepuydt

To fix my issue I decompiled the scoutframework that is installed with FMWizardTool and there they add a second address to the playeradresses:

public int SecondaryPlayer { get { return 0; } }

with adding that I got some of my missing players back

DavyDepuydt avatar Oct 14 '16 09:10 DavyDepuydt

That's great, feel free to send a PR if you have a working fix and I'll merge.

On a side note any published fixes to the framework have to be shared back to the open source community as per the terms of the license.

ThanosSiopoudis avatar Oct 14 '16 12:10 ThanosSiopoudis