Author Topic: Banlist export  (Read 574 times)

Offline kordex

  • Newbie Member
  • *
  • Topic Author
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Awards
Banlist export
« on: January 23, 2011, 18:45 »
Hello,

Would it be possible to provide daily export of banlist regarding
eurobattle.net? I would load that onto my modified ghost++ which we
create games manually with (other than dota too.).

Following code snippet as a daily run .bat or cronjob should do it:
Code: [Select]
mysql -u MYSQL_USER -p MYSQL_PASSWORD -DMYSQL_DATABASENAME -X -e
'select name from bans where server = "server.eurobattle.net"' >
some_file_available_on_webserver.xml

This will generate xml which I will be able to get the banned user list.

Looking forward to it.

P.s.

If you are using sqlite it is possible to do the same thing with bit different syntax. Also i am not sure if the table is correct as i am using ghost++ and i guess pd.eu runs on ghost one.
« Last Edit: January 23, 2011, 19:44 by kordex »