Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kordex

Pages: [1]
1
Technical support / Banlist Export
« on: February 01, 2011, 16:01 »
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.

2
Feedback / 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.

Pages: [1]