• 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!

MyACC my characters.html.twig shows only one death table row

SixNine

Active Member
Joined
Dec 12, 2018
Messages
442
Reaction score
40
Hi,
so i noticed only now that my Death section shows only one death rows when it should show 10 rows of player deaths. So im not sure where is the issue

HTML:
      {% if deaths|length > 0 %} 
      <!-- DEATHS -->
        <br/>
        <table border="0" cellspacing="1" cellpadding="4" width="100%">
            <tr bgcolor="{{ config.vdarkborder }}">
                <td colspan="2" class="white"><b>Deaths</b></td>
            </tr>
            {% set i = 0 %}
            {% for death in deaths %}
            <tr bgcolor="{{ getStyle(i) }}">
                <td width="23%" align="center">{{ death.time|date("j M Y, H:i") }}</td>
                <td>{{ death.description|raw }}</td>
            </tr>

            {% set i = i + 1 %}
            {% endfor %}
        <!-- DEATHS_END -->/code]
 
Weird. I can't see anything wrong with the code. Can you export or show me the player_deaths records of that player?
c8db4204cf9e084e3e14c14fb61452bf.png

Something is wrong, i killed player id 1715 like 5 times but in database it shows only one death. All players have only on death it doesnt store more then one deaths for some reason
 
Then it's problem with your server, not with AAC. Because AAC reads that what's inside of player_deaths table.

I suggest you create another thread to find a problem with your engine.
 
Back
Top