PDA

View Full Version : CSV Export of the global bans


eteran
14th March, 2007, 11:52 AM
Topic sais it all, I would like to have a regularly updated csv export of the global bans to match up with the pickup stats database i'm maintaining for the #ut2004.tam.de pickup channel.

There was the idea to fetch those from a server.ini/ut2004.ini, but thats no serious option for me because I cannot garantue to have access to an gameserver available at all times.

ARsEnAl51
14th March, 2007, 12:49 PM
Technically, you can't get any informations on any of the UTAN bans (whether they are global or local) from ut2004.ini (or it's equivalent on your server).

Piglet
14th March, 2007, 02:31 PM
Surely you could just use a simple script to do http requests to the UTAN ban manager URL. If you did this for a UTAN user you set up with no local bans you'd just get the globals. It'd also only give you incremental updates so would be very little processing required after the first time.

The code for the request/authentication and the response is all in the UTAN Ban Manager serveractor.

ARsEnAl51
14th March, 2007, 06:41 PM
Or you could also make a script that parses the UTAN BM logs of your server(s).

ArPharazon
17th March, 2007, 06:13 AM
ETE,

How exactly would you use a csv export of bans?

Please describe what you mean by using it with the pickup stats system.