How to display Boss statistics with time random.

Deazer

Head Developer
Staff member
Path to HTML: gameserver\data\html\scripts\services\command_bossstatus.htm
and add another column in HTML where we describe our spread (in my example, I put everything 19:~30 min):

HTML:
<html>
<title>Boss status</title>
<body>
<table width=282 border=0 cellspacing=0 cellpadding=0 bgcolor="000000">
    <tr><td align=center>
        <br>
        <img src="L2UI.SquareGray" width=270 height=1>
        <br>
    <table width=260 border=0 cellspacing=0 cellpadding=0>
    <tr><td width=180>
    <table width=180 border=0 cellspacing=0 cellpadding=0>
            <tr><td width=80>Boss:</td><td width=100>Status:</td></tr>
            %list%
        </table>
    </td><td width=80>
    <table width=80 border=0 cellspacing=0 cellpadding=0>
            <tr><td width=40>Random:</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
            <tr><td width=40>19:~30 min</td></tr>
        </table>
    </td></tr>
    </table>
        <img src="L2UI.SquareGray" width=270 height=1>
        <br>
    </td></tr>
    <tr><td align=center>
        Now: %current_date%
        <br>
    </td></tr>
</table>
</body>
</html>


Next, we need to shorten the output of the statistics and trim the hours and minutes of the spawn.
Path: gameserver/config/services.properties
BossStatusRespawnFormat = HH: mm dd.MM.yyyy
Change to:
BossStatusRespawnFormat = dd.MM.yyyy

We get at the exit:
f61716f59335e3ff9a16f163403417ba.png
 
Back
Top