Quantcast
Channel: WoWInterface
Viewing all 15172 articles
Browse latest View live

WoW Classic Request: Customizable Quest Tracker!!


BARTENDER 4 stealth question

$
0
0
you can "program" a custom conditional that says if you are stealthed, the bar is visiable, otherwise visibility is et at 50%

I am not sure of the exact wording needed, but check out the Visibility tab for the bar 1
Cheers!

*Request* SpecialTalentUI

$
0
0
I'd like to see Talented brought back. Where you could save and import various builds.

IPopBar Classic

Classic addon ressurection request(Grimoire Keeper)

$
0
0
A kind soul in the Classic Warlock Discord has made a port. Check out the pinned message in the addons channel if you are also looking for this.

https://discord.gg/D6TrRkq

Hide World Map Player Arrow

$
0
0
As an update, I was able to use the Mapster addon to change the scale of the player arrow to 0%. The author set the minimum to 50% but I went into the lua file and made it lower.

This basically does what I want but if anyone knows a simple script to hide the player arrow on the world map I'd much prefer to do that rather than have a whole addon installed (Where I'm only using a tiny part of it)

Maybe I can look through Mapster to figure out how they are making changes to the player arrow at all.

Thanks in advance if anyone more experienced can help :)

And thanks to the creator of Mapster and the little addon that hides the player ping on the map as well :D

UIDropDownMenu Alternatives?

$
0
0
I'm truly sorry I didn't get back to you earlier. I was called away for a couple of weeks and just didn't have the time. I'll study your code/suggestions and incorporate them into Chaching. I'll let you know how it works out.

Again, I deeply appreciate your time.

UPDATE:

Seems to work just fine. There is a minor issue in that the bag names are not displayed when the addon is called for the first time. It's a problem I need to work on because I want to learn this stuff. So, again, thank you for your time.

InFlight - Updating default data


Help me sort this error please.

Trying to make my vanilla frame work in Classic--SendAddonMessage

$
0
0
If the sendChat does work, your event handler doesn't have any parameters to "receive" any events and the if/elseif checks will always fail.

Code:

function FSMB:OnEvent(event, ...)
        local arg1, arg2, arg3 = ...

You might want to look into C_ChatInfo.SendAddonMessage as I think the prefix is supposed to be the first parameter and I'm not sure the others are correct.

Username Change Request

Playerframe Broken? need Help

$
0
0
Could just be a bug, first thing I'd try is to reload the ui /rl
second thing would be to relog.

WorldFrame issues in Classic

$
0
0
For one of my addons, users are reporting they see the following (although I never see this reported):

Quote:

172x Couldn't find frame parent: WorldMapDetailFrame
I'm not really sure what to do about this one at all.

Quote:

AddOn RecipeRadarClassic attempted to call a protected function (CompactRaidFrameContainer:Hide()) during combat lockdown
This is maybe related to what's mentioned here and seems to imply I need to stop using SetPoint and use SetOwner instead. But the documentation for SetOwner doesn't have setting analogous to what I'm doing in my addon, so I'm not sure what to do there.

For example, I have:

Quote:

RecipeRadarAvailabilityTooltip:SetPoint(
"TOPLEFT", frame:GetName(), "TOPRIGHT", 35, 0)
which doesn't match any of those options.

I also get reports from players that they're getting these errors, which I've also never seen and am not sure what to do about:

Quote:

Frame RecipeRadarAvailabilityTooltip: Unknown script element OnTooltipSetDefaultAnchor
Frame RecipeRadarAvailabilityTooltip: Unknown script element OnTooltipAddMoney
Frame RecipeRadarAvailabilityTooltip: Unknown script element OnTooltipCleared
Help appreciated!

how do I get a spellID from when I mouse over a spell in game?

$
0
0
I used the StaticPopUp to display the messages! I nolonger have to spam my chat!

Now the only thing that triggers me is the sound that plays everytime the frame comes on, but I think in the documentation is something to change that. Or if someone else knows how to, thanks!

With that change, I think I will be happy to upload it so everyone else can know which spells are their most efficient spells.



Thanks for the huge help!

