Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Fizzlemizz
Forum: AddOn Help/Support Today, 12:01 AM
Replies: 10
Views: 186
Posted By Fizzlemizz
It really depends on how you want it to work. It...

It really depends on how you want it to work. It Maybe something as simple as this (once shown click OK or red X hides the frame until you type /zz):
See the --Added/--Moved comments


local...
Forum: AddOn Help/Support Yesterday, 10:08 PM
Replies: 10
Views: 186
Posted By Fizzlemizz
I missed it, it's part of the template. The...

I missed it, it's part of the template.

The problem is exactly the same. The user presses the OK (or red X) and if there is still time left on the next OnUpdate (timeLeft > 0) then the...
Forum: AddOn Help/Support Yesterday, 09:27 PM
Replies: 10
Views: 186
Posted By Fizzlemizz
I don't see an OK button in the code, only the...

I don't see an OK button in the code, only the addonTable.timerFrame.deleteButton which is a default close (red X) button

If that's the one you mean then you are...
Forum: AddOn Help/Support Yesterday, 12:07 PM
Replies: 10
Views: 186
Posted By Fizzlemizz
As an aside, you don't need to re-create the two...

As an aside, you don't need to re-create the two tables every OnUpdate. It's a waste of time and resources.

Instead move them outside (somewhere above) the function where they're used:

local...
Forum: AddOn Help/Support Yesterday, 11:50 AM
Replies: 10
Views: 186
Posted By Fizzlemizz
In updateLocation you: if spawning then ...

In updateLocation you:


if spawning then
addonTable.timerEndTime = GetTime() + remaining -- is remaining > 0
else
addonTable.timerEndTime = GetTime() + next_event -- is next_event >...
Forum: Lua/XML Help 05-30-24, 07:02 PM
Replies: 4
Views: 369
Posted By Fizzlemizz
There's probably a better way but maybe something...

There's probably a better way but maybe something along the lines of:


local AuraInstanceID
local function TestFalling()
if IsFalling() then
...
Forum: AddOn Help/Support 05-26-24, 11:20 AM
Replies: 6
Views: 742
Posted By Fizzlemizz
If you mean the 3D world names then you (addons)...

If you mean the 3D world names then you (addons) can't effect those. Otherwise a nameplate addon should do what you want.
Forum: AddOn Help/Support 05-25-24, 02:46 PM
Replies: 6
Views: 742
Posted By Fizzlemizz
Unit portraits change when you change gear etc....

Unit portraits change when you change gear etc. To do this Blizz. "snapshots" your character and renders a static 2D image (including background) to place in the portrait region. The original selfie...
Forum: AddOn Help/Support 05-24-24, 12:16 PM
Replies: 6
Views: 742
Posted By Fizzlemizz
The background colour is from the creation of the...

The background colour is from the creation of the portrait texture by Blizz. It's not a seperate background you can adjust.

