TheNexusReborn / NexusIssues

Reporting hub for issues on The Nexus Reborn
0 stars 0 forks source link

Setstat command not behaving #3

Closed Firestar311 closed 9 months ago

Firestar311 commented 11 months ago

The setstat command is a bit broken as it didnt respect new value in some other cases

Firestar311 commented 10 months ago

Honestly not sure entirely what is happening, will have to do some testing with debug console output

Firestar311 commented 10 months ago

I made it so that the setstat command works direclty on the database and caching has been changed on the backend to store very little data now. I still want to change how the stat values are store in memory to operate directly and not worry about storing and calculating based on StatChanges in the PlayerStats. Changes from this command are sent via the network system so it should update, and the goal behind the stats system is to eventually sync. But this command was not doing things correctly