Skip to content

Conversation

@DaniGP17
Copy link
Contributor

Goal of this PR

Add a new debug menu that displays state bag statistics, rate limit data, a list of state bags, and the ability to view information about each one.
I know the description is lacking right now, but I'm too tired to write a proper one at the moment 😅.

image

How is this PR achieving the goal

Create multiple functions in StateBagComponent that return information to be able to render them in the GUI

This PR applies to the following area(s)

Server

Successfully tested on

Game builds: 3258
Platforms: Windows

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

fixes #3528

@github-actions github-actions bot added the invalid Requires changes before it's considered valid and can be (re)triaged label Aug 22, 2025
@AvarianKnight
Copy link
Contributor

AvarianKnight commented Aug 23, 2025

This is very cool, but also Client ID is not their client id its their slot id, iirc some of the other ui has something to convert from slot -> net.

@slashkeyvalue
Copy link
Contributor

Really cool, wonder how'd look with 2k clients

@DaniGP17
Copy link
Contributor Author

This is very cool, but also Client ID is not their client id its their slot id, iirc some of the other ui has something to convert from slot -> net.

Solved

Really cool, wonder how'd look with 2k clients

Yeah I'm curious too 😆

@Sloosi0502
Copy link

please add that. would be very helpfull to understand statebags way better

@prikolium-cfx prikolium-cfx added enhancement Feature or other request that adds functionality or improved usability onesync/statebags and removed invalid Requires changes before it's considered valid and can be (re)triaged labels Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Feature or other request that adds functionality or improved usability onesync/statebags

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The most retarded error ever about statebag overflow

5 participants