$num_lvl_70 = 0;
$num_lvl_60_69 = 0;
$num_lvl_50_59 = 0;
$num_lvl_40_49 = 0;
$num_lvl_30_39 = 0;
$num_lvl_1_29 = 0;
$num_lvl_80 = 0;
$num_lvl_70_79 = 0;
$num_lvl_60_69 = 0;
$num_lvl_50_59 = 0;
$num_lvl_40_49 = 0;
$num_lvl_1_39 = 0;
case 7:
$num_lvl_70 += $row['amount'];
break;
case 6:
$num_lvl_60_69 += $row['amount'];
break;
case 5:
$num_lvl_50_59 += $row['amount'];
break;
case 4:
$num_lvl_40_49 += $row['amount'];
break;
case 3:
$num_lvl_30_39 += $row['amount'];
break;
case 2:
case 1:
case 0:
$num_lvl_1_29 += $row['amount'];
break;
default:
case 8:
$num_lvl_80 += $row['amount'];
break;
case 7:
$num_lvl_70_79 += $row['amount'];
break;
case 6:
$num_lvl_60_69 += $row['amount'];
break;
case 5:
$num_lvl_50_59 += $row['amount'];
break;
case 4:
$num_lvl_40_49 += $row['amount'];
break;
case 3:
case 2:
case 1:
case 0:
$num_lvl_1_39 += $row['amount'];
break;
default:
Ive already gone over that in another thread I'd rather not have to explain it again... short answer I'm not to fond of the way it looks.Anaxent wrote:Why not upgrade to 2.0?
PleegWat wrote:There's another two or three places in 1.7.3 where you need to fix the level.
For 2.0, you just need to update some values in lib/constants.php.
<ul>
<li style="color:#999999;">Average Level: '.round($result_avg).'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 1-29: '.$num_lvl_1_29.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 30-39: '.$num_lvl_30_39.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 40-49: '.$num_lvl_40_49.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 50-59: '.$num_lvl_50_59.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 60-69:: '.$num_lvl_60_69.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 70: '.$num_lvl_70.'</li>
Umm 2.0 isnt even fully released yet and I havent seen any sort of news on a 3.0PleegWat wrote:You'll have to search back what got changed for 1.7.2 when wow 2.0 hit - I can't remember from the back of my head. There's a good chance I'll look it up myself at some point to post it for those who need it, but not till after wow 3.0 actually releases.
define('ROSTER_MAXCHARLEVEL','70');
define('ROSTER_MAXCHARLEVEL','80');
Now I gotcha, but in regards to that... Ive been told that once the 2.0 roster comes out support for 1.7.3 will cease to exist. So with that said assuming roster 2.0 comes out before Lich King does then one would assume no support will be given for 1.7.3 on how to make it Lich King ready hence the reason for this post. Also, yes I know professions and other stuff will need to be updated for roster 1.7.3 and 2.0 to make them Lick King ready and any other expansion that Blizzard decides to release when they release them.PleegWat wrote:There's also some stuff to do professions.
You're misunderstanding me about the version numbers I referred to.
There have been earlier posts about how to convert WoWRoster 1.7.2 to be compatible with World of Warcraft: The Burning Crusade (2.0).
In the same way, there will be posts on how to convert WoWRoster 2.0 (and probably 1.7.3) to be compaible with World of Warcraft: Wrath of the Lich King (3.0).
And that's the last I'll post on the issue until WotLK goes public beta.
<li style="color:#999999;">Average Level: '.round($result_avg).'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 1-39: '.$num_lvl_1_39.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 40-49: '.$num_lvl_40_49.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 50-59: '.$num_lvl_50_59.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 60-69: '.$num_lvl_60_69.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 70-79:: '.$num_lvl_70_79.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 80: '.$num_lvl_80.'</li>
Return to General Support & Feedback
Users browsing this forum: No registered users and 1 guest