Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 02-24-21, 10:06 AM
Replies: 6
Views: 416
Posted By Fizzlemizz
I was thinking something like: local...

I was thinking something like:

local frame=CreateFrame("Frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent",function(self,event,...)
local chat = DEFAULT_CHAT_FRAME
local editBox...
Forum: Lua/XML Help 02-23-21, 04:07 PM
Replies: 6
Views: 416
Posted By Fizzlemizz
Your macro is doing 4 SetPoint calls for the...

Your macro is doing 4 SetPoint calls for the editbox. Maybe something like:


ChatFrame1EditBox:SetMultiLine(true)
ChatFrame1EditBox:ClearAllPoints()
ChatFrame1EditBox:SetPoint("BOTTOMLEFT",...
Forum: Lua/XML Help 02-23-21, 01:58 PM
Replies: 6
Views: 416
Posted By Fizzlemizz
ChatFrame1EditBox:SetMultiLine(true) How it...

ChatFrame1EditBox:SetMultiLine(true)

How it scrolls depends on how it's anchored.
It also alters some functionality like history scrolling.
Forum: General Authoring Discussion 02-23-21, 11:31 AM
Replies: 2
Views: 285
Posted By Fizzlemizz
Occasionally a Hail Mary has been known to work ;)

Occasionally a Hail Mary has been known to work ;)
Forum: General Authoring Discussion 02-22-21, 01:29 PM
Replies: 2
Views: 285
Posted By Fizzlemizz
TBC Beta access

Given that Blizzards Classic process was so great <cough> I just thought I'd try and get ahead of the curve.

If WoWI is helping identify authors for access to TBC Beta then Me...
Forum: Lua/XML Help 02-21-21, 09:38 PM
Replies: 9
Views: 253
Posted By Fizzlemizz
As someone once told me, tables are just pointers...

As someone once told me, tables are just pointers :D
Forum: Lua/XML Help 02-21-21, 09:09 PM
Replies: 9
Views: 253
Posted By Fizzlemizz
Wipe empties the contents of the...

Wipe empties the contents of the table

table.insert(addClassSpellList, 1, tempSpellChatList)
wipe(addClassSpellList[1])
--is the same as
wipe(tempSpellChatList)

In your code, there is no need to...
Forum: Lua/XML Help 02-21-21, 07:29 PM
Replies: 9
Views: 253
Posted By Fizzlemizz
Tables are passed as pointers to the table not...

Tables are passed as pointers to the table not copies of the table so when you
wipe(tempSpellChatList)

