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
Constantly there is an error Screen
THank you very much, I appreciate it.
If you are the ML, then you have the dkpinfo.lua file in your morgdkp2 addons folder. That is where your mod gets the dkp for everyone. As of right now morgdkp2 does not have auto sync (yet), so the other officers would need to have the same dkpinfo.lua file as you do. Either they export it from a database, or you post it on the website, or you email it to them whatever.
As far as the members using morgbid2, they will see their dkp based on what your morgdkp2 has. They simply type "dkplist" to the master looter and they will get their dkp. Their are other commands to go with it, but that is the basic.
OK So Im sure this is pretty nub but I am the current person in charge of the MorgDKP2 ML and the bid mod and keeping track of attendance and DKP for everyone. My question is how do i get everyone else in my guild synchronized with what i have recrded as DKP so that their bid mod works and they can see how much DKP they have to bid with, as well as the other offcicers who have the MorgDKP2 mod. I saw on the MorgDKP there was a Synch button in the write up on the website but im totally lost. If anyone can help i would really appreciate it.
They don't need to be running MorgDKP2.
You really shouldn't need to use the sync option if the other officers arn't to lazy to pull the dkp values from your dkp website like you do.
If you have ML problems it is usually because you have accidentally stood up (ie quit looting) If that isn't the problem you must have an error and I need the error please.
This will be my first add-on I've done (though I program in other languages for a living) and I'm having trouble tracking down part of the logic. I understand the point adjustments that are going on in the random.lua and fixeddkp.lua files under the modules directory - they're pretty straightforward. What I'm not finding is the file that has the logic that handles the decision-making process about who receives each item. If you could point me to the correct file I'm sure I can take it from there.
Thanks!
Thanks!
His name in the database had the special character.
When I exported it to the dkpinfo.lua file it showed with the special character.
When I shift-click the morgdkp2 icon to pull up the dkplist it would show his name wrong.
So then I figured I would try to make it "Lancelot" in the database with the special character name as an alias.
Well when I pulled up the dkplist this time it showed "Lancelot" and his real toon in the list.
We just asked him to change it, lol.
Sorry forgot to mention that but it is indeed set at 0. don't want players to get standings below 0 dkp.
Hey azphat when you say lancelot's "a" looked strange where was that you were seeing it?
Added a couple bugfixes and changed export script to hopefully fix localization bug. So that means what I told you below has changed bond it should now be:
<<code>>
MorgDKP2_DKP1 = { Timestamp = 030220090202, Pool = "plustest", eqdkpsite = "soda_plustest", prefix = "eqdkp_", Points = { ["Morgalm"] = {earn = 101,spent = 3623,adj = 130,bal = -3392,class = "Paladin"}, ["Ravendeath"] = {earn = 11,spent = 0,adj = 0,bal = 11,class = "Death Knight"}, ["Yaiz"] = {earn = 90,spent = 0,adj = 0,bal = 90,class = "Unknown"} }, Aliases = { }, Events = {}, } <</code>>
To make it easier you can enter "Unknown" for every class and it will be detected in game.
MySQL charset: UTF-8 Unicode (utf8)
Is that what you are referring too?
And no, I have never had an issue with the special characters. However it is a moot point, we asked the guy to change his ingame name :-)
Yes you do and no question is ever dumb:P
This is probably a dumb question, but I wanted to check/ask anyway - if you are ML and running MorgDKP2, do you also need to run MorgBid2 to bid on stuff yourself?
Thanks, and sorry if it's really dumb :P
@azphat - so I guess my hopeful fix didn't work for you:( Is your mysql database in utf-8 format? That may be the problem if not. You have always had this problem correct? ie v1.5 of webscript didn't work with special char either? If 1.5 did I suggest going back to it. If not I have no idea what to do short of updating your php/mysql. I am out of ideas and I hate HATE! goddamn special chars lol. The strange hing is my latest fix did work for glomby's install which is an older version as well but I think his mysql may be in utf-8 format? Maybe talk to him see if you guys can nail down the difference. You can change line 13 of Core.lua to:
to make life easier if you like.
@mantys - what do you have your overbid set at? By default it allows members to bid 50 DKP over their current DKP so if you set it to 0 they will not be able to bid over current DKP at all. Is that what you are talking about? I am still unclear.
Listening mode won't pick up values until I do the comm module so it'll be a bit:(
@bondbabe (hmm I could use a bondbabe about now:P) - that format is not correct. You need a comma after each member and each alias except the last one. And DEATHKNIGHT is one word.
@tirdal - YES kill all special chars!
I've been thinking for a while I wanted to make him change his name, since typing that bloody 'a' to send him a tell is a pain (and I haven't bothered to try to figure out how.... Damn Blizzard for letting people put screwy marks on US server character names! lol
Ok having a name issue....
Ingame name = Låncelot
When I load MorgDKP2 it shows Laelot with the "a" being some weird character.
I removed all the mods again and reinstalled. It appears the DKP is accurate now. Dont know what happened.