assetto-corsa-web / accweb

Assetto Corsa Competizione Server Management Tool via Web Interface.
MIT License
142 stars 54 forks source link

All times are the same in the results files ( dumpLeaderboard) #202

Closed vexersa closed 2 years ago

vexersa commented 2 years ago

I have noticed that any of the .json files generated when dumpLeaderboard is enabled have the same value for anything lap time related.

In my files the value is 2147483647

I have tested this with multiple servers with the same issue.

Here's an example:

"leaderBoardLines": [
            {
                "car": {
                    "carId": 1001,
                    "raceNumber": 1,
                    "carModel": 30,
                    "cupCategory": 3,
                    "carGroup": "GT3",
                    "teamName": "",
                    "nationality": 0,
                    "carGuid": -1,
                    "teamGuid": -1,
                    "drivers": [
                        {
                            "firstName": "Fname",
                            "lastName": "Lname",
                            "shortName": "123",
                            "playerId": "S76561xxx72579286"
                        }
                    ]
                },
                "currentDriver": {
                    "firstName": "Fname",
                    "lastName": "Lname",
                    "shortName": "123",
                    "playerId": "S76561xxx72579286"
                },
                "currentDriverIndex": 0,
                "timing": {
                    "lastLap": 2147483647,
                    "lastSplits": [],
                    "bestLap": 2147483647,
                    "bestSplits": [
                        2147483647,
                        2147483647,
                        2147483647
                    ],
                    "totalTime": 2147483647,
                    "lapCount": 0,
                    "lastSplitId": 4294967295
                },
                "missingMandatoryPitstop": -1,
                "driverTotalTimes": []
            },

See example log file attached. 220329_061856_Q.zip

pedrofaria commented 2 years ago

this is not related to accweb, this file is generate by assetto corsa competizione dedicated server...

matslindh commented 2 years ago

I've closed the issue, feel free to open it again if this is actually related to accweb in any way @vexersa - but as Pedro says, that file is from accServer itself.