ProjectSky Posted February 24, 2022 Share Posted February 24, 2022 If the player has too many items in the inventory(i have 2000+ nails) game will freeze every time they right-click, this a known performance issue? Link to comment Share on other sites More sharing options...
EnigmaGrey Posted February 24, 2022 Share Posted February 24, 2022 Any chance you're using a mod? It's most likely that it's using an older version of the inventory pane. Tested here with 10k nails without issue on a vanilla game. Link to comment Share on other sites More sharing options...
ProjectSky Posted February 24, 2022 Author Share Posted February 24, 2022 version 41.66 no mod i mean right click on the world tile, not right click in player inventory update: 41.65 is the same Link to comment Share on other sites More sharing options...
ProjectSky Posted May 16, 2022 Author Share Posted May 16, 2022 i have 49k+ nails in inventory, right click game freezes 5+ sec this is a extreme test, but developers need to be notice this issues 49k.mp4 SonicSonedit 1 Link to comment Share on other sites More sharing options...
EnigmaGrey Posted May 16, 2022 Share Posted May 16, 2022 56 minutes ago, ProjectSky said: i have 49k+ nails in inventory, right click game freezes 5+ sec this is a extreme test, but developers need to be notice this issues 49k.mp4 At that point the game is going to crash if you even interact with them. Though I agree it's a bug, I don't think it makes much sense to try and program out of states that should never be reached in the normal play of the game. I mean the only defense against this would likely be putting a hard cap on the number of items in the inventory, for example. It's just an entirely unreasonable amount of items to expect the game to interact with well. Link to comment Share on other sites More sharing options...
ProjectSky Posted May 16, 2022 Author Share Posted May 16, 2022 44 minutes ago, EnigmaGrey said: At that point the game is going to crash if you even interact with them. Though I agree it's a bug, I don't think it makes much sense to try and program out of states that should never be reached in the normal play of the game. I mean the only defense against this would likely be putting a hard cap on the number of items in the inventory, for example. It's just an entirely unreasonable amount of items to expect the game to interact with well. i don't think set a limit is good thing, dev should try optimize it if possible Link to comment Share on other sites More sharing options...
EnigmaGrey Posted May 17, 2022 Share Posted May 17, 2022 7 hours ago, ProjectSky said: i don't think set a limit is good thing, dev should try optimize it if possible Eh. People are going to have to exercise some common sense, I think. (Just because you can, doesn’t mean you should.) You can’t spawn 10k zombies and expect the game to handle it. Same thing for 50k items. Neither never happen during normal play. Link to comment Share on other sites More sharing options...
ProjectSky Posted May 17, 2022 Author Share Posted May 17, 2022 11 hours ago, EnigmaGrey said: Eh. People are going to have to exercise some common sense, I think. (Just because you can, doesn’t mean you should.) You can’t spawn 10k zombies and expect the game to handle it. Same thing for 50k items. Neither never happen during normal play. you are right, this test is too extreme i hope pz can standard base things of the engine, hope it can become better 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