• 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Javek »

    Couldn't you just do a "need to sync" check using one player entry. For example: Every client would reply to a sync check with the player in their DB with the newest timestamp, resolving ties by ordering alphanumerically and picking the first. If you don't match the player and timestamp then you're out of sync.

    Is broadcasting a two way process? For example, in the kara example, does just one leader need to broadcast or does each kara leader need to broadcast in turn?

    If both need to broadcast, then this method will falsely indicate that they are synchronized after the first sync.

    -Javek


    Yah, each Kara leader needs to broadcast their own changes; or, one of them has to initialize a full-sync.

    Another option for detecting whether two databases are in sync is the checksum that's tracked in the points database. If two checksums are different, then there's a difference and a sync should be done. Of course, even that might not work if the two Kara runs awarded and deducted the exact same # of points (which is likely in non-auction DKP models).

    Hmm... I guess some sort of hash that includes player names & their spent/awarded point totals might be able to be calculated, then used as an indicator for whether 2 databases are synced.

    edit: Don't worry Astaldo, that feature isn't going anywhere :-)
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0

    That sounds pretty slick Javek. There's only one tiny potential problem that I can see with it. Technically, the points database doesn't have a timestamp -- each individual entry within it does. The reason for doing it like that is for the cases where a guild runs multiple concurrent raids (ex: running 2x Karazhan on Thursday nights); this way, after the raids, the two raid leaders can get together in a raid and sync their database to reflect all of the changes from both raids.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Javek »

    Maybe while you're at it you could make DKPmon choose the leader more intelligently. For example, choosing the person with the newest dkp database timestamp.


    Definitely something that I want to do when I reactivate my WoW account. I'm still in a bit of a crazy crunch so I've let me account lapse for the time being.

    My thought for automatically picking the leader is to pick the highest ranked (ie: raid leader, raid assist, master looter) in the raid with the most recent database timestamp. Just because it's possible that one of the non-leaders is running some secondary raid with another guild, or some such, and has a different database.


    What happens to the Bidder clients when the dkp leader reloads UI? Do they search for a new leader somehow or just wait until a leader sends them something again?


    None of the DKPmon/Bidder clients actually know who the leader is. The DKPmon clients only know whether they are or are not the leader.


    When you reload UI you have to assume any amount of time could have passed. So maybe when first loading DKPmon could do something like this:

    1. If in raid, broadcast: "Who's the leader?"
    2. Other DKPmons reply with who they think the leader is; if they don't have one determine the best leader again.
    The person who just reloaded should have the newest dkp database timestamp and be chosen.

    I had another idea but I'm not sure how difficult it would be to implement. What if every time you award/deduct points it broadcasts the change to the other DKPmon clients. They simultaneously make the same changes to their database if they are in sync with you. This would allow anyone to step in where you left off if you crashed or something. However, module state settings might be difficult to transfer, however this isn't that big a deal. For example, BossAuction has a timer going, but the new dkp leader could just start a new timer. The important thing is that the DKP wasn't lost. It'd be nice to sync the log as well, but again I'm not sure how difficult this would be.


    The auto-broadcasting on awarding/deducting points should be fairly easy to add as toggleable option. Just have to make a call to DKPmon.PointsDB:SendBroadcast() whenever the points are awarded/deducted.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from baldylox »

    couple of questions since im new to using this.

    Ive been running bidder/dkpmon with zsum_auction for 3 weeks now. Each week i add a new officer to the list of those training and using dkpmon in case i am absent for a raid. when i import my dkp string using CSV into the game and try to sync or broadcast we see no message and dont know exactly what is being sync'd or broadcast.

    im confused, should only one person be running dkpmon per raid? if 2 are running it, do both need to make sure importdata.lua is the same, or is that what the sync is for?

    Another thing i noticed is that you can pre-determine your dkp values for items in the custom.lua for bosses or items. My question is, since i turned on item adding on several of our first runs ive entered minimum bid values for about 20 items weve seen drop...where are these values stored? a few of them i fat fingered then assigned before noticing and now need to change the value for min bid.

    Last one, even though we are using zsum_auction, we dont actually auction, we use a one time bid per item...should i be using a differnt addon instead of zsum? some of my members are concerned that a raider may try and cheat the system and bid more than once. its not happened yet, that i know of, i guess my question is, does this system show multiple bids from a single person or can they rebid and it only shows their highest?

    thanks to all the experts out there willing to take time and help those of us behind the curve :D


    Okay, let's try these in order.

    1) It sounds like your problem with the sync is that you all don't have the same password set. Under the "Points database" menu there's an option to set a password for broadcasting -- make sure you all have the same thing entered there (capitalization has to match too).
    2) Multiple people don't need to be running the same importdata.lua; that's what the sync's for.
    3) All of the DKPmon settings/item-values/etc are saved in <WoW dir>/WTF/<Account name>/SavedVariables/DKPmon.lua; you should be able to open up that file, and edit it. Just be sure to do all of the editing while not logged in to WoW.
    4) The auctioning addons allow people to make multiple bids and always choose their highest/latest bid as the one to go forward on. So, yea, people can rebid and it'll only show their highest.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from wutyeah »

    Hello guys, bit of a noob here. Love the concept of dkpmon and bidder, but I've been having some problems lately.

    2 things I would like to know. The first is, how to get fixeddkp.lua to load, because I did what the example file said to remove the above section in fixeddkp.lua, but it still continues to only load the example file.

    Second would be how to get eqdkp to export (I don't know the plugin to export) into dkpmon with dkpmon_eqdkp.

    Thanks :)


    I can try to answer the first question, and I'll have to leave it to someone who knows the eqDKP stuff to answer the second.

    Just to make sure we're on the same page, is this what you've done?
    0) Exit WoW completely; not just /logout.
    1) Copy DKPmon/Custom/fixeddkp_example.lua to DKPmon/Custom/fixeddkp.lua; note, I'm not 100% certain whether capitalization is important in this file name but, it's best to match the case correctly.
    2) Edit DKPmon/Custom/fixeddkp.lua to remove the 5-lines of code it says to.
    3) Load up WoW. The fixeddkp.lua file should now be the one getting loaded.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Javek »

    I also noticed while I was working that DKPmon would save the amLeader state in between sessions. It seemed to me that when DKPmon initializes it should assume that you are not the dkp leader. This fixes an icon indicator inconsistency as well. Eraslin, if you ment for DKPmon to remember the amLeader status between sessions/reloads you might change this back.


    I'll probably change this back at some point soonish. The reason for DKPmon to save the amLeader state was for when you do a /console reloadui mid-raid to save your points database to disk. Saving that state prevents leader flips that would be caused by losing memory of being the "leader" when your UI is reloading.

    -Eraslin
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Sunetra »

    My guild's currently looking into using DKPMon/Bidder, so I'm the crash test dummy poking around in the mod to figure out how things work. Currently, we're using BossAuction, and I've run across one problem. Not sure if it's a setting I've missed or what, but if I've got someone on an alt bidding as their main, it will only let them bid up to the total points that the alt has, but if I award the item to them the points are deducted from the main's total. Is there a setting I need to change/file I need to edit to fix this? Thanks for the help


    Just in case Javek doesn't see your problem here, you might want to cross post to the BossAuction thread here: http://www.wowace.com/forums/index.php?topic=6551.0
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0

    Sunbring,
    That seems odd that your import wouldn't work; I assume you're using the DKPmon_CSV addon to do it?

    If you want it, documentation on all of DKPmon's internal data structures is in a pdf on the web site (dkpmon.googlepages.com). But, you shouldn't need that.

    Do an import, then log out to write the lua memory to disk. Then go look at your saved variables file for DKPmon (<WoW dir>/WTF/<account name>/SavedVariables/DKPmon.lua); is none of the DKP information that you imported in there? If it is, then the problem is with the DKP module you're using; it might not be set up right.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0

    Javek,
    If you want to add those 2 text strings to the LootItem box for Bidder, please feel free. However, the way that I'd be inclined to do it is to add 2 new callbacks to the Bidder/DKPSystem/baseclass.lua that are passed a dkpinfo struct for a LootItem and return the text for the string; defaults would have to be supplied in the baseclass that just return empty strings to avoid breaking all existing Bidder DKP modules. Then, the LootItem class would call those 2 callbacks for the current DKPSystem to get the values for the text strings and resize the window accordingly. This way would be more in-line with my design goal that Bidder/DKPmon control as much as possible and only consult the DKP system modules when they need to.

    I'm not sure how well the "You have X points" line would work, though. If all of the items being bid on were from a single pool, it would clearly work fine. However, there's no guarantee that'll be the case -- there could be 3 items from 2 different pools up for bids. I'll have to think more about this one but, for now, I think it should probably remain the way it is (just displaying your DKP in the item tooltip).

    -Eraslin
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from baldylox »

    i took bidder & the zsum and made 1 .zip for my guild to download and install so im pretty sure they are running both. as the gm/raid leader i hvae all 4 running.


    The error message that you posted only comes up when a person doesn't have the correct DKP module for Bidder installed; in this case, Bidder_ZSumAuction. It's possible that the person has it installed but not running -- either by explicitly turning it off, or by not having the "load out of date addons" option checked.
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from baldylox »

    can someone help me figure out this error. http://img101.imageshack.us/my.php?image=blahbc5.jpg

    my guild is testing dkpmon/bidder with a few people before making it required. im the gm running dkpmon and we installed bidder with the zsum auction piece as we do silent whispers for items. when my buddy tried he go the error above.

    do i need bidder and the bidder_zsumSauction both installed?

    thx. this addon looks awesome. cant wait to play with it more


    The people running the loot distribution need to have:
    DKPmon & DKPmon_ZSumAuction installed

    Everyone (including the people with DKPmon installed) in the raid have to have:
    Bidder & Bidder_ZSumAuction installed
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from Javek »

    Add them to the raid real quick and give them points I suppose. There isn't any GUI for it. I can't really think of a reason to add someone manually. They'll be added automatically once you raid with them and award them points.

    However, I would like to see a way of removing people. Players leave the guild or switch mains sometimes and you start to collect old names in the database. Maybe I'll add this feature to the FuBar menu at some point, but right now I'm overhauling the BossAuction UI.


    -Javek


    Removing people is very tricky, unfortunately. Even if you were to remove a person from your local database, the person would be re-added the second that you sync your database with your other raid officers -- there's no way to know whether a name isn't in your database because you deleted it or because the other raid officer raided with them and awarded them points.

    The way I delete people from my database is to use the CSV import/export modules. I'll export my database, delete the people that I want to, then do an import. Once that's done, I tell every single raid officer to run "/run DKPmon.PointsDB:WipeDatabase()" to delete their database; I can then share my database, and everyone will have an updated version.

    If one of your raid officers isn't listening, and doesn't do the delete then all those entries that you deleted will be re-added to your database as soon as you sync with them. So, if you have raid officers that can't listen to instructions, you may have to do the import, database delete, and sync steps multiple times.

    Doesn't seem worth the coding time to integrate deletion into the GUI when it's something that's typically done only once every couple of months. <shrug>

    -Eraslin
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from TheDoctor »

    I was having a problem with a Spend All DKP add-on.

    The simple problem has been solved..

    Now I plan to tackle a change that our guild desires and was looking for some guidance from Eraslin. Currently you can only 'Show DKP' and 'Query DKP' in a raid. The need is to provide an option to 'Show Last DKP'.... This would allow you to view the last received DKP database values, outside of a raid. Obviously, these values could vary from the actuals.

    Has there been any thought on how you would accomplish this feature?


    The tricky bit is that the Bidder client doesn't actually know what the DKP values are (unless they happened to still be cached from a previous request). So, the only way to get at DKP values outside of a raid would be to alter the query logic as follows:

    1) If person doing query is in a raid, then the query is done in the current manner. Else, DKP query is sent over the hidden guild addon channel.
    2) When a DKPmon client receives a DKP query over the guild channel, it replies via the WHISPER addon channel to the person who sent the query sending the timestamp of the latest alteration in its database (note that each player's DKP entry in the points database is timestamped with when it last changed).
    3) After, say, 5 seconds the Bidder client would then send a DKP request via WHISPER to the DKPmon client that had the most recent timestamp.
    4) When receiving a DKP request via WHISPER, a DKPmon client replies with a dump of its points database via WHISPER.

    If you want to code this up and commit it to the svn, I'm sure a bunch of people would love you for it; of course, it would involve adding a few new communication "commands" to DKPmon & Bidder (section 1 of http://dkpmon.googlepages.com/DKPmon-design.pdf).

    I only request a few things if you (or anyone, for that matter) commit changes to the svn:
    a) Make 100% sure that your changes 100% work before committing them. A lot of people are using these addons, and I really really don't want them updating to broken code right before a raid. If it happens, I'm the one that gets the email. :-(
    b) If possible (and if it makes sense), any new features should have a toggle to turn them on/off; and, preferably, the default would be "off".
    c) If you make -any- changes to the communications protocols that will break backward compatibility, then the comm version numbers in comm.lua -must- be incremented in both DKPmon & Bidder. This will automatically cause all out of date DKPmon/Bidder addons to completely, and silently, ignore the newer version; forcing those users to upgrade.
    d) Any new features/changes should be posted to this thread so that people who don't read changelogs will know about them.

    -Eraslin
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from aldor »

    I have two errors when trying to award loot:

    [2007/11/25 00:24:12-1575-x5]: DKPmon-2.3.0\Looting\lootframe.lua:160: bad argument #2 to 'format' (number expected, got string)


    and second error

    argument #2 to 'format' (number expected, got string)
    DKPmon-2.3.0\Looting\lootframe.lua:160: in function `SetTextStrings'
    DKPmon-2.3.0\Looting\lootframe.lua:145: in function `Show'
    DKPmon-2.3.0\Options\options.lua:379: in function `func'
    Dewdrop-2.0-48630 (DewdropLib):721: in function <...erface\AddOns\DewdropLib\Dewdrop-2.0\Dewdrop-2.0.lua:660>


    These errors occurs when looting. The "Attribute Loot" window cannot be displayed and we have these bugs.
    Any idea how to correct these bugs?

    Also I have done French localization of DKPmon, Bidder, DKPmon_DiscordEPGP, Bidder_EPGP, please find attached a zip with the localisation files, and the version of the add-ons with which I have tested and got the errors. Any idea what could be wrong?



    These error messages appear to be bugs with your localization; I can't seem to download your attachment, though, to find out (getting "attachment not found" errors <shrug>).

    Specifically, in your French localization for DKPmon, there should be a string translation for "Log: %s started %s" the "%s" bits of the translation are important -- they are formatting strings for the function call on that line that errors. Judging by the error message that you're getting, the first "%s" seems to have become a "%d", "%f", or even a "%g".

    -Eraslin
    Posted in: General AddOns
  • 0

    posted a message on DKPmon & Bidder v2.0
    Quote from lunitic »

    Hey,
    We getting close to start using the DKPMON addon.

    However we getting a strange problem, If we try to broadcast database.
    All the people except the one that brodcasting get the following lua.

    As you can see only the following adds are only loaded
    Bidder, v2.1.2
    BidderBossAuction, v1.2
    DKPmon, v2.3.0
    DKPmonBossAuction, v1.2
    Swatter, v5.0.PRE.2526

    Any clue whats wrong?

    /Rambart

    Date: 2007-11-20 22:34:09
    ID: 51
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\DKPmon\utils.lua line 58:
      attempt to index local 'rgb' (a nil value)
    Debug:
      [C]: ?
      DKPmon\utils.lua:58:
       DKPmon\utils.lua:57
      (tail call): ?
      DKPmon\utils.lua:90: StringToCharInfo()
      DKPmon\PointsDB\syncing.lua:79: UpdatePlayerDBFromString()
      DKPmon\PointsDB\syncing.lua:145: ParseBCastStr()
      DKPmon\PointsDB\syncing.lua:198: ProcessBroadcast()
      DKPmon\Dialogs\dialogs.lua:90: OnAccept()
      ..\FrameXML\StaticPopup.lua:2411: StaticPopup_OnClick()
      [string "*:OnClick"]:1:
       [string "*:OnClick"]:1
    AddOns:
     Bidder, v2.1.2
     BidderBossAuction, v1.2
     DKPmon, v2.3.0
     DKPmonBossAuction, v1.2
     Swatter, v5.0.PRE.2526




    I can honestly say I've never seen that before. If I had to guess, the BossAuction module is doing something that it shouldn't.

    Judging by the callstack, one of a couple of things is happening:

    1) Your global variable "RAID_CLASS_COLORS" is getting borked -- this is unlikely.
    2) Somehow, your database has an unknown class name in it -- this is the most likely, and would indicate a bug in BossAuction.

    If you're comfortable editing lua, add the following at line 88 of DKPmon/utils.lua:
    DKPmon:Print("Got class = " .. class);


    That is, it should be in the function "StringToCharInfo" between the "local ..." line and the return statement.

    Then, do a broadcast. If it prints anything other than a valid WoW classname (warrior, mage, rogue, etc), then BossAuction is definitely doing bad things with your database.

    Alternatively, if you're not comfortable editing lua, you can download the DKPmon_CSV module, and do a CSV export. If any of the listed classnames aren't valid WoW classnames, then you can conclude the same.

    -Eraslin
    Posted in: General AddOns
  • To post a comment, please or register a new account.