Thread Tools Display Modes
05-03-13, 10:08 AM   #1
JimJoBlue
An Onyxian Warder
 
JimJoBlue's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 362
Adding to the POI database, a few questions.

I'm editing the original post here to explain a little about this thread and to help others if they want to add this to the beta.
The files are located in the Carbonite\Data\Guides folder.
If you want to add it yourself just open the files up with notepad++ and copy, paste away..

If you want to help (Or you think I'm going too slow, lol) Rythal has made it super easy...

I'll break down one of the entry's for you...

[465] = "1,54.2,62.6|2,54.2,41.6",
[465] = "1,54.2,62.6|2,54.2,41.6",

Zone/Map Id, Get this from Carbonite\Data\Zones.lua
Affiliation 0 for Neutral, 1 for Alliance and 2 for Horde.
Co-ord - Get this either in game or from Wowhead..
Next NPC If in the same map.




Original post:~
I'm sitting here trying to figure out If I can contribute to the database in some way and I've been looking at the Guide.lua file in the data folder. With the hope I can add to it.

Alot of Byte code in there, but at the end I see there is flight master data that I can understand.

["N,6,810,74.42,81.42"]="Gao-Ran Battlefront, Townlong Steppes", Is an example

Just for clarification, is the above ["(faction alignment),(continent),(zone ID),(horizontal co-ord),(height co-ord)"]="(Info displayed in carb), (info title displayed in carb)",
^is this correct?

My other question is could I write the data and hand it to you Rythal to implement in to Carb
e.g ~Under the Warrior trainer section for the trainer in Exodar.

["A,1,471,55.00,83.04"]="Warrior Trainer, Ahonan", (next entry .etc)

^ Is that format correct?



If I am on the right track here I'll start writing the missing parts and the parts in byte code from wowhead and put it in a text file or post it here for implementation into the addon. Slow I know but I want to help..
If I'm wrong, a kind shove in the right direction would be appreciated.
__________________
I still say a church steeple with a lightning rod on top shows a lack of confidence. Doug McLeod



Last edited by JimJoBlue : 05-14-13 at 11:27 AM.
 
05-03-13, 12:59 PM   #2
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
The entire format has been changed moving forward.... and will be 100x easier to do what your looking at doing, which was why I did it :P

the old format is all that bytecode you saw...
new format is 20+ seperate files, each one dealing with specific things like mailbox or warriortrainer and the format of the file is no more byte code...

[blizzard areaid] = faction,x_loc,y_loc|faction,x_loc,y_loc

Everything in the guide has been changed over to this (except flight masters, but even that's using a semi-new layout to eliminate unneeded stuff)

["faction,mapid,x,y"]="npcname"

I really should release the new alpha instead of working on new things and breaking stuff again.... Maybe i'll release it tonight and just not include the new stuff.... was working on creating the the first actual new feature to carbonite in years.... mostly cuz it's something I wanted for myself, and it's something many guildies have complained they wished they had.

Was keeping quiet until it was done but working on adding weekly tracker, so you can easily bring up a carbonite screen and see which alts have done which world boss and, which looted cache key. Nothing major, but definitely useful.

I do need to update gathernodes still, and when I do... hopefully carbonite.nodes will be no more as i'm going to implement importing gathererdb, and gathermate2_db so people have an option which database to use. I just need to seek out and obtain permission to actually do it before I move forward on it.
 
05-03-13, 03:02 PM   #3
JimJoBlue
An Onyxian Warder
 
JimJoBlue's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 362
OOOhhhhhh new features! Sounds like a good one too..

So in your unreleased version of carb the guide has been split into individual files with the new format?
Is the database populated with data yet? Or do you still need that done?
__________________
I still say a church steeple with a lightning rod on top shows a lack of confidence. Doug McLeod


 
05-03-13, 04:24 PM   #4
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
it's populated with whatever was known to this point, I converted the bytecode that was there into my new format, so i'm sure there is a lot missing or in the wrong place as the vast majority of it was from before cata, along with a couple from MoP's launch.

And yes it's all split so all anvils are in anvils.lua, druid trainers in druidtrainers.lua etc.
 
05-04-13, 10:41 AM   #5
JimJoBlue
An Onyxian Warder
 
JimJoBlue's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 362
I've downloaded the beta-a10 and started working on the guide files.
Very easy to understand now, IF I am doing it right lol...

On that note, I think I have completed the "Alchemy Trainer.lua" Could you check it for me?

Lua Code:
  1. Nx.GuideData["Alchemy Trainer"] = {
  2.      ["Mode"] = 32,
  3.      [4] = "2,55.4,74.0",
  4.      [20] = "2,59.6,52.0",
  5.      [24] = "2,49.0,66.2",
  6.      [30] = "1,39.8,48.6",   
  7.      [35] = "1,37.0,49.2",
  8.      [38] = "2,49.8,56.0",
  9.      [41] = "1,57.0,53.0",
  10.      [43] = "1,49.8,65.8",
  11.      [121] = "1,46.6,42.8",
  12.      [141] = "1,64.0,47.6",  
  13.      [301] = "1,55.7,86.1",
  14.      [321] = "2,55.7,45.8",
  15.      [341] = "1,66.6,55.6",  
  16.      [362] = "2,46.6,33.2",
  17.      [381] = "1,53.9,38.5",
  18.      [382] = "2,47.8,73.4",
  19.      [462] = "2,38.2,72.6",  
  20.      [464] = "1,48.4,51.6",
  21.      [465] = "2,52.28,36.47|1,53.8,65.83",
  22.      [471] = "1,27.8,60.3",
  23.      [480] = "2,66.7,16.8",
  24.      [481] = "0,45.6,21.5|0,38.6,71.8|0,39.2,29.4",
  25.      [486] = "2,41.8,54.2|1,57.8,71.8",
  26.      [488] = "2,76.88,62.09|2,36.2,48.83",
  27.      [491] = "1,58.35,62.22|2,78.75,28.53",  
  28.      [492] = "0,71.6,21.0",
  29.      [504] = "0,42.6,32",
  30.      [673] = "0,42.6,74.8",
  31.      [806] = "0,46.5,46.0",    
  32.      [858] = "0,55.5,35.2",
  33. }

If that is correct I'll get to work on the other files...

*edit oh I could make it all organised and stuff too.. at the moment I'm just writing it as it comes up in wowhead..
__________________
I still say a church steeple with a lightning rod on top shows a lack of confidence. Doug McLeod



Last edited by JimJoBlue : 10-07-13 at 01:18 PM.
 
05-04-13, 10:47 AM   #6
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
it looks correct not sure on the faction one, should be 0 for neutral, 1 for alliance, 2 for horde.. not sure if your found that already or if wowhead happened to display it the same way.
 
 

WoWInterface » Featured Projects » Carbonite » Carbonite Archive » Adding to the POI database, a few questions.

Thread Tools
Display Modes

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