bbdkp 1.4

All general discussions around bbdkp can be posted here.
User avatar
Sajaki
Developer
Developer
Posts: 2517

bbdkp 1.4

Post#1 » 11 Aug 2014, 21:23

hi,
The next version wil be 1.4, and it wil have the following changes:


  • [NEW] #248 2 new races were added in SWToR : Cyborg and Cathar. they should be included in the installer.
    • Image
    • Image
  • [CHG] #247 moved all js to subfolder /template/dkp/js
  • [NEW] #246 Added Sliders to statistics page, for easier navigation
    • Image
  • [FIX] missing language entries in german/french
  • [NEW] #240 update Aion game parameters game
  • [CHG] #239 added correct classpath to rpblocks class in class_exists checker in block factory
  • [NEW] #226 new Roles & Recruitment class/table: The roles are now in a separate class and table. A new 'recruitment' class/table holds number of positions and applicants. the Apply plugin will update the recruitment table and so you have a live view of recruitments through the recruitment block. Also, Raidplanner will use the bbdkp roles table to fill in raidroles.
    more screenshots later..
  • [CHG] #223 deprecated GAMES_TABLE, LOGS_TABLE, EVENTS_TABLE constant updated to BBGAMES_TABLE, BBLOGS_TABLE, BBEVENTS_TABLE constants
  • [NEW] #212 added Italian translation
  • [NEW] #196 Implemented Guildwars Guild API
  • [NEW] #192 Can now unlink a character from UCP

User avatar
Sajaki
Developer
Developer
Posts: 2517

Re: bbdkp 1.4

Post#2 » 12 Aug 2014, 12:33

Given that the character API returns "DPS", "HEALING", and "TANKING" as role,
(example https://gist.github.com/Peratryn/377277 ... lents-json)
i'm linking these to the new roles table like this :

Code: Select all

0=DPS
1=HEALING
2=TANK


Code: Select all

INSERT INTO `phpbb_bbdkp_gameroles` (`role_pkid`, `game_id`, `role_id`, `role_color`, `role_icon`, `role_cat_icon`)
VALUES
   (1,'wow',0,'#FF4455','dps_icon',''),
   (2,'wow',1,'#11FF77','healer_icon',''),
   (3,'wow',2,'#c3834c','tank_icon','');

User avatar
Sajaki
Developer
Developer
Posts: 2517

Re: bbdkp 1.4

Post#3 » 12 Aug 2014, 12:48

Code: Select all

           
$conversion_array = array(
 'DPS' => 0,
 'HEALING' => 1,
 'TANK' => 2,
);

if (isset($role) && in_array($role,$conversion_array))
{
 $this->member_role = $conversion_array[$role];
}


The flip side is of course that - for WoW - your roles are dictated by the Armory.

Return to “General Discussion”

Who is online

Users browsing this forum: Ahrefs [Bot], CommonCrawl [Bot] and 0 guests