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
There is a bug with DKP/time and waitlist DKP events which I will release fix for soon. Your not doing anything wrong.
Okie I did another Test today everything you told me worked out perfectly .. the only thing is think im doing it wrong ..
How can I properly set up the DKP for waitlist members .. doing the test I put it for like every 5 minutes they get 1 point .. and they got thier 1 point but then ... no more points every other 5 minutes ... wierd ... what am i doing wrong ?
Update your php see the requirements above. Could also try change these lines from morgexport.php (46-56) from:
if (mb_detect_encoding($data, "auto", true) != "UTF-8") {
if (fwrite($handle, utf8_encode($data)) === FALSE) {
echo "Cannot write to file ($SaveLoc)";
exit;
} else echo "Wrote to file $SaveLoc";
} else {
if (fwrite($handle, $data) === FALSE) {
echo "Cannot write to file ($SaveLoc)";
exit;
} else echo "Wrote to file $SaveLoc";
}
to:
if (fwrite($handle, $data) === FALSE) {
echo "Cannot write to file ($SaveLoc)";
exit;
} else echo "Wrote to file $SaveLoc";
}
Whenever I try to export DKP standing from our website I recieve;
Fatal error: Call to undefined function: mb_detect_encoding() in /mnt/w0712/d14/s29/b0276e03/www/wotlkdkp/plugins/morgdkp2/Morgexport.php on line 46
1 - Decrease the overbid to 0. And yes final judgement is yours they still get a window. 2 - every minute?? wow thats alot lol. Why not simplify and make it 10 every 10 minutes or something it only checks every 5 atm. 3 - Bidwar doesnt end until you tell it to end ie everyone has passed except the winner. You can end it anytime by clicking a winner on the tablet to hand it out. The mod should send out a rebid window if 2 people tie.
Alright, a few things that you can maybe help me out with morgalm. My guild and I was testing out the mod so we can get it ready to be used when we do our raidings.
1- Ive noticed if the person doesnt have enough points Example being that item cost 100 points they have below that .. they are able to still bid. Wouldnt it be more fair that No bid window would show up ?! or its really left on the Master Looter Judgement ?!
2- How can I properly award the Attendance Point as well as waiting list people points .. I put a few people on the waiting list in the test run and I set it in the options where they get points every minute but they didnt get any points.
3- I set it so its FixedDKP + Bidwar and Just Enough is checked .. How do we know when it ends .. I thought it was a 2 Round Bid and then they can bid anymore. Or should I just leave it on Silent Auction and just leave it so 1 Bid ... But If 2 People Bid the same ammount .. what can I do in that situation ?!
Sorry for all the questions, I really like the Idea of DKP im just still learning and trying to understand it more .. Thank you! :D
My setting is to award every 15 minutes
The problem I it awards more seldom
This is the award times from our last night raid
1900
1920
1940
2000
2020
2040
2100
2125
2155
2215
2240
2300
At first it awards every 20 minutes, after that it suddenly change to 25 then to 30
we are a few raid leaders that run the addon, I have made sure they all have the same setting as me (15)
If you want to have my config file or any debug info, just say so and where to send it,
Other then that, this is a raid leaders best friend and I hope you will continue to maintain it
Thank you in advance :D
Yeah there are a couple chest bosses I have to add special code to detect. In progress. I hate chest bosses.
@arkaria - yeah I can fix both of those make a ticket so I don't forget lol
Last night I ran into another issue in Ulduar where the Glove token out of Freya's chest was not showing up in the Raid Tracker. If I manually created an event for Freya then it showed up. So it's tracking the items from the chest just not creating the associated event/bosskill.
Since I'm new to this project I'd like to thank Morgalm for continuing what I have found to be the most comprehensive In game DKP tracking to the Web tool I've found, and I looked a lot.
Now on to an issue I'm running into: I have been making use of the Zero Sum Module in MorgDKP2 for a couple weeks now and am trying to use the "Bank character" option to award DKP for items sent to be disenchanted. When an item is sent to the toon assigned as the DE'er there is no DKP awarded which is fine and the item shows up under a "Bank" section in the raid tracker for the raid. When I do an export these items don't get imported into EQDKP+ because there is no event for "Bank" so I create a Bank event. This then shows as a double of the Bank section in the raid tracker but when export/importing the items now show up since the event exists that they are associated with. What I'd like to see is when using a bank character that a Bosskills/event is created to match the "Boss" node in the XML export so that it does not have to be created manually.
The next issue I ran into is that while these bank items have been associated with a "Bank" boss they have not been assigned to the Bank character that MorgDKP has created, but rather to the DE'er. Now durring the import I can manually associate all the items with the Bank character it would be nice if this was done for me :)
Doing these work arounds to get the "Bank character" to work don't take too long but if I have misunderstood your vision for this option could you please enlighten me as to how it is supposed to work.
Thank you
Ok got it, check your mails :)
The SV file is in [WoW folder]\WTF\[account name]\SavedVariables\morgdkp2.wtf or something along those lines (I'm at work where I can't double check that).
Ok i will send it to you, but where exactly can i find it?^^
Oh and today i had problems with the freya loot. The Items wasn't tracked.
I need specifics of what all your waitlist settings are what dkp system you use etc. Send me your SV file as well. What you are saying is impossible as far as I can figure. The waitlist creates a new event every time it should never go back to an old event. But get me the specifics and I will look.
@ morg - but would it be possible to implement it? I'm using the Need Button as a Member Need Button, so all the Members can bid for Items. The Take Button is Trial Bid, all Trials can bid with it. And the offspec Button would be my second Need. The people who use it, don't have to pay DKP, they have to roll for the item.
Oh and it seems, that there are still some problems with the waitlist. When I start a Raid, with 25 people in raid and 10 on Waitlist, and after 2 hours 2 People from the Waitlist want to join the raid. Then they will be delete from the Waitlist but their Names also disappear from the waitlist events which were created before they joined the raid. So when the system rewards them 4 times waitlst dkp in this 2 hours and they join the raid, they won't get the waitlist dkp anymore.
And i have the same problem with people who wants to join the waitlist. When the raid has started and the waitlist has awarded waitlist dkp for people who are on the waitlist and now someone would like to join the waitlist, he will get DKP for all Waitlist Events. Even for those which were created befor he joins the waitlist.
@glomby - bidwar doesn't have an offspec button:P
@kromdhar - yes by definition one event does not use dkp events so uncheck use dkp events for changes. I should make that happen by default.
@kalem - I will look into that.
Another issue for you. I'm using a BidWar system for ulduar instead of the percent dkp system but after changing it for percent to bidwar the offspec button disapeared in morgbid. It is activated in morgdkp.
For some reason, the last 2 versions will not let me export.
Cleared my sv files, start raid, run the raid, end it, click export and it does nothing. no errors, no anything.