Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

getDroidLimit()==32767 after loading a game #3927

Closed
wzdev-ci opened this issue Feb 4, 2013 · 4 comments
Closed

getDroidLimit()==32767 after loading a game #3927

wzdev-ci opened this issue Feb 4, 2013 · 4 comments

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented Feb 4, 2013

resolution_fixed type_bug | by NoQ


Steps to reproduce: start any skirmish game (even with Nexus AIs only), evaluate getDroidLimit() in jsdebug, it'll say 150. Then save the game, close it, load again, run getDroidLimit() again, it'll say 32767.

A javascript AI seems to be actually capable of producing 32767 units after saving/loading.


Issue migrated from trac:3927 at 2022-04-16 10:51:49 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Feb 4, 2013

Per commented


It appears that the limits simply are not saved.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 4, 2016

Cyp <cyp@...> changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 4, 2016

Cyp <cyp@...> changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 4, 2016

Cyp <cyp@...> committed [322]


In Warzone2100/warzone2100@322b01d:

#CommitTicketReference repository="" revision="322b01da306345e42ef2fe6d54cc15098401b0bd"
savegame: Save/load droid limits.

Fixes #3927.

@wzdev-ci wzdev-ci closed this as completed May 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant