Actually... No conversion needed, just upload the original SQL tables, add the .PHP to the modules direcotry, and restart. Works just fine for me on v0.4.1 bot. Don't forget the items database. Newest one I have is 17.0.0. anyone have a newer sql dump of the items database?
I did add the help into the .PHP file, just so it's there, I'll post it here if you want easy copy-paste fixing.
Under the bossloot function, add this:
$this -> bot -> accesscontrol -> create("all", "bossloot", "GUEST");
$this -> help['description'] = "Bossloot will allow you to search for loot, and return which boss drops it, or search for bosses, and return what loot they drop.";
$this -> help['command']['bossloot name <boss_name>'] = "Searches loot table for drops specified for that boss.";
$this -> help['command']['bossloot loot <item_name>'] = "Shows list of bosses specifed loot drops from.";
$this -> help['command']['bossloot add <itemref>/<bossname>/<location>'] = "Add to the loot table under a boss name. (Location must be entered but if boss exists will not be overwritten.)<";
$this -> help['command']['bossloot check'] = "Only works in a tell. Checks boss DB against items DB for inconsistencies.";
I have not tested the add function, or the check function, but the searches do work.
Enjoy!
- Retox (RK2)