Cruzix 6 Report post Posted January 18, 2017 (edited) Looking for help to make KTM hide when solo/in BG, similar to how DPSMate does it (I'm using KTM version 1.35 btw) https://github.com/Geigerkind/DPSMate Edited January 18, 2017 by Cruzix Changed "PvP" to "in BG" for better clarification 0 Share this post Link to post Share on other sites
Markk 2 Report post Posted January 18, 2017 (edited) Try this. I haven't fully tested it, but it does hide it when I log in. However, I've not been in a party the while I've been testing, so perhaps it's hiding because it always will and the checks are broken. But give it a try and let me know. Currently, there is no option to disable it (might add commands later if I'm bored). If you want to show it temporarily, you can do /klhtm g s to show it until your party or raid roster is updated (i.e. someone enters or leaves). If you want to disable it, you'd have to remove the code between lines 1033-1037, inclusive, in KTM_Frame.xml and relog (or just reinstall an unmodified version.) Edited January 18, 2017 by Markk Fixed command to show GUI 1 Share this post Link to post Share on other sites
Cruzix 6 Report post Posted January 18, 2017 1 hour ago, Markk said: Try this. I haven't fully tested it, but it does hide it when I log in. However, I've not been in a party the while I've been testing, so perhaps it's hiding because it always will and the checks are broken. But give it a try and let me know. Currently, there is no option to disable it (might add commands later if I'm bored). If you want to show it temporarily, you can do /klhtm g s to show it until your party or raid roster is updated (i.e. someone enters or leaves). If you want to disable it, you'd have to remove the code between lines 1033-1037, inclusive, in KTM_Frame.xml and relog (or just reinstall an unmodified version.) It looks like it works perfectly, I'll report back if I find an issue with it! ;) Thanks! 0 Share this post Link to post Share on other sites
Cruzix 6 Report post Posted January 18, 2017 @Markk Btw is the code you added to KTM_Frame.xml line 1033-1037 the only code you've added? I'm asking because I had some custom made visuals on my own KTM that I made a long time ago and can't remember all the code for it, so I'd have to copy your code over to my KTM. 0 Share this post Link to post Share on other sites
Markk 2 Report post Posted January 18, 2017 I also added the RegisterEvents in KTM_Frame.xml lines 1019-1021 and the functions in KTM_Core.lua at lines 179-207 (the last function at lines 209-215, KTM_OnEvent, doesn't do anything and can safely be removed if you wish). 1 Share this post Link to post Share on other sites
Cruzix 6 Report post Posted January 18, 2017 1 hour ago, Markk said: I also added the RegisterEvents in KTM_Frame.xml lines 1019-1021 and the functions in KTM_Core.lua at lines 179-207 (the last function at lines 209-215, KTM_OnEvent, doesn't do anything and can safely be removed if you wish). Thanks! :) 0 Share this post Link to post Share on other sites