Go to Page... |
Updated: | 12-28-10 03:41 PM |
Created: | 12-14-10 08:13 AM |
Downloads: | 3,247 |
Favorites: | 16 |
MD5: |
The official HandyNotes release is out! It is version 1.2.0 so there should be no confusion when you upgrade. And please do go back to the official HandyNotes! I hope this addon helped you out.
All current work on the tempfix is halted.
This is a temporary patch for HandyNotes to work around the problems I was seeing with WoW patch 4.0.3a. The original HandyNotes 1.1.6 is available on Curse and WowInterface.
Cladhaire's changes to TomTom were incorporated so that Astrolabe 1.0 is used. This means that additional HandyNotes addons still need to be fixed separately if they call Astrolabe 0.4 themselves (see below.) If it works, Cladhaire deserves all the credit.
There is another attempt at a workaround HandyNotes (fanupdate) while it didn't solve my problem it should still work with the other HandyNotes addons as it was using Astrolabe-0.4 last I checked.
This is not intended as a fork in the codebase, just a workaround until the base addon is updated by the author.
Use /handynotes to access options.
You can add notes to the maps in 3 ways:
Comment Options |
dch48 |
View Public Profile |
Send a private message to dch48 |
Find More Posts by dch48 |
Add dch48 to Your Buddy List |
12-26-10, 08:02 PM | |||
|
dch48, I downloaded what I think matches your addon set. See list below. I still can not reproduce your problem. [bangs head against wall] Do me a favor. Exit the game and delete the copy of HandyNotes that's in your addons directory and reinstall it. Then move your WTF/Account/<accountname>/SavedVariables/HandyNotes.lua someplace safe and enter the game and see if the errors still occur for you. If it does please let me know and I'll try and make a debugging version for you. If everything works with a clean setup then you can log out your character and then copy back your safe copy of the SavedVariables file. Check that it still works. (Sometimes the data file can become corrupted.) This is what I used: Addon Control Panel 3.3.12 Atlas 1.18.0 Atlas Loot Enhanced 6.01.02 AuctionLite 1.7.4 Critline 3.1.3 Deadly Boss Mods 4.70-r4833 Deadly Boss Mods - Vanilla and BC mods v4-r215 HandyNotes (tempfix) 1.16b Omen3 3.1.0 Power Auras Classic 4.9 Recount 4.0.1d Titan Panel 5.0.1.40000 Apologies for the Curse.com links but I had them bookmarked previously.
[lots of edits because I realized it was unclear]
Last edited by Isharra : 12-27-10 at 01:34 AM.
|
||
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
dch48 |
View Public Profile |
Send a private message to dch48 |
Find More Posts by dch48 |
Add dch48 to Your Buddy List |
Sariktor |
View Public Profile |
Send a private message to Sariktor |
Find More Posts by Sariktor |
Add Sariktor to Your Buddy List |
12-26-10, 02:23 PM | ||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
Re: Re: GetNodes() LUA Error
I see what you mean. I added the following code into the work-around in the main HandyNotes Tempfix. Code:
function compat:ComputeDistance(c1,z1,x1,y1,c2,z2,x2,y2) local m1 = Astrolabe:GetMapID(c1, z1) local floors = Astrolabe:GetNumFloors(m1) local f1 = floors == 0 and 0 or 1 local m2 = Astrolabe:GetMapID(c2, z2) floors = Astrolabe:GetNumFloors(m2) local f2 = floors == 0 and 0 or 1 return Astrolabe:ComputeDistance(m1, f1, x1, y1, m2, f2, x2, y2) end |
|
|
Sariktor |
View Public Profile |
Send a private message to Sariktor |
Find More Posts by Sariktor |
Add Sariktor to Your Buddy List |
12-26-10, 10:10 AM | ||
|
|
|
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
12-26-10, 10:03 AM | ||
|
[edit] For clarity, the minimap icon appears immediately for me. The worldmap icon also appears immediately but is hidden underneath the current position icon until I move a bit. Removing an icon it's the same immediate change. Moving an icon updates it as soon as I release the icon (ctrl + shift + primary [left] mouse button drag). Please PM me with a list of your addons so hopefully I can reproduce this and fix it for you. [/edit]
Last edited by Isharra : 12-26-10 at 11:03 AM.
|
|
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
12-26-10, 10:00 AM | |||
|
Re: GetNodes() LUA Error
If you'd PM me with your addon list I'd appreciate it. It's hard to fix something you can't reproduce! My version of Mailbox has the updated compat section within it since some of the instructions to update addons had the code overwriting the base addon ( HandyNotes.compat = compat.) If you've modified your own copy, the second change is needed to have more than one mailbox appear in a map section (otherwise the addon will delete the earlier copies) but I don't believe it produced an error without the change.
Sorry for the edits, it's cooold here and my hands are very stiff. Lots of typos.
Last edited by Isharra : 12-26-10 at 10:52 AM.
|
||
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
12-25-10, 06:21 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 5
Uploads: 0
|
This fix is almost perfect for me. There is one issue however. When you change a note by either moving or deleting it, the icon remains in the original location on the minimap until you zone into a different map area and then zone back again.
|
|
dch48 |
View Public Profile |
Send a private message to dch48 |
Find More Posts by dch48 |
Add dch48 to Your Buddy List |
12-25-10, 03:49 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
GetNodes() LUA Error
After applying the new updated tempfix, I received this error:
Code:
Date: 2010-12-25 16:47:15 ID: 1 Error occured in: Global Count: 2 Message: ..\AddOns\HandyNotes\HandyNotes.lua line 483: attempt to call method 'GetNodes' (a nil value) Debug: (tail call): ? (tail call): ? HandyNotes\HandyNotes.lua:483: HandyNotes\HandyNotes.lua:464 (tail call): ? [C]: ? [string "safecall Dispatcher[2]"]:9: [string "safecall Dispatcher[2]"]:5 (tail call): ? HandyNotes\HandyNotes.lua:534: UpdateMinimap() HandyNotes\HandyNotes.lua:711: HandyNotes\HandyNotes.lua:702 (tail call): ? [C]: ? [string "safecall Dispatcher[1]"]:9: [string "safecall Dispatcher[1]"]:5 (tail call): ? ...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:543: EnableAddon() ...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:635: ...AddOns\Bartender4\libs\AceAddon-3.0\AceAddon-3.0.lua:621 [C]: LoadAddOn() ..\FrameXML\UIParent.lua:242: UIParentLoadAddOn() ..\FrameXML\UIParent.lua:316: TimeManager_LoadUI() ..\FrameXML\UIParent.lua:517: ..\FrameXML\UIParent.lua:492 AddOns: Removed for space. Code:
local compat = {} compat = HandyNotes.compat
Last edited by Sariktor : 12-26-10 at 04:31 AM.
|
|
Sariktor |
View Public Profile |
Send a private message to Sariktor |
Find More Posts by Sariktor |
Add Sariktor to Your Buddy List |
12-25-10, 01:37 PM | ||
A Kobold Labourer
Forum posts: 0
File comments: 8
Uploads: 0
|
|
|
|
Sariktor |
View Public Profile |
Send a private message to Sariktor |
Find More Posts by Sariktor |
Add Sariktor to Your Buddy List |
12-23-10, 12:45 AM | ||
|
[edit] And it's not your fault! The problem went undetected because all the copies of compat matched but it broke once the main copy changed. [/edit] The newer upload of HandyNotes_Mailboxes (tempfix) has compat defined locally so that an override from another HandyNotes_* doesn't break it any longer. You shouldn't have to add the full compat section to each addon (see my earlier comment for adding a reference to the HandyNotes copy.) However if you want a local copy add to the compat code block Code:
function compat:ComputeDistance(c1,z1,x1,y1,c2,z2,x2,y2) local m1 = Astrolabe:GetMapID(c1, z1) local floors = Astrolabe:GetNumFloors(m1) local f1 = floors == 0 and 0 or 1 local m2 = Astrolabe:GetMapID(c2, z2) floors = Astrolabe:GetNumFloors(m2) local f2 = floors == 0 and 0 or 1 return Astrolabe:ComputeDistance(m1, f1, x1, y1, m2, f2, x2, y2) end Then in HandyNotes_Mailboxes, there are 2 functions which need to be updated. (You've documented the first change.) in the same AddMailBox() function as the other modification change Code:
if Astrolabe:ComputeDistance(c,z,x,y,c,z,x2,y2) < 15 then Code:
local dist, xDelta, yDelta = compat:ComputeDistance(c,z,x,y,c,z,x2,y2) if dist < 15 then
Last edited by Isharra : 12-23-10 at 02:02 AM.
|
|
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
12-22-10, 09:18 PM | ||
|
|
|
|
Toran |
View Public Profile |
Send a private message to Toran |
Find More Posts by Toran |
Add Toran to Your Buddy List |
12-22-10, 08:50 PM | |
|
Ok, I've found the problem!
Toran's instructions have you redefining the base HandyNotes.compat with each addon loaded thus removing the added functions in the base addon. Code:
local compat = {} HandyNotes.compat = compat That definition should only have been included in the base HandyNotes.
Last edited by Isharra : 12-22-10 at 08:55 PM.
|
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |
12-22-10, 07:44 PM | ||
|
[edit] And never assume you're the only one having a problem. It's very common for folks to just not use it without saying anything. I really do appreciate the feedback. [/edit]
Last edited by Isharra : 12-22-10 at 07:47 PM.
|
|
|
Isharra |
View Public Profile |
Send a private message to Isharra |
Find More Posts by Isharra |
Add Isharra to Your Buddy List |