OBBLM - BB2016 Rules

However you play online - Java, Vassal, Email, Cyanide etc - talk about it here.
This is also the place for discussing the various tools for managing leagues, teams and so on.

Moderator: TFF Mods

User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

OBBLM - BB2016 Rules

Post by harroguk »

Firstly I accept no responsibility if this blows up your site.
Take backups of your database and your website before making any changes so you can go back if things get hairy.

If you want to update your OBBLM install to use the BB2016 ruleset then do the following...

Download this file... unzip it and place the file in your OBBLM directory...
  • ../obblm/lib/game_data-BB2016.php
edit ../obblm/header.php
  • [Line 92-93] https://github.com/nicholasmr/obblm/sea ... &type=Code
    • [FROM]

      Code: Select all

      # Load game data --- Module settings might depend on game data, so we include it first
      require_once('lib/game_data_lrb6.php'); # LRB6 MUST be loaded.
      [TO]

      Code: Select all

      # Load game data --- Module settings might depend on game data, so we include it first
      require_once('lib/game_data-BB2016.php'); # BB2016 Rules.
Go to your obblm site...
  • Admin ==> obblm core panel
    • Run each of the DB Maintenance Tasks once
      Run the syncall() task once

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

Re: OBBLM - BB2016 Rules

Post by harroguk »

Known Issues:
Some existing teams player icons no longer work. This does not seem to be a problem with newly created teams.

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
User avatar
ddancer
Experienced
Experienced
Posts: 134
Joined: Sun Jan 27, 2008 7:56 pm
Location: Gilbert, AZ
Contact:

Re: OBBLM - BB2016 Rules

Post by ddancer »

Worked like a champ! Thank you!

Reason: ''
Co-Commissioner of the PBBL
Home to the School of Block
http://pbbl.uhearttrollgate.com
User avatar
Shteve0
Legend
Legend
Posts: 2479
Joined: Thu May 07, 2009 10:15 am
Location: Wellington, New Zealand

Re: OBBLM - BB2016 Rules

Post by Shteve0 »

There will be an official update in a matter of a week or two

Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co
User avatar
ddancer
Experienced
Experienced
Posts: 134
Joined: Sun Jan 27, 2008 7:56 pm
Location: Gilbert, AZ
Contact:

Re: OBBLM - BB2016 Rules

Post by ddancer »

Shteve0 wrote:There will be an official update in a matter of a week or two
Awesome to hear - I had a question/Issue posted to the NAFLM bugs, thought I might try out your version. :D

Reason: ''
Co-Commissioner of the PBBL
Home to the School of Block
http://pbbl.uhearttrollgate.com
dodger
Rookie
Rookie
Posts: 13
Joined: Mon Oct 21, 2013 10:39 pm

Re: OBBLM - BB2016 Rules

Post by dodger »

used this successfully today but had to add Star Player Guffle Pusmaw and his monstrous mouth skill as there were missing form the file.

Reason: ''
dodger
Rookie
Rookie
Posts: 13
Joined: Mon Oct 21, 2013 10:39 pm

Re: OBBLM - BB2016 Rules

Post by dodger »

harroguk wrote:Known Issues:
Some existing teams player icons no longer work. This does not seem to be a problem with newly created teams.
which ones? I can probably figure out how to fix them.

Reason: ''
User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

Re: OBBLM - BB2016 Rules

Post by harroguk »

Any team that had its race name changed.

Its no biggie for me but feel free to fix it.

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
dodger
Rookie
Rookie
Posts: 13
Joined: Mon Oct 21, 2013 10:39 pm

Re: OBBLM - BB2016 Rules

Post by dodger »

harroguk wrote:Any team that had its race name changed.

Its no biggie for me but feel free to fix it.
ok it can't be fixed by this file, it's something that should probably be fixed deeper in the code but I did find the exact issue and correct for my site.

icons will work fine for any new teams made after this file is applied.

For existing teams, if the team name changed resyncing everything does not update the f_rname (Race Name) field for the players in the Players table. (It probably should, also, the Icons should probably be looked up by Race ID number and not race name but again those are two things that should probably be fixed deeper in the code.

To fix my league info I just SQL updated the race/team names that changed in the player table and it fixed the icon display.

Example to fix the Chaos/Chaos Chosen teams:
update `players` set f_rname = 'Chaos Chosen' where f_rname = 'Chaos'

Reason: ''
Zinda of Tamaria
Rookie
Rookie
Posts: 3
Joined: Fri Jan 20, 2017 11:53 pm

Re: OBBLM - BB2016 Rules

Post by Zinda of Tamaria »

I have some issues, and the referenced lines just say to run a query. Ideas?
You do not have the required permissions to view the files attached to this post.

Reason: ''
User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

Re: OBBLM - BB2016 Rules

Post by harroguk »

As the problems are happening with...
Class_translations.php

I would guess you are using the site in a language other than English?

Try looking un that file and seeing if you need to change any of the translation mappings.

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
Zinda of Tamaria
Rookie
Rookie
Posts: 3
Joined: Fri Jan 20, 2017 11:53 pm

Re: OBBLM - BB2016 Rules

Post by Zinda of Tamaria »

I'm using English.

I'm assuming that somewhere it's saying to translate something that doesn't exist, but I can't tell from reading the translation php which item isn't translating properly (twice)

Reason: ''
User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

Re: OBBLM - BB2016 Rules

Post by harroguk »

check your .\Website\BloodBowl\localsettings\settings_X.php files to ensure that language is set to "en-GB"?

Code: Select all

$settings['lang']        = 'en-GB';            // Default language. Existing: en-GB, es, de, fr.
not sure what else to suggest as it doesnt happen on mine. Doe it only happen on a specific page?

EDIT:
You could also check your...
Coaches Corner ==> Profile
and ensure the language is set to en-GB there too

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
Zinda of Tamaria
Rookie
Rookie
Posts: 3
Joined: Fri Jan 20, 2017 11:53 pm

Re: OBBLM - BB2016 Rules

Post by Zinda of Tamaria »

Everything is set to En-GB. It shows on all screens. I'm going to look through the translations.xml file to see if something's missing.

Reason: ''
User avatar
harroguk
Veteran
Veteran
Posts: 208
Joined: Fri May 15, 2009 9:35 pm

Re: OBBLM - BB2016 Rules

Post by harroguk »

As its only warnings and notices you could suppress them in php.ini if they aren't interfering with anything.

error_reporting = ~E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED

I am using php v5.6.9 with apache 2.4.12

Reason: ''
Commisioner (Retired) of - DBBL in Daventry
Post Reply