Page 1 of 1
Game crashes on 'begin new week'
Posted: Wed Jan 04, 2006 8:28 pm
by pdrie
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.
Posted: Wed Jan 04, 2006 10:33 pm
by ade334
I have the same probelm with Scotch Old Boys (last team in aus_vic)
on 2 separate games, season 9 week 6 round 2 has irrevocably crashed.
I've sent a savefile to gyözö and he's aware of the issue, so hopefully it isn't too tricky to fix.
Posted: Wed Jan 04, 2006 10:55 pm
by idcarlos
Same bug with
this savegame
Playing two games with the next week button
Posted: Thu Jan 05, 2006 10:33 am
by gyboth
why, i'd have to work really hard NOT to find this bug with three separate reports + savegames
i hope i'll have a chance to go hunting tonight or tomorrow
thanks for reporting to all.
gyözö
Posted: Sat Jan 07, 2006 8:35 pm
by gyboth

fixed
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.
gyözö
Posted: Sat Jan 07, 2006 11:17 pm
by pdrie
Great! The savegame fix works.
Many thanks!
Posted: Sun Jan 08, 2006 1:20 pm
by idcarlos
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.
Posted: Sun Jan 08, 2006 2:18 pm
by ade334
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.
Posted: Sun Jan 08, 2006 2:41 pm
by gyboth
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.
yeah, this is the way to go. forgot to mention that maybe you don't find the exact cup id.
gyözö