Thread Tools Display Modes
10-19-13, 02:26 AM   #1
JWMcQuire
A Flamescale Wyrmkin
 
JWMcQuire's Avatar
Join Date: Jun 2013
Posts: 107
Changes to Quests51-60.lua File

Today as I quested with a friend in Silithus, I discovered two related quests that used to have 3 objectives now only have one. They are "Glyph Chasing" which is located at line 1155 and "Breaking the Code" which is presently located at line 1171.

While doing "Glyph Chasing", I noticed that only Hive Regal showed up in the objective list followed by two "nil" (mystery) objectives. I forgot to pick up "Breaking the Code", so when I turned in "Glyph Chasing" I picked it up and noticed the same situation.

So I made the following changes before doing the quest to make sure my edits wouldn't cause any errors.

Glyph Chasing - Reduced from 3 objectives to 1
Only Hive Regal objective now given
Deleted Lines 1159 - 1169 inclusive

Breaking the Code - Also reduced from 3 objectives to 1
Only Hive Regal objective now given.
Deleted lines 1175 - 1300 inclusive

For those making these changes themselves, I only eliminated the objective sections of these two quests since they are no longer necessary. If you do the quests with Carbonite as it now is, the other two objectives only show up as "nil". Only the Regal Hive objective shows as it should.

I hope this helps and can be included in a future update of Carbonite.

If it would help for me to do what is necessary to get authorization to post the code to the whole file for people to make these changes, please let me know how to go about doing that. Thanks.

Also, if my efforts are helping in anyway or not, I would appreciate at least a rating or comment to let me know. I have posted code fixes and offered suggestions in other threads that I think should be considered for future updates without any kind of response. So, it would be nice to know if posting changes when I find and fix them are helpful or a waste of time.

I should have included these screenshots when I first posted this to show how the quest watch window looks before and after the edits, but I had to run these quests again on another alt so I could show both of them.
Attached Thumbnails
Click image for larger version

Name:	Before Edit of Quests_51-60 .jpg
Views:	238
Size:	179.4 KB
ID:	7905  Click image for larger version

Name:	After Edit of Quests_51-60 .jpg
Views:	228
Size:	156.5 KB
ID:	7906  
__________________
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-20-13 at 02:45 PM. Reason: Added Screenshots to show before and after edits
 
10-19-13, 07:24 PM   #2
Coasty
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 116
I'm not what you would call very knowledgeable about LUA programming, so bear with me if I'm asking a "dumb" question.

If I understood what you said correctly, each quest now has one quest objective instead of three they used to have (if I remember correctly about the hive quests, you're right), but it looks like the lines you deleted remove all three three quest objectives from each quest, instead of just the two no longer required by each quest. Wouldn't that somewhat break things in Carbonite for those two quests?

I'm probably misunderstanding the way the LUA code is laid out, but thought I'd ask.
__________________
Paul Stout
nUI User and Contributor
[email protected]

Last edited by Coasty : 10-19-13 at 07:28 PM.
 
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.
 
10-20-13, 09:12 AM   #4
JimJoBlue
An Onyxian Warder
 
JimJoBlue's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2012
Posts: 362
Originally Posted by JWMcQuire View Post
*snip
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.
Hit the quote button and copy the content's between the highlight tags
__________________
I still say a church steeple with a lightning rod on top shows a lack of confidence. Doug McLeod


 
10-20-13, 11:41 AM   #5
JWMcQuire
A Flamescale Wyrmkin
 
JWMcQuire's Avatar
Join Date: Jun 2013
Posts: 107
Originally Posted by JimJoBlue View Post
Hit the quote button and copy the content's between the highlight tags
Thank you for that. I guess that should have been obvious. lol
__________________
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.
 
10-20-13, 04:52 PM   #6
JWMcQuire
A Flamescale Wyrmkin
 
JWMcQuire's Avatar
Join Date: Jun 2013
Posts: 107
Explanation on actual Locations of Quests

I tested these two quests today along with "Into the Maw of Madness" where I had to kill Mistress Natalia Mar'alith who is right next to the crystal you have to click to complete "Glyph Chasing". Carbonite points exactly to the locations of the mistress and the crystal, but it doesn't point to the entrance of Hive Regal one must go to that gets you to them.

I assume the "objective" sections I deleted could have been edited to show the location of the entrance, but I found that by flying in the direction Carbonite points me to, the entrance is the one closest to the actual location of the objectives.

However, if anyone wants to try to tweak the code to show the entrance location, you can find it at 58.2, 78.6.
__________________
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.
 
 

WoWInterface » Featured Projects » Carbonite » Carbonite Archive » Changes to Quests51-60.lua File

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