Thread Tools Display Modes
02-24-15, 04:55 PM   #1
Schaufel
A Murloc Raider
Join Date: Feb 2006
Posts: 8
Lunar Sphere woes

Lunar Sphere was abandoned several years ago, but it still functions for the most part. I can't read code language, so I was just wondering if someone could show me exactly what to edit to make these errors go away (or someone pleasepleaseplease adopt this amazing addon I can't live without?). The first thing is half of my LS buttons are covered in an ugly white box - that's just aesthetic, so while it's ugly, I can live with it. The second problem is this error message that happens whenever I try to cast a spell from one of my LS buttons while moving.

Thanks!

Code:
Message: Interface\AddOns\ErrorMonster\ErrorMonster.lua:19: attempt to index field 'db' (a nil value)
Time: 02/24/15 16:54:00
Count: 4
Stack: Interface\AddOns\ErrorMonster\ErrorMonster.lua:19: in function <Interface\AddOns\ErrorMonster\ErrorMonster.lua:18>
[C]: in function `CastSpellByName'
Interface\FrameXML\SecureTemplates.lua:385: in function `handler'
Interface\FrameXML\SecureTemplates.lua:649: in function <Interface\FrameXML\SecureTemplates.lua:597>
[C]: ?
Interface\FrameXML\SecureHandlers.lua:264: in function <Interface\FrameXML\SecureHandlers.lua:261>
[C]: ?
Interface\FrameXML\SecureHandlers.lua:294: in function <Interface\FrameXML\SecureHandlers.lua:277>
(tail call): ?

Locals: self = UIErrorsFrame {
 0 = <userdata>
}
event = "UI_ERROR_MESSAGE"
message = "Can't do that while moving"
r = nil
g = nil
b = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'db' (a nil value)"
addon = <unnamed> {
 0 = <userdata>
 Pour = <function> defined @Interface\AddOns\ErrorMonster\libs\LibSink-2.0\LibSink-2.0.lua:406
 GetSinkAce2OptionsDataTable = <function> defined @Interface\AddOns\ErrorMonster\libs\LibSink-2.0\LibSink-2.0.lua:493
 SetSinkStorage = <function> defined @Interface\AddOns\ErrorMonster\libs\LibSink-2.0\LibSink-2.0.lua:706
 RegisterSink = <function> defined @Interface\AddOns\ErrorMonster\libs\LibSink-2.0\LibSink-2.0.lua:668
 GetSinkAce3OptionsDataTable = <function> defined @Interface\AddOns\ErrorMonster\libs\LibSink-2.0\LibSink-2.0.lua:557
}
map = <table> {
 SYSMSG = "system"
 UI_ERROR_MESSAGE = "errors"
 UI_INFO_MESSAGE = "information"
}
throttle = <table> {
}
colors = <table> {
 UI_INFO_MESSAGE = <table> {
 }
 UI_ERROR_MESSAGE = <table> {
 }
}
originalOnEvent = <function> defined @Interface\FrameXML\UIErrorsFrame.lua:8
  Reply With Quote
02-25-15, 02:45 AM   #2
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
My idea you coud also use oUF_Donut and Ion instead. I don't think its easy to update.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
02-25-15, 08:51 AM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
oUF Donut is purely a unit frame addon and wouldn't work as a replacement for Lunar Sphere. Ion, as an action bar replacement addon, is a lot closer for a replacement for "Lunar Sphere". About the only things its' missing are the center orb and the "fly-out" that all buttons in "Lunar Sphere" have. The functionality that the center orb has could probably be replaced by kgPanels with a little bit of work. The "fly-out" buttons are another matter, though. It could probably be done with FlyoutButton Custom, but with the release of WoW 6.1, I don't know, and it might not work with Ion.

Well, anyway, that's my ideas. I don't know if that would work or not.

EDIT: @Tonyleila: I didn't realize you meant to use oUF Donut for the center orb. DOH!! I've got to start reading, instead of "skimming" these posts. /EDIT

EDIT 2: That error looks like it was caused by "ErrorMonster" and not by "LunarSphere". Try disabling "ErrorMonster" and installing !BugGrabber and BugSack. They use the Ace 3 libraries and are up-to-date. The Ace 2 libraries are not, as far as I know, and were abandoned about two years ago. /EDIT 2
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 02-25-15 at 09:40 AM.
  Reply With Quote
02-25-15, 01:01 PM   #4
Schaufel
A Murloc Raider
Join Date: Feb 2006
Posts: 8
Thanks for the input - I discovered something I was doing wrong that was breaking a lot more of my addons than should have been (I ended up with two WoW installations on separate drives, and my addons were only getting updated on one of them). This error is from LunarSphere:

