question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'_gameloop' times being off?

See original GitHub issue

Im converting my sc2Reply to json and for the last SPlayerStatsEvent I am getting

{
    "m_playerId": 1, 
    "_eventid": 0, 
    "_event": "NNet.Replay.Tracker.SPlayerStatsEvent", 
    "_bits": 1312, 
    "_gameloop": 38911, 
    "m_stats": {
        "m_scoreValueVespeneUsedCurrentTechnology": 2925, 
        "m_scoreValueVespeneFriendlyFireArmy": 0, 
        "m_scoreValueMineralsFriendlyFireTechnology": 0, 
        "m_scoreValueMineralsUsedCurrentEconomy": 12475, 
        "m_scoreValueVespeneLostEconomy": 483, 
        "m_scoreValueMineralsUsedCurrentArmy": 4700, 
        "m_scoreValueMineralsKilledArmy": 12200, 
        "m_scoreValueVespeneCollectionRate": 1478, 
        "m_scoreValueMineralsUsedActiveForces": 4700, 
        "m_scoreValueMineralsCollectionRate": 2525, 
        "m_scoreValueWorkersActiveCount": 72, 
        "m_scoreValueVespeneUsedCurrentArmy": 3925, 
        "m_scoreValueVespeneLostArmy": 1917, 
        "m_scoreValueMineralsKilledEconomy": 5700, 
        "m_scoreValueMineralsUsedCurrentTechnology": 8625, 
        "m_scoreValueVespeneUsedInProgressArmy": 0, 
        "m_scoreValueMineralsLostEconomy": 3563, 
        "m_scoreValueMineralsCurrent": 39269, 
        "m_scoreValueMineralsLostArmy": 3622, 
        "m_scoreValueVespeneKilledArmy": 7900, 
        "m_scoreValueVespeneKilledTechnology": 25, 
        "m_scoreValueVespeneKilledEconomy": 0, 
        "m_scoreValueMineralsUsedInProgressTechnology": 100, 
        "m_scoreValueMineralsUsedInProgressArmy": 0, 
        "m_scoreValueMineralsFriendlyFireArmy": 0, 
        "m_scoreValueVespeneUsedActiveForces": 3925, 
        "m_scoreValueVespeneCurrent": 21883, 
        "m_scoreValueMineralsLostTechnology": 2139, 
        "m_scoreValueMineralsUsedInProgressEconomy": 0, 
        "m_scoreValueMineralsFriendlyFireEconomy": 0, 
        "m_scoreValueVespeneUsedInProgressTechnology": 0, 
        "m_scoreValueFoodMade": 1134592, 
        "m_scoreValueMineralsKilledTechnology": 350, 
        "m_scoreValueVespeneLostTechnology": 100, 
        "m_scoreValueVespeneFriendlyFireEconomy": 0, 
        "m_scoreValueVespeneUsedInProgressEconomy": 0, 
        "m_scoreValueVespeneUsedCurrentEconomy": 0, 
        "m_scoreValueVespeneFriendlyFireTechnology": 0, 
        "m_scoreValueFoodUsed": 647168
    }

I know that ladder games are at a faster speed (x1.4) than real time. However, when I load the same sc2Reply into GGGreplays.com, they are telling me the total game time is 29minutes 50seconds. No matter how I do the math I cannot get my game times to line up with theirs - so am I completely looking at this wrong or is their math off?

Here is the replay in question - Eastwatch LE (251).zip

Thanks for the support,

  • Nef

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
KevinCalderonecommented, Apr 5, 2018

At “Normal” game speed, the game runs at 16 gameloops per second. At “Faster” game speed, it runs 40% faster. So the accurate number to divide by is likely (16 * 1.4) = 22.4.

0reactions
amartin916commented, Apr 5, 2018

Good catch! I will update my code 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Gameloop crashing on Windows 11/10 - Driver Easy
Just right-click the Gameloop icon, then click Run as administrator. If Gameloop still crashes randomly, try the next fix.
Read more >
How To Fix Call Of Duty Mobile Crashing In GameLoop
If your GameLoop crash happens only from time to time and there's no clear pattern, it may be caused by a random game...
Read more >
Top 13 Ways: Gameloop Lag Fix - AnyRecover
The most common cause of lag in Gameloop is a poorly optimized PC overworking the processor. If you right-click on the taskbar, open...
Read more >
Gameloop Stuck at 98% Loading - Fix 98 Error in Gameloop
Turn Off Real Time Protection. Restart your PC; Relaunch Gameloop. Gameloop should load fully. If the loading error persists, move to the next...
Read more >
How to Fix All Gameloop Errors on PC? [Guide 2022] - DigitBin
First, uninstall the Gaming Buddy by going to the Programs under the Control panel. Now, search for Windows Defender. Here click on Windows ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found