Problem with quest lines

Displays Instance keys for TBC

Moderator: titan99

Problem with quest lines

Postby nightfighter » Sat Apr 14, 2007 12:33 am

I have an addon that puts the level of the quest on the frount of the text for the quest name. This works fine, but it is also sent through in the data for the roster and so when you have a WHERE clause in a SQL statement that says:

Code: Select all
quests.quest_name = '" . $iname . "'"

It will not show that I am working on the key quest line. By changing it to:

Code: Select all
quests.quest_name LIKE '%" . $iname . "'"

It works great.
User avatar
Roster AddOn Dev
Roster AddOn Dev
Posts: 169
Joined: Wed Jul 05, 2006 11:25 pm
Location: Boise, Idaho, USA

Problem with quest lines

Postby PleegWat » Sat Apr 14, 2007 1:02 am

There is some logic in roster to remove these quest tags, but since BC addons have started using some other tags that aren't recognized. I know the algorithm has been changed for roster 1.8.
I <3 /bin/bash
User avatar
PleegWat Dev Team Dev Team
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Return to Key BC

Who is online

Users browsing this forum: No registered users and 0 guests