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
If anything, not getting the results in my MorgBid tooltip was worse. It was certainly at least as bad. I always had at least 4, sometimes 8, PENDING "results" when Azphat (as master looter) had all the results in.
The new percent adjustments for Take/Offspec are TEH ROXOR!!! Thank you so much! My only complaint about them (and it's minor) is that the slider bar doesn't allow for precise enough adjustments. It jumped between 23 and 26 trying to set to 25, and 49 and 52 were the closest I could get to 50. I solved this by editing my SavedVariables file, so as I say, it's minor.
Can you pls tell me how the new dkp/time works now? Because yesterday i had some problems with the old one again. We were trying Sartharion3D. I set 20dkp for every 30min but i think, when you leave the tracked zone the addon stops counting but this is fatal. When you are trying, dying, trying, dying etc. it would stop counting, begin counting etc. because you are leaving the tracked zone. But it just have to award every 30minutes.
Would it be possible to implement a start, stop pause button? So when i hit the start button, the dkp over time system starts and awards every 30 minutes (or any other value) dkp to the current raid and waitlist, even if i leave the tracked zone or whatever. When we have a little brake, i can hit the pause button and when the raid is over i hit stop.
I just need a dkp/time function that awards exactly every 30 minutes dkp.
Hey Morg,
Yea that new file allows me to export just fine. However when I import all I see is the dkp adjustment I made. Looking at the raid tracker it clearly shows everything. Looking at the export text I can see the items and other information, but the script does not pick anything up except the dkp adjustment.
As far as the pending issue all our members are using v2.1 of MorgBid2. I didnt see any issues nor hear any. I will keep monitoring that for you tho.
I have the raid in the mod still, as well as saved in a text file if you want to see it.
Edit: http://www.darkaftermath.org/eqdkp
Can I have a link to your site. Don't know if thats the problem my test sites use php 5.2.6. Also is the database set to use utf-8? If the new export won't work for you I assume the new import won't work either is that true?
Need feedback on the new morgbid version. Added a Q system to try stop some votes not being recorded in the results tooltip. Let me know if it makes any diff.
Edit: confirmed - requires PHP 5 >= 5.2.3 and MySQL 5.0.7. If the old one worked for you and youm had no special char issues and can't upgrade your server you may want to go back to it.
Try install this file replacing the current Morgfunc2.php and see if it works.
http://www3.telus.net/MorgDKP/Morgfunc2.zip
Our webhost will only use version 5.1.6. So now what?
I have uninstalled and overwritten the files. No good
I have uninstalled and deleted, then put the new ones in. No good
I am using PHP Version 5.1.6, and currently have a ticket in with the ISP to update it to the new version. Hopefully that is the issue.
@mech16 - you mean the right click menu? That's a standard ace3 menu nothing I can do about that. Just don't move the part where it says MorgDKP2 offscreen.
@azphat - try totally removing the plugin directory (deleteing) and reinstalling the one from 2.1. Works fine on my end. Old version of php? When was website last updated?
Ok didnt work. Import from the v2.1 morgdkp gives me a white screen. Even with all the files from the plugin uploaded.
Let me try to clarify what i meant by the command line entry.
When I right clicked on the min-map button to open the interface page to edit the settings I had to move the interface page out of the way. When I did this about 75% of the interface page actually got moved off my screen. It was very time consuming to try find just the right spot to click and drag the interface screen back to the middle.
Does the snap to cursor work also for that menu or only when looting ? with the interface screen not showing I would have to open the ingame interface options to edit morgdkp2 settings. ?
Hopefully I have not made it more confusing if so I may need to recreate the problem and screen shot it.
Thanks Yar
I put the new morgdkp2 r34 into my addons folder. Then I uploaded the plugin to our site. Now everytime I try to export I get a white screen with no data at all.
Export 1.6 gave a white screen when hitting the export button
version 1.5 seems to work
Edit: I tried the new MorgDdkp2 v2.1 also. White screen. So all i did is took everything in the plugin folder 'except' the export.php file and overwrote those. Seems to be ok, but not sure that was the intended idea.
1) Turn on snap to cursor and it will put it at your cursor next time you open loot.
2) Not at the moment when I do comm module I will have it sync settings.
3) It is strictly relational DKP earned/spent. Another module would have to be written to do something more like you want. Give me more specifics and I will think about it. (Create a ticket with the specifics)
@azphat - don't use letters in the version #:P
I have a two feature requests and one question.
1) Feature Request #1, add a command line function to reset the position of the addon to center of the screen. When moving the addon to click on something below, the main title area went outside of the main window making it hard to relocate.
2) Feature Request #2, is there away to set the DKP type so that if as the GM I'm not in the raid (due to RL) that the current raid leader defaults to the guilds preferance (ie relational). Maybe making it part of the guild info panel than only those with rights can change the settings, or making it part of the web page info etc.. so when they dl the dkp file and import it the addon defaults to what I want.
3) Question: Using relational method how does it prevent regular raiders from eventually not getting anything in the earned dkp vs received loot system. Some relational (like epgp) use ep(dkp) / gp(receivedloot) to calculate a priority level. Eventually you have to earn an absurd amount of DKP to get your pri level up unless there is a decay.
Thank You and so far I'm liking the looks of the mod and the feel of the UI. Plan to possibly implement it into my guild.
Yar @ Bladefist / Horde
Ok great. I will grab the new version and do the modifications there.
Also, I changed the version to 2.1DA. After reading about the letters, I assume I had the right idea but the thing freaked with having letters.
New version up fixes many little errors. Big change to WEB portion so please update. Hopefully should handle special chars better.
I actually changed the way the mod gets the version now it is just a hard # in the main lua file so people don't have to exit game for new toc to be read and show updated version. Was tired of them RLUI and still showing old version. There are some major changes coming soon so you will have to change it again:P
Yep, change it in the .toc file.
On line 12, change "## Version: 2.1" to "## Version: 2.101" or something like that. I tried putting letters in there for my guild's acronym, but it didn't like that, so just stick with numbers.
Ok I have the button removed (going to test it)
Where would I change the version number? I am thinking in the .toc file, but when I did that the Query option gave me errors.
As everything is open source, I'm pretty sure you're "allowed" to change anything you want, as long as you're not taking credit for his work. I use a modified version for my guild (Just be sure to add 01 to the version number or something so you can be sure everyone is using your version when you version check it).
To remove it entirely, open up MorgBid2/MorgBid2.lua, and go to line 910. From line 910 through 926, just put double dashes in front of every line. The first line would look like:
--f.takeonspec = CreateFrame("Button", nil, f)
and so on for every line through 926... This will cause WoW to see those lines as comment lines, and skip over the code.
Also, on line 928, change f.takeonspec to f.takebutton (This affects where the need button shows up, if there is no takeonspec button, the need button will not show up). After the change, 928 should look like:
f.needbutton = self:CreateNeedButton(f.takebutton, f)
Also, after making sure everyone has your modified version, make sure people turn the autoupdate off for things like Wowmatrix or whatever else they use to autoupdate their mods, as it will update MorgBid2 to the newest version, and they'll see the take button again. Hope this helps!
Excellent, I will keep an eye out for that update.
I understand there is no way "from the UI" to remove a button. Is that something I could do manually? In a perfect situation I would like it to have Need, Offspec, and Pass as the only MorgBid2 buttons. Can I go through the files and manually remove something, and just have my guildmembers use the modified version or something? Is that even allowed I guess I should ask also.
@azphat - yes I am working on that issue now. I think it is a ordering issue ie you are receiving those replys before you actually receive the open results tablet window so they aren't registering. And no there isn't a way to remove an option.
@tirdal - how were you setting the item prices yourself. Using the loot window like normal? Did you both have the same dkp system set? Can't think of any reason why if you set the value before it was looted it would not register at that value.