Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: AddOn Search/Requests Yesterday, 09:48 PM
Replies: 9
Views: 583
Posted By SDPhantom
I wasn't aware it was broken :p

I wasn't aware it was broken :p
Forum: AddOn Search/Requests Yesterday, 03:01 PM
Replies: 9
Views: 583
Posted By SDPhantom
I do love a well-timed "blink to the ground", but...

I do love a well-timed "blink to the ground", but if you want to be safe, it's as simple as not waiting so long before using slow fall and making sure it's somewhere you can activate quickly....
Forum: General Authoring Discussion 07-14-19, 01:06 PM
Replies: 11
Views: 1,490
Posted By SDPhantom
In general, I don't care. I personally manually...

In general, I don't care. I personally manually install everything, but that's because I'm wary of any automated process suddenly deciding to wipe my ongoing projects because it's mistaking them for...
Forum: Lua/XML Help 07-12-19, 07:33 PM
Replies: 6
Views: 1,529
Posted By SDPhantom
I can't really think of any practical reason why...

I can't really think of any practical reason why caching this information is necessary. I would honestly loop through the list and run GetItemInfo() on load (ignoring the returns) to force the game...
Forum: Lua/XML Help 07-10-19, 03:10 PM
Replies: 11
Views: 1,419
Posted By SDPhantom
It's the nature of being in a community. You can...

It's the nature of being in a community. You can pick up things from others you might have never come across on your own.
Forum: Lua/XML Help 07-10-19, 02:06 PM
Replies: 11
Views: 1,419
Posted By SDPhantom
Moving local references to globals into a table...

Moving local references to globals into a table defeats the purpose of making them in the first place, which is to save on indexing operations. You run the same number of these operations pulling...
Forum: Lua/XML Help 07-08-19, 06:01 PM
Replies: 24
Views: 1,731
Posted By SDPhantom
Depends on what the rest of your code looks like....

Depends on what the rest of your code looks like. If you're already running the same loops later in the code when you write to the tables, do it there.
Forum: Lua/XML Help 07-07-19, 08:54 PM
Replies: 24
Views: 1,731
Posted By SDPhantom
Frames are a special occasion. The table portion...

Frames are a special occasion. The table portion has a reference stored in C code, so that doesn't get released to the GC. Not to mention the C side resources that aren't even exposed to Lua.
Forum: Lua/XML Help 07-07-19, 04:30 PM
Replies: 24
Views: 1,731
Posted By SDPhantom
They do, but the issue is the performance...

They do, but the issue is the performance degradation of triggering the GC too frequently with way too much garbage.
Forum: Lua/XML Help 07-07-19, 12:53 PM
Replies: 24
Views: 1,731
Posted By SDPhantom
Here's a drycoded example of table.wipe() that...

Here's a drycoded example of table.wipe() that runs recursively and preserves links to nested tables.

local NestSafeWipe; do-- function NestSafeWipe(tbl)
-- Local References (finds these faster than...
Forum: Lua/XML Help 07-07-19, 02:23 AM
Replies: 2
Views: 212
Posted By SDPhantom
The global environment is basically stored in a...

The global environment is basically stored in a big table. Every time you want to read from this table you perform a table indexing operation, which takes a small amount of time. However, if code is...
Forum: Lua/XML Help 07-07-19, 02:09 AM
Replies: 24
Views: 1,731
Posted By SDPhantom
Strings in general are strange in Lua. They're...

Strings in general are strange in Lua. They're stored by a hash of their content. So two strings of equal content always point to the same object in memory.

Concatenation, while it seems innocuous,...
Forum: News 07-07-19, 01:19 AM
Replies: 34
Views: 19,126
Posted By SDPhantom
I got access within a couple days of making my...

I got access within a couple days of making my request. If they're really being so negligent with their offers to the addon community, it makes me wonder how the future beta opportunities will pan...
Forum: News 07-04-19, 12:16 AM
Replies: 34
Views: 19,126
Posted By SDPhantom
I wasn't aware of any "pay-to-play" mechanism...

I wasn't aware of any "pay-to-play" mechanism this time around. There was just an abnormally sparse number of keys and they went on a first-come-first-serve basis as always. I was one of the few...
Forum: News 07-03-19, 10:39 PM
Replies: 34
Views: 19,126
Posted By SDPhantom
Considering there's less than two months until...

Considering there's less than two months until launch, we probably have a month left give or take a couple weeks. It's safe to say at this late stage, there aren't going to be many if any invites...
Forum: Macro Help 07-03-19, 04:41 PM
Replies: 4
Views: 2,655
Posted By SDPhantom
Character data isn't stored on your computer,...

Character data isn't stored on your computer, it's on the game server. The only way to get the data is to query the server for the character you're on. The server doesn't allow you to query data for...
Forum: Lua/XML Help 07-03-19, 12:57 PM
Replies: 7
Views: 609
Posted By SDPhantom
I think IsObjectType() works on objects that...

I think IsObjectType() works on objects that inherit methods from the specified type. For example, buttons may return true for IsObjectType("Frame").
Forum: Lua/XML Help 07-03-19, 12:33 PM
Replies: 1
Views: 384
Posted By SDPhantom
I'd check if prefix is equal to the one you...

I'd check if prefix is equal to the one you registered for your addon. If user has any other addons loaded that use the comms channel, it may crash yours when you start receiving their data as well....
Forum: Lua/XML Help 06-28-19, 02:36 PM
Replies: 5
Views: 425
Posted By SDPhantom
I would suggest setting the FontString in XML to...

I would suggest setting the FontString in XML to inherit from an ingame font initially, then change it from Lua when your config loads using Fontstring:SetFont()...
Forum: Lua/XML Help 06-28-19, 01:57 PM
Replies: 12
Views: 709
Posted By SDPhantom
Even though it should technically work, not...

Even though it should technically work, not checking form on /cast when /cancelform is to run invites a race condition where /cancelform may cancel the /cast if the server responds fast...
Forum: Lua/XML Help 06-26-19, 01:11 PM
Replies: 12
Views: 709
Posted By SDPhantom
It passes over /cast and triggers the following...

It passes over /cast and triggers the following /cancelform.





It shifts you into the appropriate sub-form, but it doesn't activate itself if it isn't already active.
Forum: Lua/XML Help 06-25-19, 12:54 PM
Replies: 12
Views: 709
Posted By SDPhantom
I don't think [form:0] exists. It's just [form]...

I don't think [form:0] exists. It's just [form] to match any. Also, /cancelform takes effect immediately and doesn't require a server response, making /stopmacro not actually work as you intended. On...
Forum: Lua/XML Help 06-18-19, 02:56 PM
Replies: 3
Views: 454
Posted By SDPhantom
/cancelform is a secure command, meaning it runs...

/cancelform is a secure command, meaning it runs a protected function. These are blocked from being run directly by addons. Long story short, the only way around this doesn't do what you're wanting,...
Forum: Lua/XML Help 06-18-19, 02:48 PM
Replies: 16
Views: 1,037
Posted By SDPhantom
If I remember right, the random hex number is the...

If I remember right, the random hex number is the pointer address you get when you tostring() the frame. The pseudo-name isn't registered as a global so you'll have to either enumerate the children...
Forum: General Authoring Discussion 06-15-19, 09:58 PM
Replies: 16
Views: 867
Posted By SDPhantom
It's actually BfA 8.0. As an example, the map...

It's actually BfA 8.0. As an example, the map system changed significantly between Legion and BfA.
Showing results 1 to 25 of 500