• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Questions regarding the Webinterface

Patros

Grizzled Veteran
Apr 23, 2015
370
20
Germany
  1. Does anyone know if there is some documentation for the webinterface?
  2. What programing language is being used? Looks like ASP.net stuff.
  3. Can I debug output a whole object to see what attributes it has? For instance I would like to know what else is in the player object and how to access it.
Code example from current_player_row.inc with player levels added:

PHP:
<tr class="<%evenodd%>">
    <td style="background: <%player.teamcolor%>; color: <%player.teamcolor%>;"><%player.teamid%> </td>
    <td><%player.name%></td>
    <td><%player.perk.name%></td>
    <td class="center"><%player.perk.level%></td>
    <td class="right"><%player.score%></td>
    <td class="right"><%player.pawn.health%></td>
    <td class="right"><%player.kills%></td>
    <td class="right" title="Packet loss: <%player.packetloss%>"><%player.ping%></td>
    <td class="center"><%player.admin%></td>
</tr>
 
1309181399001.jpg




Anyone?
Maybe a guess how for/foreach loops look like in this syntax?

I could save some time if someone knows the language. If nobody knows I will try to look deeper into it myself and post my findings here.
 
Last edited:
Upvote 0
Still don't know the syntax.. might be proprietary. These aren't objects. They're hardcoded request strings that are evaluated by the webserver when the html file is parsed (I guess).

In case anyone is interested, found some of these strings in:
Code:
Development/Src/WebAdmin/Classes/
Have not tested them in the webadmin files. Quite possible that some of those cannot be used on certain pages or in isolation but some entries might be useful:

Spoiler!
 
Last edited:
Upvote 0