Level of the recipes in the character view.

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Level of the recipes in the character view.

Postby Gibin » Tue Jan 06, 2009 6:16 pm

Hello,

there is a column called level in the character recipes list but it is empty and so there is no way sort by level. So all grey recipes are ordered alphabetical and it is hard to find the interesting Things for a level. Is there any way to fill these column? (WoW Roster 2.0.1)

Gibin
User avatar
Gibin
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Mon Aug 07, 2006 12:37 pm

Level of the recipes in the character view.

Postby zanix » Wed Jan 07, 2009 8:59 am

The level column is "Required Level to Use" for the crafted item
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Level of the recipes in the character view.

Postby Gibin » Wed Jan 07, 2009 2:20 pm

zanix wrote:The level column is "Required Level to Use" for the crafted item


OK, but these column is empty as you can see here (v2.0.1) or here (v2.0.9.1904). How to fill it? Or is it a problem of the german localisation?

Gibin
User avatar
Gibin
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Mon Aug 07, 2006 12:37 pm

Level of the recipes in the character view.

Postby zanix » Wed Jan 07, 2009 9:44 pm

Could be a problem with the German localization

Make sure this line in localization/deDE.php is correct
Code: Select all
// Uses preg_match() to find required level in recipe tooltip
$lang['requires_level'] = '/Benötigte Stufe ([\d]+)/';


Any item already in Roster will need to be rescanned (reupload CP.lua) for the level to show up
Last edited by zanix on Wed Jan 07, 2009 9:46 pm, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Level of the recipes in the character view.

Postby Gibin » Wed Jan 07, 2009 11:00 pm

The line in my deDE.php looked exactly like yours, so I looked in the cp.lua and there stands BenÃtigt Stufe and not BenÃtigte Stufe.

so I changed the line to

Code: Select all
// Uses preg_match() to find required level in recipe tooltip
$lang['requires_level'] = '/BenÃtigt Stufe ([\d]+)/';


and now it works.

Thanks

Gibin
User avatar
Gibin
WR.net Apprentice
WR.net Apprentice
 
Posts: 14
Joined: Mon Aug 07, 2006 12:37 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron