|
Hm, well the best way for extensions is to create them ;)
For a better basic support you need 3 files:
[b]1) plugins/bosssuite/games/LOTRO/bzone.php[/b]
This file contains an array with zone and boss ids. Those ids have to be unique within the whole game, should be all lowercases and should not contain to funky special chars because they are used as filenames later on. The structure of the array should be self explanatory, if not, just ask again.
[b]2) plugins/bosssuite/games/LOTRO/lang/LANGUAGE/lang_bossbase.php[/b]
Again this file should be self explanatory, within you assign a long and a short name for each zone/boss.
[b]3) plugins/bosssuite/games/LOTRO/linklist.php[/b]
This file might look confusing, but it's also quite easy. It handles the mapping from the internal ids used within the bosssuite and assigned in the bzone array to external ids used on fansites.
There are to arrays:
1) The sources array
$sources = array(
'allakhazam' => array('name' => 'Alakhazam', 'idlist' => 'default', 'baseurl' => 'http://lotro.allakhazam.com/db/bestiary.html?lotrmob='),
);
It contains a list of fansites with their name, the link url and the assigned link-id list whereas the link-id list is specified in the next array.
2) the link-id array:
$idlist['default'] = array(
/******Miscellaneous bosses*****/
'ferndur' => '6109',
'bogbereth' => '12397',
);
It just maps the internal id to the link id which will be appended to the url specified in the sources array. You might change the default mapping or add your own.
Simple :]
|