Showing results 1 to 25 of 459
Search took 0.03 seconds.
Search: Posts Made By: myrroddin
Forum: Lua/XML Help 06-25-15, 11:15 AM
Replies: 5
Views: 133
Posted By myrroddin
Not sure about your question, but probably. I'm...

Not sure about your question, but probably. I'm not actively playing WoW to test code.

However, I see an unnecessary global lookup, where you already have a local to do the job:
local poi =...
Forum: AddOn Help/Support 06-21-15, 06:02 PM
Replies: 30
Views: 2,672
Posted By myrroddin
I started LibMapPins-1.0...

I started LibMapPins-1.0 (http://www.wowace.com/addons/lib-map-pins/) for this very reason, but left it for other real life concerns. Unfortunately, that means "ifs" and "buts". It is Open Source,...
Forum: Lua/XML Help 05-08-15, 03:46 PM
Replies: 11
Views: 632
Posted By myrroddin
You can add some readability and breathing room...

You can add some readability and breathing room by breaking chunks into paragraphs. Also, when localizing, you can refer to the global strings...
Forum: Lua/XML Help 05-06-15, 07:35 AM
Replies: 11
Views: 632
Posted By myrroddin
If you want your saved variables' table structure...

If you want your saved variables' table structure to look more like your example, then change this line:
HistoriaDB["Level"] = {time = GetTime(), level = player_level}
Forum: Lua/XML Help 05-06-15, 07:31 AM
Replies: 11
Views: 632
Posted By myrroddin
Yes there is a simple way: don't use XML. XML is...

Yes there is a simple way: don't use XML. XML is really only for setting up a frame that never changes, but you can do 99.9% of all frame related things in Lua, which is infinitely easier to read,...
Forum: Lua/XML Help 05-06-15, 07:12 AM
Replies: 5
Views: 436
Posted By myrroddin
ADDON_LOADED fires for every AddOn the game...

ADDON_LOADED fires for every AddOn the game loads, user developed or Blizzard in origin.
local MyAddOn, private_table = ...

private_table.eventFrame =...
Forum: General WoW Chat 05-05-15, 08:47 AM
Replies: 4
Views: 681
Posted By myrroddin
My turn...

I just read Cladhaire's beautiful farewell post. Even if it is not forever, he has earned a long overdue break. I am not up to writing even remotely on par, so I will cut to the chase: I too need a...
Forum: Cladhaire's Mods 05-05-15, 08:32 AM
Replies: 10
Views: 2,191
Posted By myrroddin
Cladhaire, I have bought World of Warcraft...

Cladhaire, I have bought World of Warcraft Programming, first and second editions. Without them, I can conclusively say that writing AddOns would be still a day dream for me. You cannot know how much...
Forum: AddOn Search/Requests 05-01-15, 07:25 PM
Replies: 12
Views: 695
Posted By myrroddin
Ah, that makes sense now.

Ah, that makes sense now.
Forum: AddOn Search/Requests 04-30-15, 08:27 PM
Replies: 3
Views: 235
Posted By myrroddin
I use FlightMap Enhanced, which shows all the...

I use FlightMap Enhanced, which shows all the flight masters, even the ones you do not have. Keep in mind, you cannot, AFAIK, fly to points you have not explored enough to get the flight masters. You...
Forum: AddOn Search/Requests 04-30-15, 08:21 PM
Replies: 12
Views: 695
Posted By myrroddin
Of course, in Routes' case, you do not need to do...

Of course, in Routes' case, you do not need to do the trick listed above in the Curse Client, as the latest version is Release. How you managed to download and install an ancient version is quite the...
Forum: AddOn Search/Requests 04-30-15, 08:18 PM
Replies: 12
Views: 695
Posted By myrroddin
When you say "auto installed" I assume you are...

When you say "auto installed" I assume you are using the Curse Client.

In the Client, RIGHT click any AddOn and a menu opens. One of the options is preferred release type. Select Beta rather than...
Forum: Lua/XML Help 04-29-15, 02:05 AM
Replies: 11
Views: 535
Posted By myrroddin
I'm curious why you are loading Broker2Fubar when...

I'm curious why you are loading Broker2Fubar when Fubar doesn't exist anymore? It has been dead for years.
Forum: AddOn Help/Support 04-26-15, 02:29 AM
Replies: 10
Views: 551
Posted By myrroddin
Find the path to the sound file within the game...

Find the path to the sound file within the game that plays when you level up.
Create an empty txt file and rename the extension to .ogg, with the same file name as the file in step one (you don't...
Forum: Lua/XML Help 04-25-15, 04:32 PM
Replies: 18
Views: 1,230
Posted By myrroddin
Now, this is interesting: GIIR has three...

Now, this is interesting: GIIR has three arguments: userdata, event, itemID. I think the syntax will be
GET_ITEM_INFO_RECEIVED(userdata, event, itemID)
userdata -- the player unit's GUID? It is in...
Forum: Lua/XML Help 04-25-15, 04:13 PM
Replies: 18
Views: 1,230
Posted By myrroddin
I can't remove things from retrainer_item_ids,...

I can't remove things from retrainer_item_ids, because if the user ever resets the profiles, or otherwise deletes or clears their saved variables within the game, I need something from which to...
Forum: Lua/XML Help 04-25-15, 12:37 PM
Replies: 18
Views: 1,230
Posted By myrroddin
BankNorris, thank you for the suggestion. I do...

BankNorris, thank you for the suggestion. I do have a table length nil value error, and while I can guess which table (the global saved vars), I am unsure why. What follows is the error and my full...
Forum: Lua/XML Help 04-25-15, 12:18 AM
Replies: 18
Views: 1,230
Posted By myrroddin
D'oh! I wasn't thinking about that heh heh. Other...

D'oh! I wasn't thinking about that heh heh. Other than that (major) oversight, how does it look? Could it work? I edited the code above.
Forum: Lua/XML Help 04-24-15, 11:51 PM
Replies: 18
Views: 1,230
Posted By myrroddin
This is dry-coded and not tested. It is written...

This is dry-coded and not tested. It is written for Ace3, but easily converted frame/event code. I am assuming BankNorris is correct and that GIIR does return an itemID.
-- retraining items
local...
Forum: Lua/XML Help 04-24-15, 04:04 PM
Replies: 18
Views: 1,230
Posted By myrroddin
Should I wait until Seerah looks into this? I am...

Should I wait until Seerah looks into this? I am no no rush.
Forum: Lua/XML Help 04-24-15, 07:17 AM
Replies: 18
Views: 1,230
Posted By myrroddin
I like Seerah's file as a learning tool. After I...

I like Seerah's file as a learning tool. After I get some sleep, I will code something up, which will look similar to Broker_WoDCurrency, test it, and post back with results.

Incidentally, while at...
Forum: Lua/XML Help 04-23-15, 04:58 PM
Replies: 18
Views: 1,230
Posted By myrroddin
That is really hard to follow. At least it works...

That is really hard to follow. At least it works for you, though. I did notice in your function you have a table.insert with an i index, but I don't see a loop for that. Am I missing...
Forum: Lua/XML Help 04-23-15, 11:01 AM
Replies: 18
Views: 1,230
Posted By myrroddin
GetItemInfo vs WoW's cache

I completely forgot that unless an item has been seen by your client, GetItemInfo(id) returns nil. I would like a table and a string to be populated even if the client hasn't seen the items. After...
Forum: Lua/XML Help 04-19-15, 09:36 AM
Replies: 12
Views: 620
Posted By myrroddin
That is a horrible global name for a variable....

That is a horrible global name for a variable. Add the word local in front.
Forum: Lua/XML Help 04-05-15, 07:46 PM
Replies: 3
Views: 645
Posted By myrroddin
I cross posted when I rediscovered the Masque...

I cross posted when I rediscovered the Masque official forum; it has the latest code snippets, and some images.

http://forums.wowace.com/showthread.php?t=19661&page=20

As for registering buttons...
Showing results 1 to 25 of 459