jerryb1988
Member
- Joined
- Mar 10, 2008
- Messages
- 79
- Reaction score
- 5
If you are using Gesior's powergamer & online time scripts, and its not showing the players level and/or vocation (its supposed too), this small post tells you how to fix it. I'm using http://otland.net/f118/gesior-aac-0-3-4-beta4-fixed-v5-33645/ so I'm not sure if it shows on gesior's default version. Anyways, it its not showing heres how to fix it.
Exphist.php -> Line 53
Replace with:
Onlinetime.php is very similar: -> Line 52
Replace with:
Exphist.php -> Line 53
PHP:
$main_content .= '<br />'.$player['level'].' '.$config_vocations[$player['vocation']].'</td><td align="right">'.coloured_value($player['exphist1'] + $player['exphist2'] + $player['exphist3'] + $player['exphist4'] + $player['exphist5'] + $player['exphist6'] + $player['exphist7'] + $player['experience'] - $player['exphist_lastexp']).'</td>';
PHP:
$main_content .= '<br /><small>'.$player['level'].' '.$vocation_name[0][$player['promotion']][$player['vocation']].'</small></td><td align="right"><small>'.coloured_value($player['exphist1'] + $player['exphist2'] + $player['exphist3'] + $player['exphist4'] + $player['exphist5'] + $player['exphist6'] + $player['exphist7'] + $player['experience'] - $player['exphist_lastexp']).'</small></td>';
Onlinetime.php is very similar: -> Line 52
PHP:
$main_content .= '<br />'.$player['level'].' '.$config_vocations[$player['vocation']].'</td><td align="right">'.hours_and_minutes($player['onlinetime1'] + $player['onlinetime2'] + $player['onlinetime3'] + $player['onlinetime4'] + $player['onlinetime5'] + $player['onlinetime6'] + $player['onlinetime7'] + $player['onlinetimetoday'], 0).'</td>';
PHP:
$main_content .= '<br /><small>'.$player['level'].' '.$vocation_name[0][$player['promotion']][$player['vocation']].'</small></td><td align="right">'.hours_and_minutes($player['onlinetime1'] + $player['onlinetime2'] + $player['onlinetime3'] + $player['onlinetime4'] + $player['onlinetime5'] + $player['onlinetime6'] + $player['onlinetime7'] + $player['onlinetimetoday'], 0).'</td>';