Talk:Map Notes

Really useful program. This is something that basic WoW was definitely missing. I was wondering; however, why you can only have one mininote at a time?

Also, as for suggestions:

. click-and-drag functionality to move notes

. default color and icon settings--for instance, I'd like the second line of my notes to be white, but selecting the white thing each time can be annoying

. . to further the above idea, have 'schemes' so that after a note is made, a scheme can be selected to determine the notes icon and colors. This way, people could have one scheme for people, another for quest givers, and another for quest locations. Altering the scheme's settings should alter all notes that use that scheme

. a short-way to add a note (like a double-click--though preferabbly this could be set in key bindings) that bypasses the menu

. allowance of map notes in major cities that otherwise zoom out when clicked on

--RaeVan Morlock 20:34, 2 Dec 2004 (EST)

I hope you don't mind, if I answer in a Question - Answer method to keep clear, what I mean.


 * Why is there only one MiniNote? : Because I've coded it so. The MiniNote update is run once every frame and I had the performace in mind when designing it. But I think more than one note should be possible, but would require some recoding of the function, cause of some intern things (Simply adding more notes and every note has it't own OnUpdate is definitely not the way I want to go because of the performance hit cause by an OnUpdate.)


 * Why isn't there Click-And-Drag functionality for the notes? : First I have never thought about it, because the note on the Minimap would be accurate (you can't drag notes back in their original position). Second I don't know how this is done in WoW, I think it should be implemented with an on/off toggle (default off).


 * Can I define a default layout for my Notes? : Great Idea. The only thing is, it requires a new menu, but this shouldn't be too hard. Maybe I'll include it as a command line version (you only have to set the settings once, so you can look up the commands for this time).


 * Can I have scheme's for notes? : That would require both, a new Menu and a change to the note system (however it could be one menu with the default scheme). So I say not yet.


 * Is there a shortcut to add a note, so that I don't have to click on "Create note"? : No. A Double-Click Opens the Menu in the last version, so this doesn't work, but a CTRL+Click (like the "Party Note" Shift+Click) would work, if you like this?


 * Can I place notes in a major city in which a left click zooms out? : You can click on you player icon to place a note in the spot you are standing. For the other case MapNotes was designed not to interfere with blizzard functions, where possible. Disableing the left click does also disable the left click at the border, where you mostly expect the map to zoom out, that's why it isn't in (it's rather easy to add)

--Meog

Is there any way that you could add an option to the code somewhere that would take the notes information that is normally stored in the savedvariables.lua file, and save it to a file somwhere else? like into the mapnotes folder, this way, if something ever happened, and you needed to delete the savedvariables.lua and use a fresh new one, you could just add the info into the file manually to get all your notes back. (reason being, sometimes you can use a backup of the file, because something may go wrong with it and u may need a completly fresh one)

--Norek

No, blizzard removed this potential. -- AlexanderYoshi 05:16, 18 Dec 2004 (EST)

Suggestion
I play both at work, and home, and have found your notes to be extremely useful. What I would like to know is, if there was a way I could merge my notes together. I find it quite cumbersome to try to recreate the notes at both locations. I am a software developer so I understand how to edit the xml / lua files, even though the lua syntax is not what I am used to. Would I be able to merge the "MapNotes_Data" sections in both SavedVariables.lua files together? Can you give some clarification on the different parts of that section?

Love your product btw. Malenictor 41 Warlock - Blackhand

Yes, you can simply merge them and the system they are saved is quite obvious: MapNotes_Data = { 1 = { 1 = { 1 = { name = "Notename", inf1 = "Infoline 1", xPos = 0.343434, yPos = 0.434343 } } } } (I've made up the values here as an example) defines an array which has the form MapNotes_Data[continent][zone][id]["name"]. So you are able to merge the data, the only thing you have to make sure is, that you insert them in the correct continent, zone part, and that the id's are continuous. Hope this helps (and I'd really like to see your program if you code it.)

Meog 13:41, 31 Dec 2004 (EST)

My only thought on this, is someone has created a way to manipulate, and murge notes for there mod, Norganna created the mod Gatherer, and further created the Gatherbook app to manipulate the things her mod collects. Now would it not be possible to use the coding in that application, modified, to do the same thing with mapnotes? I'm no coding expert, but wouldnt it mostly be changing what the app is programed to look for, and "should" work from there.

Her mod and app is here --> http://norgs.internutter.org/gatherer.htm if you wana take a look at what I mean, and tell us if it would be plosible.

--Norek

Storage of MapNotes
I was wondering in which file the MapNotes are stored, since I had quite a few MapNotes before I updated Cosmos, and Now they are all gone...I made a backup of the "Interfaces"-folder, however I cannot find the correct file...

Your mapnotes are found in wow/WTF/account/youraccountname/savedvariables.lua EVERY mod saves things here, why, because its the ONLY place blizzard will let them save things.

--Norek

ETA?
Is there any ETA as to when mapnotes will be fixed?? like is it really that borked that its taking so long? is the original author no longer working on it maybe?? I miss my mapnotes, and the mods that worked with it :(

--Norek

Mapnote Data Saved
I understand that all the map notes that I have made over the last month or so I saved on the Savedvarible.lua file. I backed up this file and copied it back after the new patch was installed but the only data that is present is the Gatherer data. All my map nots do not appear. What do i need to do to get these notes to show?

Patch enabling to see raid members
In one of the recent patches Blizzard introduced a feature where one can see all raid members on the world map. Due to MapNotes overriding the function that draws the points on the map, this was not available to MapNotes users. Not wanting to give up one of the best addons, I wrote a patch against MapNotes 0.5.4; here are my changes, enabling both MapNotes and seeing raid members. All of these changes go to MapNotes.lua:

- Locate the function "MapNotes_WorldMapButton_OnUpdate" around line 1596 - Remove everything between the following line until "--Position player" - Locate the following line: Sea.util.hook("WorldMapButton_OnUpdate", "MapNotes_WorldMapButton_OnUpdate", "replace"); and replace it with Sea.util.hook("WorldMapButton_OnUpdate", "MapNotes_WorldMapButton_OnUpdate", "after"); - Locate the following line: WorldMapButton_OnUpdate = MapNotes_WorldMapButton_OnUpdate; and replace it with old_WorldMapButton_OnUpdate = WorldMapButton_OnUpdate; WorldMapButton_OnUpdate = function old_WorldMapButton_OnUpdate; MapNotes_WorldMapButton_OnUpdate; end - Save the file :D

I also updated the version in MapNotes.toc to v0.5.4+dodga1, but this is not necessary ;) This works for me, I hope it will work for everybody else, too. If need be and Meog agrees, I can compile these changes into a ZIP-file and publish it somewhere for others to download. --dodga 11:25, 12 May 2005 (EDT)

Are you saying this hasn't been fixed yet?

-- AlexanderYoshi 16:01, 12 May 2005 (EDT)

I fetched a fresh archive of MapNotes 0.5.4 from curse-gaming and it wasn't fixed there. That's why I had to patch it. --dodga 09:57, 13 May 2005 (EDT)

I tried to modify my MapNotes.lua with the way u said and i got this error whenever i click m : [string "Interface\AddOns\MapNotes\MapNotes.lua" ]:1720: stack overflow Can someone tell me what should i do or what did i do wrongly?

Without seeing your changes, no :) Did you patch MapNotes v0.5.4? Can you put your patched file somewhere on the web for me to review it? --dodga 06:20, 15 May 2005 (EDT)

It seems a new patch is necessary for Battlegrounds as well, you get errors when you enter Alterac Mountains. Pity the author dropped it. [Crash 15:58 17-05-2005]

I will be looking into the issue that raises the error inside Battlegrounds. Now, if I only could enter the realm... --dodga 15:23, 18 May 2005 (EDT)

Patch to prevent error in Battlegrounds
Just a quick'n'dirty patch, so the error that occured in Battlegrounds stops popping up. Minor downside: You cannot put notes on the Battlegrounds map (due to API_GetCurrentMapContinent returning -1 inside both battlegrounds).

- Put this into your clipboard [-1] = { [0] = 0 }, - English: Locate MapNotes_ZoneShift around line 92 and insert the line form your clipboard directly between MapNotes_ZoneShift and [0] = { [0] = 0 }, (which should be in the following line) - French: Locate MapNotes_ZoneShift around line 199/200 insert the line form your clipboard directly between MapNotes_ZoneShift and [0] = { [0] = 0 }, (which should be in the following line) - German: Locate MapNotes_ZoneShift around line 303/304 insert the line form your clipboard directly between MapNotes_ZoneShift and [0] = { [0] = 0 }, (which should be in the following line) - Save and reload your UI

Again, this only stops the error from getting raised. MapNotes does not work inside Battlegrounds. Blame Blizzard :D --dodga 13:11, 20 May 2005 (EDT)

Raid Member Patch
OK I'm having a problem with the patch to see raid members. As it is, I can't see any players on the map, and I have an add-on suppressing the errors. Could you post a working lua with the patch applied somewhere so I could check what the differences are?

Edit: I think the problem is the changes to the MapNotes_WorldMapButton_OnUpdate function, so if you could just post that it would be great, thanks.

Updated
MapNotes is being updated here: http://www.wowinterface.com/downloads/fileinfo.php?id=3985