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 have ct installed but I've never used it, I'll create a list of aliases and see what happens.
Yes unfortunately as Kalem says there is NO WAY to have WoW save a file manually. The only way you can save any data is in the addons saved variable file and ONLY when you reloadui. If you want a backup there is already an export raid/raids button you can click anytime after the raid starts and copy and paste it manually if you so desire. But if you reloadui periodically you will not lose anything except what has happened between your last reloadui and the crash.
Try adding that line of code to morgexport.php right under the CreateLink() function and leaving it commented out in morgfunc2.php. I seriously have no idea why that is happening...very weird.
Also Kalem did you ever try install ctraidtracker plugin and add an alt manually? Then see if my mod works after that. It seems your install won't let my mod create the alias table for some reason.
Yes i know, you have to reload the UI, but this would be very helpful for me. In my specific case, i will never get this wow error while i'm in an instance, so you could implement a feature which asks you, if you want to backup the dkp string after leaving an instance and you have the button to save manual when you think, you could get an error in an instance, too.
Of course you can toggle the whole feature on or off, for those who don't need a backup at all. But for me, and for some others, it would be extremly helpful to get ask, if you want to do a backup after leaving the instance.
EDIT: And i got another problem with utf-8:
You told me to edit the line if (function_exists(mysql_set_charset)) { mysql_set_charset('utf8',$link); } else { mysql_query('SET NAMES utf8', $link);
into
if (function_exists(mysql_set_charset)) { mysql_set_charset('utf8',$link); } else { //mysql_query('SET NAMES utf8', $link);
When i'm importing now, everything works fine, but when i want to export the standings i have to undo the edit, because with the outquoted line the ingame DKP List won't display names with special character.
So what can i do :)
There is no way to save anything without doing a reload of the UI. That's how every addon saves the data and the only way it can. You can do a /rl after each boss to get it to save to file, but I don't see the point of having a button in the addon do that for you.
If a true "save" feature was implemented into the mod. I wouldnt mind it having some options.....if ofcourse it is possible.
1. Save as separate file. Perhaps DKPInfoBACKUP.lua
2. On/Off check in the mod itself (preferably)
3. Once the "On" check is marked, then it will give another option. Save Manual button would appear or Timed Save. Meaning you could enter a number or move a slider for a "minutes" and the mod will autosave at those intervals.
This would just be icing on the cake for me, but I could see it as being useful to those that do not have easy other means. Like another member with MorgDKP on silent or whatnot.
"All that button would do is reload your UI. It is best just to do that every once in a while if you are really worried about it. "
I'am reloading my UI alot during a raid day but this doesn't help. After a wow error, everything is gone. So when you implement a button, to save the current dkp string in a special file (something like a special backup file) that would be great, even if it reloads the ui. Perhaps you can deactivate the button by default and everybody who wants to use it, has to manually activate it in the .lua files.
If you could do something like this, that would be so great :)
to note, i still can't get aliases to work
Did you install the morgdkp2 web plugin? ie go to eqdkp admin/manage plugins and click install cause using the morgdkp one is not a good idea.
I dont see the end note, and I've run it with 4 raids now, from a clean install. I'll see if I can get it nailed down with dev mode on tonight.
GOT IT! I changed morgdkp_dkp1 to morgdkp2_dkp1, thanks
This is strange I copied over the folder fromo the morgdkp2 download. My addon is morgdkp2...why would the string output morgdkp_dkp1???
All that button would do is reload your UI. It is best just to do that every once in a while if you are really worried about it.
Hey morg today i got a wow error a few minutes after the raid, so i lost a full 25 man naxx dkp string. Now i'm trying to reconstruct the whole raid.
I know this would be a very big update, but do you think it's possible to do something like a save button or an autosave function, which saves the current dkp, items, waitlist and dkps into a seperate .lua or something? When i got an error all my addons will reset, but isn't it possible to create a file which won't be reseted.
Normaly i have a second person who tracks the dkp with morgdkp, too. but sometimes he isn't in the raid.
I can see one thing that may be causing the coin icon problem which I will change. Blank raid name thing makes no sense at all. That's just weird lol. What you guys could do to REALLY help me nail down the problem with the items sometimes not being awarded using the ML menu thru my window is to turn on dev mode. Tell me what the output is when you try to give an item to someone and it doesn't work. If I don't have an error and can't reproduce it I am screwed trying to fix it so more info would be great.
So Kalem you are saying you NEVER see the "End [raidname] and add these attendees less than 30 min?" on the end raid frame? Or it just happened once?
raid exported just fine, just shows nothing on the end of the raid.
I've noticed the coin icons when looting also. They're in the same place on my screen (middle of the upper right quadrant) but my loot window is in the upper left corner, not centered. Not at all a big deal to me.
Never seen the lack of text on the end raid window. Was the name of the raid blank?
And yeah, the looting issue is just the loot window. I've had that problem twice (though not since I reported it several pages ago), and Azphat also reported it. It's not easily reproducible. I haven't a clue how to reliably reproduce it, and Morgalm has never seen it, so fixing it is rather difficult. :)
hello morg, it's me again :d
Couple of issues I have and I've narrowed one down to Morg loot window. http://www.guildshotsfired/releases/morg1.jpg
You'll notice that there is a random placement of the gold/copper/silver coins to the far upper right of the loot window and not on the window directly. This happens with the mod on or off, and I just wiped my file so it's a fresh install.
Second, when I zoned out of Nax and into Dalaran where it normall asks if I want to end the raid and add people, i get this instead http://www.guildshotsfired.com/releases/morg2.jpg So I never see what it's asking me to do, when I click yes it tells me "removed 1 player from raid" since I was the only one left at the time, so that's fine.
But there are still some issues with looting. I had multiple times last night where I had to log out, disable Morg and log back in for me to be able to loot an item to somebody, I don't get an error, it simply does not let me loot anything. Log out, disable morg, log in, works fine. I'm going to try tonight with the loot window function disabled to double check that's what it is, and not just Morg in general.
BTW, the webscript and install is working peachy now, thanks.
Wait a sec I just looked at your DKPstring again and it says MorgDKP_DKP1! MorgDKP is abandoned you need to use MorgDKP2.
No I don't get that message. I have even deleted the mod and reinstalled to start from scratch...still no dkp.
When you activate the mod (click the button) do you see a message "Added x people from [pool] DKP"? You will have to try reexport it to find out to get it to load again. Could also try turn on dev mode and see if the messages give us anymore info. But from what your saying I have no idea why the pool isn't loading.