Ike
Player-
Content count
66 -
Joined
-
Last visited
Everything posted by Ike
-
First of all, don't use that wiki. The name is misleading as the site contains information from all kinds of patches (at least up to WotLK). Save yourself some trouble by using http://wow.gamepedia.com/ instead and just click "History" in the top right and go back to around August of 2006 on the sites you're interested in (I know that TBC released in December, but many sites were being updated before that). In contrast to the vanilla-wow wiki, this one was actually trying to be accurate. Regarding your problem: http://wow.gamepedia.com/index.php?title=API_UnitDebuff&oldid=204497 for i = 1, 16 do local debuffTexture, debuffApplications, debuffDispelType = UnitDebuff("player", i); if debuffDispelType then DEFAULT_CHAT_FRAME:AddMessage(debuffDispelType); end end This is how you'd use the function.
-
Argument being passed as nil to original function when post-hooking
Ike replied to Markk's topic in UI, AddOns & Macros
No, the first example is still wrong. Look at my original answer. function Table:Function(arg) end is the same thing as Table.Function = function(self, arg) end Which means that these two are also identical: Table:Function("meow") Table.Function(Table, "meow") Therefore, using the OP's post, the only valid first argument is the table "MTweaks" or its more generic equivalent "self" (since it's used in a "Table:Function" context). While it is true that it wouldn't cause an error in the example Markk posted, it can still later down the line bite him in the ass if he starts calling functions using "self" (e.g. self:Foobar()). In case I don't make much sense (it's 7 am and I haven't had my coffee), here's a link that describes it pretty well: https://coronalabs.com/blog/2015/12/01/tutorial-understanding-the-colon-vs-dot-operator/ -
Argument being passed as nil to original function when post-hooking
Ike replied to Markk's topic in UI, AddOns & Macros
Sure, you could also do it like that. Personally, I'd just pass the "self" down to the hook, however. -
Argument being passed as nil to original function when post-hooking
Ike replied to Markk's topic in UI, AddOns & Macros
This is a common gotcha for Lua newcomers! Let me explain: When you have a method like this: function SomeTable:SomeFunction(arg) end it is essentially a shorthand for this: SomeTable.SomeFunction = function(self, arg) end In case you have a C++ background, you can see the "self" as the "this pointer" that also gets implicitly passed to a method when you call it. So in order to fix it, you'd have to call the original function like this: local hookedFunction = SomeTable.OriginalFunction; function SomeTable:HookedCall(arg) hookedFunction(self, arg) end Edit: @gashole: No, your first example is wrong. With your code: local Table = {} function Table:OriginalFunction(arg) self:SomeOtherFunction(arg) -- uh oh! end local hookedFunction = Table.OriginalFunction; function Table:HookedCall(arg) hookedFunction(event, arg) end Table.OriginalFunction = Table.HookedCall -- then inside an event handler Table:OriginalFunction("this will break!") Since "Table.OriginalFunction" expects "Table" as its first argument, you'd get an error because "event" isn't said table. -
https://forum.elysium-project.org/topic/23671-sweetfx-preset-less-is-more-by-mrpresident/#comment-248589
-
Thank you.
-
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
Oh, I did skip you. I hope you can accept an apology in form of a really quick hotfix! This should be working now. -
I must ask you to remove my Addons from your website. These include: BetterAlign - http://elysiumaddons.com/index.php?/file/27-betteralign/ CastModifier - http://elysiumaddons.com/index.php?/file/48-castmodifier-tbc-and-above-like-conditionals-for-cast-macros/ Not only did you not provide any information on the original author (yet you straight up copied my readmes and wiki entries), but sites like these usually don't maintain their gallery which means that people downloading the Addons have very old builds that are incompatible with other Addons or contain bugs.
-
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
Works fine for me. Try disabling all other Addons, testing the macro and then enabling them again one at a time. Might be a compatibility issue. If you can tell me what Addon is causing this, then I can try to fix it. Huh, in the Addon's description it says it accounts for the Auto Shot timer. You might want to send Shino a PM. I can't confirm this. Would you mind sharing your macros so I can verify them? I haven't and I don't know how useful this would be. For example, if you have a macro like this: /cast [pet:voidwalker] Sacrifice /cast [pet:fehlhunter] Devour Magic Why not just move the abilities on the same button on the pet action bar? Could you give me an example that wouldn't be covered by this? -
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
I just finished working on the next big update! Implemented '/use' chat command with full support for all conditionals (wiki)! Implemented '/equip' and '/equipoh' chat commands with full support for all conditionals (wiki)! As always, make sure to re-download the Addon if you want to use the latest and greatest features! This might be something I'll add in the feature. But I'm not sure yet, as this is a very niche use case. Not in this Addon, but there is one created by Geigerkind (Shino) that pretty much does the entire Hunter rotation for you. Might be worth a look. https://github.com/Geigerkind/OneButtonHunter -
It doesn't. I have yet to find a good way of doing this.
-
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
I'm sorry, but I don't understand what your problem is. Your button is red (which you're fine with) but you can click it? Would you mind clarifying that a little bit? The more time you put into this, the easier it will be for me to figure things out! :) There's no way that macro is causing the error. First of all, it doesn't even trigger the Addon (which only reacts to chat commands that start with "/cast", "/target" or "/petattack") and second, if "CastSpellByName" is undefined then you're having a pretty serious issue. Maybe some other Addon is causing troubles or your WoW installation might be broken. So seeing as your macro doesn't require this Addon at all, I'd advise in turning all Addons off and then try it again. If you're still having the error, you should re-download WoW. If it does go away, turn my Addon back on again and test it. If the error message returns I'm going to have some serious issues. If it doesn't, however, you should enable your Addons one at a time while testing the macro. This way you can see which one is actually causing your troubles. If you can tell me what Addon is causing the issue, I can look into it and maybe fix any compatibility issues. -
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
I see that this might be a problem and have therefore added the new "[my]rawpower" conditional. You can use it like this: /cast [myrawpower<205] !Mind Flay(Rank 1); !Mind Flay This will do exactly what you want! Just re-download the Addon from my Github page and you're good to go! -
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
You can do that on a percentage basis: /cast [mypower>10] !Mind Flay; !Mind Flay (Rank 1) Will cast the highest rank of Mind Flay when you have more than 10% mana or Mind Flay rank 1 if you have less than that (or an equal amount). If you want it to be exact you need to do the math which should be easy enough. -
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
I can't think of any better way of doing this than the mouseover macro. Back in TBC I used something like this: /target Poison Cleansing Totem /target Grounding Totem /target Windufry Totem /petattack But this will not re-target your original target. -
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
The easiest way to do this would be like this: /cast [stance:0] Bear Form This will cast Bear Form when you're not shapeshifted. -
From the addon's Wiki page: This should answer your question! :)
-
Get this addon and use the following macro: /cast [nobuff:Shadow_Word @target] Shadow Word: Pain; Smite While the addon might be a bit overkill for this one macro, it enables you to write many more advanced macros like this one without having to know a single thing about Lua!
-
The macro allows you to spam click Mind Flay and only have it cast again once the currently channeled one has finished.
-
Never played on feenix and never used their forums. :p But I'm glad you're liking the Addon!
-
[AddOn] CastModifier - TBC and above like Conditionals for /cast macros
Ike replied to Ike's topic in UI, AddOns & Macros
Thank you for reporting this bug! Should be fixed. Almost. You can read your macro as "If I have more than 80% rage, cast Heroic Strike. If I have less than that, cast Mortal Strike". So only one of the two will be cast. If you always want to cast Mortal Strike and additionally Heroic Strike, you'd need something like this: /cast [mypower>80] Heroic Strike /cast Mortal Strike If I have more than 80% rage, cast Heroic Strike. Alway cast Mortal Strike -
If you're not against using Addons try CastModifiers. This allows you to make macros like: /cast !Mind Flay This does exactly what you want and is actually readable!
-
[AddOn] SmallerRollframes - Make your roll frames smaller!
Ike posted a topic in UI, AddOns & Macros
Greetings, quite a while ago, a good friend of mine asked me to create an Addon that looks and feels similar to XLootGroup because the default roll frames were too big for him. This is what I've come up with and I'd like to share it with you too! Screenshot: You can drag the bottom most frame around (the others are "glued" to it) by typing "/smrf toggle move" in chat. You can find an up-to-date version of the Addon on my Github page: To Github Feel free to send me your feedback! Cheers, Ike -
You should check out my CastModifier Addon! It adds a ton of macro features that were introduced with TBC and later. It doesn't support /equip and /use, though, but I'll add them as soon as I have some free time!
-
That version is for a German speaking private server. So unless you're playing there and you're not modifying it yourself, expect the timers to be wrong on some bosses.
