Being Reviewed Win Streak Counter GG

Discussion in 'Bug Reports,Suggestions,Complaints' started by QUE?, Aug 12, 2017.

  1. QUE?

    QUE? Guardian

    The win streak counter for the server has not been functional for a while, is it possible to get this started again? I'm not sure where to even start. Please advise.
     
  2. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    Are we talking in the server it self.

    Or in gameme?
     
  3. albert

    albert I ♥ Houston Staff Member

    • WHX | Staff
    Sounds like in the server.
     
  4. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    Remind me what is suppose to happen with the win streaks?
     
  5. albert

    albert I ♥ Houston Staff Member

    • WHX | Staff
    In the bottom if you are on a winning streak it will say it in chat. Something like 'Albert has won 125 in a row'
     
  6. QUE?

    QUE? Guardian

    Yes after the round is over the pop up states who won.....it also states what their current streak is, and also who has the longest streak to date.
     
    DAMN, -=Kill4Free=-|TEO| and albert like this.
  7. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    I took a look at the file where gg stores information specific to win streaks. It was corrupted.

    This file is separate from the main stats just as a temp location to store the win streaks information.

    I've cleared it out. We'll have to wait and see what happens once the server generates a new one.

    All of the original gg stats are still intact.

    I'll be keeping an eye on it today to see what will happen.
     
  8. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    I also got what I need to fix the gameme integration too.

    We'll see what happens with the win streaks first.
     
  9. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    Motion [1975] and DAMN like this.
  10. Pifferanus1

    Pifferanus1 WristHaX Addict

    its still not working :/
     
    DAMN and albert like this.
  11. QUE?

    QUE? Guardian

    It looks like it reset at some point, because the streak record is now at 4 compared to 14 before. So it seems like its back to not working though as I won quite a few in a row (10ish) yesterday and my streak never changed from 1.
     
    DAMN likes this.
  12. QUE?

    QUE? Guardian

    Just try not to lose total wins in this process....as I don't want to lose my 2700ish wins. ;)
     
    DAMN and Pifferanus1 like this.
  13. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    The idea is the win streak data is stored in two places:

    -In the main stats file.
    -In the "real time" win streak's file.

    The win streaks you see are from that real time file since it only saves the current win streaks. This file should get cleared out and repopulated every time as the games go on.

    I've had a couple issues with the gg mod it self since it doesn't like some of the updates I've done. I may end up recompiling the mod using the newer amxx spec we are using currently.

    Regardless, when the servers were rebuilt, gg was only configured to store it's data in a file. It should of been setup in a database instead. This issue wouldn't exist if that was the case.

    The gameme integration was also not included with what is currently running on the server.

    There is a chance the main stats file might have some corruption in it and/or has gotten too big.

    The better plan would be to convert over to a database style for stats but I may not be able to import the current stats.

    I will see if I can rework the file saving method but honestly, it would be better to convert over to a database eventually.
     
  14. Pifferanus1

    Pifferanus1 WristHaX Addict


    thank you smart man
     
  15. zphaze

    zphaze ex developer

    I had done this change about a month before the magic delete was accomplished.
    Nevertheless GG was still working perfectly damn fine regardless of that, this is not a problem I've ever witnessed.

    It's quite phenomenal the regressions that have occured here since a year. And that I hear of from frustrated members from time to time. Not blaming anyone though, rather observing.
    Somewhat those files you deleted, I still have them laying around on my hard drive, just prior to the delete that has happened. Just before it, intact. A perfect backup, at the time servers were at their prime... learned I had em over a month ago. Surprising sometimes how life can be...
     
    DAMN and Pifferanus1 like this.
  16. |CU|unknown

    |CU|unknown Boom Head Shot Staff Member

    • WHX | Administrators
    I have the sma file of the modified gg plugin as well. To be clear, the version that had the mod for the knife pro.

    Turns out v[R] still had it.

    If there was any other changes done after that I may not have the most up to date source.
     
    DAMN and Dr Evil like this.
  17. albert

    albert I ♥ Houston Staff Member

    • WHX | Staff
    You're naughty.
     

Share This Page