Capturing BF2 STATS

Discussion in 'Scripting' started by nelian, Nov 22, 2005.

  1. nelian Private

    Contributions:
    0
    I am hoping that someone can possible help me.This is what I am trying to do.I want to post the data to a URL after each game/round, at which point into will be sucked into a SQL database. I have managed to write the End of Game stats to a text file at the end of each round, but this mean I would have to create some manual intervention to get the data into a SQL server.Cheers
  2. 2nd~0v3r|r!de Private

    Contributions:
    54
    To get the data into a SQL i'm sure you need to use ODBC. Do you know any programming? I don't think you can use python to do it.
    Unless you use PHP which is a possibilty.
  3. nelian Private

    Contributions:
    0
    There is a python file called "endofround.py" in the \python\bf2\stats directory. In this file it creates a varible called "dataString", and I have manage to get it to write the "datastring" to a text file. (Not that I know what all the data is yet), I am now attempting to get that to post to a URL, where I have a SQL/ASP server running. I want to collect all the game stats of the games that run on my server, seperate to EA stats - Do not know python, but starting to look into it...

Share This Page