Showing results 1 to 20 of 20
Search took 0.00 seconds.
Search: Posts Made By: benots4
Forum: General Authoring Discussion 10-30-20, 09:17 AM
Replies: 5
Views: 6,603
Posted By benots4
Thanks! local button = _G[barName .. 'Button' .....

Thanks!
local button = _G[barName .. 'Button' .. j]
local slot = button:GetPagedID() or button:CalculateAction() or button:GetAttribute('action')

works great.
although, could you explain why...
Forum: General Authoring Discussion 10-29-20, 03:55 PM
Replies: 5
Views: 6,603
Posted By benots4
Global Environmental Variables nil

I have a snipit of code I got from this site has broken by pre patch. The error I get now is nil value for ActionButton_GetPagedID(button).. button being nil. Seems like the environment function...
Forum: AddOn Help/Support 09-04-20, 02:24 PM
Replies: 17
Views: 12,928
Posted By benots4
Thanks again for your help. I think you fixed...

Thanks again for your help. I think you fixed it with the table loading order.
max = AMine.db.profile.actionsCnt now works
Forum: AddOn Help/Support 09-04-20, 12:33 PM
Replies: 17
Views: 12,928
Posted By benots4
Thanks. I did exactly as you described, except...

Thanks. I did exactly as you described, except for changing all the function names but I will. However max is still not set. I made the names unique and removed the AMine.db.profiles . Still...
Forum: AddOn Help/Support 09-04-20, 08:15 AM
Replies: 17
Views: 12,928
Posted By benots4
local DebugLevel = 3 local THISAP = "AMine" AMine...

local DebugLevel = 3
local THISAP = "AMine"
AMine = LibStub("AceAddon-3.0"):NewAddon("AMine")
--local ActionBars =...
Forum: AddOn Help/Support 09-03-20, 04:27 PM
Replies: 17
Views: 12,928
Posted By benots4
okay,,, can you show me what those commands would...

okay,,, can you show me what those commands would look like.
Forum: AddOn Help/Support 09-03-20, 01:46 PM
Replies: 17
Views: 12,928
Posted By benots4
AMine is the name of the addon. AMineDB is the...

AMine is the name of the addon. AMineDB is the name of the options file. I moved the init functions from the AMine:OnItitialize() to AMine:OnEnable(). No effect. the init code is

function...
Forum: AddOn Help/Support 09-03-20, 01:04 PM
Replies: 17
Views: 12,928
Posted By benots4
elseif event == "PLAYER_LOGIN" then AMineDB =...

elseif event == "PLAYER_LOGIN" then
AMineDB = copyDefaults(defaults, AMineDB)
Forum: AddOn Help/Support 09-03-20, 12:52 PM
Replies: 17
Views: 12,928
Posted By benots4
max = actionCnt doesn't throw an error so thats...

max = actionCnt doesn't throw an error so thats good, but it doesn't set max either. in the db actionCnt is 19 but max is set to 100 (default). I put a print (actionCnt) in the get function and I...
Forum: AddOn Help/Support 09-03-20, 09:59 AM
Replies: 17
Views: 12,928
Posted By benots4
aceconfig-3.0 options type range set max

Using AceConfig-3.0 Options Tables type "ranged" to display a slider, all is good. Except how do you dynamically set the max value? One example attempt shown below throws error about "db" being...
Forum: General Authoring Discussion 08-09-20, 12:19 PM
Replies: 1
Views: 9,881
Posted By benots4
Item use text

looking for a way to get an items use text ( "Use: Instantly restores 25% health" ) from either the action bar slot number or ItemId.
Forum: General Authoring Discussion 11-22-17, 07:40 AM
Replies: 9
Views: 2,739
Posted By benots4
Localization is good so have at it. :)

Localization is good so have at it. :)
Forum: General Authoring Discussion 11-20-17, 06:26 PM
Replies: 9
Views: 2,739
Posted By benots4
seems like a lot of maintenance to keep spell...

seems like a lot of maintenance to keep spell IDs. Readyspells gets the spell names from the spell book. Which would already be localized. without maint. The next expac the spell ID list needs...
Forum: AddOn Help/Support 09-19-14, 07:18 PM
Replies: 9
Views: 4,329
Posted By benots4
Just so you know I figured it out, or at least a...

Just so you know I figured it out, or at least a work around. If you run into this again do not set text when the button/fontstring is created, don't even put a SetText(text). Only set text in the...
Forum: AddOn Help/Support 09-19-14, 06:40 AM
Replies: 9
Views: 4,329
Posted By benots4
Thanks for your help. I put your function as a...

Thanks for your help. I put your function as a separate function, same result, broke into 3 functions same affect, and then decided to put it all in one exactly as you suggested, same effect. ...
Forum: AddOn Help/Support 09-18-14, 06:41 PM
Replies: 9
Views: 4,329
Posted By benots4
That didn't work either. In the function below v...

That didn't work either. In the function below v is set by the scroll bar. Here are screen shots.
After init before scrolling: https://dl.dropboxusercontent.com/u/52549135/beforScroll.jpg
Post...
Forum: AddOn Help/Support 09-18-14, 06:42 AM
Replies: 9
Views: 4,329
Posted By benots4
I know the code I posted is whacked, I have been...

I know the code I posted is whacked, I have been trying a lot of different things, local, named, not named, buttons, frames, creating new, reusing. Just about to delete the whole mess and say it...
Forum: AddOn Help/Support 09-17-14, 05:03 PM
Replies: 9
Views: 4,329
Posted By benots4
Overwriting text

I am making something like a scroll frame, a frame containing several rows of frames that I want to write text in and then scroll through. I can do that fine only each update writes the new text...
Forum: AddOn Search/Requests 08-22-14, 02:01 PM
Replies: 22
Views: 9,341
Posted By benots4
I spent about an hour yesterday. I found Guild...

I spent about an hour yesterday. I found Guild Roles to be pretty old and mostly broken. It appears to me that the automatic updates are done on a group change event. So the count of raids would...
Forum: MoP Beta archived threads 08-04-12, 03:35 PM
Replies: 0
Views: 4,656
Posted By benots4
Readyspells -MOP version

Readyspells has been updated for beta and ready for down load.

Ready spells monitors selected spells and displays them in a display bar. I like to have horizontal just above my toons head. Spell...
Showing results 1 to 20 of 20