Keys - Roque / (=Thiefs) - membersinst.php

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

Keys - Roque / (=Thiefs) - membersinst.php

Postby tuigii » Mon Apr 23, 2007 9:50 pm

Suddenly, when I introduced a Guild member / banker in my Roster, 2 keys were being marked with a "red crossed image" on the ..../roster/indexinst.php page. This concerns the Morau et HT keys.

I found this table in membersinst.php file :
//Minimum lockpicking skill to get it, 1000 indicates that the lock can't be picked
$min_skill_for_lock = array(
'SG' => 225,
'Gnome' => 150,
'SM' => 175,
'ZF' => 1000,
'Mauro' => 1000,
'BRDp' => 250,
'BRDs' => 1000,
'DM' => 295,
'Scholo' => 280,
'Strath' => 295,
'UBRS' => 1000,
'Onyxia' => 1000,
'MC' => 1000,
);

Please note the red text.

Clear is that this is being called :
Code: Select all
list($current_skill,$max_skill) = explode(':',$srow['skill_level']);
(on line 233 of membersinst.php), or our 'thief' in question hasn't got any capabilities about lockpicking in the database (no trace of it when I scanned for it in the skills table.
What happens is that $current_skill will be zero and $min_skill_for_lock[$key] also (!!!) for 2 instances .... (see below why).
A 'non red crossed image placeholder' will appear'.

I changed it for this :
//Minimum lockpicking skill to get it, 1000 indicates that the lock can't be picked
$min_skill_for_lock = array(
'SG' => 225,
'Gnome' => 150,
'SM' => 175,
'ZF' => 1000,
'Marau' => 1000,
'BRDp' => 250,
'BRDs' => 1000,
'HT' => 295,
'Scholo' => 280,
'Strath' => 295,
'UBRS' => 1000,
'Onyxia' => 1000,
'MC' => 1000,
);


Problem solved....

BTW : This can't be a language question.

My main 'check' question is : no-one has seen these non-key-place-holder images with low level thiefs ?

[big post for a small issue.... :mrgreen: ]
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron