Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 03/24/10, 4:41 PM   #331
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by xaktsaroth View Post
Thanks so much Adoriele for this a really big /hug I know nothing,nada,zero about these kind of stuff or I would gladly picked it up and made a fan version. Anyone else up for the task ?

Date: 2010-03-24 21:34:57
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SquawkAndAwe\SquawkAndAwe.lua line 193:
unexpected symbol near ','
Debug:
(tail call): ?
[C]: ?

That error I get tough from youre version
Okay, extraneous semicolon (can you tell I write non-lua code most of the time?). Line 193, in the default options array listed in the main SAA.lua file, delete the semicolon after "show" for T102P. Or, alternatively, fixed and attached.

Last edited by Adoriele : 04/02/10 at 4:42 PM.

United States Online
Reply With Quote
Old 03/24/10, 4:42 PM   #332
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
Yup, I just checked again and that is the same error I am getting as well. Thank you for the quick fixes, replies, etc. You're amazing! =)

Offline
Reply With Quote
Old 03/24/10, 4:47 PM   #333
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
Message: Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1079: ')' expected (to close '(' at line 1078) near 'end'
Time: 03/24/10 13:47:18
Count: 1
Stack:
Locals:

Offline
Reply With Quote
Old 03/24/10, 4:50 PM   #334
xaktsaroth
Von Kaiser
 
Night Elf Druid
 
Eonar (EU)
Date: 2010-03-24 21:50:02
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\SquawkAndAwe\SquawkAndAwe.lua line 1079:
')' expected (to close '(' at line 1078) near 'end'
Debug:
(tail call): ?
[C]: ?


Next error

Offline
Reply With Quote
Old 03/24/10, 5:11 PM   #335
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
Deleted. I was completely guessing =)

Offline
Reply With Quote
Old 03/24/10, 5:11 PM   #336
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Line 1078: add a closing parenthesis at the end -

SquawkAndAwe:ProcBars()
...
if self.db.char.bars.procs[barname].show...
...
if self.db.char.bars.procs.sounds
PlaySoundFile(...) <- Add a parenthesis here
end

Fixed and attached.

[edit] gannon, at the end of the line, not in between.

Last edited by Adoriele : 04/02/10 at 4:42 PM.

United States Online
Reply With Quote
Old 03/24/10, 5:17 PM   #337
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
Message: AceLocale-3.0: SquawkAndAwe: Missing entry for 'Lunar Eclipse Sound'
Time: 03/24/10 14:16:49
Count: 1
Stack: Interface\AddOns\SquawkAndAwe\Options.lua:340: in function `GetOptions'
Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:320: in function <Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:315>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...dOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:340: in function `InitializeAddon'
...dOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:428: in function <...dOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:421>

Locals: self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:258
BaseFrame = SquawkAndAweBase {
}
sounds = <table> {
}
CancelTimer = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceTimer-3.0\AceTimer-3.0.lua:266
IterateEmbeds = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:296
textures = <table> {
}
statusBars = <table> {
}
SetDefaultModulePrototype = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:276
DurationString = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1164
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:297
ScheduleTimer = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceTimer-3.0\AceTimer-3.0.lua:247
DisableModule = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:251
SetBorderTexture = <function> defined @Interface\AddOns\SquawkAndAwe\Options.lua:1176
DebuffBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1095
CreateBarFrames = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:668
CCBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1119
RegisterMessage = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
GetArgs = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceConsole-3.0\AceConsole-3.0.lua:114
frames = <table> {
}
GCDBar = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1156
db = <table> {
}
SetEnabledState = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:290
FindNumBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:544
enabledState = true
actives = <table> {
}
RegisterEvent = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
GetSpellInfo = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:493
barBackdrop = <table> {
}
fonts = <table> {
}
IterateModules = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:295
ProcBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1044
ShowHideBars = <function> defined @Interface\AddOns\SquawkAndAwe\Options.lua:1198
SetBaseFrame = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:631
TriggerDebuffs = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1110
AddStatusBar = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:933
SPELL_UPDATE_COOLDOWN = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:476
OnInitialize = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:315
UnregisterAllEvents = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:201
GetModule = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:166
defaultModuleLibraries = <table> {
}
frameBackdrop = <table> {
}
ClearActives = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:615
ScheduleRepeatingTimer = <functio

