Page 1 of 2 12 LastLast
Results 1 to 50 of 51

HW2 Game Stats Reader!

  1. #1
    momoguru-x
    Guest

    HW2 Game Stats Reader!

    im working on a little program that will read all the stat files in your directory and parse them into a database. it calculates just about everything i can think of. You can access multiple profile folders (for all us smurfies). Its kinda like a personal ladder that no one sees. you can check everygame you have played, to see who beats you most often and i plan on implementing a graphing system so you can view progress over a long period of time.

    its pretty easy to use and doesnt require any installation. its just one small .exe file that u drop in you hw2 directory and ur good to go. currently, i have the limit set to 2000 games. but im not sure how well the program will run with all that data. so im looking for a few (2 or 3) people who have a large amount of game stats stored up... and would like to help me test this before i release it.

    this is game logs screen, it shows all games played in a selected profile.



    this is the stats overview screen. it shows career stats for individual players.


    anyway, heres a screenshot... email me if u have A BUNCH of save game stats... (or are willing to copy and paste a few thousand files)

    UPDATE::: v1 99% finished. i need testers with losts of stat files.

    jace@masula.com

    anyway, its simple and self explainitory, enjoy

    download STATS READER

    if you have questions, visit our new guru forums at

    tbol.com/guru

    guruclan public forums
    Last edited by momoguru-x; 22nd Jan 04 at 4:39 AM.

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Kilmacolm, Scotland
    Sweet man, sweet.

  3. #3
    ilia1986
    Guest
    Excellent work by now. Make sure that you include a readme file with it, though.

    GG.

  4. General Discussions Senior Member  #4
    terrible, terrible damage Starfisher's Avatar
    Join Date
    Aug 2002
    Location
    Budd Lake, NJ
    How do you access statistics from games?

    I'm at home and so don't have access to HW2. However, I was trying to find a way to get the information you seem to be able to extract.. is this a post-patch development or could you ALWAYS see stats?

  5. Child's Play Donor General Discussions Senior Member Homeworld Senior Member The Workshop Senior Member Forum Subscriber  #5
    Not wearing pants. reki's Avatar
    Join Date
    Aug 2000
    Location
    Melbourne, Australia
    Its a post patch thing. great work momo, you win the dock for a bit.

  6. #6
    DrunkPSA
    Guest
    AWESOME!

    I've got prolly 200 games played or so momo, i wioll email u

  7. #7
    Lost in the code... Mikali's Avatar
    Join Date
    Jun 2003
    Location
    %HW2_ROOT%
    I thought this wasn't possible?

    How detailed is the available data? Does it say what type of ship each ship killed/was killed by?
    Download my Homeworld mods, maps & tools. link
    Username|SF on Gamespy/Xfire/Hamachi/Gameranger

  8. #8
    momoguru-x
    Guest
    right on, and yeah 'drunk'

    keeps getting better by the minute. i figured out a few more things i can do. as for the stats files... they look like this.

    Code:
     MapName = "Shield",
      Player0 = {
        BUILDING = {
          BuildCapableShips = 2,
          BuildingTotal = 9700,
          Research% = 0,
          ResearchCost = 0,
          TotalSubsystems = 0,
        },
        COMBAT = {
          CombatTotal = 12100,
          TotalShipsBuilt = 8,
          TotalShipsCaptured = 0,
          TotalShipsDestroyed = 0,
          TotalShipsLost = 0,
        },
        DIPLOMACY = {
          DiplomacyTotal = 87,
          TimeOfDeath = "--",
          TributeDonated = 0,
          TributeReceived = 0,
        },
        GENERAL = {
          Name = {
            123,
            109,
            111,
            109,
            111,
            125,
            0,
          },
          Race = "Vaygr",
        },
        OVERVIEW = {
          BuildingTotal = 9700,
          CombatTotal = 12100,
          DiplomacyTotal = 87,
          OverviewTotal = 25956,
          ResourceTotal = 4069,
        },
        RESOURCE = {
          MobileRefineries = 0,
          ResourceCollectors = 6,
          ResourceTotal = 4069,
          TotalRUHarvested = 3000,
          TotalRUSpent = 338,
        },
      },
      Player1 = {
        BUILDING = {
          BuildCapableShips = 2,
          BuildingTotal = 9700,
          Research% = 0,
          ResearchCost = 0,
          TotalSubsystems = 0,
        },
        COMBAT = {
          CombatTotal = 0,
          TotalShipsBuilt = 8,
          TotalShipsCaptured = 0,
          TotalShipsDestroyed = 0,
          TotalShipsLost = 8,
        },
        DIPLOMACY = {
          DiplomacyTotal = 40,
          TimeOfDeath = "0:0:18",
          TributeDonated = 0,
          TributeReceived = 0,
        },

  9. #9
    hwmodder
    Guest
    Are you using flash like your build calc from cata? If so, could you possibly share how you manage your variables? I'm looking to become good with flash myself.

  10. #10
    Senior Member silencio's Avatar
    Join Date
    Mar 2003
    Location
    Bristol, England
    Wins 5 Losses 4? m8, that's poor, even if you've been up a mountain.

    Looks good, I'd be happy to help if I can :)

  11. #11
    stating the obvious ani's Avatar
    Join Date
    Oct 2003
    Location
    @weymouth.gov.uk
    you've spelled Hiigaran wrong under the build column

  12. #12
    momoguru-x
    Guest
    almost done, another day or 2... thanx animal... i got that one...its an old screenie

  13. #13
    momo
    I am assuming you will not give this out to the community, and use it to work out the class of cheats that various people are using.



    VGG, thx in advance for the community contribution.

  14. General Discussions Senior Member  #14
    terrible, terrible damage Starfisher's Avatar
    Join Date
    Aug 2002
    Location
    Budd Lake, NJ
    Heh

    If you do keep it, make sure you make some better cheat classificications than "Class 5" - Do something like "ASSHAT BASTARD" (Class 2).

  15. #15
    stating the obvious ani's Avatar
    Join Date
    Oct 2003
    Location
    @weymouth.gov.uk
    this programme would of been useful a couple of weeks ago to sort out certain disputes between two certain clans playing in a certain war.

    GG Momo, especially like the career stats.

  16. #16
    NemesisChiken
    Guest
    Very Nice momo

    ROFLMAO @ Animal
    Last edited by NemesisChiken; 5th Jan 04 at 9:01 AM.

  17. #17
    momoguru-x
    Guest
    i updated the screenshots. (and added one). and i need some help testing. anyone have a crap load of stat files? if so, lemme know.

  18. #18
    I do all my own stunts Dan Van Crone's Avatar
    Join Date
    May 2002
    Location
    Adelaide, Australia
    Momo: wouldn't it be possible to get Drunk's collection of 200 and use a batch file renamer to change the names slightly? Repeat 10 times and you have 2000 stat files. Actually not even 10 times since you're adding to your total exponentially. You'd only need to use the file renamer about 4 times.
    Last edited by Dan Van Crone; 5th Jan 04 at 6:10 PM.

  19. #19
    Fury_X
    Guest
    is this released yet?

  20. #20
    Steppe
    Guest
    looks really cool. if ur done with all ur implemantation stuff you should add color shemes. btw what do you use. delphy?

    [edit]

    and if ur really cool you should be able to make it change your name. let me tell you what i think off. my name is Steppe-HG or something like that. now you create a point system with all these stats. for instance you lose 10 points for defeat. get 15 for win or something like that. then you put the number behind the name. Steppe-HG(1540) or something like that. could help to get ppl with same skill playing. just and idea

    [/edit]
    Last edited by Steppe; 12th Jan 04 at 9:28 AM.

  21. #21
    Member
    Join Date
    May 2003
    Location
    Bermuda
    WOW!!!

    Is this thing ready?!? It looks great. I personally have no interest in online ladders but the private ladder feature of this appears to be very appealing. I only have 62 stats files but if you want them I'll email them to you. PM me here on the forums.

    --Ride

  22. #22
    momoguru-x
    Guest
    heres a beta version, keep in mind this is work in progress. just drop it into your stats folder and run. or run itm the select new profile from the main menu and browse to your stats folder.

    dont overload the program with stat files, try to keep it under 300 games. once i build the stats archive section, it will run much faster and will automatically remove stat files as they are stored.

    anyway, its simple and self explainitory, enjoy

    download STATS READER

    if you have questions, visit our new guru forums at

    tbol.com/guru

    guruclan public forums

  23. #23
    stating the obvious ani's Avatar
    Join Date
    Oct 2003
    Location
    @weymouth.gov.uk
    Downloaded. Ran It. Ogled at my Career Stats.

    Excellent Momo, gg

  24. #24
    cateye
    Guest
    brilliant, m8!

  25. #25
    Senior Member silencio's Avatar
    Join Date
    Mar 2003
    Location
    Bristol, England
    brilliant stuff

  26. #26
    ilia1986
    Guest
    Very nice..... However, why dont I veiw team games as victories (I was on the winning team)?

  27. #27
    Member
    Join Date
    May 2003
    Location
    Bermuda
    Very very nice !!!!

    --Ride

  28. #28
    Pyromonger
    Guest
    Ehm... what directory do I need to put it in?

    It can't seem to find my stats :P

    I'm not installed to default directory....

    edit: n/m found it, hehe. Wow still not even 50 games (time to go change that )... I remember most of those 10 losses too :P

    Interestingly enuff, my Hiigaran/Vaygr playing ratio is 25/23... almost 50/50, so I guess the "random" buttom really works
    Last edited by Pyromonger; 22nd Jan 04 at 5:30 PM.

  29. #29
    _Ok_
    Guest
    In a future release could you have it sort out wins/losses as hiig an as vaygr.

    BTW, very nice program.

  30. #30
    Delta
    Guest
    Woohooo momo :thumb:

  31. #31
    Skeeter
    Guest
    Sweet program, it confirms my skills as 20 undefeated team wins with my clan partner

  32. #32
    SlipStream
    Guest
    This programe is so awesome

    :bow: :bow:


    how will the final version perform ? will it go directly to the stats ?


    I wish I had thought of this :jaw:



    I am at

    WON Lost
    70% 30%

    I hope that is good.



    I played a map called X BOX dies anyone know where I can get it ?
    Last edited by SlipStream; 26th Jan 04 at 12:47 AM.

  33. #33
    Mr. Flibble
    Guest
    First off, this is a great program really handy and has a nice interface (the worst bit about programming i think). Having said that i've got a few questions.

    The kill ratio, i got 1:1.01...... pretty shocking either way you look at it, what does this mean, did i kill 1.01 ships for everyone of mine lost or is it the other way round.

    Secondly how does this proigram deal with out of sync errors etc. i've had a few such games where i've been told i've won or lost as soon as the games starts. Does your program do anything about this? Is it possible to take this into account? (possibly not counting any games that were shorter then 1 minute or something).

    Anyway again i'd like to congradulate you on a great piece of work. Cheers.

  34. #34
    momoguru-x
    Guest
    yeah the kill ratio is like this... if its 1:1.5 that means for every ship u lose, u kill 1.5 enemy ships, so if you lost 100 ships, he lost 150.

    as for the syncs and drops, im aware that the MSM is reading those stats. in the next version, you will have an option to remove all gamefiles that have gametimes less than 6 minutes.

    it will be awhile before i do another update, ive been busy with work / life , just be patient, ill get around to it .

  35. #35
    shadow51689
    Guest
    err I might of missed something,but the download link isnt working for me..

  36. #36
    shadow51689
    Guest
    still not working

  37. #37
    Kros
    Guest
    I could host it at my site, ive got plenty of bandwidth that I don't use. If anyone can send me the program to: webmaster@krosfilms.com, then id be happy to mirror it.

    ~Kros

  38. #38
    Chewster
    Guest
    Well? Has anybody done that yet? GET TO IT, DAMN U!

  39. #39
    Admiral Ragon
    Guest
    Mr/Miss SlipStream 70% Pah! Patty Pat 94% Wins Perhapse we should go 1 on 1

    Word Of The Week
    Tis Good Fight With Me Crusier

  40. #40
    momoguru-x
    Guest

    sorry bout that

    NEW DOWNLOAD LINK

    rename the file to .exe (take the 'P' off)

    been real busy wih work guys... sorry about the broken link, we are moving some sites of one server and moving them to another. tbol is a personal site, so of course its last on the list.

    anyway, there is a download link for ya.

  41. #41
    Crackensan
    Guest
    neat program, but it doesn't work for me. does it read skirmish matches or just real ive multiplayer games?

  42. #42
    Crackensan
    Guest
    ahhh. i see. i had to reinstall and played a skirmish with the Homeworld classi rules. Could you make it so it reads those stats too?

  43. #43
    CyberAce
    Guest
    Mmmm...

    I deleted all my stat files when I found this. I wanted to start fresh with a serious profile. Before this I spent many games simply goofing off. So now I have 2 profiles.

    Anyways, I played 3 games. Hoped in the check stats, and see I have played 2 games.

    It seems to skip files for some reason. I tested it with 2 stat files (they were clean with no errors, I checked) and it only picked up on one, and disregarded the other.

    So, it skips loading certain stat files. Can you fix this or explain what causes it?

    I may spend a hour or so in Visual Basic tonight and see if I can't come up with something better.

  44. #44
    momoguru-x
    Guest
    this is a known error that neme pointed out to me. it reads the file, but doesnt display it. its an indexing issue... somewhere i started the loop at array[1] instead of array[0], ill fix it in the update.

    simple work-around is to copy the first stat file in your folder and paste it in the same folder. this will correct the stats for now.

  45. #45
    hwmodder
    Guest
    2 questions:

    1. I am an aspiring Flash programmer. Could I possibly see the source?

    2. If you are still working on it, some features that would be nice:
    - sort by date, map, etc
    - in the career stats display, it might be nice to have a feature where it told you your most won and most lost maps
    - in the career stats display, it might be nice to have a feature where it showed the ratio of hiigaran win/loss to vaygr win/loss - i.e. be able to tell which race you play best.

    I am fascinated by how you managed to do this with flash.

  46. #46
    MatDL
    Guest
    the links broken

  47. #47
    Lost in the code... Mikali's Avatar
    Join Date
    Jun 2003
    Location
    %HW2_ROOT%
    Yup. All the links in the first post are broken.

  48. #48
    вяιηgιηg вα¢к тнє нσттιєѕ! scottismo's Avatar
    Join Date
    Feb 2003
    Location
    Surrey, England
    You can download it using the link from the previous page to this one. Its a very nice program. Its annoying it doesnt tell you every bit of information that the ingame summary gives tho such as total amount of harvesters built.
    May the power protect you, always.



  49. #49
    FlySilva
    Guest
    phoebusmedia.com

    This domain name expired on 11/09/2004 and is pending renewal or deletio

    Even i didnt found a DL Link at whole Internet

  50. Child's Play Donor General Discussions Senior Member Homeworld Senior Member The Workshop Senior Member Forum Subscriber  #50
    Not wearing pants. reki's Avatar
    Join Date
    Aug 2000
    Location
    Melbourne, Australia

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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