Archive > AO 0.6.x Custom/Unofficial modules

Raid Loot module

(1/3) > >>

Shelly:
New Release! 16-Aug-2011
Raidloot is a module I wrote that contains a menu system to enable easy rolling of the loot for several of the AO raids. Most of the commands are set initially as "Leader" level or better.

Raids included in this release:
Alappaa
Albtraum
APF(10,13,28,35,42)
Biodome
DustBrigade(Aune & Mikkelsen)
Dredloch
Hollow Island
Inner Sanctum
Jack 'Legchopper'
Legacy of XAN(12-man, Alien Threat, Vortexx)
Pande(all bosses & areas)
Dustbrigade Prisoners

It consists of 3 files ... all of which go in the "<bothome>/custom/modules" folder:
Raid_Loot.php
_Raid_Load.php
Loot.php

The Loot.php also has bitnykk's modifications (See Post: Modified-Loot-Plugin-(w APF/Pande)) together with my enhancements to allow for the loot to be shown in org chat if one desires... see "/tell <yourbot> help loot" for the choices.

This module set requires an SQL database, but so does the bot... :)

Install:
1. Rename your original Loot.php to _Loot.php. This file can be found in <bothome>/modules/ao.
2. Expand the 3 files from the download zip file into your <bothome>/custom/modules folder.
3. restart your bot.

History:
It started out as a rewrite of the PANDE_LOOT module for BudaBot, but found it easier just to completely rewrite it from the ground up. (Took about 3 weeks of serious coding to get the original module set written.) I am NOT a professional php coder...

I created it originally for BeBot (0.6.5), but it should work with any 6.x version of BeBot. I have a copy of the module set running on Flatroll2 (RK2) if you are interested in seeing it in action.

MANY thanks goes to Ryph(RK2) for his assistance in gathering the data necessary to add the boss loot information for many of the included raids to the module. (The database was constructed from scratch)
AND bitnykk for the raid shortcuts.

Hope you enjoy the module as much as I do.

Updated code...
1. Supports clickable links in the loot list.
2. The Database structure was modified to allow for a version check.
3. Uses new Loot module (this reduces the confusion of which command to use for people to add to the rolled items)

Original Modules:
* Raid_Loot.phps (71.89 kB - downloaded 100 times.)
* _Raid_Load.phps (233.77 kB - downloaded 84 times.)

Khalem:
Looks like a great module.

Some suggestions :)

Right now the module uses a separate command for each raid. I strongly recommend gathering all these as a subcommand for another command which if called with no arguments display a list of available raids.

If you want to make it more flexible i would also recommend moving away from hard coded raid targets and moving everything into database tables instead. Ie,
objectives_rloot: Defines raid objects, pande, db, hi etc
bosses_rloot: Defines what bosses are available, each boss assigned to an objective
items_rloot: The items
drops_rloot: Link loot with bosses

One could even add an ingame and/or web interface to allow adding of objectives, bosses and items to make new raids available easily.

Shelly:
I LOVE suggestions :)
You made some nice ones. I really want to implement them and was even thinking the same way ... Just need the time to code them. I pre-staged the selection code (case statements) to do that.... Maybe version 1.2? (I did mention I am not a professional php coder... right?  ;D

A friend found a few minor errors in the initial code and have corrected them... Please see the original post for the latest files.

Heffalomp:
I'm just waiting for the loot to be clickable in roll list :)
Great module so far tho :D

ZoeF:
How the hell do you get this to work?

I added it in modules but i can't seem to get any command right.

Any help ?

Navigation

[0] Message Index

[#] Next page

Go to full version