Results 1 to 3 of 3

Thread: Accessing a game score(Counter-strike)

  1. #1

    Thread Starter
    Addicted Member machine_wars's Avatar
    Join Date
    Dec 2000
    Location
    NC
    Posts
    147

    Accessing a game score(Counter-strike)

    I keep reading about people making apps. that work with there favorite game(quake, HL). I'd like to create a program which works with Counter-strike. I'd like to be able to write my frags and deaths to a file after every game but I have no idea how to pull this info from Counter-strike. Anybody got any ideas. ex. How do I access variables in another app.

  2. #2
    Addicted Member
    Join Date
    Mar 2001
    Posts
    152
    machine...

    The way most CS stat programs work is off of the Server log files. I believe the client can also enable logging in the autoexec.cfg file, check counter-strike.net for cfg options.

    Your program could basically open and parse this text file and read out the relevant data related to kills, deaths, map, etc... Really you can parse anything in the log...

    Then write it out in whatever format you like by creating a new summary file. If you get it working then I would love to see it, so please post it if you get it completed...

  3. #3

    Thread Starter
    Addicted Member machine_wars's Avatar
    Join Date
    Dec 2000
    Location
    NC
    Posts
    147
    Thanks for the info. but if I where to use a particular server it would only work for that server correct?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width