After playing a couple of seasons Bygfoot crashes when I begin a new week. The game shows some matches of a cup I'm not in and then crashes. The console in which I started Bygfoot has an error message:
** (bygfoot:7328): WARNING **: cup_from_clid: didn't find cup with id 2012
I am using 1.9.4 binary on Kubuntu 5.10.
Game crashes on 'begin new week'

and i did have to work hard until i found the problem, buried deep in the bowels of the game

thanks for reporting, all of you.
unfortunately the savegames are corrupted, so the fix doesn't help you, even if you use the cvs version. fortunately, fixing the savegame isn't that hard. in the following we'll assume the savegame is called SAVE.zip and the error you experience mentions a cup with id ID. here's how to do it:
- unzip the savegame. on linux systems it should be in HOME/.bygfoot-1.9/saves.
- open SAVE___misc.xml with a text editor
- find the line <_1005>ID</_1005> (e.g. <_1005>2002</_1005>) it shouldn't be hard, the line is probably among the first 10 or 20 lines in the file
- replace ID with 1500, so that you have a line <_1005>1500</_1005>
- save the file and close
- move the file back into the zip archive, overwriting the original SAVE___misc.xml
- the savegame should be usable now without crashing.
Press any key to continue or any other key to quit.
Thanks!
But not work for me.
With this savegame the program crash searcing cup 201X, but this cups not are in SAVE___misc.xml
Under windows, unzip can't manage savegames with spaces, you need rename the savegame.
But not work for me.
With this savegame the program crash searcing cup 201X, but this cups not are in SAVE___misc.xml

yeah, this is the way to go. forgot to mention that maybe you don't find the exact cup id.ade334 wrote:Try renaming the closest one - probably 2012
I got errors with 2003,2004,2005 etc, but just renamed the closest one, rezipped and it worked.
gyözö
Press any key to continue or any other key to quit.