[closed] Two players with the same player id
Posted: Sat Jan 31, 2009 10:44 am
Sorry, I don't have a save game (I stupidly deleted it). But a while ago in 2.3.0 I managed to get two players with the same player id. I first noticed the problem when one of my players started jumping into the lineup when I didn't say to. Especially when I got a red card during the game he'd suddenly appear in the lineup.
Eventually I tried to sell him and another player ended up on the transfer list. So I took a look in the save game file and noticed that those two players had the same player id. If it helps, I had bought both of the players.
I took a quick look at the source code, but I couldn't quite figure out how it might have happened. What's strange was that the player id was something like 574, while there were plenty of the players in the league with player ids of over 1000. So I have no idea how it happened.
Selling both players (unfortunately) seemed to have fixed the problem for me and I haven't had any problems since. Anyway, just posting the bug in case this twigs anything in anyone's mind. Sorry I don't have better reproduction instructions
Eventually I tried to sell him and another player ended up on the transfer list. So I took a look in the save game file and noticed that those two players had the same player id. If it helps, I had bought both of the players.
I took a quick look at the source code, but I couldn't quite figure out how it might have happened. What's strange was that the player id was something like 574, while there were plenty of the players in the league with player ids of over 1000. So I have no idea how it happened.
Selling both players (unfortunately) seemed to have fixed the problem for me and I haven't had any problems since. Anyway, just posting the bug in case this twigs anything in anyone's mind. Sorry I don't have better reproduction instructions