View Single Post
10-19-13, 08:08 PM   #3
JWMcQuire
A Flamescale Wyrmkin
 
JWMcQuire's Avatar
Join Date: Jun 2013
Posts: 107
It's an excellent question and I am new to lua codes myself, but decided to give it a try anyway.

You are correct that the two quests now only have 1 objective instead of three.

However, the "Objective" sections I removed only tell the addon to show all three objectives in the quest tracker. Without the "Objective" sections, the quest watcher will only show the 1 remaining objective with the tracking hud pointing toward Hive Regal which is the area now for both quests.

My guess is that the "Objective" sections may not have been necessary at all since the first part of the code for each quest already tells Carbonite what quest to watch and should show all objectives automatically. I'll have to test that on another quest to see if I am right. For now, I have tested my changes and they worked as I had hoped.

My suggestion if you want to try this is to copy/paste the original file to another location so if my changes don't work or you delete too many lines, you can restore it to it's present form. What I do, since I have started doing this, is keep a copy of the whole unzipped addon in a special folder I created for this purpose. It has saved me a few times.

Also when deleting all those lines, look at how the code in the file is organized and make sure you have all the marks before and after exactly the same as in the rest of the addon. If one "}" is one space off, you will get an error. Here is how the code looks in my copy of this file now with the quests before and after showing.

Lua Code:
  1. [8308] = {
  2.     Quest = [[Brann Bronzebeard's Lost Letter|0|56|54|0|0]],
  3.    End = "341|261|32|46.42|78.95",
  4.  },
  5.  [8309] = {
  6.    Quest = [[Glyph Chasing|0|56|54|0|0]],
  7.    Start = "341|261|32|46.39|79.03",
  8.    End = "341|261|32|46.4|79.03",
  9.  },
  10.  [8310] = {
  11.    Quest = [[Breaking the Code|0|56|54|0|0]],
  12.    Start = "342|261|32|46.02|79.32",
  13.    End = "342|261|32|46|79.33",
  14.  },
  15.  [8313] = {
  16.    Quest = [[Sharing the Knowledge|0|56|54|8317|5]],
  17.    Start = "340|261|32|43.54|41.98",
  18.    End = "339|261|32|55.49|36.7",
  19.  },

If you decide to copy/paste this over the original lines into your copy of the file, make sure to remove the line numbers that show up. I haven't figured how to copy lua code from here myself yet without the numbers also being copied. So when I do this, I have to go though and remove those numbers myself so I don't get errors.

I hope this helps.
__________________
I am not an addon author. I contribute when I can, answer questions when I am able, and post issues or ask questions now and then.

Last edited by JWMcQuire : 10-19-13 at 08:12 PM.