Showing results 1 to 22 of 22
Search took 0.00 seconds.
Search: Posts Made By: Voyager
Forum: Lua/XML Help 11-01-16, 04:02 PM
Replies: 5
Views: 4,859
Posted By Voyager
Just force it to be cached on ui load. local f...

Just force it to be cached on ui load.


local f = CreateFrame("Frame")
f:RegisterEvent("PLAYER_LOGIN")
f:SetScript("OnEvent", function(self, event,...
Forum: Legion Beta archived threads 10-28-16, 03:56 PM
Replies: 17
Views: 16,768
Posted By Voyager
Thanks for that. Modified it a bit and tested it,...

Thanks for that. Modified it a bit and tested it, setting the font itself seemed unnecessary.


local function FixFontShadow(obj)
local x, y = obj:GetShadowOffset()
if y > -2 and y < 0...
Forum: AddOn Search/Requests 09-22-16, 04:45 AM
Replies: 19
Views: 7,625
Posted By Voyager
Use...

Use http://www.wowinterface.com/downloads/info23387-PremadeFilter.html

it can filter out other "regions".
Forum: Lua/XML Help 02-08-16, 06:13 AM
Replies: 4
Views: 2,660
Posted By Voyager
Didn't they fix the font to show european and...

Didn't they fix the font to show european and russian letters correctly? You could also use a font that can show both.
Forum: AddOn Search/Requests 08-23-15, 11:48 AM
Replies: 4
Views: 3,598
Posted By Voyager
What will you do if someone exists on Terenas or...

What will you do if someone exists on Terenas or Emerald who has the exact same name and class as one of the people on your own realm? It would then look like someone is talking to himself, or one...
Forum: AddOn Search/Requests 01-31-15, 09:57 AM
Replies: 6
Views: 4,557
Posted By Voyager
That's not really a good measure, as it doesn't...

That's not really a good measure, as it doesn't account for soaking spores on Brackenspore, soaking orbs on Ko'ragh, cleaves on Butcher, wraths and getting fixates by warmages on Mar'gok and similar...
Forum: Lua/XML Help 01-31-15, 09:48 AM
Replies: 21
Views: 7,587
Posted By Voyager
Seems like this could do the trick: gsub(name,...

Seems like this could do the trick:
gsub(name, "%-[^ >]+", "")

Upvaluing gsub instead of using string.gsub or name:gsub is also faster.
Forum: Lua/XML Help 01-31-15, 08:16 AM
Replies: 21
Views: 7,587
Posted By Voyager
Try this one: local name =...

Try this one:

local name = "PêtName-Aggra'mar(Português) <Ownêrname-Aggra'mar(Português)>"
if strfind(name, " <") then
name = gsub(name, "%-[^ ]+([ >])", "%1")
else
name...
Forum: AddOn Search/Requests 12-18-14, 10:10 PM
Replies: 16
Views: 18,579
Posted By Voyager
It's an issue with the minimap tracking icon...

It's an issue with the minimap tracking icon tooltips.
Easy to reproduce, mouse over some tracking icon that is close to the edge of the minimap, then quickly move the mouse out across the edge of...
Forum: Lua/XML Help 11-02-14, 01:41 AM
Replies: 31
Views: 11,522
Posted By Voyager
Couldn't one just do the following? local title,...

Couldn't one just do the following?

local title, M = ...;
M = CreateFrame("Frame", title);

M:RegisterEvent(event, function(self, ...)
-- ...
-- where self == M and self[key] == M[key]
end);
Forum: AddOn Help/Support 11-02-14, 12:58 AM
Replies: 9
Views: 5,135
Posted By Voyager
That list isn't good, as it includes addons that...

That list isn't good, as it includes addons that have been deleted long ago, and it's not sorted alphabetically either.

After further research I found that it also includes addons I never had....
Forum: Lua/XML Help 11-02-14, 12:49 AM
Replies: 31
Views: 11,522
Posted By Voyager
What's the point of the red parts?

What's the point of the red parts?
Forum: AddOn Help/Support 12-30-12, 09:41 AM
Replies: 25
Views: 24,212
Posted By Voyager
They just need to give us an option to disable...

They just need to give us an option to disable the script throttle.
They can even make it a protected function similar to Talents, so that it can only be switched on and off by the player, not addons.
Forum: General Authoring Discussion 12-19-12, 10:15 AM
Replies: 2
Views: 3,449
Posted By Voyager
Check the 4th and 5th result of GetMapInfo().

Check the 4th and 5th result of GetMapInfo().
Forum: General Authoring Discussion 12-14-12, 09:40 AM
Replies: 6
Views: 7,482
Posted By Voyager
You could run the SetMapByID() for 1-1000 to...

You could run the SetMapByID() for 1-1000 to retrieve the names with GetMapNameByID() and store it in a table.

http://www.wowpedia.org/API_GetMapNameByID
Forum: MoP Beta archived threads 07-06-12, 08:46 PM
Replies: 3
Views: 9,018
Posted By Voyager
http://www.wowpedia.org/Patch_5.0.1/API_changes I...

http://www.wowpedia.org/Patch_5.0.1/API_changes

It's right there on that page.
Forum: MoP Beta archived threads 07-06-12, 05:31 PM
Replies: 258
Views: 181,374
Posted By Voyager
Recount still uses getglobal(), there are...

Recount still uses getglobal(), there are probably many more active addons using it.
Forum: MoP Beta archived threads 07-05-12, 10:30 AM
Replies: 8
Views: 10,245
Posted By Voyager
That's quite alot of them! O_O I did a quick...

That's quite alot of them! O_O
I did a quick check on the Venture Co Mine in Mulgore and found some odd results.
GetNumDungeonMapLevels() returns 1, 7
GetCurrentMapDungeonLevel() returns 7, -1559,...
Forum: MoP Beta archived threads 07-05-12, 07:14 AM
Replies: 8
Views: 10,245
Posted By Voyager
Scenarios have their own mapID. The only maps I...

Scenarios have their own mapID. The only maps I found that are classified as microDungeon are the 2 faction shrines.

I just rewrote the GetMapInfo function to get around it.


local function...
Forum: MoP Beta archived threads 07-03-12, 09:33 PM
Replies: 258
Views: 181,374
Posted By Voyager
GetSpecializationInfo(GetSpecialization()) -----...

GetSpecializationInfo(GetSpecialization())


--------
It seems like the world's map size has become very inconsistent. Depending on where I measure it from, it gives me different results.

World's...
Forum: Wish List 12-04-11, 12:42 AM
Replies: 8
Views: 22,707
Posted By Voyager
Yeah, you need to query each item twice to get...

Yeah, you need to query each item twice to get any results now.
Forum: AddOn Search/Requests 11-30-11, 02:40 AM
Replies: 10
Views: 6,174
Posted By Voyager
That's the reforgeId.

That's the reforgeId.
Showing results 1 to 22 of 22