I solved the sound thing. I went over to StaticPop.lua, and overloaded the function StaticPopup_OnShow and StaticPopup_OnHide to change the play sound when it loaded in my addon folder below from where I create my StaticPopupDialogs

Quote:

--Override StaticPopup_OnShow()
function StaticPopup_OnShow(self)
--PlaySound(SOUNDKIT.IG_MAINMENU_OPEN);
PlaySound(SOUNDKIT.IG_CHAT_SCROLL_UP);
...
end

No QuestHelper ?

$
0
0
I am not sure what you want to use QuestHelper for, but you might want to check out WoW Pro. They should have a Classic version out.

Singular map files

$
0
0
It would be a little complicated, moreso if different maps are broken into a different number of pieces. I'm not sure of all of the specifics of this problem to give you an example.

Lua reposition frames

Using ToggleGuildFrame() inside an addon

$
0
0
I have a guild related addon, and for some reason, ToggleGuildFrame() doesn't do anything when executed inside of it, but if I execute ToggleGuildFrame() via a macro, it opens up the social tab (albeit on Groups tab rather than the guild tab, not sure how to tell it which subtab to pick).

In any case, I've got print statements in the code, and can confirm it gets to the code to execute ToggleGuildFrame, but nothing happens. Any idea on how I can get this to work?

Code:

function TitanPanelGuildButton_OnClick(self, button)
        -- open the guild pane on a left click
        print("Got a click");
        if ( button == "LeftButton" and not IsControlKeyDown()) then
            print("button is left button");
                if (not FriendsFrame:IsVisible()) then
                    print("Toggling guild frame");
                    ToggleGuildFrame();
                    print("Friends Frame update");
                    --ToggleFriendsFrame(TITAN_GUILD_TAB_NUMBER);
                    FriendsFrame_Update();
                elseif (FriendsFrame:IsVisible()) then
                        ToggleGuildFrame();
                        --ToggleFriendsFrame(TITAN_GUILD_TAB_NUMBER);
                end
        elseif ( button == "LeftButton" and IsControlKeyDown()) then
                -- forcing an update, since auto-update might be off
                FriendsFrame:UnregisterEvent("GUILD_ROSTER_UPDATE");
                if (IsInGuild()) then
                        GuildRoster();
                end
                FriendsFrame:RegisterEvent("GUILD_ROSTER_UPDATE");
                TitanPanelGuildButton_ListInitMaster();
        end
       
        GUILD_THIS = self;
end

Thanks!

Is there any way to throttle an arbitrary function?

$
0
0
I have a lib named Scorpio, it has a task schedule system works like:

Lua Code:
  1. Scorpio "TestAddon" "1.0.0"
  2.  
  3. -- __Async__ is used to wrap the target function, so when the
  4. -- function is called, it'd be processed in a coroutine, the coroutine
  5. -- will be recycled when the target function finished its job
  6. __Async__()
  7. function LoopJob()
  8.     while true do
  9.         NextEvent("PLAYER_REGEN_DISABLED")  -- wait the event
  10.  
  11.         print("Start combat")
  12.  
  13.        local cnt = 0
  14.  
  15.         repeat
  16.             Delay(1)    -- delay for 1 sec
  17.             cnt = cnt + 1
  18.             print("[Combat]", cnt)
  19.         until not InCombatLockdown()
  20.  
  21.         print("End combat")
  22.     end
  23. end
  24.  
  25. -- Start the loop
  26. LoopJob()

With the system, we can avoid the callback hell and keep any logic in one function. And the better part of the system is if we put all hard works to it, it really can smooth the function calls(delay the call if there is too much operations in one phase) and make the fps no dropping.

So, if you are interesting, you can find the lib at https://github.com/kurapica/Scorpio, it's also uploaded to the curseforge.

For your example, you may check the Next and Continue API provided by the Scoprio, the Next is used to delay the process to the next phase, the Continue is used to check if there is enough time in the current phase to continue the process, otherwise, it'd delay it to the next phase.

Adding line of text to player tooltip

Viewing all 15172 articles
Browse latest View live


Latest Images