NodeOnClick - "Mimic" the PLAYER_CONTROL_GAINED event, by using repeating timer, while player is on flight (taxi) .
The repeating loop helps us to hide flight bar when player is out of taxi.
This loops is majorly needed for a player to be able to send reports to the author, for if current flight path is not in database, or flight time is not right.
ReportMissingTimer - there is little problem. I made it to not check for the "hops" to print the debug. So for example, if flight is from Dalaran to Dun Niffelem, it may go different ways. Through k3 and through zuldrak. But my print will always say Dalaran, Dun Niffelem. So it could be confusing. But at least i hope all the routeString are fine.
DB - Updated DB from WOTLK Classic
Slash - forgot to mention, that i fixed /ltp slash in previous commit.
FlightTimers - fixed the timer bar, now it shows duration of current flight just fine ! :)
FlightTimers - need to fix every single database data. (This will take a while)
For now i made a script to print flight time in chat on node click.
Need to find out how to create a bar using, by Leatrix Code, that i have commented.
For now i only figured and partilly fixed tooltip on the destination node.
However data seems to be different from the WoTLK Classic. And would need to be completely rewritten.
Also i have problem with debug string as it is currently unable to get hops FPs in between start and end nodes correctly...
And it seems that my routestring is bad too. As it is for some reason adds un-needed zeroes between nodes
For example: FP from Orgrimmar to Valormok, no hop in between them, Orgrimmar added twice and a lot of un-necessary zeroes in between.
["0.63:0.56:0.00:0.00:0.63:0.64"] = -- Orgrimmar, Orgrimmar, Valormok
Sleepless night, finally figured how to make it efficient to show the Timer only for BG Timer, no matter if it's a StaticPopup1-4 and made some proper resetting (but not perfect).
Still need to think about design. So that other Popups, like duel, summon etc... DO NOT overlap my status bar.
Reason: Code is made to use retail raid frames, which we don't have.
This would require me to build a decent raid frames myself.
I may do so in future, if people ask!
- Fix stop button not working
- Fix previous track not stopping when new one played.
- Note: I had to use Sound_GameSystem_RestartSoundSystem(), which triggers a client freeze, but it's the only way i could find, since there is no StopSound() api.
I also do not undertsand what is a musicHandle local, and why it's always false?
Reason: I almost fixed it but decided to disable it, because i dont think its good feature and don't think its worth time atm.
If community will really want. May be in future, i will come back here.
Add - Alt Left Click on item will Add/Remove current bag item to the Auction posting frame.
Fix - for saving auction duration per account. Took code from and modded it from Panda Leatrix :)
Add - Tab Confirm option, which will confirm auction creation if pressed with both AhGold and AhBuyout options ticked. (saves mouse clicking effort :D)
Change - 99 silver and 99 copper are now not set automatically, just 00 for both now. Reason: it's confusion imho.
ElvUI - fix positions of buttons and skin "Find item" button.
VolumeSlider - tweak module slider to show 0-100 values instead of 0-20.
Cleanup xml file for template, change name of template to not bother other addons.
Added ScrollFrame.
Modified Ctrl-Click to toggle chat window editboxes.
Escape will now close window if keyboard focus is on text.
TrainerEnhance - change the background.
- Fixed positioning of main Trainer Frame
- Used method hooksecurefunc to change blizzard ClassTrainerFrame_Update() function.
I did that to avoid overlapping of the Skills text on the Leatrix BLP scrollbar, if actual scrollbar is not shown.
It was my first experience to hooksecurefunc, so took a lot of time and hope it goes fine!
- Fix for Train All Button enable/disable depending if there is something to train or not.
It may be final fix, as i tried all day to make the OnKeyDown script to work, but it want to work.
I really tried hard to provide such a good function for you to auto-close the window after Ctrl+C.
But i couldn't make it anyhow.
CombineAddonButtons - Disabled not working code & First attempt to combine them - not successful.
LibCompat - Disable BackdropTemplate due to conflict with Immersion addon. Thank you to @s0h2x
Co-Authored-By: s0high <33549022+s0h2x@users.noreply.github.com>
Fixed Minimap_OnEnter function sometimes not being able to do child:GetCenter() because minimap button is hidden by some addon.
Fixed the loop taking only first value of `keepVisible` table
Added more buttons to always show, credit to @s0h2x
Co-authored-by: s0h2x <no-reply>
Added /fs slash command to do /framestack slash function.
Added FrameStack Button to the Hide Addon Buttons panel.
Made HideMiniAddonButtons require reload, for purpose.
Disabled replacing non-standart buttons (which dont use LibDBIcon) -
- mostly because it removes "unique" addon icons. But funciton works well.
HideMiniAddonButtons - had to rewrite it competely.
Need to populate keepVisible table with minimap POI markers created by other adddon, for example Zygor.
HideMiniTracking - made it completely hide the tracking button, instead right click will open the traicking list.
Fixed UIErrorsFrame, checking for non-existend arg1 (id).
Added enGB only support to show all error messages that contain:
"Requires" text, for Herb,Mine,Lockpick etc.
Need to make locales for it.