• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Znote acc characterprofile

asdzx123

Member
Joined
Jul 1, 2019
Messages
37
Reaction score
8
Need in characterprofile.php precent skills like this
 

Attachments

  • Screenshot_٢٠٢١٠٨٠١-١٣٢٨٢١.png
    Screenshot_٢٠٢١٠٨٠١-١٣٢٨٢١.png
    137.8 KB · Views: 16 · VirusTotal
This part displays the current skill parts:

1627906528378.png
PHP:
<?php if ($config['EQ_shower']['skills']): ?>
    <div id="piv_s">
        <img class="bg" src="/engine/img/skillsbackground.png">
        <span id="s_exp" class="txt"><?php echo $playerstats['experience']; ?></span>
        <span id="s_lvl" class="txt"><?php echo $playerstats['level']; ?></span>
        <span id="s_hp" class="txt"><?php echo number_format($playerstats['health'],0,'',','); ?></span>
        <span id="s_mp" class="txt"><?php echo number_format($playerstats['mana'],0,'',','); ?></span>
        <span id="s_soul" class="txt"><?php echo $playerstats['soul']; ?></span>
        <span id="s_cap" class="txt"><?php echo number_format($playerstats['cap'],0,'',','); ?></span>
        <span id="s_stamina" class="txt"><?php echo $playerstats['stamina']; ?></span>
        <span id="s_maglevel" class="txt"><?php echo $playerstats['maglevel']; ?></span>
        <span id="s_skill_fist" class="txt"><?php echo $playerstats['skill_fist']; ?></span>
        <span id="s_skill_club" class="txt"><?php echo $playerstats['skill_club']; ?></span>
        <span id="s_skill_sword" class="txt"><?php echo $playerstats['skill_sword']; ?></span>
        <span id="s_skill_axe" class="txt"><?php echo $playerstats['skill_axe']; ?></span>
        <span id="s_skill_dist" class="txt"><?php echo $playerstats['skill_dist']; ?></span>
        <span id="s_skill_shielding" class="txt"><?php echo $playerstats['skill_shielding']; ?></span>
        <span id="s_skill_fishing" class="txt"><?php echo $playerstats['skill_fishing']; ?></span>
    </div>
<?php endif; ?>

The HTML code needs to be adjusted to fit your layout, images needs to be added. This is layout specific adjustments that most likely will also require some CSS coding.
If you also want to show progress, you need to fetch some extra columns (_tries columns, etc skill_axe_tries).
And figure out how many tries are needed to advance to next level, this is dependent on current skill level and skill_rate on your server.
 
Back
Top