Showing results 1 to 25 of 94
Search took 0.01 seconds.
Search: Posts Made By: Billtopia
Forum: General Authoring Discussion 06-12-14, 08:04 AM
Replies: 4
Views: 1,084
Posted By Billtopia
so by running the scriptlette(well slightly...

so by running the scriptlette(well slightly different version as ran from within SlashMagic) I got the following after...
I also found by staring at blizzard code (FrameXML\ChatFrame.lua) that ID is...
Forum: General Authoring Discussion 06-11-14, 07:13 PM
Replies: 4
Views: 1,084
Posted By Billtopia
I tried both with over 100 addons loaded and this...

I tried both with over 100 addons loaded and this is what I got.

ChatTypeInfo["WHISPER"].id = 0
GetChatTypeIndex("WHISPER") = 8

the question is 'id' supposed to equal 'index'

I did notice that the...
Forum: General Authoring Discussion 06-10-14, 06:13 PM
Replies: 4
Views: 1,084
Posted By Billtopia
did you check to see what...

did you check to see what ChatTypeInfo["WHISPER"].r or ChatTypeInfo["WHISPER"].g or ChatTypeInfo["WHISPER"].b
ChatTypeInfo["WHISPER"].id has a description of ?? on http://www.wowwiki.com/ChatTypeInfo...
Forum: Lua/XML Help 05-11-14, 01:33 PM
Replies: 21
Views: 1,298
Posted By Billtopia
I see what you are saying there... that when...

I see what you are saying there... that when defining a method it adds the 'self' variable in before the function variables... I was thinking that it did it by setting the first variable to self

I...
Forum: Lua/XML Help 05-11-14, 06:54 AM
Replies: 21
Views: 1,298
Posted By Billtopia
that is not the self I meant... I know that he is...

that is not the self I meant... I know that he is specifically passing his frame by calling his function via a colon, what I meant is that when the "ADDON_LOADED" event fires it gives you 3...
Forum: Lua/XML Help 05-10-14, 12:59 PM
Replies: 21
Views: 1,298
Posted By Billtopia
I found your issue... the event handler you set...

I found your issue... the event handler you set up is wrong. it is supposed to be passed SELF, EVENT, ... you are, it seems, passing it nothing. no self, no event, and no ...

if you want to use...
Forum: Lua/XML Help 05-10-14, 09:52 AM
Replies: 21
Views: 1,298
Posted By Billtopia
so somewhere in your addon's lua file, like the...

so somewhere in your addon's lua file, like the first line you should have something like the following (outside of all functions)


local AddonName, AddonTable = ...


this will give you the name...
Forum: Lua/XML Help 05-09-14, 08:17 PM
Replies: 4
Views: 615
Posted By Billtopia
so this is what I came up with with an...

so this is what I came up with with an explanation and it even works

http://s.cdn.wowinterface.com/preview/pvw62618.jpg



local eframe = 0
local oldpos = -1
local oldLinePixels=...
Forum: Lua/XML Help 05-07-14, 07:42 PM
Replies: 4
Views: 615
Posted By Billtopia
I am not sure what is going on there... ...

I am not sure what is going on there... multiple overlapping editboxes overlaying a scrolling message frame? I get lost in the XML lol
Forum: Lua/XML Help 05-07-14, 05:18 PM
Replies: 4
Views: 615
Posted By Billtopia
EditBox with line numbers

I was wondering if anyone knows of a way to have line numbers attached to an editbox like in any standard IDE for coding you can have line numbers. I have written an addon called SlashMagic that...
Forum: Lua/XML Help 11-19-13, 01:53 PM
Replies: 15
Views: 1,578
Posted By Billtopia
all you need to know for an OnUpdate animation is...

all you need to know for an OnUpdate animation is a few things

how far does the item have to move?
how long is it supposed to take?
how long has it been?

so say you have to move something 100...
Forum: Lua/XML Help 11-14-13, 10:24 AM
Replies: 16
Views: 1,504
Posted By Billtopia
well you did say that you wanted to know if they...

well you did say that you wanted to know if they passed only numbers... converting to a number from the string will convert what (if anything) it can, not test for non numbers included as well
Forum: Lua/XML Help 11-14-13, 08:36 AM
Replies: 16
Views: 1,504
Posted By Billtopia
I was thinking that this may be better for you...

I was thinking that this may be better for you but not 100% the pattern is right. It should find any decimal number including decimals with a decimal portion and if that is the only thing on the line...
Forum: Lua/XML Help 10-06-13, 06:01 AM
Replies: 3
Views: 829
Posted By Billtopia
Thanks... those were exactly what I was looking...

Thanks... those were exactly what I was looking for...
Forum: Lua/XML Help 10-05-13, 03:03 PM
Replies: 3
Views: 829
Posted By Billtopia
Colored text within an editbox

so, in my addon Slash Magic, I have a large, multiline editbox for inputting lua scripts to turn into slash commands. Is there any method within WoW to do syntax coloring within an editbox or would I...
Forum: AddOn Search/Requests 08-16-13, 06:08 AM
Replies: 5
Views: 1,545
Posted By Billtopia
addons are not allowed to change the macros/...

addons are not allowed to change the macros/ bindings/ action bar page or any such things during combat... there are addons that can suggest what spell to cast next (like Spell Flash) they highlight...
Forum: AddOn Help/Support 08-10-13, 02:44 PM
Replies: 7
Views: 1,741
Posted By Billtopia
I seem to remember that as well... like on April...

I seem to remember that as well... like on April 1... lol
Forum: Lua/XML Help 08-09-13, 09:06 AM
Replies: 7
Views: 1,319
Posted By Billtopia
I know how to indirectly access the values in the...

I know how to indirectly access the values in the metatable when the keys are known as for basic addon settings where I make the list but the addon is being designed so that the user may change the...
Forum: Lua/XML Help 08-09-13, 07:20 AM
Replies: 7
Views: 1,319
Posted By Billtopia
So, I have to look at a metatable directly or not...

So, I have to look at a metatable directly or not at all... no fun there but it does make sense, I guess I will just load the default values into a saved variable on the first time the addon...
Forum: Lua/XML Help 08-08-13, 08:07 PM
Replies: 7
Views: 1,319
Posted By Billtopia
generic for and metatables.

I was wondering if a generic for ( in pairs ) can walk over values in a metatable from the parent table?
I can find nothing anywhere on if this can be done or if pairs can only walk the given table...
Forum: Lua/XML Help 08-06-13, 04:39 PM
Replies: 13
Views: 2,793
Posted By Billtopia
nevermind... I see you are only clearing one, not...

nevermind... I see you are only clearing one, not all in the lua... so it is all of my own, not all

DOH!!!

Thanks for the help
Forum: Lua/XML Help 08-06-13, 04:31 PM
Replies: 13
Views: 2,793
Posted By Billtopia
Thanks... hash_SlashCmdList["/MYCOMMAND"] =...

Thanks... hash_SlashCmdList["/MYCOMMAND"] = nil
works fine... (I had to do a /dump on it to see how it was indexed)

I found nothing on the hash table when I was looking for a way to remove the...
Forum: Lua/XML Help 08-06-13, 02:21 PM
Replies: 13
Views: 2,793
Posted By Billtopia
It needs the quotes as it will be a string...

It needs the quotes as it will be a string indexing the SlashCmdList table
the %s gets filled in with a string value from cmdName via the format
Forum: Lua/XML Help 08-06-13, 12:23 PM
Replies: 13
Views: 2,793
Posted By Billtopia
Removing slash commands

I was wondering how to remove a slash command once it has been added... I am making an addon that can take user supplied lua snippets and assign them to a slash command and want the option of having...
Forum: Carbonite: Bug Reports - Beta Release Version 05-13-13, 06:23 AM
Replies: 19
Views: 4,161
Posted By Billtopia
I have to say that this looks to be an awesome...

I have to say that this looks to be an awesome addition to Carbonite... and I think the Runes of Fate is a good addition as I am lucky if I remember to do that once every other week.
Showing results 1 to 25 of 94