Foohy / jazztronauts

Jazztronauts is a cooperative theft-em-up for Garry's Mod, also known as prop hunt 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Funky Statistics Data Problems.

lazyRares opened this issue · comments

Currently working on an entity that will show some fun statistics about props stolen and such. But the counts seem to be very noticeably off. Nodraw was said to only have been stolen 17 times, and Tools/Toolsskybox only 3.

So.. Is this a problem on my end or on the data storage end? When making the entity I had to copy the "sql.lua" file present at "gamemodes\jazztronauts\gamemode\snatch" so it could retrieve necessary data. Right now i'm theorizing that might be why it's messing up the counts. But I'm not knowledgable enough in Lua to know how to make it so the entity can access the data any other way without copying this file.

image

Things to note:

  • The entry in first place was a map I played after making this entity.
  • Most props that are displayed have a count of either 1, or very low (1 - 5)
  • It shows props all the way back to Jazz_intro, evidently. So it can't be true that the data being shown is only data that was recorded after the entity was created.