You can try this in different versions of the game to see (while it...
Forum: Lua/XML Help 05-11-24, 01:29 AM
Replies: 1
Views: 1,027
Posted By Fizzlemizz
C_Container.GetItemCooldown...

C_Container.GetItemCooldown (https://warcraft.wiki.gg/wiki/API_C_Container.GetItemCooldown)
Forum: AddOn Help/Support 05-10-24, 08:45 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
I added a list to your test git version the other...

I added a list to your test git version the other day. Probably needs some (much) massaging as it was just thrown together as a "how might I approach it test". Maybe it's something you can work with...
Forum: UI Screenshots, Feedback and Design Discussion 05-07-24, 10:52 AM
Replies: 4
Views: 957
Posted By Fizzlemizz
You can export...

You can export (https://warcraft.wiki.gg/wiki/Viewing_Blizzard%27s_interface_code) the game code and art files.

You will need a .blp to .png converter...
Forum: AddOn Help/Support 05-05-24, 02:05 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
You need to go through the code with a fine tooth...

You need to go through the code with a fine tooth comb. (test the code is actually being called when expected print("xx")). You have some duplications happening that effect what's going on...
Forum: AddOn Help/Support 05-05-24, 01:09 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
I don 't see a scroll list in the test code, just...

I don 't see a scroll list in the test code, just a single row of stats fontstrings.
Forum: AddOn Help/Support 05-05-24, 12:59 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
The InCallout.lua file from the test repo. See...

The InCallout.lua file from the test repo. See the comments starting with -- Fizz:.

Your .toc has two ## SavedVariables: entries (they can just go on the one line separated by a comma. Maybe the...
Forum: AddOn Help/Support 05-05-24, 12:30 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
If you mean in your Stats frame then that's all...

If you mean in your Stats frame then that's all you are showing

local character = UnitName("player") .. "-" .. GetRealmName() -- Get the stats for the current character from the DB
local stats =...
Forum: AddOn Help/Support 05-05-24, 12:08 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
PLAYER_LOGIN doen't have a payload so it should...

PLAYER_LOGIN doen't have a payload so it should just be:
if event == "PLAYER_LOGIN" then

Your other event calls
UpdatePvPStats()
Which maybe should be
UpdatePvPStatsFrame()

I still don't see...
Forum: AddOn Help/Support 05-05-24, 11:37 AM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
A quick look and IncCalloutDB = IncCalloutDB or...

A quick look and
IncCalloutDB = IncCalloutDB or {}
is in the function SavePvPStats which is never called in the code you posted?
Forum: AddOn Help/Support 05-05-24, 10:50 AM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
The code has two separate frames doing the same...

The code has two separate frames doing the same thing??? These events could be handled by your pvpStatsFrame.

Remove ADDON_LOADED and replace it with PLAYER_LOGIN as it only fires once after ALL...
Forum: AddOn Help/Support 05-04-24, 10:10 PM
Replies: 19
Views: 2,356
Posted By Fizzlemizz
You primary problem is that you don't update the...

You primary problem is that you don't update the character information until pvpStatsFrame OnShow.

Presumably a player can "gain stats" without showing the frame so for any saved information to be...
Forum: AddOn Search/Requests 05-03-24, 06:36 PM
Replies: 6
Views: 1,133
Posted By Fizzlemizz
SetJustifyV is not for anchoring (SetPoint), it...

SetJustifyV is not for anchoring (SetPoint), it purely to set the vertical justification of the text inside a FontString (Think of the FontString as a container you anchor and the text inside as...
Forum: AddOn Search/Requests 05-02-24, 07:17 PM
Replies: 6
Views: 1,133
Posted By Fizzlemizz
It is (always has been) for SetJustifyV on a...

It is (always has been) for SetJustifyV on a FontString. Until now (Cata atm.), the game just accepted "CENTER" without complaining. SetJustfyH still uses "CENTER".
Forum: Lua/XML Help 04-29-24, 02:37 PM
Replies: 4
Views: 1,042
Posted By Fizzlemizz
Any event starting with UNIT_ should work for any...

Any event starting with UNIT_ should work for any valid unitid.





local arg1, arg2, arg3 = SomeFuncWith3Returns()
-- get all returns

local _, _, arg3 = SomeFuncWith3Returns()
Forum: Lua/XML Help 04-29-24, 09:47 AM
Replies: 4
Views: 1,042
Posted By Fizzlemizz
UNIT_TARGET...

UNIT_TARGET (https://warcraft.wiki.gg/wiki/UNIT_TARGET)


local npToT = CreateFrame("Frame", nil, UIParent);
local font = "Interface\\Addons\\NameplateTargetOfTarget\\Rubik-Medium.ttf";
npToT.text =...
Forum: AddOn Help/Support 04-26-24, 12:25 PM
Replies: 11
Views: 1,555
Posted By Fizzlemizz
Stealing from Blizz. code, add this to your timer...

Stealing from Blizz. code, add this to your timer before the other code:

local canUseRated = C_PvP.CanPlayerUseRatedPVPUI();
local canUsePremade = C_LFGInfo.CanPlayerUsePremadeGroup();
if...
Showing results 1 to 25 of 500