i really nead a readme or something to get an explanation to cartographer. I searched all available places, but didnt find any useful information on how you use it.
A lot of information on how i could programm an cartographer addon, though.
So what i need ist:
1. how do i bind a key or button (even a script command) to note my actual position with the information of my target ? (opening map and adding a note is not really userfriendly)
2. how does the import addon work ? what do i have to do to get my (painfully written notes) from gatherer and metamap into cartographer ?
By what i read a lot of people have those problems, please give a hint someone
No, you're not stupid. It took me about an hour to figure this out and I used to develop an addon.
A more direct link for the section of wiki you need to look at would have been
[url]http://www.wowace.com/wiki/Cartographer/Notes[/url]
This page shows a function
Cartographer_Notes:OpenNewNoteFrame(x, y [, "creator"])
but after messing around with it for a while, I figured out it only works when the map is open, which is not particularly desirable.
So the macro you need is
[code]/script px,py=GetPlayerMapPosition("player");
/script Cartographer:OpenAlternateMap();
/script Cartographer_Notes:OpenNewNoteFrame(px, py)[/code]
There are still several drawbacks to this:
1. As far as I can figure out, there is no way to bind a key directly to a macro.
2. You have to click ok to save the note and then close the map. It would be nice to only have to type in the text and then hit Enter to save it and resume play. MetaMap did this nicely.[/list]
[size=4][b]It would be great if Cartographer added another bindable key for creating a note (and without having to open it's map first).[/b][/size]
You can add a bindable key yourself by changing the bindings.xml file in the \World of Warcraft\Interface\AddOns\Cartographer folder as below. I *thimk* if you make this file read-only after you save your changes, it will be left alone when you use the AceUpdater. After you reload WoW, you'll be able to set the binding in the usual way... in the key bindings screen scroll down to near the bottom in the section for Cartographer.
[code]<Bindings>
<Binding name="CARTOGRAPHER_OPENALTERNATEMAP" description="Open map with alternate settings" header="CARTOGRAPHER">
Cartographer:OpenAlternateMap()
</Binding>
<Binding name="CARTOGRAPHER_CREATENOTE" description="Create a new note" header="CARTOGRAPHER">
px,py=GetPlayerMapPosition("player")
Cartographer:OpenAlternateMap();
Cartographer_Notes:OpenNewNoteFrame(px, py)
</Binding>
</Bindings>[/code]
List tags are malformed.
@Kagaro
Thank you for your answer, and although it is a new information, its not quite what i wanted, as written in my first post.
But: I think it's a good idea if someone could add your comment to the Wiki, it isnt there !!
@dreamgarden
your answer brought me a great deal farther, and your macro works as you described, this one too should be in the WIKI, i think.
Isnt there a way to combine the dreamgarden-macro and the "/note ..." call ?
Doesnt there exist a "GLOBAL-VAR" of the target name ? (Or take it from MobHealth3.lua: targetName = UnitName("target") )
for the next step, i think we need to more things:
1. get the target Information (at least the name) into the ADDNOTE Frame
as far as i understand the docu ( Cartographer_Notes:OpenNewNoteFrame(x, y [, "creator"]) ) it doesnt give the option ... hmm ?
2. and (nice to have) the keybinding:
Quote from dreamgarden »
... It would be great if Cartographer added another bindable key for creating a note (and without having to open it's map first).
...
Thank you all again, and sorry for the "even more" questions.
@Barracuda
You can create a note for a specific target by the following (replace "Circle" with icon name of your choice when you create the macro... but there are only a few characters left within the macro limit and I had to condense parts of this to get it to fit)
If you want that to also open the note for editing, add the following to the macro... alas, you can't do this because of the character limit of macros.
i really nead a readme or something to get an explanation to cartographer. I searched all available places, but didnt find any useful information on how you use it.
A lot of information on how i could programm an cartographer addon, though.
So what i need ist:
1. how do i bind a key or button (even a script command) to note my actual position with the information of my target ? (opening map and adding a note is not really userfriendly)
2. how does the import addon work ? what do i have to do to get my (painfully written notes) from gatherer and metamap into cartographer ?
By what i read a lot of people have those problems, please give a hint someone
Thank you
Barracuda
that's exactly what i meant ... or i am just stupid. This Wiki isnt useful for a first start, or not cartographer- or LUA-programmers.
Could you please provide me with an example ? What would i have to provide to the chat with "/script ..." to note the current position to the notes ?
/note <0-100> <0-100> [title]
or you could simply type /note and it will list out the options
A more direct link for the section of wiki you need to look at would have been
[url]http://www.wowace.com/wiki/Cartographer/Notes[/url]
This page shows a function
Cartographer_Notes:OpenNewNoteFrame(x, y [, "creator"])
but after messing around with it for a while, I figured out it only works when the map is open, which is not particularly desirable.
So the macro you need is
[code]/script px,py=GetPlayerMapPosition("player"); /script Cartographer:OpenAlternateMap(); /script Cartographer_Notes:OpenNewNoteFrame(px, py)[/code]
There are still several drawbacks to this:
1. As far as I can figure out, there is no way to bind a key directly to a macro.
2. You have to click ok to save the note and then close the map. It would be nice to only have to type in the text and then hit Enter to save it and resume play. MetaMap did this nicely.[/list]
[size=4][b]It would be great if Cartographer added another bindable key for creating a note (and without having to open it's map first).[/b][/size]
You can add a bindable key yourself by changing the bindings.xml file in the \World of Warcraft\Interface\AddOns\Cartographer folder as below. I *thimk* if you make this file read-only after you save your changes, it will be left alone when you use the AceUpdater. After you reload WoW, you'll be able to set the binding in the usual way... in the key bindings screen scroll down to near the bottom in the section for Cartographer.
[code]<Bindings> <Binding name="CARTOGRAPHER_OPENALTERNATEMAP" description="Open map with alternate settings" header="CARTOGRAPHER"> Cartographer:OpenAlternateMap() </Binding> <Binding name="CARTOGRAPHER_CREATENOTE" description="Create a new note" header="CARTOGRAPHER"> px,py=GetPlayerMapPosition("player") Cartographer:OpenAlternateMap(); Cartographer_Notes:OpenNewNoteFrame(px, py) </Binding> </Bindings>[/code]
List tags are malformed.
Thank you for your answer, and although it is a new information, its not quite what i wanted, as written in my first post.
But: I think it's a good idea if someone could add your comment to the Wiki, it isnt there !!
@dreamgarden
your answer brought me a great deal farther, and your macro works as you described, this one too should be in the WIKI, i think.
Isnt there a way to combine the dreamgarden-macro and the "/note ..." call ?
Doesnt there exist a "GLOBAL-VAR" of the target name ? (Or take it from MobHealth3.lua: targetName = UnitName("target") )
for the next step, i think we need to more things:
1. get the target Information (at least the name) into the ADDNOTE Frame
as far as i understand the docu ( Cartographer_Notes:OpenNewNoteFrame(x, y [, "creator"]) ) it doesnt give the option ... hmm ?
2. and (nice to have) the keybinding:
Thank you all again, and sorry for the "even more" questions.
You can create a note for a specific target by the following (replace "Circle" with icon name of your choice when you create the macro... but there are only a few characters left within the macro limit and I had to condense parts of this to get it to fit)
If you want that to also open the note for editing, add the following to the macro... alas, you can't do this because of the character limit of macros.
@hquest
This explains how to use the import function. I'm not going to guarantee that this is still the correct method, but probably worth a try (backup your data first).
http://www.wowace.com/forums/index.php?topic=2951.msg71442#msg71442
http://www.wowace.com/wiki/Cartographer/FAQ (First question)