Thread Tools Display Modes
01-05-15, 08:59 PM   #1
noobinit
A Murloc Raider
Join Date: Jan 2014
Posts: 7
Originally Posted by JimJoBlue View Post
If I get time (which is extremely limited at the moment), I might make a notes plugin for this...

I'll start working on it when real live gives me a break and get back to you.... I don't even get time to play at the mo...
I'm really excited about this possibility AND I believe i can offer you an exchange - or try to. Please let me know what you think:
The Twink Community is a very active and cohesive group. If we can get a plug in to import data ourselves, i could spearhead a project to create specific data sets such as: all sturdy treasure chests, all maplewood treasure chests, etc. Potentially other data sets as well depending on the interests of the community. If you the developers are interested in specific data sets - let me know.
  Reply With Quote
01-05-15, 09:32 PM   #2
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
Originally Posted by noobinit View Post
I'm really excited about this possibility AND I believe i can offer you an exchange - or try to. Please let me know what you think:
The Twink Community is a very active and cohesive group. If we can get a plug in to import data ourselves, i could spearhead a project to create specific data sets such as: all sturdy treasure chests, all maplewood treasure chests, etc. Potentially other data sets as well depending on the interests of the community. If you the developers are interested in specific data sets - let me know.
The addon is already capable of this, one of the first change to Notes was plugin support and you can see the sample of how to do it inside the API Sample folder that is inside the notes download.
  Reply With Quote
01-07-15, 03:59 AM   #3
atl77
A Chromatic Dragonspawn
Join Date: Oct 2014
Posts: 179
The API is really simple, but a bit more documenation is always helpful, so here goes:

Lua Code:
  1. Nx.Notes:AddonNote(folder,name,icon,id,x,y)
  • "folder" is your addon/sub-addon name, for filtering, e.g. "TimelessIsleTreasures"; all notes that belong together share the same folder name.
  • "name" is the unique name of the note, e.g. "moss-covered chest 1". A second Note with the same name will overwrite the first one.
  • "icon" is a number between 1 and 28 (search the NxNote.lua code for self.NoteIcons) - we can probably either add more icons or allow to introduce your own textures rather easily, by adding "or index" to line 157.
  • "id" is the mapid of the zone your note should be displayed to; a look at Carbonite/Data/Zones.lua may be helpful in finding the correct id.
  • "x" and "y" are rather self-explanatory.

Last edited by atl77 : 01-07-15 at 09:36 AM.
  Reply With Quote
01-10-15, 03:56 PM   #4
noobinit
A Murloc Raider
Join Date: Jan 2014
Posts: 7
Originally Posted by atl77 View Post
The API is really simple, but a bit more documenation is always helpful, so here goes:

Lua Code:
  1. Nx.Notes:AddonNote(folder,name,icon,id,x,y)
  • "folder" is your addon/sub-addon name, for filtering, e.g. "TimelessIsleTreasures"; all notes that belong together share the same folder name.
  • "name" is the unique name of the note, e.g. "moss-covered chest 1". A second Note with the same name will overwrite the first one.
  • "icon" is a number between 1 and 28 (search the NxNote.lua code for self.NoteIcons) - we can probably either add more icons or allow to introduce your own textures rather easily, by adding "or index" to line 157.
  • "id" is the mapid of the zone your note should be displayed to; a look at Carbonite/Data/Zones.lua may be helpful in finding the correct id.
  • "x" and "y" are rather self-explanatory.
thanks for this information. unfortunately I am not competent even to follow these directions ! I need some additional guidance if you can. here is what I have tried:
* I added a test note and then tried to find where it was written in the files under C:\Program Files (x86)\World of Warcraft\Interface\AddOns\Carbonite.Notes - and could not find manually looking through code using notepad.exe (also hoping that the file modified date would help)
* similarly i looked elsewhere under the \world of warcraft folder - and still could not find it
* copied the sample files from the \API sample folder to see if they could be imported and viewed in game.

SO i really don't know what i'm doing obviously. Any additional help would be greatly appreciated. thanks.
  Reply With Quote
