Eraslin,
Checked the "cleaned up" code and found that the DKP leader icon change wasn't happening after a reloadUI event (this may have something to do with my mod but I'm not positive). When i perform a reloadUI I get the the message "DKP leader has been changed to Vlorn" (me) with no icon change.
If i add back in the following code it seems to catch it and reflect the icon change.
function DKPmon:ReceiveLeaderClaim(sender)
--self:Print("Got claim leader from "..sender)
self.lastLeaderClaim = GetTime()
if sender ~= self.leadername then
self.leadername = sender
DKPmon:Print("DKP leader has been changed to "..sender)
DKPmon:SetIcon("Interface\\AddOns\\DKPmon\\DKPmon_leader.tga")
self:UpdateDisplay()
end
if sender ~= UnitName("player") then
self:SetLeader(false)
DKPmon:SetIcon("Interface\\Addons\\DKPmon\\DKPmon_icon.tga")
self:UpdateDisplay()
end
return true
end
The more I test with it the more I think it's related to some code I'm using from the BossAuction mod that calls that function without calling the setLeader function. So it's probably borked in both addons.
Eraslin,
Checked the "cleaned up" code and found that the DKP leader icon change wasn't happening after a reloadUI event (this may have something to do with my mod but I'm not positive). When i perform a reloadUI I get the the message "DKP leader has been changed to Vlorn" (me) with no icon change.
If i add back in the following code it seems to catch it and reflect the icon change.
function DKPmon:ReceiveLeaderClaim(sender)
--self:Print("Got claim leader from "..sender)
self.lastLeaderClaim = GetTime()
if sender ~= self.leadername then
self.leadername = sender
DKPmon:Print("DKP leader has been changed to "..sender)
DKPmon:SetIcon("Interface\\AddOns\\DKPmon\\DKPmon_leader.tga")
self:UpdateDisplay()
end
if sender ~= UnitName("player") then
self:SetLeader(false)
DKPmon:SetIcon("Interface\\Addons\\DKPmon\\DKPmon_icon.tga")
self:UpdateDisplay()
end
return true
end
The more I test with it the more I think it's related to some code I'm using from the BossAuction mod that calls that function without calling the setLeader function. So it's probably borked in both addons.
-Vlorn
-Vlorn
Hmm.. odd. I'd guess that BossAuction is doing something funny. Granted that I didn't comment the function as such but, the intent is for that function to only be called when you get a message from another player that they're taking over the leader role. Maybe change the calls to ":ReceiveLeaderClaim(<your name>)" in your DKP module to call ":SetLeader(true)" instead.
I do a few weird things with BossAuction. I've hooked that function in order to know who the dkp leader is so I can set the master loot automatically. But it doesn't seem to be working atm.
Eraslin,
I think I may need a command from Bidder to DKPmon. I'm try to create display for a "detailed" DKP browswer window (this is really to support EPGP but my be useful for any system). Basically I'm looking for a command that when requested by bidder sends a output similar to "PDB" but provide the following info... <name>|<class>|<pool 1 points earned>|<pool 1 points spent>|<pool 2 points earned>|<pool 2 points spent>.
The other command I'd like to implement allows the syncing of the specific mod settings in the database, I'm storing quite a bit of info under the specifics of my modname, loot added, boss farm status and other mod specific settings. I'd like to be able to sync that info to other DKPmon users. It seems that this might also need a "command" and I'm not sure if addons really have the ability to add new DKPmon commands.
Eraslin,
I think I may need a command from Bidder to DKPmon. I'm try to create display for a "detailed" DKP browswer window (this is really to support EPGP but my be useful for any system). Basically I'm looking for a command that when requested by bidder sends a output similar to "PDB" but provide the following info... <name>|<class>|<pool 1 points earned>|<pool 1 points spent>|<pool 2 points earned>|<pool 2 points spent>.
The other command I'd like to implement allows the syncing of the specific mod settings in the database, I'm storing quite a bit of info under the specifics of my modname, loot added, boss farm status and other mod specific settings. I'd like to be able to sync that info to other DKPmon users. It seems that this might also need a "command" and I'm not sure if addons really have the ability to add new DKPmon commands.
-Vlorn
DKP modules can add "commands" just the same way that the core does. I actually do it in the _ZSumAuction module to update the current highest bid on the Bidder clients; take a peak at zsumauction.lua in Bidder_ZSumAuction where I register the new commands "ZSumAucRNB" and "ZSumAucRNM".
The function you're looking for is DKPmon.Comm:RegisterCommand() to create a new receptor for a command. Then, you can just use {DKPmon,Bidder}.Comm:SendTo{DKPmon,Bidder}() to send your commands. Just be sure that your "command" is unique.
You'll probably also have to have your mod inject options into the FuBar-plugin tables for Bidder & DKPmon to access your new commands, since they're more user-oriented; but, that should be easy enough.
I'm splitting the above mentioned module into two.
1) DKPmon_eqDKP --- this module will contain only the code from the existing DKPmon_eqDKP pertaining to importing data from an eqDKP install to DKPmon.
2) DKPmon_XML --- All of the xml-export functionality from DKPmon_eqDKP; ie: exports from DKPmon to CTRT-xml (for eqDKP) and my DKPmon-xml.
DKPmon_eqDKP was never only about eqDKP, so I fixed that slight misname. ;-)
I'm splitting the above mentioned module into two.
1) DKPmon_eqDKP --- this module will contain only the code from the existing DKPmon_eqDKP pertaining to importing data from an eqDKP install to DKPmon.
2) DKPmon_XML --- All of the xml-export functionality from DKPmon_eqDKP; ie: exports from DKPmon to CTRT-xml (for eqDKP) and my DKPmon-xml.
DKPmon_eqDKP was never only about eqDKP, so I fixed that slight misname. ;-)
So is this going to give us the ability to export a log from a single run of say kara, to where it will import as different events in CTRT like the MLDKP tool does?
Or will there be an import tool for eqdkp that can take the export method by chance?
So is this going to give us the ability to export a log from a single run of say kara, to where it will import as different events in CTRT like the MLDKP tool does?
Or will there be an import tool for eqdkp that can take the export method by chance?
Functionality remains identical to how it was in DKPmon_eqDKP. The module's just been split in two.
edit: I have no idea what MLDKP is... right now, DKPmon should be able to export an entire Karazhan run as a single XML string.
1) Any active logs are automatically stopped, now, when you leave the raid you're in. For the coders, this means when the RAID_ROSTER_UPDATE event fires and you have 0 members in your raid, the log will be stopped.
2) There is now a new toggle under the Logging options to enable "autologging". When turned on (i.e. has a checkmark) DKPmon will detect when you've entered a raid instance (i.e. you're in a raid, and enter an instance that can be saved to by killing a boss) and if you do not have an active log, it will prompt you to start a log with the name of the instance that you've entered.
As of right now, they're both drycodes. I'll clean them up in a short bit, if there's any problems.
Functionality remains identical to how it was in DKPmon_eqDKP. The module's just been split in two.
edit: I have no idea what MLDKP is... right now, DKPmon should be able to export an entire Karazhan run as a single XML string.
What I'm referring to is this:
If we run Kara and kill 8 things, when the log is exported it attempts to Import it as one raid event, instead of splitting them into 8 different events.
For information on how to set up the PHP plugin for your eqDKP install to export information from your eqDKP setup into DKPmon, please see the PHP directory of the DKPmon_eqDKP addon.
in PHP directory all i can see is a php-script. and no any info.
where on my server i must place it?
in PHP directory all i can see is a php-script. and no any info.
where on my server i must place it?
You need to read the php file, change the settings and you can upload it where you want on your webserver, as long as it can read your eqDKP system (which is what you need to make changes for)
This exact thing has been answered several times higher up in the thread, for more specifics search it
We are testing DKPMON and BIDDER in our guild. We are testing DKP fixed DKP system. we customized fixeddkp.lua to assign bosses rewards point and items cost.
We made a karazhan test run and all was ok.
The problem is to import the raid log to our EQDKP portal.
We tried to use DKPmon-xml format, but our portal can't manage that string. I don't understand if that format is still under development or if we need a plugin in our portal.
We tried to use CT_RaidTracker xml and it works. But the logs doesn't import switched pg (we switch 2 people after first kill and it doesn't appear in eqdkp portal) and there aren't any awards point.
What is the easier way to syncronize my DKPMON log to my EQDKP portal and what i need to do manually?
We are testing DKPMON and BIDDER in our guild. We are testing DKP fixed DKP system. we customized fixeddkp.lua to assign bosses rewards point and items cost.
We made a karazhan test run and all was ok.
The problem is to import the raid log to our EQDKP portal.
We tried to use DKPmon-xml format, but our portal can't manage that string. I don't understand if that format is still under development or if we need a plugin in our portal.
We tried to use CT_RaidTracker xml and it works. But the logs doesn't import switched pg (we switch 2 people after first kill and it doesn't appear in eqdkp portal) and there aren't any awards point.
What is the easier way to syncronize my DKPMON log to my EQDKP portal and what i need to do manually?
Thanks
Someone who actually uses eqDKP can probably answer this better than I but, I'll give it a go.
1) There is currently no publically available (that I know of) web-based DKP tool that uses the DKPmon-xml. So, right now, it's more of an academic feature.
2) CTRT-xml doesn't actually have any tags for awarding points and embedding item costs is basically a hack. So, it will know how much items cost but, any points that you award will have to be entered somehow in your web interface for eqDKP (I have no idea how it's done).
Checked the "cleaned up" code and found that the DKP leader icon change wasn't happening after a reloadUI event (this may have something to do with my mod but I'm not positive). When i perform a reloadUI I get the the message "DKP leader has been changed to Vlorn" (me) with no icon change.
If i add back in the following code it seems to catch it and reflect the icon change.
The more I test with it the more I think it's related to some code I'm using from the BossAuction mod that calls that function without calling the setLeader function. So it's probably borked in both addons.
-Vlorn
-Vlorn
Hmm.. odd. I'd guess that BossAuction is doing something funny. Granted that I didn't comment the function as such but, the intent is for that function to only be called when you get a message from another player that they're taking over the leader role. Maybe change the calls to ":ReceiveLeaderClaim(<your name>)" in your DKP module to call ":SetLeader(true)" instead.
I'll take a look at it next week.
I think I may need a command from Bidder to DKPmon. I'm try to create display for a "detailed" DKP browswer window (this is really to support EPGP but my be useful for any system). Basically I'm looking for a command that when requested by bidder sends a output similar to "PDB" but provide the following info... <name>|<class>|<pool 1 points earned>|<pool 1 points spent>|<pool 2 points earned>|<pool 2 points spent>.
The other command I'd like to implement allows the syncing of the specific mod settings in the database, I'm storing quite a bit of info under the specifics of my modname, loot added, boss farm status and other mod specific settings. I'd like to be able to sync that info to other DKPmon users. It seems that this might also need a "command" and I'm not sure if addons really have the ability to add new DKPmon commands.
-Vlorn
DKP modules can add "commands" just the same way that the core does. I actually do it in the _ZSumAuction module to update the current highest bid on the Bidder clients; take a peak at zsumauction.lua in Bidder_ZSumAuction where I register the new commands "ZSumAucRNB" and "ZSumAucRNM".
The function you're looking for is DKPmon.Comm:RegisterCommand() to create a new receptor for a command. Then, you can just use {DKPmon,Bidder}.Comm:SendTo{DKPmon,Bidder}() to send your commands. Just be sure that your "command" is unique.
You'll probably also have to have your mod inject options into the FuBar-plugin tables for Bidder & DKPmon to access your new commands, since they're more user-oriented; but, that should be easy enough.
-Eraslin
NOTE: To those using DKPmon_eqDKP.
I'm splitting the above mentioned module into two.
1) DKPmon_eqDKP --- this module will contain only the code from the existing DKPmon_eqDKP pertaining to importing data from an eqDKP install to DKPmon.
2) DKPmon_XML --- All of the xml-export functionality from DKPmon_eqDKP; ie: exports from DKPmon to CTRT-xml (for eqDKP) and my DKPmon-xml.
DKPmon_eqDKP was never only about eqDKP, so I fixed that slight misname. ;-)
So is this going to give us the ability to export a log from a single run of say kara, to where it will import as different events in CTRT like the MLDKP tool does?
Or will there be an import tool for eqdkp that can take the export method by chance?
Functionality remains identical to how it was in DKPmon_eqDKP. The module's just been split in two.
edit: I have no idea what MLDKP is... right now, DKPmon should be able to export an entire Karazhan run as a single XML string.
Update: I've drycoded in two new features.
1) Any active logs are automatically stopped, now, when you leave the raid you're in. For the coders, this means when the RAID_ROSTER_UPDATE event fires and you have 0 members in your raid, the log will be stopped.
2) There is now a new toggle under the Logging options to enable "autologging". When turned on (i.e. has a checkmark) DKPmon will detect when you've entered a raid instance (i.e. you're in a raid, and enter an instance that can be saved to by killing a boss) and if you do not have an active log, it will prompt you to start a log with the name of the instance that you've entered.
As of right now, they're both drycodes. I'll clean them up in a short bit, if there's any problems.
-Eraslin
What I'm referring to is this:
If we run Kara and kill 8 things, when the log is exported it attempts to Import it as one raid event, instead of splitting them into 8 different events.
MLDKP is what CTRaidTracker used to be (from loganfive). The project was picked up by somebody else and they've been building it for a while now
http://www.curse.com/downloads/details/5892/
which is now http://www.mldkp.net/
in PHP directory all i can see is a php-script. and no any info.
where on my server i must place it?
You need to read the php file, change the settings and you can upload it where you want on your webserver, as long as it can read your eqDKP system (which is what you need to make changes for)
This exact thing has been answered several times higher up in the thread, for more specifics search it
Starts a log automatically before the popup asking if you want to start one or not, need to remove line 144
Fixed, thanks. Totally missed that. :-)
We are testing DKPMON and BIDDER in our guild. We are testing DKP fixed DKP system. we customized fixeddkp.lua to assign bosses rewards point and items cost.
We made a karazhan test run and all was ok.
The problem is to import the raid log to our EQDKP portal.
We tried to use DKPmon-xml format, but our portal can't manage that string. I don't understand if that format is still under development or if we need a plugin in our portal.
We tried to use CT_RaidTracker xml and it works. But the logs doesn't import switched pg (we switch 2 people after first kill and it doesn't appear in eqdkp portal) and there aren't any awards point.
What is the easier way to syncronize my DKPMON log to my EQDKP portal and what i need to do manually?
Thanks
It has worked up until I updated today (last update was a while back, mabye 3 or 4 weeks).
It says the import worked, but it shows no points, no player, no anything.
The XML that's being output by the export hasn't changed since Aug 17. So, I'm not sure why it would suddenly stop working...
Someone who actually uses eqDKP can probably answer this better than I but, I'll give it a go.
1) There is currently no publically available (that I know of) web-based DKP tool that uses the DKPmon-xml. So, right now, it's more of an academic feature.
2) CTRT-xml doesn't actually have any tags for awarding points and embedding item costs is basically a hack. So, it will know how much items cost but, any points that you award will have to be entered somehow in your web interface for eqDKP (I have no idea how it's done).
Sorry I couldn't be more helpful.
i'm confused now, after jacking with the older version and then updating to the newest one things seem to be importing/working right now..
DKPmon_XML
-Javek