Only show 60's Fix

Addon that shows the maximum statistics possible

Moderator: Exerladan

Only show 60's Fix

Postby Thumann » Wed Jul 12, 2006 12:01 pm

Open maxres\index.php
~line 86

add the words members.level and AND members.level ='60'";

so the line reads
Code: Select all
$query "SELECT members.member_id, members.name, members.class, members.level, players.clientLocale, " .
                    
"players.server, players.max_res_all, players.max_res_fire, players.max_res_nat, players.max_res_arc, players.max_res_fro, players.max_res_shad".
                    
" FROM `".ROSTER_MEMBERSTABLE."` members LEFT JOIN `".ROSTER_PLAYERSTABLE."` players ON members.member_id = players.member_id AND members.guild_id = $guildId AND members.level ='60'"
Thumann
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 78
Joined: Mon Jul 10, 2006 11:03 pm
Location: Copenhagen, Denmark

Re: Only show 60's Fix

Postby Grimicus » Thu Jul 20, 2006 1:13 am

Hah, i wouldn't call this a fix, as more of a hack.
Grimicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 6:06 am

Only show 60's Fix

Postby zanix » Thu Jul 20, 2006 3:50 am

Actually, more of a change for preferance
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Only show 60's Fix

Postby Zovyn » Thu Jul 20, 2006 6:44 pm

I'd call it a life saver since no one in their right mind cares what resists are until they are 60 and raiding.

Thanks for the snipit of code, worked like a charm.

-Z
-Zovyn
User avatar
Zovyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Jul 04, 2006 5:29 pm


Return to Max Stats

Who is online

Users browsing this forum: No registered users and 0 guests

cron