Jump to content

Is it possible to enumerate items in existence?


Twiddle

Recommended Posts

probably bad design to go that route even if you could.  hopefully a single player game would be smart enough to not know or care about most of the offscreen items (unless previously seen), and hopefully a multiplayer server is secure enough to not offer that info to clients.  if i find out otherwise i'll let you know though.

Edited by xenoglyph
Link to comment
Share on other sites

5 hours ago, EnigmaGrey said:

Only ways are to ... count them as they're spawned by the item picker code, loaded with each gridsquare by player movement, or parse the binary save file format.

I see.

Am I correct in assuming the actual contents of the container get generated when a player opens it for the first time? And then it gets sent to the server?

How big is the Redboid save file?

Thanks.

Link to comment
Share on other sites

41 minutes ago, Twiddle said:

Am I correct in assuming the actual contents of the container get generated when a player opens it for the first time? And then it gets sent to the server?

 

I remember writing a custom item spawner for my story mod back in the day and IIRC they are generated in a certain radius around the player (opening the container isn't necessary for items to spawn).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...