 |
08/27/10, 10:44 AM
|
#556
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
So now everything seems to work, as long you use the custombars that´s done from start.
Tried to remove all by setting this tag , --]] , at end of the document.
A tag I assume means something in the terms of , "end of comment". I also tried to just simply remove all of the bars.

Date: 2010-08-27 16:38:20
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SquawkAndAwe\SquawkAndAwe.lua line 387:
attempt to call method 'LoadCustomBars' (a nil value)
Debug:
(tail call): ?
(tail call): ?
SquawkAndAwe\SquawkAndAwe.lua:387:
SquawkAndAwe\SquawkAndAwe.lua:382
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
Ace3\AceAddon-3.0\AceAddon-3.0.lua:510: InitializeAddon()
Ace3\AceAddon-3.0\AceAddon-3.0.lua:622:
Ace3\AceAddon-3.0\AceAddon-3.0.lua:615
AddOns:
Swatter, v3.1.14 (<%codename%>)
Ace3, v
ACP, v3.3.4
Bartender4, v4.4.2
ButtonFacade, v3.3.300
ButtonFacadeLiteFlat, v3.0.2
ButtonFacadeLiteStep, v3.3.47
CurseProfiler, v
DBMCore, v
Decursive, v2.5.1
HudMap, v
kgPanels, vv1.5.2
Omen, v3.0.9
OmniCC, v2.5.9
oRA3, v
Plagued, v2.0
PowerAuras, v3.0.0L
Prat30, v3.3.26
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Quartz, v3.0.3.1
RatingBuster, v
Recount, v
SatrinaBuffFrame, v3.1
SexyMap, v
SlideBar, v3.1.14 (<%codename%>)
SpamMeNot, v3.3
SquawkAndAwe, v1.5.1
BlizRuntimeLib_enUS v3.3.5.30300 <eu>
(ck=25f)
|
|
|
|
|
08/27/10, 11:24 AM
|
#557
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Originally Posted by xaktsaroth
Tried to remove all by setting this tag , --]] , at end of the document.
A tag I assume means something in the terms of , "end of comment".
|
Correct, it's lua's */. Unfortunately, that also removes the function that loads the bars. I could try a version where the custom bars aren't added in a function, but just as part of the way the addon loads, and that may get us closer to a solution that doesn't require the file to be present. I'll upload once I get a chance to work on it.
|
|
|
|
|
08/27/10, 12:17 PM
|
#558
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
SquawkAndAwe
The version in this post works great for all except the CB.lua part so gonna use it until next fix. Dont feel any rush 
|
|
|
|
|
08/27/10, 1:12 PM
|
#559
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Nah, it's an easy change to test out. Try this one, should be functionally identical to the previous version. If I remember right, you had to add an entry to CB.lua for a spell you could actually test with. If that's the case, you'll need to add it to this one as well, in the same spot. Alternatively, instead of downloading the new version, comment out the following three lines:
CB.lua, line 161: function SquawkAndAwe:LoadCustomBars()
CB.lua, line 218: end (this is the next-to-last line)
SAA.lua, line 387: SquawkAndAwe:LoadCustomBars()
These remove the function wrapper around the bar definitions, and the call to said function within the SAA body. Because of the way lua files load in WoW (or perhaps in any Lua scripting environment?) the code that was inside the function should still be executed, adding in the custom bars, before the arrays get used in initializing the addon. If that's the case, and your custom bars are added correctly, try deleting the file (make sure you have a backup somewhere). If the addon loads successfully, but without the bars that were defined in CB.lua, then we may have our solution.
|
|
|
|
|
08/27/10, 2:35 PM
|
#560
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
Dunno if more needs to be said but everything works  No errors when running the addon without the CB.lua. With it the bars do show up in the latest version you loaded up and shows up as they should.
*edit* You dont have to delete the file just a rename of Cb.lua to something else does the trick as well to get rid of custombars if you dont want the function.
Last edited by xaktsaroth : 08/27/10 at 2:42 PM.
|
|
|
|
|
08/27/10, 2:52 PM
|
#561
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Awesome. Now I just need to figure out a way to distribute CB.lua separately. Also, would be good to know if the curse client will remove it if someone's put it in their folder and tries to update the addon.
So, to go back to the list of functions added in this version:
1.) CB.lua adds bars correctly, and is now completely optional. Still need to work out the above issues, but they're non-code-related.
2.) SAA Enable/Disable works as expected.
3.) Sounds on cooldown completion work as expected.
4.) Still having issues with Grow Up.
Taking a look through the code for Grow Up to see what's throwing a monkey wrench into it. It baffles me that turning it on works properly, but turning it off fails, though.
|
|
|
|
|
08/27/10, 3:11 PM
|
#562
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
Originally Posted by Adoriele
Awesome. Now I just need to figure out a way to distribute CB.lua separately. Also, would be good to know if the curse client will remove it if someone's put it in their folder and tries to update the addon.
So, to go back to the list of functions added in this version:
1.) CB.lua adds bars correctly, and is now completely optional. Still need to work out the above issues, but they're non-code-related.
2.) SAA Enable/Disable works as expected.
3.) Sounds on cooldown completion work as expected.
4.) Still having issues with Grow Up.
Taking a look through the code for Grow Up to see what's throwing a monkey wrench into it. It baffles me that turning it on works properly, but turning it off fails, though.
|
So I soon cant give more feedback for tonight guild raid about to start up (if youre lucky I get benched so I can give more detailed info).
1) Would it not be easiest to just make a CB.txt file that gets sent with the addon package with instructions to create a file named custombars.lua and in the txt file have a "Create this file then copy below part into it" section as a 4th step?
Since there is no need for a CB.lua to exist with current version to me it sounds like it should work.
2) Saa enable/disable with the 2 mentioned macros works perfectly.
3) Popped all abilities and sounds on cooldowns works as expected, only tested 1 kind of sound tough, assume choosing another will work as well.
4) Grow up..
Not really sure what other backup I can give you on this since it produce no error message.
It kind of work since it does grow them up as expected. It´s just that you cant go back to "normal" mode again.
|
|
|
|
|
08/27/10, 3:23 PM
|
#563
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Originally Posted by xaktsaroth
So I soon cant give more feedback for tonight guild raid about to start up (if youre lucky I get benched so I can give more detailed info).
1) Would it not be easiest to just make a CB.txt file that gets sent with the addon package with instructions to create a file named custombars.lua and in the txt file have a "Create this file then copy below part into it" section as a 4th step?
Since there is no need for a CB.lua to exist with current version to me it sounds like it should work.
2) Saa enable/disable with the 2 mentioned macros works perfectly.
3) Popped all abilities and sounds on cooldowns works as expected, only tested 1 kind of sound tough, assume choosing another will work as well.
4) Grow up..
Not really sure what other backup I can give you on this since it produce no error message.
It kind of work since it does grow them up as expected. It´s just that you cant go back to "normal" mode again.
|
1.) Ha. Actually, why not just rename cb.lua to cb.txt for delivery, with instructions to name it back if you want the functionality. And since the official version has it as cb.txt, then updated versions won't overwrite your personal file unless it hasn't been changed, in which case you're not using it. Thanks for the idea.
4.) Yeah, I know. I'll try and comb through it in the next couple days, and if I can't find a solution I'll just axe the feature until the major rewrite occurs.
|
|
|
|
|
08/27/10, 3:54 PM
|
#564
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
Originally Posted by Adoriele
1.) Ha. Actually, why not just rename cb.lua to cb.txt for delivery, with instructions to name it back if you want the functionality. And since the official version has it as cb.txt, then updated versions won't overwrite your personal file unless it hasn't been changed, in which case you're not using it. Thanks for the idea.
|
Of course ,as usual I always think to complex. youre right again that is even simplier way !
And the grow part is kinda not really needed to fix since a /RL of ui as far I seen it fix the problem.
So just add a note "its buggy use on own risk", "will need a RL of ui when ticking/unticking grow up" for those that really does want to revert the bar ordering.
|
|
|
|
|
08/27/10, 4:00 PM
|
#565
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Originally Posted by xaktsaroth
And the grow part is kinda not really needed to fix since a /RL of ui as far I seen it fix the problem.
So just add a note "its buggy use on own risk", "will need a RL of ui when ticking/unticking grow up" for those that really does want to revert the bar ordering.
|
No, while I'm comfortable leaving a buggy feature in once it's added (trinkets) because I missed something, I'm not okay with adding a new feature that I know doesn't work properly. It would have to be redone anyway in the rewrite, and it's not such a huge feature that dropping it is an issue (actually, it kind of seems inconsequential to me - it's not a true grow up feature like in BigWigs, as the bars are always in the same place. It just flips the entire addon over).
|
|
|
|
|
08/27/10, 4:27 PM
|
#566
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
Ye doing things half done are never something I like to do either most people wont cry over it cut of until the rewrite.
|
|
|
|
|
08/31/10, 7:00 PM
|
#567
|
|
Von Kaiser
Night Elf Druid
Eonar (EU)
|
By the way just noticed that the pictures on wowinterface are a bit old. You want me to upload images of latest version ?
|
|
|
|
|
09/03/10, 10:27 AM
|
#568
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Found the problem: I was trying to correct an issue that wasn't there. So Grow Up works as intended now. Fix is attached, but the name change on cb.lua isn't done yet so make sure you preserve yours. I'll upload a complete version once I can clean some things up.
Also, addons are now enabled on beta (that's how I found the problem). I'm working up a featureset for version 2.0, I'll post it when I upload the finished 1.6.
[edit] Don't think I'll worry about adding pictures yet. Probably going to want a fresh set for 2.0 anyway.
|
|
|
|
|
09/03/10, 1:15 PM
|
#569
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Okay, here's the cleaned-up version. Touched the version numbers, removed a couple vestigial comments, and removed the things I needed to make it work with the beta (note: MF and IS had to be changed, as they had not-rank-1 spell ids. This should not affect functionality at all, but was necessary to prep for Cata). Starsurge actually presents an interesting problem: there is no single event which is triggered every time the spell is cast - Innervate, Barkskin, Starfall trigger SPELL_AURA_APPLIED, Typhoon and FoN trigger SPELL_CAST_SUCCESS because they're AoE spells - which means it probably needs special handling. v355 uses SPELL_DAMAGE, but that has two issues: it won't trigger on misses (which is fine, I can check for misses as well), and it may cause FoN, Starfall, and Typhoon to trigger multiple times per cast (I edited that part back out in v356 for that reason, since Surge isn't live). I hate making it a truly special case like Faerie Fire, but it may come to that. Anyway, check the version linked, make sure it works as it should (if you can get a raid in with it, that would be perfect so I know that I haven't destroyed anything) and I'll upload it to WoWI and Curse this weekend.
|
|
|
|
|
09/03/10, 1:18 PM
|
#570
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Now, for version 2.0.0.
There's no effective cooldown on Eclipse anymore, but seeing the buff duration is still worthwhile so I'll leave that part in. Still considering whether I want to also add a filling bar for charging Eclipse. It's likely, and I will probably implement it such that it flashes when Eclipse is active, and doesn't while charging, but I'm open to suggestions on what people would like to see for visual representation of Eclipse.
As I mentioned, it's going to be an almost complete rewrite of the internals of the addons, with an eye toward performance. This should be fairly transparent to the user for the most part, with a couple of exceptions. The largest is that I'll be moving custom bar generation into the addon, rather than leaving it in an external file. You'll still need to provide the same sort of information (though I might be able to extract some from GetSpellInfo), but you'll also be able to control the settings for each bar through the addon as well. Some peripheral things will be added, like controlling the order of categories as well as bars. Since you'll have control over which spells are added, I'm also opening up SAA to work for other classes (technically, this is already done, but not really supported - if it doesn't work, send me a bug report so I can learn, but it probably won't be fixed until 2.0 unless it's an easy fix. I don't expect that I'll do anything fancy like Eclipse support for other classes*, but you should be able to add Arcane Power without issue if you want.
The other major change stems from my experiences in the beta over the past couple of days. Namely, that there's a shit ton of bars that you need to keep track of, and without merging them (and some people prefer not to merge them) it can get out of control. A lot of these bars are also fairly non-interactive. Procs come and go, but by and large you don't care about them (it's very infrequent that a proc will change what you're doing, though it does happen). Long cooldown abilities, you really only care about their status just before they come off cooldown, up until the point that you use them. Because of this, I'm adding the option to every bar that will allow you to define whether or not a spell is part of your core rotation.
There are two major implications that marking a spell as Core will do: first, all Core abilities will be grouped together in their own frame. This will cut down a little on clutter around the things you really care about. By default I'll probably mark Eclipse, MF, IS, and Surge as Core (and maybe a couple of other procs, haven't put a huge amount of thought into it yet), but you'll be able to mark others as core as well (and unmark the defaults if you wish). Core abilities will always show up in the same place, regardless of whether they're active, same as they do now. I may even put in an option to show a bar when, say, MF is down, or Surge is off cooldown, so that you have an active notification that something needs to be done.
As a corollary, non-Core spells will be put in a different frame. I may add the option to further break up non-Core spells by category. Non-Core spells will also function similarly to BigWigs, EBB, and other timer addons in that they will sort by duration (or cooldown, whichever is relevant), and collapse together rather than keep everything in its own spot. This should reduce clutter as well, since you won't have huge gaps between bars anymore. I will probably also provide the option to merge non-Core spells within each category, similarly to how merging works now.
As always, I'm open to suggestions for features people would like included. Now's the best time, since I'm going to be running through the guts pretty heavily.
* You know, unless I start playing that class, or it's easy, etc.
|
|
|
|
|
|