Bygfoot Football Manager Forum Index Bygfoot Football Manager
Public forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

cup_load_choose_team_from_league warning

 
Post new topic   Reply to topic    Bygfoot Football Manager Forum Index Bug reports
View previous topic :: View next topic  
Author Message
gyboth
Site Admin


Joined: 18 Dec 2004
Posts: 1393
Location: Passau, Germany

PostPosted: Sat Feb 14, 2009 6:45 pm    Post subject: cup_load_choose_team_from_league warning Reply with quote

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:
  1. Unzip your savegame.
  2. 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").
  3. 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>
  4. 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>
  5. Save the file and zip everything back into the savegame archive.
  6. 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
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Bygfoot Football Manager Forum Index -> Bug reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group