01-11-15, 03:10 AM   #5
nelegalno2
A Flamescale Wyrmkin
Join Date: Dec 2014
Posts: 132
Let's say you want to create Chests notes:
You have to create a new folder in \Interface\AddOns\ named: Carbonite.Notes.Chests
Then create a new file named Carbonite.Notes.Chests.toc containing:
Code:
## Interface: 60000
## Title: Carbonite Notes - Chests
## Version: 1.0
## Author: noobinit
## Notes: Description of the addon
## DefaultState: Enabled
## LoadOnDemand: 0
## RequiredDeps: Carbonite.Notes

Chests.lua
note: the values for Title, Version, Author & Notes are just examples and should be changed according to you're purpose.

And another new file named Chests.lua containing the data according to atl77 specification.
For example:
Code:
Nx.Notes:AddonNote("Chests","Chest Name 1",4,16,40,49)
Nx.Notes:AddonNote("Chests","Chest Name 2",4,17,21,56)
Nx.Notes:AddonNote("Chests","Chest Name 3",4,17,66,36)
Nx.Notes:AddonNote("Chests","Chest Name 4",4,19,45,88)
Nx.Notes:AddonNote("Chests","Chest Name 5",4,19,61,14)
P.S. The available icons can be found in NxFav.lua (for now the link will lead you directly to them, once the code changes you can find them by searching for self.NoteIcons).

BTW Can support for dungeon floors be added to the notes?

Last edited by nelegalno2 : 01-11-15 at 03:16 AM.
  Reply With Quote
01-11-15, 03:58 AM   #6
samyonair
A Frostmaul Preserver
 
samyonair's Avatar
Join Date: May 2009
Posts: 257
Originally Posted by nelegalno2 View Post
...

BTW Can support for dungeon floors be added to the notes?
dungeon floors are not supported for the moment overall, it has to be fixed in entire code

Greetings Samyonair
  Reply With Quote
01-11-15, 11:27 AM   #7
atl77
A Chromatic Dragonspawn
Join Date: Oct 2014
Posts: 179
Originally Posted by noobinit View Post
thanks for this information. unfortunately I am not competent even to follow these directions ! I need some additional guidance if you can. here is what I have tried:
* I added a test note and then tried to find where it was written in the files under C:\Program Files (x86)\World of Warcraft\Interface\AddOns\Carbonite.Notes - and could not find manually looking through code using notepad.exe (also hoping that the file modified date would help)
* similarly i looked elsewhere under the \world of warcraft folder - and still could not find it
* copied the sample files from the \API sample folder to see if they could be imported and viewed in game.

SO i really don't know what i'm doing obviously. Any additional help would be greatly appreciated. thanks.
Your own notes are saved under [WOW]\WTF\Account\[your account]\SavedVariables\Carbonite.Notes.lua
  Reply With Quote
01-15-15, 08:10 PM   #8
noobinit
A Murloc Raider
Join Date: Jan 2014
Posts: 7
Originally Posted by atl77 View Post
Your own notes are saved under [WOW]\WTF\Account\[your account]\SavedVariables\Carbonite.Notes.lua
Thanks so far i'm following and will see how it goes. But i'm not sure about the distinction you are making between "your own notes" and the notes folders/files as described by nelegalno2. thanks again !
  Reply With Quote
01-16-15, 04:04 AM   #9
nelegalno2
A Flamescale Wyrmkin
Join Date: Dec 2014
Posts: 132
Originally Posted by noobinit View Post
Thanks so far i'm following and will see how it goes. But i'm not sure about the distinction you are making between "your own notes" and the notes folders/files as described by nelegalno2. thanks again !
"your own notes" in this case is when you make a note in Carbonite using the map addon that's available only to you, what I described is a way to make an addon to share Notes with other users.
In theory you can try making the notes in-game and then transferring the ones you want from [WOW]\WTF\Account\[your account]\SavedVariables\Carbonite.Notes.lua to the Chests.lua file from my example but I haven't tried it and don't know what changes (if any) are necessary for the transfer.
  Reply With Quote

WoWInterface » Featured Projects » Carbonite » Carbonite: Notes Module » Carbonite Notes import from old version?


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