Code:
Message: Interface\AddOns\LunarSphere\lib\moduleItems.lua:637: bad argument #1 to 'len' (string expected, got nil)
Time: 02/25/15 12:57:44
Count: 1
Stack: [C]: in function `len'
Interface\AddOns\LunarSphere\lib\moduleItems.lua:637: in function `GetItemSpell'
Interface\AddOns\LunarSphere\lib\moduleItems.lua:558: in function `BuildLookupStrings'
Interface\AddOns\LunarSphere\lib\moduleItems.lua:348: in function `OnUpdate'
Interface\AddOns\LunarSphere\lib\moduleItems.lua:258: in function <Interface\AddOns\LunarSphere\lib\moduleItems.lua:258>

Locals: (*temporary) = nil
(*temporary) = "string expected, got nil"
  Reply With Quote
02-25-15, 02:33 PM   #5
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
If you just would like to get rid of the error then changing line 637 to
Lua Code:
  1. for index = 1, (string.len(itemSpellID[itemCatagory] or 0) / 6) do
probably could fix it.
  Reply With Quote
02-25-15, 03:39 PM   #6
Schaufel
A Murloc Raider
Join Date: Feb 2006
Posts: 8
Perfect! Thank you~
  Reply With Quote
02-26-15, 12:17 AM   #7
Schaufel
A Murloc Raider
Join Date: Feb 2006
Posts: 8
Now I'm having this error - only seems to happen when I AoE a large group:

Code:
Message: Interface\AddOns\LunarSphere\lib\moduleButton.lua:6694: script ran too long
Time: 02/26/15 00:16:32
Count: 2
Stack: Interface\AddOns\LunarSphere\lib\moduleButton.lua:6694: in function `UpdateUsable'
Interface\AddOns\LunarSphere\lib\moduleButton.lua:6477: in function <Interface\AddOns\LunarSphere\lib\moduleButton.lua:6378>

Locals: self = <table> {
 GetBagCountData = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4568
 OnLeave = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2042
 tooltipActionType2 = "spell"
 SetDefaultAnchor = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:7482
 MenuDestroyCheck = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4019
 SetButtonType = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2575
 UpdateCooldown = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:6204
 WipeMenu = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4036
 OnReceiveDrag = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:1957
 UpdateBagDisplay = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4536
 PostClick = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2138
 ResetButtonData = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5273
 Swap = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:7072
 PetButtonCheck = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:3274
 OnDragStop = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:1929
 FindSpellReagent = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5064
 ShowButtonShine = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:3461
 TooltipOnHide = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:7450
 GetButtonType = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2548
 SetData = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2408
 UpdateButtonColors = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:7040
 UpdateLastUsedSubmenu = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2712
 UpdateIcon = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:6931
 Unassign = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4622
 ContinueTrade = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2841
 tooltipButtonType2 = 1
 Update = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5749
 OnMouseUp = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2050
 GetIconTexture = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:7011
 SetupKeybinds = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5225
 texturePath = <table> {
 }
 ToggleMenuAutoHide = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:1301
 SetupStances = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5156
 updateFrame = LunarButtonUpdates {
 }
 AssignByType = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:4054
 GetButtonKeybind = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:2491
 ConvertToMenu = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:3558
 UpdateSpellState = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:6808
 UpdateUsable = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:6582
 ButtonHasAction = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:5140
 tooltipPos = <table> {
 }
 Assign = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:3698
 SetupMenuAngle = <function> defined @Interface\AddOns\LunarSphere\lib\moduleButton.lua:1038
 defaultSta
  Reply With Quote
02-26-15, 04:25 AM   #8
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
You should skip it. You won't get happy with that. Use something that is still maintained.
  Reply With Quote
02-26-15, 06:53 AM   #9
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
What Duugu said. "Script ran too long" is usually code for "really old and really horrible code that needs to be rewritten from the ground up" which takes a lot of time and effort. If someone wanted to put time and effort into this addon, it wouldn't be abandoned. I'm actually really surprised it managed to hang on as late as 2012 -- the last time I heard about this type of addon was late BC or early Wrath.

Some addons that haven't been mentioned yet that might help you recreate the look and/or feel:
  • FlyoutButton Custom for creating your own action pop-ups on the default action bars, Bartender4, and some other mods.
  • OPie for creating pop-up action rings separate from your action bars. You can use it with the mouse (eg. press the middle button to open the ring, move the cursor toward the ability on the ring you want to use, release the button to use that ability) or with keybinds (eg. press P to open a ring with all your mage portals, then press O to cast your Orgrimmar portal while the ring is open).
  • Masque + Masque: Serenity to make your action buttons round with white borders. There are lots of other skins too.
  • OPie Masque to add Masque support to OPie if you're using both.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Lunar Sphere woes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off