quote:Originally posted by CapSoft: 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;
but i can't figure out where the $showlevel is based on. HELP ME PLEASE
are your on 6.01-6.04?, ive only seen it work on 6.05, the only 6.04f i tried to install it on kicked the same error, upgrade to 6.05 via beyound compare and try to isntall
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.