Desynced Feedback

Search
IDRatingCategoryDescriptionScreenshotDate
7061😟SuggestionHello,
I have a suggestion about the faction memory instruction set because in its state, its potantial is spoiled.
SUGESTION 1 : Faction array mutex instructions
Issue : There is no way to garanteed a safe access to a faction to read/write, I understand that each current instruction a "atomic" but it doesn't make the array "safe" at all.
For example :
- When a producer building is built it will automaticaly register itself as a reference in an faction array of the item produced.
- Another building need to know if the same item is produced so it will need access to the faction array of that item, and do some cleanup in the array for any destroyed reference to keep the array (and that is a multiple instruction process, so the integrity of the data stored a not garanteed at all)
- another building dedicated to the ressource management needs to read the faction array to read all producer and calculated the production rate of an item (doing cleanup too, for dead reference) and write back in the array the result in specific emplacement that other may modify too

Solutions :
Option 1 (Not a big fan)- Add an instruction TryAcquiere(Id Array) : bool (true if acquiered, else false) and Release(Id Array)
Be sure that if the behavior is stop; for ANY reason (restart, stop, EVENT too !!) the lock is realeased !
Option 2 (I would love it) - Safier and user friendly by far, inspired by C# and other language to avoid manualy release (and sometimes forget about it) : create an instruction block like the loop with an In parameter the ID array and two output path, one like a loop it garranteed untill its end that the array is locked while executing, when the execution of this path is done it will proceed to the second one like loop 'done' path with the array released

Thank you for you work,
Best regards

2026-11-27 12:36:47

IDReplyAuthorDate

EULA    |    Privacy Policy    |    Presskit


© 2025 Stage Games • All rights reserved