testing savegame limits

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Since the last succession savegame got corrupted, I decided to try to find out if the savegame file has limits with the spaceobjects.

TESTs conducted with this:

Code: Select all

(setq TSO (lambda (number)
		(block (shipCounter)
			
			(for a 0 number
				(block Nil
				(sysCreateShip &scViking; Nil &svPirates;)
				(setq shipCounter (add shipCounter 1))
				(printTo 'console shipCounter)
				(setq a (add 1 a))
				)
			)
		)))
10000: successfully spawned 10000 ships and saved the game. Game reloaded ok.

66000: successfully spawned 66000 ships. Didn't try to save the game as game session was too laggy. (I waited patiently for a couple of minutes for 1 tick :shock: )

Conclusion: there is no practical limit to the number of spaceobjs that can roam a single system, just the power of your pc.
TVR
Militia Commander
Militia Commander
Posts: 334
Joined: Sat Sep 08, 2012 3:26 am

It's likely the only on-screen limit to number of spaceObjects is the 32-bit integer limit, but the save file limit may be different.
Fiction is reality, simplified for mass consumption.
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
Post Reply