Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 28
Search took 0.01 seconds.
Search: Posts Made By: Eommus
Forum: Lua/XML Help 02-25-18, 01:59 AM
Replies: 10
Views: 5,489
Posted By Eommus
Thank you all for your inputs. I tried the...

Thank you all for your inputs.

I tried the following, based on zork's sample code:

function SellAllInBag(bag)
for slot = 1, GetContainerNumSlots(bag) do
UseContainerItem(bag,...
Forum: Lua/XML Help 02-23-18, 03:36 AM
Replies: 10
Views: 5,489
Posted By Eommus
Adding a delay to the execution of a loop

Hi,

I use the following code to sell all items in a given bag, which is triggered when I click a Sell button for that bag.

function SellAllInBag(bag)
for slot = 1, GetContainerNumSlots(bag)...
Forum: Lua/XML Help 01-07-18, 03:19 AM
Replies: 3
Views: 1,777
Posted By Eommus
@Ammako, thank you very much! I should have...

@Ammako, thank you very much! I should have thought of what you suggested as the alternative method, as I did similar things before for sound files.

I exported the icon image file, deleted the house...
Forum: Lua/XML Help 01-06-18, 05:28 AM
Replies: 3
Views: 1,777
Posted By Eommus
How to hide house icons on the world map?

Hi,

Is there a way to hide the small house icons on the world map?

https://imgur.com/TUKIL5M

I was able to hide instance boss icons using

WorldMapBossButtonFrame:Hide()
Forum: Lua/XML Help 09-10-17, 12:28 AM
Replies: 4
Views: 1,383
Posted By Eommus
Thanks! I hadn't noticed that before. Thanks...

Thanks! I hadn't noticed that before.



Thanks for the addon link. I will check it and see if I can grab the code from it that will do what I want. I like using my own custom simple addons just...
Forum: Lua/XML Help 09-02-17, 03:39 AM
Replies: 4
Views: 1,383
Posted By Eommus
Hide gray stats on item tooltips

Hi,

After Patch 7.3 it seems they added alternate stats to mostly all old items, which appear on item tooltips as gray stats:

https://imgur.com/a/4xeKO


As a Warrior, seeing Agility or Intellect...
Forum: Lua/XML Help 07-06-17, 01:39 AM
Replies: 2
Views: 708
Posted By Eommus
Thank you very much! I modified it like the...

Thank you very much! I modified it like the following and it displays the item level for items I don't have too.

local function Add_Item_Level(tooltip)
local itemLink = select(2,...
Forum: Lua/XML Help 07-05-17, 04:22 AM
Replies: 2
Views: 708
Posted By Eommus
Custom tooltip text not displaying for Tradeskill window items I don't possess

Hi,

I use the following code to display the "item level" of an item (all items except armor and weapon) next to its name. Ex: "Heavy Kodo Stew (35)".

local function Add_Item_Level(tooltip)
local...
Forum: Lua/XML Help 06-06-17, 01:40 AM
Replies: 11
Views: 1,944
Posted By Eommus
Thanks, I guess I can live with that.

Thanks, I guess I can live with that.
Forum: Lua/XML Help 06-03-17, 05:10 AM
Replies: 11
Views: 1,944
Posted By Eommus
Thank you. Your code hides the main menu bar and...

Thank you. Your code hides the main menu bar and bottom left bar, while keeping other bars visible, as I needed. Just a small issue though: When I open Game Menu > Interface > ActionBars and play...
Forum: Lua/XML Help 06-03-17, 01:10 AM
Replies: 11
Views: 1,944
Posted By Eommus
Apparently, the effort I am showing as a beginner...

Apparently, the effort I am showing as a beginner is not enough to ask questions on this site. If I knew of everything you or others suggested, I wouldn't be asking questions on the forums. Sorry for...
Forum: Lua/XML Help 06-02-17, 01:18 AM
Replies: 11
Views: 1,944
Posted By Eommus
Thanks, I tried your code (with all other addons...

Thanks, I tried your code (with all other addons disabled) but it did nothing.



Thanks, your code hides also other actionbars such as Bottom Right Bar, Right Bar, Right Bar 2, as well as micro menu...
Forum: Lua/XML Help 06-01-17, 05:47 AM
Replies: 11
Views: 1,944
Posted By Eommus
Hide "Main Action Bar" and "Bottom Left Bar"

Hi,

I am working on a simple addon which:

1. By default, will hide the main action bar (the action bar on the bottom left of the screen with 12 spell slots) and bottom left action bar (which is...
Forum: Lua/XML Help 05-26-17, 07:52 AM
Replies: 16
Views: 2,458
Posted By Eommus
I had clicked that link and studied that and...

I had clicked that link and studied that and other files of Blizzard earlier. But as a newbie, it is hard for me to figure out what a code block does by looking at it. For example, I didn't...
Forum: Lua/XML Help 05-26-17, 01:08 AM
Replies: 16
Views: 2,458
Posted By Eommus
Thanks, that's enough to know. I didn't quite...

Thanks, that's enough to know.



I didn't quite understand what the above code does. If it is possible, could you explain what each line does? I like using code I understand, so that I can modify it...
Forum: Lua/XML Help 05-24-17, 10:45 PM
Replies: 16
Views: 2,458
Posted By Eommus
Thank you all for the tips. I was able to finish...

Thank you all for the tips. I was able to finish it just the way I wanted and also published it, in case others might need the same thing. It will definitely save me a lot of time and mouse moving in...
Forum: Lua/XML Help 05-24-17, 11:16 AM
Replies: 16
Views: 2,458
Posted By Eommus
@MunkDev Thank you, I feel I am on the right...

@MunkDev Thank you, I feel I am on the right track. I now have:

local f = CreateFrame("GameTooltip", "tooltip", UIParent, "GameTooltipTemplate")
f:SetOwner(self,...
Forum: Lua/XML Help 05-24-17, 09:59 AM
Replies: 16
Views: 2,458
Posted By Eommus
Displaying item tooltip to the right of profession window.

Hi,

I am building a simple addon that will display the tooltip of the output item of a recipe to the right top of the profession window, when that recipe is clicked in the profession window recipes...
Forum: Lua/XML Help 05-23-17, 01:31 AM
Replies: 21
Views: 1,996
Posted By Eommus
Thanks for the tip for getting the player name...

Thanks for the tip for getting the player name (instead of checking with a manually generated array), much better.

I tested and I can confirm that my addon does not store items in these cases:

- If...
Forum: Lua/XML Help 05-20-17, 11:25 AM
Replies: 21
Views: 1,996
Posted By Eommus
Actually, I have a little more details in my...

Actually, I have a little more details in my actual addon which were not relevant to what I was asking here, so I omitted them. For example, I store other item info too (itemId, itemName, itemLevel,...
Forum: Lua/XML Help 05-20-17, 07:30 AM
Replies: 21
Views: 1,996
Posted By Eommus
Thanks to all the tips and help on this thread, I...

Thanks to all the tips and help on this thread, I was finally able to finish my addon using the following. If you think it can be improved (i.e. made more efficient), please let me know.

LootLog =...
Forum: Lua/XML Help 05-20-17, 06:03 AM
Replies: 21
Views: 1,996
Posted By Eommus
Thank you, I will continue from this and see how...

Thank you, I will continue from this and see how to get itemlink.

Isn't there a way to directly trigger at CHAT_MSG_LOOT event, rather than checking all events and triggering IF the event is...
Forum: Lua/XML Help 05-20-17, 12:36 AM
Replies: 21
Views: 1,996
Posted By Eommus
Thank you. It looks using CHAT_MSG_LOOT is more...

Thank you. It looks using CHAT_MSG_LOOT is more efficient than using BAG_UPDATE. I would assume, CHAT_MSG_LOOT is fired for any type of item acquisition. I will study how CHAT_MSG_LOOT works and try...
Forum: Lua/XML Help 05-19-17, 01:22 PM
Replies: 21
Views: 1,996
Posted By Eommus
Interestingly, the code I have in post #6 above...

Interestingly, the code I have in post #6 above stores only items I acquire. It does not store everything in my bags. It looks it is not working as it should, but it is doing what I need it to...
Forum: Lua/XML Help 05-19-17, 10:06 AM
Replies: 21
Views: 1,996
Posted By Eommus
Yes, I read that it is done like that to save...

Yes, I read that it is done like that to save data between sessions. Though, I am just a newbie to LUA, so, just trying to stitch together bits of info here or there.



How do you calculate 183? I...
Showing results 1 to 25 of 28