By a coincidence I discovered that I need to do guid:sub(6, 10) (and not 7) to encompass all the creature ID bits. I checked with some other addons and noticed that Recount is using 7 too in at least one place.
I don't have an extracted copy of FrameXML with me at the moment, but I could have sworn they'd added some global constants to define those bitmasks/sizes.
As far as I understood, unit GUIDs are always strings because WoW can't handle 64-bit yada yada, and so you wouldn't be to apply a mask?
The bit library does the work, internally, to handle type conversions, if I was reading correctly. Also, LUA recognizes hexadecimal numeric literals (and even allows decimal and, I think, exponents).
*) The deletion popup mid-scenario when members join or leave the group.
This part seems to be working now, thanks!
I had hacked around this locally by adding a line at the start of Recount:ShowReset() to test if any fight data had been stored, and if not, then return early. It didn't do anything to help the "mid-scenario" situation specifically, but it would avoid repeated popups when nothing had happened in between.
Are there a Warlords-beta version of this addon incomming? Seems blizzard has enabled addons now, and Bugsack and !Buggrabber works without error (well, all I did to them was to change the interface number to 60000 in thier .toc files).
I think you mean broker_recountfu which no longer works to show text information in the broker window (as in titan panel) or update information in the tool tip.
I don't need a glorified macro to launch recount as /recount toggle does that, what I want is useful functionality like skada has that shows personal dps live without having to have a window open.
I'd say show it the same way as others do it. I'm not sure about other ingame damage meters, but WarcraftLogs shows them as a hit type, like your second window.
I don't have an extracted copy of FrameXML with me at the moment, but I could have sworn they'd added some global constants to define those bitmasks/sizes.
https://github.com/tekkub/wow-ui-source/blob/live/FrameXML/Constants.lua#L338
I also can't find any instance of Blizzard decoding a unit GUID in the code, so I guess that's why they didn't make any constants for it.
Yep. Pelf is right, they don't decode a GUID anywhere. Ah well.
The bit library does the work, internally, to handle type conversions, if I was reading correctly. Also, LUA recognizes hexadecimal numeric literals (and even allows decimal and, I think, exponents).
*) The deletion popup mid-scenario when members join or leave the group.
*) Fixed the bug with the bossID flag bit missing.
Leaving this alpha for a bit until I get confirmation that it resolved the issues.
This part seems to be working now, thanks!
I had hacked around this locally by adding a line at the start of Recount:ShowReset() to test if any fight data had been stored, and if not, then return early. It didn't do anything to help the "mid-scenario" situation specifically, but it would avoid repeated popups when nothing had happened in between.
little bug, recount setting option "Window Scaling" resets to a multiple of 5, when reopening config.
ex. set window scale to .98%. exit out of config. reopen config and jumps to rounded 5, which is 100%.
No big deal. just have to set it to .98% before exiting again.
Thanks again for addon!
edit: changing slider:SetValueStep(0.05) to .01 fixes it. I guess I wasn't suppose to be able to set it to .98%, but it is perfect for my UI :P
~Mitzy
@Mitzykins87: Totems are reported as pets.
Also, can you make it easier to track states per boss and not total until you clear it?
I really want to come back to recount because it's no longer lagging out the game but it needs to have more skada like functionality.
Broker_Recount has existed for years.
I think you mean broker_recountfu which no longer works to show text information in the broker window (as in titan panel) or update information in the tool tip.
I don't need a glorified macro to launch recount as /recount toggle does that, what I want is useful functionality like skada has that shows personal dps live without having to have a window open.
Can anyone tell me what I should change in the code to display the server names again ?