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
The error appears at attempt of start of inquiry of interest of participants raid in item. If an error in transfer that where approximately?
Morgalm, are you trying to fix problem with coding page? I have a lot of not imported raids because of this.
Thanks mehanic I will add it next update. That error looks like a localization one do you have any more details?
Full transfer MorgDKP for Russian localisation, file here (to Save as). The error jumps out... Modules/Lootframe.lua:789: attempt to index filed '? ' (a nil value) also does not show Lootframe
I have no idea what is causing that to happen never seen anything like it before. You sure it was line 67? Cause line 67 is "}"? Line 69 I could see but 67 is just weird. I need a link to your site to see for myself please.
Morg, gaving a problem with the export module
Notice: Undefined index: retrieve in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 67
Return to eqDKP Admin MorgDKP2 Export v1.0
Please select the timezone of your WOW server: Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 212
Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 Pacific Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 Eastern Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 Central Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 Mountain Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 AEST Notice: Undefined variable: TZonecook in E:\domains\d\domainame\user\htdocs\eqdkp\plugins\morgdkp2\Morgexport.php on line 216 CET No selection will use the timezone set on your website which may or may not be accurate.
domainame has been entered to replace our domain to anonimise it.
Regards AnkaLagon
@firebreed - yeah morgfunc is useless now I tried to upload a new file morgfunc2 in the hopes I could upload it here in correct format but no such luck.
@ankalagon - if you still have aqdkp in the dkpstring then you have NOT exported your DKP/members from your website. aqdkp is MY website. Export and save the DKPInfo.lua file to Morgdkp2 directory. If you did that then you have to be getting an error when you load wow and tell me what it is. If you have a log you need to import just search/replace all aqdkp = your db name, eqdkp_ = your database prefix (quite often eqdkp_)
Sorry this should have been smoother had no idea curse was screwing with the file decoding:(
Ok morg, its only the file that has a problem, i converted it as suggested and all is fine.
But I still have the problem when i import the raid into eqdkp plus it has the entry <eqdkp>aqdkp</eqdkp> the import seems to take this as the database name and fails.
<MorgDKP2><version>1.1</version><Aliases></Aliases><DKPChanges><key1><name>Group</name><value>1</value><eqdkp>aqdkp</eqdkp><prefix>eqdkp_</prefix><event>Sunwell Plateau Run</event>
I could de-install forum and eqdkp plus then rename the database i use to aqdkp but this seems a bit extreme.
Regards C0nd0r
i'll give it a go - only the morgfunc2 or both morgfunc2 and morgfunc ?
Sorry sorry sorry - me being daft lol. Encode and convert is not the same thing :)
Everything works perfectly.
Did you convert the morgfunc2.php file from utf8 to windows1252 format? That's the only way special chars will work til I post on wowinterface. Sorry moving today I will do as soon as I can.
hmm just testing the r8 version (downloaded from here)
Exported dkplist with the new webtools and while checking with shift+clicking, the special character issue is this there.
But the replaced charater is nolonger ? but several different special signs
i can take a screenshot and mail it if you want ?
i double checked the dkpinfo.lua and everything in it seems ok
Rockbasher
Yeah I have tried everything I can to get it to work but its a no go. I may have to start hosting the mod elsewhere:( It won't let me upload a file in win1252 format damn curse...
Ok, I can confirm that the UTF-8/Windows1252 issue is the problem.
I downloaded Notepad++, and converted the file from UTF-8 to ANSI format (the alias of Windows1252) and it read past the problematic character.
For those that are interested in trying to fix it yourself, if you download a program called Notepad++, and open the file called "morgfunc.php" inside the plugins/Morgdkp2 folder - Then click on Format -> convert to ANSI. Then save, and upload the file into the relevent location.
NOTE: If you are not an advanced user, I would not suggest trying to fix it yourself. NOTE 2: This is not an author fault - during uploads, certain dynamic languages change the format of their files to enable processing - this seems to be a problem with that process.
Well what the hell I uploaded the file in windows1252 format and it is downloading in utf8 format?
Ok, scratch the fubar thing - yes, it works in fubar, you just have to tick "enable fubar" in the options, regardless of if it's showing already.
Still seeming to fall over with the special characters though.
Im assuming the fix is R5? If so, then the following issues occur fresh in the R5 release.
A) FubarPlugin: Attempt to index Fubarframe(a nil value) - no window comes up B) using the start, end, and export raid buttons in the main window (not the fubar window), start is fine, end is fine, but export never shows. C) Took a copy of my xml output and tried to import the raid into new webscript - First try errored because of different web version (1 -> 1.1), so I changed the xml component to 1.1 - still dropped out when it hit the special character in the xml. (Im not sure if the mod itself outputs information differently in 1 versus 1.1, so I'll hold that report for now).
Basically, im trying to see if it will handle the new characters correctly, but I cant start a raid at all now, let alone export the information.
I'll keep going and get as much information for you as possible, then I'll post it into the tracker.
Posted a fix for special char problems. You MUST upload the new webscripts.