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 Zeppelin Debris, 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 Zeppelin Debris, 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 Cursed Talisman, 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},
-
- {“
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 Cursed Talisman, 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},
-
- {“
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?
Hi! Ask for help on the WoW-Pro Addon discord: Discord Invite Link – https://discord.gg/aarduK7
I cannot get a guide to load and every time I try to get it to load it just pulls up the addon menu
there is no means for me to select a guide
idk how common this is but the coordinates got stuck to my pointer and I can’t get rid of it, and I can’t click on anything else… https://gyazo.com/6d65a4985cf3974a845efe1d9b09af61
This Gyazo is a short gif showing the problem I am having
keep cool and don’t rushkeep cool and don’t rush yourself. 🙂
will doAs 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
Yes this is a typo in theYes 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.
I tested it thoroughly andI 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
[ ] bracketsI 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.
The common problems threadThe common problems thread is a wiki upload your code there and will help ya debug it.
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 😛
huh that is odd as it ishuh 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?
Disable Other ModsI 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
If we can find a solutionIf we can find a solution will update the wiki
Quote:{“[S]Sell Junk and[quote][code]{“[S]Sell Junk and repair at the NPC next to you.”0.71,0.63},[/code][/quote]
Should read:
[code]{“[S]Sell Junk and repair at the NPC next to you.”[u],[/u]0.71,0.63},[/code]
Missing a comma…so I’m surprised the first one ran at all…assuming this was copied and pasted.
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. 🙂