Serbia & Montenegro

Forum devoted to country/league/cup/team definition topics. You can also get help here if you have trouble writing or using a definition.
Post Reply
Pechorin
Posts: 13
Joined: Tue Jun 21, 2005 5:59 am

Serbia & Montenegro

Post by Pechorin »

Hello,

I created a country definition for Serbia&Montenegro. It "seems" to work fine, but the game keeps segfaulting after week 30.

I bet it has something to do with the cup :)

Anyway, here is the archive, so if anybody feels like debugging - please do :)
Attachments
scg.zip
(5 KiB) Downloaded 101 times
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

i'm just looking at your defs. let me see what i find:
  • promotion/relegation isn't symmetrical: from league 1 two teams get to leagues 2a and 2b, respectively, but one team from 2b and 3 teams from 2a move to league 1. so each season 2b will have one team more, and 2a one team less than the previous season. this is certainly not something we want to have.
  • the choose_teams in the cup def are wrong. this might be the segfault problem. choose_teams should be included in the <cup_round> section, not in the <cup_rounds> (see http://bygfoot.sourceforge.net/doc/1.9/ ... .html#toc9 ).
  • add_week should probably be 0 in the cup. 1000 means the cup is only started when all the leagues and cups in the choose_teams are finished. you probably want the cup to start right away.
i don't have the time to test more but maybe i'm going to try and set things right later today ;-)

gyözö
Press any key to continue or any other key to quit.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

ok, here you are, the def works now. changes i made:
  • changed promotion/relegation: 13-15 are relegated to 2a, the 16th is relegated to 2b.
  • changed the skills in 2a and 2b to 6300 and 6000 (otherwise the relegated team from 1->2b gets always promoted again because it's too strong for 2b)
  • debugged the cup, works fine now.
i've played a season and everything's ok. you should test it, too.

but before we can add the def to the official Bygfoot package, you have to take care of the team names. official names are not allowed, and i bet 'partisan' and 'red star' etc. are official names. you should rather have names like 'R.S. Belgrad' and 'P. Belgrad' etc.

thanks for your work (you even made player names :-)),

gyözö

p.s. how about a supercup between the cup winner and the league 1 winner?
Attachments
scg.zip
Corrected defs for Serbia-Montenegro.
(2.61 KiB) Downloaded 113 times
Press any key to continue or any other key to quit.
Pechorin
Posts: 13
Joined: Tue Jun 21, 2005 5:59 am

Post by Pechorin »

Hey, thanks! I'll test it today.

The supercup is not played in real life (as most often one team wins both the cup and the league) :)

Regarding team names, they actually are changed. E.g.:
Partisan is really called Partizan (I used the English spelling)
Red Star is really called Crvena Zvezda (I just used the translation)

Most other teams were simply named after a city they are in, unless there is more then one team in a town, where I used different spellings or only initials, etc.

Does that work?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

Pechorin wrote:Partisan is really called Partizan (I used the English spelling) Red Star is really called Crvena Zvezda (I just used the translation)
both are still the teams' names, unfortunately. i'm no copyright-lawyer, but i'd say the changes aren't big enough :-?
Most other teams were simply named after a city they are in, unless there is more then one team in a town, where I used different spellings or only initials, etc.
Does that work?
just a town name is ok; a town name with initials, like R. Madrid is fine, too. only names that are clearly sports-football-team related, like atletico or partis/zan or real are forbidden.

generally, i'd say we only use town names and initials, to be on the safe side.

gyözö
Press any key to continue or any other key to quit.
Pechorin
Posts: 13
Joined: Tue Jun 21, 2005 5:59 am

Post by Pechorin »

Ok, I was hoping I could get away with that :)

Anyway, here is the updated definition. Now only names of towns used in full (e.g. P. Belgrade, R.S. Belgrade).

I hope it works now :)
Attachments
scg.zip
updated team names
(2.61 KiB) Downloaded 114 times
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

ok, this is acceptable :-) i've added the definitions to the cvs. will be part of 1.9.1 then.

what's the difference between belgrade and beograd?

gyözö
Press any key to continue or any other key to quit.
Pechorin
Posts: 13
Joined: Tue Jun 21, 2005 5:59 am

Post by Pechorin »

Beograd is a Serbian name for Belgrade :) If I just put in Belgrade for a club named OFK (Beograd), nobody would be able to recognize what it is (they would think of Partizan or Red Star), so I left out OFK and just put in Beograd.
Post Reply