Wow-Pro Addon: Common Problems

This article needs more details/information/content.
You are currently viewing a Wiki Page. It can be edited by anyone who is currently logged in. Before you change anything, please make sure to read our FAQ, the editing guidelines of this post as well as its comments.

As I have been fleshing out problems I have noticed that I hit a lot of things that everyone else seems to hit and as the original page is getting very full of comments it is getting harder and harder to find the answers there so I thought I would set up this page to basically have a board to find those questions and clean them up.


Frequent problems: --ToC

Bracketing Errors
One of the first things I ran into was my lines of code that I thought should compile to give me a good starting stub ran like this

    Guide_Name={
    guide={
    {}
    },
    type="alliance"
    header="Guide Name Long Form"
    }
    WP_AddGuide(Guide_Name)

The thing wouldn't compile because I was missing one little comma. You have to be sure that after every closing bracket } there is a comma or it will kick it back to you and wont show up on the list because wow cannot read it.


Quotation Problems

In typing out the guides sometimes Jame has things in quote such as

6. Ride east and stay north of the area called "Expedition Armory". On your path you should see Zeppelin Debris, gather them.

Should you put it into your guide as:

{"[M]Ride east and stay north of the area called "Expedition Armory".|n[L]On your path you should see [item]Zeppelin Debris[/item], gather them.",0.0,.0.0},

It will toss back an error and not run but changing it to:

{"[M]Ride east and stay north of the area called 'Expedition Armory'.|n[L]On your path you should see [item]Zeppelin Debris[/item], gather them.",0.0,.0.0},

Will run just fine.


Problems with quest names

In my guide I am having a problem including the level requirements on my quest names. Current code looks like this and works fine

    A_6065={guide={
    {"[K]Go there and kill orcs until you find a [item]Cursed Talisman[/item], it can drop from any Bleeding Hollow orc.",0.66,0.67},
    {"[M]Once you have the talisman, ride east to [location]Expedition Point[/location].|n[T]Turn in [quest]Ill Omens[/quest].|n[G]Get the follow up [quest]Cursed Talismans[/quest].",0.71,0.63},
    {"[S]Sell Junk and repair at the NPC next to you.",0.71,0.63},
    {"[T]Turn in [quest]Expedition Point[/quest].|n[G]Get the follow up [quest]Disrupt Their Reinforcements[/quest]. Also get [quest]Zeth'Gor Must Burn[/quest]",0.,0.},
    {"WIP",0.0,0.0},
    },

    type = "alliance",
    header = "Jame's Alliance leveling guide (60-65)"
    }
    WP_AddGuide(A_6065)

but when I try it with the levels thus:

    A_6065={guide={
    {"[K]Go there and kill orcs until you find a [item]Cursed Talisman[/item], it can drop from any Bleeding Hollow orc.",0.66,0.67},
    {"[M]Once you have the talisman, ride east to [location]Expedition Point[/location].|n[T]Turn in [quest][58] Ill Omens[/quest].|n[G]Get the follow up [quest][58] Cursed Talismans[/quest].",0.71,0.63},
    {"[S]Sell Junk and repair at the NPC next to you.",0.71,0.63},
    {"[T]Turn in [quest][61] Expedition Point[/quest].|n[G]Get the follow up [quest][62] Disrupt Their Reinforcements[/quest]. Also get [quest][61] Zeth'Gor Must Burn[/quest]",0.,0.},
    {"WIP",0.0,0.0},
    },

    type = "alliance",
    header = "Jame's Alliance leveling guide (60-65)"
    }
    WP_AddGuide(A_6065)

it wont compile.... any ideas on what is wrong?

Comments

Benhir's picture

Found a coords probelm!

I don't know if this is the right place, but I think that "common problems" section should be good. At step 92 of the Grizzly Hills guide I found a coordinates mistake, I have taken a screenshot:

http://img147.imageshack.us/img147/323/screenshot011009184418kn8.jpg

As you can see, I'm in front of the q-giver while the coords are terribly off Sticking out tongue

Jahwo's picture

Yes this is a typo in the

Yes this is a typo in the guide. I thought I already fixed it, but seems like I didn't. Going to do it rihgt now, and the fixed version will, at the moment, be available as a single guide on the addon-page.

The common problems thread

The common problems thread is a wiki upload your code there and will help ya debug it.

JamesL85's picture

Disable Other Mods

I have found that disabling all mods but the WoWPro mod helps debug editing. There's a mod bundled with Auctioneer (if you have that installed) that was hiding my errors when trying to code in guides. Disabling also helped with load times when I reloaded the UI.

James

Vildecor's picture

Quote:{"[S]Sell Junk and

Quote:
{"[S]Sell Junk and repair at the NPC next to you."0.71,0.63},

Should read:
{"[S]Sell Junk and repair at the NPC next to you.",0.71,0.63},

Missing a comma...so I'm surprised the first one ran at all...assuming this was copied and pasted.

huh that is odd as it is

huh that is odd as it is copy and pasted and that part ran no problem lol. Guess for now I am going to keep away from leaving the levels of quests in until I can get it figured out. Anyone else have problems they are running into to include?

Drudoo's picture

Im not sure what it can be,

Im not sure what it can be, but instead of writing [quest][/quest] im using the "old" color codes |cFFCC9933TEXT|r that works. Smiling

If we can find a solution

If we can find a solution will update the wiki

[ ] brackets

I haven't looked into the code at all but could it be that the addon parses strings with [ ] for tags (i.e. [quest]), in which case it would try to parse [61] and fail.

Jahwo's picture

I tested it thoroughly and

I tested it thoroughly and writing the questlevel in brackets does not give any errors for me. Maybe try downloading the addon again and look through your guide for missing commas or other possible small mistakes. If it still desn't work, upload your whole addon and I'll look through it

will do

As soon as I can get back to my home pc will redownload and test life has been hectic and I havent gotten much written :\ I am a bit upset with myself over that

Jahwo's picture

keep cool and don't rush

keep cool and don't rush yourself. Smiling