Author Topic: Banlist Export  (Read 896 times)

Offline kordex

  • Newbie Member
  • *
  • Topic Author
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Awards
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.

Offline mrNiceguy

  • Honored member
  • GodLike Member
  • *
  • Posts: 12011
  • Country: ba
  • Karma: +661/-685
  • Guess who's back :D
    • View Profile
    • When injustice becomes a LAW, resistance becomes a duty
    • Awards
Re: Banlist Export
« Reply #1 on: February 01, 2011, 16:06 »
when we were fighting againt the biggest power hunger i ever met, MrNiceGuy. Now i see him in you, no, you became way worse than him. He at least had some heart, he cared about ppl who were with him all the time.

Offline yaphets_

  • Hero Member
  • *
  • Posts: 887
  • Karma: +20/-108
  • Nevermore Master
    • View Profile
    • Awards
Re: Banlist Export
« Reply #2 on: February 05, 2011, 15:29 »
And this code is right?... But no need their are banlist in this server in stats section why you want to add this code in Ghost++?
Quote
who had never made a mistake, has never tried anything new ;)~albert einstein