hi people i have ubb version 6.0.x but my rpg status bars won't work correctly. they appear but everything stands on zero. there isn't even a level.
i'll post the code here:
Public_Topic_Page.pl
>To install you'll need to deleate a few things
-----------
Find
-----------
my $row = qq~
-------------------------------
ABOVE YES ABOVE, NOT BELOW! add
-------------------------------
$maxhp= int ($maxhp);
if ($maxhp <= 0) {
$zhp = 1;
} else {
$zhp = $maxhp;
}
$hpf= int (100 * ($hp / $zhp)) - 1;
$maxmp= ($user_profile[10] * $level) / 5;
$mp= $user_profile[7] / 3;
if ($mp >= $maxmp) {
$mp = $maxmp;
}
$maxmp = int ($maxmp);
$mp = int ($mp);
if ($maxmp <= 0) {
$zmp = 1;
} else {
$zmp = $maxmp;
}
$mpf= int (100 * ($mp / $zmp)) - 1;
-----------
Find
-----------
$show_public_name
----------
below add
----------
Level: $showlevel
$member_numberClass: $user_status
HP: $hp / $maxhp
MP: $mp / $maxmp
Exp: $ep% ________________
END HACKING
the pictures are in the correct dir.
but i can't figure out where the $showlevel is based on.
HELP ME PLEASE