MorgDKP2
MorgDKP2 is a full featured mod that allows the master looter (ML) to control the loot distribution process. Only one member is required to have this mod. MorgDKP2 is also capable of tracking DKP and outputting the DKP string for import into eqDKP using a custom php import script.
Please help localize here.
LDB shortcuts:
- L-click => MorgBid2 query
- Shift-L-click => Invite list
- Ctrl-L-click => Raidtracker
- R-click => Options
- L-click itemlink => Add manual item for query
- Shift-L-click Itemlink => Insert link into open chatframe message
- Ctrl-L-click Itemlink => Add item to ignore list
- Hover over itemlink => Show item tooltip
- Shift-hover over itemlink => Show bid history for the item
Bag shortcut - Shift-Alt-L-click any item in your bug to add a manual query (ie a BOE item)
Video Tutorial
BlueWarlord has created a video tutorial for setting up and using the MorgDKP2 system to run a raid. Find it here.
BlueWarlord created another video tutorial for setting up and using MorgDKP2 with eqdkp/eqdkp+. Find it here.
Thanks BlueWarlord!
phpRaid Integration
If you use eqdkp+ for setting up raids you can export the raid attendees (choose lua format) and save the file to the MorgDKP2 folder. When you open the invite list (shift-click) the day of a scheduled raid the phpRaid data will pop open in its own frame.
ClassLoot Integration
If you have ClassLoot (r98 or higher) running as well as MorgDKP2 when a new item drops the classes/altclasses allowed to bid for the item will automatically be filled in if the item is in ClassLoot's database. Only if the classes are NOT already set. Thanks Pneumatis for allowing me to hook your DB:)
Importable item database
There is now and item DB included in the ImportItemDB folder of MorgDKP2. It has as many Northrend raid items I have seen so far with classes set. To import it copy the file to the main MorgDKP2 directory and load WoW. Once imported delete the file from the main directory. Note it will not overwrite any items you already have set.
Using MorgDKP2:
Basic use is identical to MorgDKP. Documentation for setting up the web scripts etc still applies. Will post more information when I have time.
Suggested to start:
- Install the webscripts to the plugins folder of your eqdkp install and install it through the admin plugin menu
- Export your DKP from the website save in MorgDKP2 folder (even if your database currently has no members!)
- Enter WoW and make sure there are no errors
- Track your raid etc
- Click export raid(s) and copy the string
- Click Import raids on the admin panel of edkp and paste the string into the window
- Win!
Webscript help
Export standings
Used to export member DKP, events, aliases, and database information (needed for proper import) to the in game mod. Access through the eqdkp admin menu (after installing plugin)
- Select your game timezone (may not match your actual timezone)
- Select if you want to export member ranks
- Ignore ranks - do not export ranks and hence do not use rank sorting for item rolls
- Use all ranks - export all ranks for all members and use rank sorting for item rolls (only way to activate rank sorting)
- Only export [rank] - only export the selected rank from the website. Caution will only export members of that rank so any unranked members or members of different rank will not be in the file.
- Enter the directory and in game name for up to 5 eqdkp installs (ie if your website is http://sodalityoftheconstant.com/aqdkp/listmembers.php? then you would enter aqdkp and whatever name you want it called in game.)
- For eqdkp+ multiple pool install only enter the main directory name the pool names will be your actual pool names
- For installs in base directory (ie http://eqdkptest.sodalityoftheconstant.com) enter - for the directory name
- Click export
- Right click the link and choose save as .. save in WOW/Interface/Addons/MorgDKP2 directory.
- Load into WoW or reloadui if already in game.
Import raids
Used to import raids recorded with the MorgDKP2 in game mod. Click export raids in the LDB tooltip or export raid in the raidtracker for a single raid. Copy the DKP string (Ctrl-C) and paste it into the editbox. When editing names or adding people you do not need to capitalize them.
- Click parse DKP string
- Check the data and make sure the import looks correct:
- If you have any aliases to import they will be shown with ADD beside them. To not import the alias simply erase the editbox.
- If you have any DKP changes they will be listed. As above erase the value or the names to not import. Can add/remove names as well.
- For each event the name, note, value, attendees, and any items will be shown. Edit them if necessary. To not import a whole event (including items) erase it's name. Erase and item or item value to not import the item.
- If you are using zerosum or skall with zerosum check the use zerosum checkbox.
- Click enter final data:)
Note: - Ranks will only be used in sorting if you export all ranks and set the weight of each rank in the in game options (database options) Higher values should be higher ranks. Also rank sorting is ONLY used on the lootframe rolling window. It is not used anywhere else such as the MorgBid2 check or raid invite tab. This means that the MorgBid2 results frame may show a different winner.
Loot window help:
Here is how the loot window is designed to work for those having trouble understanding it. When you loot a corpse if any items are above the loot threshold the mod will:
- Check each item and if any have not had their classes set (who gets to roll for the item) it will automatically open the item edit page to that item. This takes priority over all other possibilites. ie You edit this item and start the roll for it. The mod checks again and there is still another item with its classes unset so it opens the item edit page for that 2nd item NOT the roll window for the auction you started. If you want to see the roll window simply right click on the 1st item again.
- If no items have unset classes the mod next checks if any items are currently in auction. If so it opens: roll summary window if more than 1 item being rolled for or the single item roll window if only 1 item.
- If none of above conditions apply no window automatically opens (ie not roll window or item edit window) and you can right click any item to open edit window (or roll window if auction started) or alt-right click any item to start ALL queries which will cause the roll summary window to open.
Note: - If you want to use MorgDKP2 with fubar you need to have Broker2Fubar installed or it will only show a minimap icon.
Whisper commands: - whispered to someone running morgdkp2.
Waitlist
mbid wait[+/-] [main] => main only necessary if you are whispering from an unknown alt
Bidding
mbid itemid/itemlink [need/take/pass/offspec] [bid] => itemid/link must be included - bid only for BidWar
Dkp queries
dkplist [pool/s] [class/all] [class] ... => pools only if you want to see what pools are available. pool to get the dkp for that pool (leave out for default pool). all for all members in the raid (if person running morgdkp2 is in a raid), guild otherwise. You own class is automatically included so a pally whispering dkplist rogue will get paladin and rogue.
Webscript note: - The MorgDKP2 webscript requires:PHP 5.2.3 or greater and MySQL 5.0.7 or greater. If you are having issues with special characters make sure your MYSQL database is in UTF-8.
Supported DKP modules:
- Fixed DKP
- Zerosum DKP
- Percent DKP
- Relational DKP
- Random
- SKall
- TakeBid
- BidWar
Syncing:
Options
- Broadcast - enable to send sync messages out during a raid to registered listeners. Usually one person will probably broadcast to the backup people in the raid but you can have more than one broadcaster.
- Receive - enable so your mod will act as a listener and receive syncing events from MorgDKP2 installs which are broadcasting.
- Overwrite raid - enable to overwrite the current raid with the new raid info (in the initial sync) if you have already started a raid. Useful when you zone in to the instance late after raid is already in progress to get the raidlog from the whole run. If you haven't started a raid overwrite is done by default.
- Manual Syncs - ie Sync options/members/items/all/initial sync. Click one of these buttons to manually sync to the current raid.
Sync Details
- Syncing will not be enabled until a raid has started and then the mod will check for sync necessity every 60s.
- When the raid starts or someone joins the raid with receive enabled the broadcaster will send out his eqdkp data (boss events/values, aliases, current pool, certain options, current raid data, and current member DKP) Current member DKP will only be updated in the listener client if it has a newer timestamp or if they are members of your current raid. The broadcasters current raid will overwrite the receivers current raid unless Overwrite raid is off.
- When you make changes to important values the mod will schedule a sync and send those changes to the listeners throughout the raid.
What is synced?
- item database changes (value/classes)
- raid tracker changes to items (value/winner/event)
- custom events
- event changes (value/name/note/deletion)
- alias additions
- BOE items (ie hand out through your inventory and manually trade)
- DKP change events
- item costs different from actual DB cost (ie TakeBid or offspec auctions)
- items incorrectly assigned to ML/DE in listener client
- full current raid sync
- initial waitlist and waitlist changes
NOTE: - There is generally no need for the manual syncs unless you specifically want to transfer the complete itemDB or the listener wants ALL of your MorgDKP2 options. The complete member DKP and necessary options are transferred when the initial sync is sent at the start of the raid (if you have Broadcast enabled and there are listeners present in the raid)
MorgDKP2 Features:
- Allows ML to query raid for interest in loot.
- Tracks DKP including raid attendees, start bonus, and all drops.
- DKP systems supported include zero-sum, relational, random, fixed, percent, and skall.
- Options to award DKP/unit of time, include a start bonus, and include custom events such as boss attempts.
- BidWar mode for item auctions.
- Custom php scripts to export/import/change DKP and add aliases to eqDKP/eqdkp+ website. (can import multiple raids/pools in one string)
- Allows a ML and disenchanter (DE) to be set so that they are not charged for items. (Toggle)
- Remembers what raid members have equipped and will not send a query to them for loot they already have. (Exceptions for some non-unique items included.)
- Sends query results to MorgBid2 (for players in that auction)
- Displays top 5 DKP members for the moused over item in the tooltip.
- Automatically hands out items to the winning player if the loot window is still open. Note: It asks with the standard blizzard confirmation dialogue.
- Allows ML to easily set which classes are eligible and DKP value. Also remembers these values.
- Scans for base installs of MorgBid in the current raid. Automatically outputs a link to MorgBid site on click.
- Allows ML to record BOE items before trading them to member. (Alt-shift click item in your inventory)
- Can load up to 5 separate DKP pools. Ie. MC1, MC2, BWL, AQ40, NAXX. These raids can be named whatever you wish.
- multiPool feature allows up to 5 DKP pools to be used in one raid. (ie separate pool for class items)
- Can change loot threshold on the fly.
- Item history for easy recall of current raid item winners.
- Allows raid members to whisper ML for current DKP for own class or specified classes in all 5 DKP pools. (sent to MorgBid2)
- Lets you know it is working by displaying boss kills, raid changes, and looting events.
- Automatically links items to raid chat.
- Edit item values from item history (Allow you to track DKP without being ML)
- Whisper system for those crazy people who hate mods:P
- Fubar/LDB support
- Main and offspec DKP rolling
- Waitlist including DKP awarding and alt whispering.
- ListDKP - shows guild members online and in/out of group and allows 1 click inviting
- Custom item ignore list
- Automatic loot method switching for certain encounters. (Vashj/MH)
- Boss attempt mode asks if you want to record a boss attempt after dying
- Custom loot frame with buttons for self-loot/random rolling items (loot frame can be used with mod in standby mode)
- Importable item database
- Built in xloot like loot frame which can be used with mod on standby
- New itemframe/rollframe built into loot window
- Customisable font/frame options
- Modular so can disable what you don't need
- Web script can handle offbase/eqdkp installs in main directory
- Imports MorgDKP database data (be sure to run both at same time if you want to mport your database the first time)
- Fully eqdkp/eqdkp+ compatible
- In game raid browser
I can agree with Sarothe, it is Morg that interferes with it somehow. When someone whispers me dkplist, it instantly kicks the text off of Pitbull.
That's not too much of an issue, I have two other problems, one of which might be a much more custom issue.
1) It seems to be assigning DKP twice for all timed DKP. I have it set to 1 DKP every 30 minutes, and every 30 minutes, I didn't have anyone with odd DKP values (Except people who purchased items already). It outputted "Added 1 DKP to 25 attendees" twice to chat. Any idea why this would be happening? It exports correct values to eqDKP, it's just showing incorrect values for the ingame DKP list. Unlike below, I haven't made any changes to DKPovertime.lua, so I don't see any reason it would hit twice (Dual events aren't created for the export, just dual-awarding ingame)
2) This may be due to the way I customized the mod, though I'm not sure. Because of the percentage-DKP system I have implemented, I want every new player to start with 25 DKP. My workaround for it is changing
db.info[playname][db.raid] = {points = 0, earned = 0, spent = 0}
to
db.info[playname][db.raid] = {points = 25, earned = 0, spent = 0}
in the function mdkp.modulePrototype:PlayerinDB, in basePrototype.lua. It worked great in all my preliminary testing, where it gave people 25 DKP to start, and I just needed to make an adjustment of 25 in eqDKP after I exported.
My issue arose when I used the waitlist feature tonight. I didn't realize that it too called the function I changed above, and in doing so, it added 25 DKP to anyone who jumped on the waitlist.
Is there a different way that I could have people start with 25 DKP without also giving them a ton of free DKP when they hop on the waitlist? It ends up exporting the correct values to eqDKP, just like above, but when someone comes into the raid from the waitlist, they'll be 25 DKP above what they should be...
It's an excellent mod overall, far and away the best DKP mod out there. I hope I could get help with these few tweaks (Which may be due to my lackluster knowledge of how your mod is structured / lua scripting in general), so it can be absolutely perfect in all ways for me. =)
I'm reasonably sure I tried the item/ML menu too. I'm wondering if there is a conflict with Pitbull. I have noticed, since using MorgDKP2, that my unit frames are losing their text, and not updating the health/mana status. I can't guarantee it is due to MorgDKP2, but it seems to only happen after I've attempted to loot items, whether it be from a boss or a manual auction of something in my bags. I can't be sure last night whether I had a Pitbull failure at the time I had the trouble with ML'ing. I will pay a lot more attention tonight. To fix the unit frames I simply reloadui.
S.
I assume you must have had an error thats why the ML didn't work. Did you only try by clicking the winner name in the tablet or did you also try by clicking the item and using the ML menu? The ML menu should work and be a failsafe. But if something wierd happens (ie some error) you can always go to the lootframe options and turn off use morgdkp lootframe option and then the default ML menu will be back without reloading/restarting.
Only reason it shows who got what items is so you can make an informed decision on who gets items. ie in our guild we only allow 1 item/raid unless no one else wants the item.
Oh, I thought I read something in the documentation that did a check to see if loot had already been received.
I went to masterloot a boss item to a member and a small popup came up showing what loot the player had received previously in that raid. It then would not let me masterloot the item to the player. I had to logout, disable the mod, come back in and loot it to him. Other people received their loot without any problems from the same boss. I was using FixDKP/Bidwar.
I was thinking this might be the change (see below) I needed to make to remove the block...but if there isn't a block then something else is going on.
FixedDKP.lua function mod:ItemRecorded(id, looter, POOL, points, itempoints, link) ... db.info[looter].raidloot = 1
Change this to 0 and the person does not get attributed to having received raidloot.
Thanks for all your posts on this. I'll happily help with some documentation if it takes some strain off you.
S.
PS: Re-read the docs. I can see now that multiple items is possible. I did see the window showing the previously looted item. Still couldn't master loot the item to the person. I am running an error catching addon and I didnt check to see if there were any errors. Will try it all again tonight.
There is no 1 item per raid system. WHat do you mean what happened?
Used the addon tonight...it was going well until I realised someone can only loot one item for the night. Any way to disable the 1 item per night system? I'm happy to go in and delete the code if that is the only solution. Thanks.
S.
Thanks. I'll stop looking :)
Only part of raidtracker that does anything yet is the raids tab and all it shows is the drops/events from the raid you can't edit them yet. Sorry still leveling get to it as soon as I can:P Hmm no there isn't a way to manually add DKP to someone yet. ASAP sorry.
Is the raidtracker working? I have blank boxes when I scroll through the buttons on the bottom after ctrl-left-clicking on the fuBar icon. I need to add dkp manually to people in the raid. If it is working then I have another addon screwing with me...any thoughts on known conflicts? Can I use a slash command to add DKP?
waddu doesn't run on Mac Os, or let's say i don't want to deal with mono;-) looking forward to the New cc from the wowace guys... Until then wuu is the only usful updater for Mac from my point of view.
But Back to topic, any updates for a new release version?
Good point vipfw...I will work on that:P
I wouldn't recommend WUU either. Best I have found so far is WADDU.
Damn curse client it doesn't support betas yet. Have to check a few possible errors then I will tag it.
Oh and no it does not support roll + DKP but you could always write a module to do that:P
Does this support probablistic rolling point systems like ni-karma where points+roll=winner and winner loses % of points?
any chance you can upload the new versions to curse? The curse client Keeps downgrading je to the old version every time i run it to update my other addons
New version with a bunch of fixes and event based DKP changes system added for DKP/time events and waitlist events. Tracker started but doesn't do anything but look pretty yet (well maybe lol)
In coremodule.lua the recordloot() function and it gets the itemcost by calling a function currDKP:GetItemValue(itemId, player, POOL) where currDKP = currently selected system (ie calls that function in that module.) Recordloot is triggered by someone in the raid looting an item.
Seriously though I think copying the percent.lua module and customising it to meet your needs (renaming it to a new module of course) would be far better then you don't have to make sure it works with every new release:)