gyboth Site Admin

Joined: 18 Dec 2004 Posts: 1393 Location: Passau, Germany
|
Posted: Sat Feb 14, 2009 6:45 pm Post subject: cup_load_choose_team_from_league warning |
|
|
If Bygfoot exits at the end of a season with a message similar to
| Code: | | ** (bygfoot:9638): WARNING **: cup_load_choose_team_from_league (1): not enough teams (that don't participate in international cups yet) found in chooseteam greece1 for cup Greek Supercup (1 specified, 0 found) cup group 160. |
you should download an updated definitions directory here
http://bygfoot.sourceforge.net/extras/definitions.zip
and replace your definitions directory with it.
In the Linux binary and Windows versions, your defs dir is to be found at ./support_files. In an installed version (from RPM, or with make install) you should find it at /usr/local/share/bygfoot/support_files, if I recall correctly.
Afterwards, delete the defs dir from the .bygfoot directory your home directory (~ on Linux, not entirely sure where on Windows... probably something like C:\Documents and Settings\username\).
This won't fix your savegame, only make sure you won't get the problem again in future games. I'll post instructions on fixing a savegame later for those who've grown really fond of their team (or their bank account).
========================
...and here it is:
- Unzip your savegame.
- Locate the cup XML file by searching for the name within the files (in our example from above you'd search for a file containing the text "Greek Supercup").
- Open the file with a text editor. Look for the two blocks between _3005 tags, e.g. something like this:
| Code: | <_3005>
<_3006>germany_dfb</_3006>
<_3007>1</_3007>
<_3008>1</_3008>
<_3009>2</_3009>
<_3010>0</_3010>
<_3011>0</_3011>
<_3012>0</_3012>
<_3013>0</_3013>
<_3014>1</_3014>
</_3005>
<_3005>
<_3006>germany1</_3006>
<_3007>1</_3007>
<_3008>1</_3008>
<_3009>1</_3009>
<_3010>0</_3010>
<_3011>0</_3011>
<_3012>0</_3012>
<_3013>0</_3013>
<_3014>1</_3014>
</_3005> | Change the order of the two blocks, so that the second one comes first, like this: | Code: | <_3005>
<_3006>germany1</_3006>
<_3007>1</_3007>
<_3008>1</_3008>
<_3009>1</_3009>
<_3010>0</_3010>
<_3011>0</_3011>
<_3012>0</_3012>
<_3013>0</_3013>
<_3014>1</_3014>
</_3005>
<_3005>
<_3006>germany_dfb</_3006>
<_3007>1</_3007>
<_3008>1</_3008>
<_3009>2</_3009>
<_3010>0</_3010>
<_3011>0</_3011>
<_3012>0</_3012>
<_3013>0</_3013>
<_3014>1</_3014>
</_3005> | Save the file and zip everything back into the savegame archive.Done. Your savegame should work now.
(I don't know why the text size got screwed up, but I don't think it's my fault...) _________________ Press any key to continue or any other key to quit.
-------------
gyboth@jabber.freenet.de // Skype: gyboth |
|