you are actually wiping the table you inserted at
table.insert(addClassSpellList, 1,...
Forum: Lua/XML Help 02-21-21, 07:26 PM
Replies: 9
Views: 253
Posted By Fizzlemizz
tempSpellChatList = { addSpellLink = { ...

tempSpellChatList = {
addSpellLink = {
percentage = 100,
isEnabled = true,
spellChatList = {}
}
}

Not sure of your intention but when written like this, addSpellLink...
Forum: Lua/XML Help 02-21-21, 07:03 PM
Replies: 9
Views: 253
Posted By Fizzlemizz
The second parameter of your...

The second parameter of your addSpellToClassSpellList function is addSpellLink.

In the Incomming test, you're printing spellLink which will always be nil unless it's defined elsewhere.

print("test...
Forum: AddOn Help/Support 02-15-21, 06:24 PM
Replies: 2
Views: 325
Posted By Fizzlemizz
/run local a =...

/run local a = PlayerChoiceFrame.Option1.OptionText.HTML:GetRegions() print(a, a:GetObjectType())
Forum: Lua/XML Help 01-28-21, 09:39 AM
Replies: 12
Views: 2,108
Posted By Fizzlemizz
You can paste the following to the bottom of the...

You can paste the following to the bottom of the addons Core.lua file to show/hide the model using: /3dv

SLASH_3DV1 = "/3dv"
SlashCmdList["3DV"] = function()
f:Click()
end
Forum: AddOn Search/Requests 01-23-21, 11:11 PM
Replies: 6
Views: 761
Posted By Fizzlemizz
As in posting a buy order? It doesn't seem from...

As in posting a buy order?

It doesn't seem from the documentation that there is any method to alter information on the server. That has to be done in game which uses Lua, not python.
Forum: AddOn Search/Requests 01-23-21, 03:53 PM
Replies: 6
Views: 761
Posted By Fizzlemizz
I think we're talking about Blizzards external...

I think we're talking about Blizzards external APIs (https://develop.battle.net/documentation/world-of-warcraft/game-data-apis)

As far as I can tell, you can't post auctions just view current...
Forum: AddOn Search/Requests 01-23-21, 09:14 AM
Replies: 6
Views: 761
Posted By Fizzlemizz
In short, you don't. The game reads information...

In short, you don't.

The game reads information from the various SavedVariables files for addons when your character logs in. After that, the files aren't used until your character logs out or you...
Forum: Lua/XML Help 01-18-21, 07:35 PM
Replies: 10
Views: 936
Posted By Fizzlemizz
UNIT_HEALTH and UNIT_HEALTH_FREQUENT were rolled...

UNIT_HEALTH and UNIT_HEALTH_FREQUENT were rolled into just UNIT_HEALTH.
Forum: Lua/XML Help 12-31-20, 02:54 PM
Replies: 3
Views: 1,710
Posted By Fizzlemizz
In your code, Icon is a Button ...

In your code, Icon is a Button (SetNormalTexture). In Blizzards, it's a texture. With your button you could probably:
local IconTexture = Icon:GetNormalTexture()
IconTexture:SetAtlas(...)
Forum: Lua/XML Help 12-30-20, 01:47 PM
Replies: 3
Views: 2,015
Posted By Fizzlemizz
You might want to...

You might want to add:
MainMenuBar.ignoreFramePositionManager = true
Forum: Lua/XML Help 12-28-20, 05:28 PM
Replies: 4
Views: 1,061
Posted By Fizzlemizz
local MyLabel =...

local MyLabel = CreateAtlasMarkup("NPE_RightClick", 16, 16).."My label text"
Forum: Lua/XML Help 12-24-20, 03:02 PM
Replies: 3
Views: 1,358
Posted By Fizzlemizz
local f = CreateFrame("Frame", nil,...

local f = CreateFrame("Frame", nil, UIParent)
local t = f:CreateFontString(f, "OVERLAY", "GameTooltipText")
t:SetText("Great Vault")
f:SetSize(t:GetSize())
t:SetPoint("CENTER")
f:SetPoint("TOP",...
Forum: Lua/XML Help 12-17-20, 11:32 AM
Replies: 7
Views: 1,727
Posted By Fizzlemizz
If the table has a number entries and the first 5...

If the table has a number entries and the first 5 are for one situation and the next 5 (or whatever) are for another situation then you could:

if a then
PlaySoundFile(TableofOggs[random(1,...
Forum: Lua/XML Help 12-16-20, 09:52 AM
Replies: 19
Views: 7,811
Posted By Fizzlemizz
Again, the same as Kanegasi but slightly...

Again, the same as Kanegasi but slightly different in order to bake the border colouring into your created frames:

local function ColorBorders(self, r, g, b, a)
for i=1, 4...
Forum: Lua/XML Help 12-15-20, 11:21 AM
Replies: 10
Views: 3,043
Posted By Fizzlemizz
You shouldd be getting an error! Change the first...

You shouldd be getting an error!
Change the first instance of:
self.TimeSinceLastUpdate = 0
to:
f.TimeSinceLastUpdate = 0

f is the frame you just created. The second place you reset...
Forum: Lua/XML Help 12-15-20, 12:35 AM
Replies: 10
Views: 3,043
Posted By Fizzlemizz
Not getting another "not well-formed" error...

Not getting another "not well-formed" error should have been a giveaway. Well, that and reading the .toc listing.

Maybe I'll have better luck next time...
Forum: Lua/XML Help 12-14-20, 10:05 PM
Replies: 10
Views: 3,043
Posted By Fizzlemizz
<OnUpdate> UIMod_OnUpdate(self,...

<OnUpdate>
UIMod_OnUpdate(self, elapsed)
</OnUpdate>
Assuming UIMod_OnUpdate is the name of your lua OnUpdate function and it's global.

I would have to check but I'm pretty sure the...
Showing results 1 to 25 of 500