Modding web admin.

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

DizzySkin

FNG / Fresh Meat
Apr 21, 2015
14
0
0
I've been playing around with the web admin and I've managed to customise it to some degree, for instance I've reduced the delay on the game summary refresh, however I can't find how the game summary ajax request is handled.

Specifically: http://localhost:8008/ServerAdmin/current+gamesummary

If I wanted to modify the response to that request or add my own responses to other requests, would that be possible? I did notice this is the same xml structure as gamesummary.inc, however simply creating my own file.inc is not the whole job.
 

Slacker

FNG / Fresh Meat
Dec 11, 2011
39
0
0
So how did you get it to auto-update the game summary page? I would like to have that update without having to refresh the page manually.

EDIT: Never mind, I see the area you are talking about now. I thought you were able to get the Server Info page to update automatically.
 
Last edited:

DizzySkin

FNG / Fresh Meat
Apr 21, 2015
14
0
0
I have also got the players page to auto update and I'm working on the server info page, there are a lot of pitfalls that you can encounter, for instance the table sorting algorithm is really awkward to work with, it doesn't behave as I'd expect at all.

The server info page can be made to auto update using ajax to simply reload the page and copy over the more recent data into the DOM, this is a solution, but a rather slow one, so if I could make my own ajax request handler like /current+gamesummary then I could make this way more efficient.

I'll post some results later tonight.