Twiddle Posted March 27, 2016 Share Posted March 27, 2016 Could it be possible to figure out how many X items exist in the world? Link to comment Share on other sites More sharing options...
xenoglyph Posted March 27, 2016 Share Posted March 27, 2016 (edited) 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 March 27, 2016 by xenoglyph Link to comment Share on other sites More sharing options...
EnigmaGrey Posted March 27, 2016 Share Posted March 27, 2016 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. Link to comment Share on other sites More sharing options...
Twiddle Posted March 27, 2016 Author Share Posted March 27, 2016 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 More sharing options...
RoboMat Posted March 27, 2016 Share Posted March 27, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now