adamk33n3r / Deja-Vu

BakkesMod Plugin to track players
MIT License
6 stars 4 forks source link

Data in playlistData #13

Closed TheRedRacing closed 1 year ago

TheRedRacing commented 1 year ago

Hey, I'm trying to make a website with all my data collected with the Deja-Vu plugin and I don't understand why sometimes I get :

{
    "metCount": 2,
    "name": "DarKSouL19",
    "playlistData": {
        "11": {
            "records": {
                "with": {
                    "losses": 0,
                    "wins": 2
                }
            }
        }
    },
    "timeMet": "Tue Apr 18 23:08:06 2023\n",
    "updatedAt": "Tue Apr 18 23:16:42 2023\n"
}

and sometimes I get :

{
    "metCount": 151,
    "name": "Panda_Kiplix",
    "playlistData": {
        "11": {
            "records": {
                "with": {
                    "losses": 40,
                    "wins": 62
                }
            }
        },
        "13": {
            "records": {
                "with": {
                    "losses": 20,
                    "wins": 26
                }
            }
        },
        "2": {
            "records": {
                "with": {
                    "losses": 0,
                    "wins": 2
                }
            }
        }
    },
    "timeMet": "Thu Aug 24 21:59:29 2023\n",
    "updatedAt": "Sun Oct  8 23:06:14 2023\n"
}

it's mainly numbers 11, 13, 2 that confuse me. Can you help me clarify this?

TheRedRacing commented 1 year ago

I found my answer in this file : DejaVu.h

adamk33n3r commented 1 year ago

Oh hey sorry for not getting back with you, but glad you figured it out! I'd be interested to see what you're working on when it's done! :)

TheRedRacing commented 1 year ago

@adamk33n3r Now I've created a site where you can view the data that your plugin records :) Here's the link: https://rocketleague.theredracing.ch/

adamk33n3r commented 1 year ago

@adamk33n3r Now I've created a site where you can view the data that your plugin records :) Here's the link: https://rocketleague.theredracing.ch/

Awesome! I just tried to use it and it doesn't seem to be working, it just reloads the page and the dialog says The file field must be a file of type: json. I tried another file i had that was smaller and it seemed to "work" but now it goes to /data and shows a 500 error page.