Offline
Reply With Quote
Old 03/24/10, 5:22 PM   #338
xaktsaroth
Von Kaiser
 
Night Elf Druid
 
Eonar (EU)
Date: 2010-03-24 22:21:45
ID: 3
Error occured in: Global
Count: 1
Message: AceLocale-3.0: SquawkAndAwe: Missing entry for 'Sound'
Debug:
(tail call): ?
...nterface\AddOns\Ace3\AceLocale-3.0\AceLocale-3.0.lua:31:
...nterface\AddOns\Ace3\AceLocale-3.0\AceLocale-3.0.lua:29
SquawkAndAwe\Options.lua:405: GetOptions()
SquawkAndAwe\SquawkAndAwe.lua:320:
SquawkAndAwe\SquawkAndAwe.lua:315
(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

Offline
Reply With Quote
Old 03/24/10, 5:30 PM   #339
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Anywhere in the enUS Locale file, add the following 3 lines:

L["Sound"] = true
L["Lunar Eclipse Sound"] = true
L["Solar Eclipse Sound"] = true

Fixed and attached.

[edit] If you run into any more of these (Missing entry for XXXXXX) errors, do something similar and let me know.

Last edited by Adoriele : 04/02/10 at 4:42 PM.

United States Online
Reply With Quote
Old 03/24/10, 5:36 PM   #340
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
Message: Interface\AddOns\SquawkAndAwe\Options.lua:351: attempt to index field 'Eclipsew' (a nil value)
Time: 03/24/10 14:35:45
Count: 1
Stack: Interface\AddOns\SquawkAndAwe\Options.lua:351: in function `member'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:245: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:193>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1120: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1028>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1466: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1388: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1368>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...e\AddOns\SquawkAndAwe\Libs\AceGUI-3.0\AceGUI-3.0.lua:264: in function `Fire'
...we\Libs\AceGUI-3.0\widgets\AceGUIWidget-TabGroup.lua:139: in function `SelectTab'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1502: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1388: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1368>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9: in function <[string "safecall Dispatcher[3]"]:5>
(tail call): ?
...e\AddOns\SquawkAndAwe\Libs\AceGUI-3.0\AceGUI-3.0.lua:264: in function `Fire'
...e\Libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:425: in function `SetSelected'
...e\Libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:93: in function <...e\Libs\AceGUI-3.0\widgets\AceGUIWidget-TreeGroup.lua:89>

Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'Eclipsew' (a nil value)"
self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:258
BaseFrame = SquawkAndAweBase {
}
sounds = <table> {
}
CancelTimer = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceTimer-3.0\AceTimer-3.0.lua:266
IterateEmbeds = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:296
textures = <table> {
}
statusBars = <table> {
}
SetDefaultModulePrototype = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:276
DurationString = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1164
defaultModuleState = true
IsEnabled = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:297
ScheduleTimer = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceTimer-3.0\AceTimer-3.0.lua:247
DisableModule = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:251
SetBorderTexture = <function> defined @Interface\AddOns\SquawkAndAwe\Options.lua:1176
DebuffBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1095
CreateBarFrames = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:668
CCBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1119
RegisterMessage = <function> defined @Interface\AddOns\Quartz\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
GetArgs = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceConsole-3.0\AceConsole-3.0.lua:114
frames = <table> {
}
GCDBar = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:1156
db = <table> {
}
SetEnabledState = <function> defined @Interface\AddOns\SquawkAndAwe\Libs\AceAddon-3.0\AceAddon-3.0.lua:290
FindNumBars = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:544
enabledState = true
actives = <table> {
}
RegisterEvent = <function> defined @Interface\AddOns\Quartz\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
GetSpellInfo = <function> defined @Interface\AddOns\SquawkAndAwe\SquawkAndAwe.lua:493
barBackdrop = <table> {
}
fonts = <table> {
}
IterateModules = <function> defined @Interface\AddOns\SquawkA

Offline
Reply With Quote
Old 03/24/10, 5:41 PM   #341
btn
Glass Joe
 
Orc Death Knight
 
Boulderfist
The bar handling logic in OnUpdate is still a bit off, very strange things are happening when you lose an Eclipse buff (e.g., via Purge) and even stranger things are happening during just normal Eclipse cycles. I am going to try and test stuff in-game and figure some of it out in little bit of free time I have this afternoon. If I can't finish, I should have time later this evening.

Offline
Reply With Quote
Old 03/24/10, 5:46 PM   #342
xaktsaroth
Von Kaiser
 
Night Elf Druid
 
Eonar (EU)
Thanks adoriele once again some of the things I understand it actually relats to some of the stuff I did in schoool but worked far to less to see where the errors are :S

Line 1078: add a closing parenthesis at the end -

SquawkAndAwe:ProcBars()
...
if self.db.char.bars.procs[barname].show...
...
if self.db.char.bars.procs.sounds
PlaySoundFile(...) <- Add a parenthesis here
end

That was so obvius when I finnaly found there was a mathematical error there. Hope btn can give you better aid then me and gannonjf done so far and reporting 1 error at a time

Offline
Reply With Quote
Old 03/24/10, 5:46 PM   #343
gannonjf
Piston Honda
 
Worgen Druid
 
Korgath
With the most recent version it all appears to be working correctly, I don't know how clean you want your code to be as it is still throwing occasional LUA errors right now that look to be related to the additional tab for 2pt10. A suggest would be a file explorer type option for linking sounds to different procs but I have a feeling you already plan on that at some point.

Offline
Reply With Quote
Old 03/24/10, 5:56 PM   #344
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by gannonjf View Post
Message: Interface\AddOns\SquawkAndAwe\Options.lua:351: attempt to index field 'Eclipsew' (a nil value)
Options.lua, line 351 and 353, in options.args.procs.args.eclipse.args.wsound :

get = function () return self.db.char.bars.procs.Eclipsew.sound end,
set = function (info, newValue)
self.db.char.bars.procs.Eclipsew.sound = newValue
self:RedrawFrames()
end,

Add the underlined.

Originally Posted by btn View Post
The bar handling logic in OnUpdate is still a bit off, very strange things are happening when you lose an Eclipse buff (e.g., via Purge) and even stranger things are happening during just normal Eclipse cycles. I am going to try and test stuff in-game and figure some of it out in little bit of free time I have this afternoon. If I can't finish, I should have time later this evening.
This is the meat of the update, so I'm not surprised at things not coming out quite right. Any help is very useful (are there any error messages firing? Or is it all just implementation being wonky?)

[edit]
Originally Posted by gannonjf View Post
With the most recent version it all appears to be working correctly, I don't know how clean you want your code to be as it is still throwing occasional LUA errors right now that look to be related to the additional tab for 2pt10. A suggest would be a file explorer type option for linking sounds to different procs but I have a feeling you already plan on that at some point.
Actually, quite the opposite. I have no intention of trying to add that sort of file browser - I'm pretty sure it's not allowed by Blizzard either. I might be able to look up instructions on adding sound files to SharedMedia, though, but it's going to entail putting the files you want in a specific location and getting some sort of lua to point to it. You won't be able to add anything without rebooting WoW.

[edit=2]
Oops, it helps to attach the files.

Last edited by Adoriele : 04/02/10 at 4:42 PM.

United States Online
Reply With Quote
Old 03/24/10, 6:15 PM   #345
xaktsaroth
Von Kaiser
 
Night Elf Druid
 
Eonar (EU)
Ok now it works much better. Now it seems tough like the eclipse bars are a bit messed up. I got solar eclipse cd bar when lunar procced. When eclipse was off cd I had no bar at all showing. Was a bit wonky and think some more error during my boss fight now.
Im glad we are not trying any progress boss tonight

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools