Thread: Handynotes
View Single Post
10-01-14, 03:46 PM   #1
Sereke
A Defias Bandit
Join Date: Oct 2014
Posts: 1
Handynotes

*this was supposed to go to the beta addon forums*

I'm trying to update Handynotes for WoD to make maps similar to HandyNotes_TimelessIsleChests for the new zones. Maps with the location of all treasures are displayed after finishing a zone, but it is inefficient to double back and many treasures involve puzzles.

The first problem I am having is result of an API change to SetMapZoom. I can't figure out how to update it in the Astrolabe code.
Message: ...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1255: Usage: SetMapZoom(continentIndex [,zoneIndex]) .. requested continent out of bounds
Time: 10/01/14 14:28:45
Count: 1
Stack: [C]: in function `SetMapZoom'
...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1255: in function `activate'
...face\AddOns\HandyNotes\Libs\Astrolabe\DongleStub.lua:78: in function `Register'
...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1307: in main chunk

Locals: (*temporary) = 8
(*temporary) = 0


The 2nd error is:
Message: Interface\FrameXML\UIPanelTemplates.lua:119: attempt to perform arithmetic on field 'cursorOffset' (a nil value)
Time: 10/01/14 14:28:45
Count: 1
Stack: Interface\FrameXML\UIPanelTemplates.lua:119: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:96: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:604: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:551: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
Interface\AddOns\HandyNotes\HandyNotes.lua:203: in main chunk

Locals: self = ScriptErrorsFrameScrollFrameText {
0 = <userdata>
text = "Message: ...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1255: Usage: SetMapZoom(continentIndex [,zoneIndex]) .. requested continent out of bounds
Time: 10/01/14 14:28:45
Count: 1
Stack: [C]: in function `SetMapZoom'
...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1255: in function `activate'
...face\AddOns\HandyNotes\Libs\Astrolabe\DongleStub.lua:78: in function `Register'
...rface\AddOns\HandyNotes\Libs\Astrolabe\Astrolabe.lua:1307: in main chunk

Locals: (*temporary) = 8
(*temporary) = 0
"
handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
}
offset = 0
0 = <userdata>
}
height = 194.00001525879
range = 0
scroll = 0
size = 194.00001525879
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
}
offset = 0
0 = <userdata>
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"