nicholasmr / obblm

Automatically exported from code.google.com/p/obblm
26 stars 54 forks source link

Setting up a Blood Bowl Sevens league #747

Open Blodger opened 6 years ago

Blodger commented 6 years ago

Hi, guys, I've been trying to make a custom rules for a Blood Bowl sevens league, where rosters can have 600k starting budget and 7/11 players.

On the older installs of the OBBLM this seems to be a simple change in the settings_x.php file: $rules['max_team_players'] = 11; // Default is 16. $rules['journeymen_limit'] = 7; // Until a team can field this number of players, it may fill team positions with journeymen.

But on the latest update I get this message: image

Even though the above limitations are still active, so you cannot buy more than 11 players or go beyond 600k gold spent.

image

Is there a way around this error message?

Thanks!

Beatfreak80 commented 3 years ago

Three years from the OP, I've just tried the same. For anyone else who is interested, it's probably not worth the effort, as it's not as simple as changing the code to allow fewer than 11 players on a roster; I got this far, and successfully registered a team of 7 players, but you are then unable to add any more players to the roster as the drop-down of positionals is blank. The drop-down works fine when using a roster of 11 players. I might have another go at seeing if I can fix this, but it makes me suspect there are likely other parts of the code which might fall over if <11 players are rostered.