• Hey! Register here to create your account, engage with the community, and talk about what is new!

Resetting Vulcan

Unfortunately Vulcan (which is one of my plots) has reached the maximum variable size limit and therefore some very important saved variables have glitched out. Is there anything I can do about this or should I just purge the variables?

Edit: it seems like I had to clear the vars
 
Last edited:

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,245
Reaction score
349
thats why you should compress vars 😳(y) 😔
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,245
Reaction score
349
wait how do I do that lmao
Instead of storing the Unlocked Items for example, you store 1's and 0's and depending on their indexes, you determine if the item is unlocked or not; here is a small example:
Unlockables: Axe, Sword, Dirt, Water
Player's Items: 1, 0, 1, 1
that means the player has: Axe, Dirt and Water
This way you save storage
 

General_Mudkip

Retired Moderator
Overlord
Joined
Sep 6, 2020
Messages
362
Reaction score
95
Shortening var names (but not to the point of illegibility), removing redundant saved variables, and finding ways to optimise your code (as ARMcPro commented above) all help to decrease the memory usage of your plot. Unfortunately if your game is complex enough and has enough players then it's kind of inevitable, but there are ways to delay it.
 
Top Bottom