Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: General Authoring Discussion 01-20-15, 09:06 PM
Replies: 24
Views: 982
Posted By SDPhantom
The only problem I ran into was after every raid...

The only problem I ran into was after every raid I run, the stock Blizzard_GarrisonUI eats my framerate when I bring up the mission UI. This is talking about a massive drop, as in from 50 FPS to...
Forum: General Authoring Discussion 01-20-15, 08:38 PM
Replies: 24
Views: 982
Posted By SDPhantom
Ditto here. Never came across this issue.

Ditto here. Never came across this issue.
Forum: Lua/XML Help 01-20-15, 01:53 PM
Replies: 17
Views: 1,262
Posted By SDPhantom
hooksecurefunc() throws an error if used on a...

hooksecurefunc() throws an error if used on a function that doesn't exist.
Forum: Lua/XML Help 01-18-15, 11:57 AM
Replies: 13
Views: 582
Posted By SDPhantom
I'm just imagining how cluttered the local...

I'm just imagining how cluttered the local namespace would get in really big projects if everyone started doing this with init code. I honestly don't want to be the one to debug code like...
Forum: Lua/XML Help 01-18-15, 11:46 AM
Replies: 17
Views: 1,262
Posted By SDPhantom
Frame:HookScript() only works on script handlers,...

Frame:HookScript() only works on script handlers, not regular functions stored as table entries.
Forum: Lua/XML Help 01-17-15, 07:51 PM
Replies: 13
Views: 582
Posted By SDPhantom
Technically yes, but when you're going through...

Technically yes, but when you're going through your init process, CPU power spent isn't as critical. The only time passing a value to a local makes a real difference is in code that is meant to run...
Forum: Lua/XML Help 01-14-15, 06:39 PM
Replies: 13
Views: 464
Posted By SDPhantom
So you're using an EditBox just to display text...

So you're using an EditBox just to display text and respond to clicks. Isn't this what a standard Button object is for? I usually would go for using the UIPanelCloseButton template like every other...
Forum: Lua/XML Help 01-12-15, 01:24 AM
Replies: 14
Views: 381
Posted By SDPhantom
Looks good as long as the function gets defined...

Looks good as long as the function gets defined before you try to call it. Files load in top-down order as listed in the TOC file.
Forum: Lua/XML Help 01-12-15, 01:14 AM
Replies: 14
Views: 381
Posted By SDPhantom
The only difference is if there's already a...

The only difference is if there's already a function set to that script. Frame:SetScript() overwrites the original function while Frame:HookScript() runs your function after the original. They both...
Forum: Lua/XML Help 01-12-15, 12:38 AM
Replies: 14
Views: 381
Posted By SDPhantom
It depends on what your overall goal is. If you...

It depends on what your overall goal is. If you think you need an event frame that your other addon files need to access, you can store a pointer to it in the addon table. I would suggest using more...
Forum: Lua/XML Help 01-12-15, 12:20 AM
Replies: 14
Views: 381
Posted By SDPhantom
Unless the entry you're referring to in the addon...

Unless the entry you're referring to in the addon table is another table, you'll just get a copy of the value, not a link to the entry. This is just how Lua stores tables and other complex value...
Forum: Lua/XML Help 01-12-15, 12:03 AM
Replies: 14
Views: 381
Posted By SDPhantom
The table already exists in all files. You don't...

The table already exists in all files. You don't initialize them. Seerah was describing what the game does internally when processing each Lua file in your addon, but this might've been...
Forum: Lua/XML Help 01-10-15, 09:12 PM
Replies: 6
Views: 312
Posted By SDPhantom
Line 181 of Blizzard_MacroUI.xml defines the font...

Line 181 of Blizzard_MacroUI.xml defines the font used as GameFontHighlightSmall.

Following the trail through SharedXML reveals it using Fonts\FRIZQT__.TTF.
Forum: Lua/XML Help 01-09-15, 12:43 PM
Replies: 16
Views: 765
Posted By SDPhantom
Can't you just do this instead of the if...then...

Can't you just do this instead of the if...then block?
return garrisonMaps[instanceMapID]

If you really needed to typecast into boolean, then this would work.
return garrisonMaps[instanceMapID] and...
Forum: Lua/XML Help 01-06-15, 04:13 PM
Replies: 2
Views: 336
Posted By SDPhantom
Just addressing the theory of what's happening. I...

Just addressing the theory of what's happening. I seriously hope you're not using that code in your actual addon.

To answer the question, it depends on what is stored at the index you're referring...
Forum: Lua/XML Help 01-05-15, 08:03 PM
Replies: 10
Views: 662
Posted By SDPhantom
It was more reliable before the whole CRZ stuff...

It was more reliable before the whole CRZ stuff rolled in. Now the server handling the zone you're in isn't necessarily hosted by your realm server and may be hosted by another realm at any other...
Forum: Lua/XML Help 01-04-15, 03:38 AM
Replies: 10
Views: 662
Posted By SDPhantom
If you get the computer's offset, you can...

If you get the computer's offset, you can calculate the server by comparing server time with computer time.
Forum: Lua/XML Help 12-26-14, 12:08 AM
Replies: 22
Views: 1,168
Posted By SDPhantom
No, adding an addon as a dependency tells the...

No, adding an addon as a dependency tells the game to load your addon after the dependency is loaded.

It doesn't force the dependency to load.[/QUOTE]
Actually, his assumption was correct. In my...
Forum: Lua/XML Help 12-25-14, 11:40 PM
Replies: 22
Views: 1,168
Posted By SDPhantom
If you use this instead, it would tag your addon...

If you use this instead, it would tag your addon as LoD and load with the Blizzard addon.

## LoadOnDemand: 1
## LoadWith: Blizzard_GarrisonUI

I don't remember if LoadWith automatically tags as LoD...
Forum: AddOn Search/Requests 12-23-14, 10:38 PM
Replies: 12
Views: 870
Posted By SDPhantom
There are many things that happen at loading...

There are many things that happen at loading screens, not just loading addons. Firstly, addons are only loaded at the first loading screen you see when you log in. Addon code cannot run at any other...
Forum: News 12-22-14, 11:12 PM
Replies: 2
Views: 2,294
Posted By SDPhantom
And to you and the rest of the WoWI staff as well.

And to you and the rest of the WoWI staff as well.
Forum: Lua/XML Help 12-22-14, 02:30 PM
Replies: 6
Views: 443
Posted By SDPhantom
What happens if you use Font:SetFontObject()...

What happens if you use Font:SetFontObject() instead?
Forum: Chit-Chat 12-21-14, 01:36 AM
Replies: 91
Views: 5,038
Posted By SDPhantom
Didn't Dell have that running as their TV...

Didn't Dell have that running as their TV commercial for a while?
Forum: Chit-Chat 12-20-14, 03:10 AM
Replies: 91
Views: 5,038
Posted By SDPhantom
My parents had an Epson 286 desktop with a color...

My parents had an Epson 286 desktop with a color monitor. Personally, my first computer was an IBM 486/66DX2 and it was a tower.
Forum: Chit-Chat 12-19-14, 09:51 PM
Replies: 91
Views: 5,038
Posted By SDPhantom
I spent most of my time in a dark room or working...

I spent most of my time in a dark room or working at night back then. The latest test build I had for my website used CSS3 gradient backgrounds and semitransparent backgrounds for block objects. I...
Showing results 1 to 25 of 500