Add "digiline_global_memory" #6380

Open
opened 2024-03-01 02:06:09 +00:00 by mrdeveloper · 5 comments

digiline_global_memory is a mod that adds a digiline component which has a global, database which is shared by all global memory controllers placed by the same player.

This can be used for syncing data between machines, e.g. the citylocator.

NOTE: There is no license provided, you should contact BuckarooBanzay about the license.

[digiline_global_memory](https://github.com/BuckarooBanzay/digiline_global_memory) is a mod that adds a digiline component which has a global, database which is shared by all global memory controllers placed by the same player. This can be used for syncing data between machines, e.g. the citylocator. **NOTE**: There is no license provided, you should contact BuckarooBanzay about the license.
Author

This would resolve #5029

This would resolve #5029

Would a global space be readable and writeable by all players? Means, X writes something, Y writes over it?

Would a global space be readable and writeable by all players? Means, X writes something, Y writes over it?
AliasAlreadyTaken added the
1. kind/enhancement
label 2024-03-01 12:53:29 +00:00
Member

Memory space is per player, and determined by who placed the memory controller node.

I noticed couple of things:

  • readme says: NOTE: the storage is not permanent and lost on shutdown - this is incorrect (so, readme is partially outdated?)
  • Changes are written to modstorage every 5 seconds, but only if player's data is marked as changed. There are 2 ways to change data: INC and SET messages. Data is not marked as changed on INC - so that's a bug.
Memory space is per player, and determined by who placed the memory controller node. I noticed couple of things: - readme says: `NOTE: the storage is not permanent and lost on shutdown` - this is incorrect (so, readme is partially outdated?) - Changes are written to modstorage every 5 seconds, but only if player's data is marked as changed. There are 2 ways to change data: `INC` and `SET` messages. Data is not marked as changed on `INC` - so that's a bug.
Member

we've already got those external memory cards for digilines, which i've never seen anyone use. the advantage of this is that the same memory can be accessed from multiple locations?

we've already got those external memory cards for digilines, which i've never seen anyone use. the advantage of this is that the same memory can be accessed from multiple locations?
Author

Yes. If you are just storing data on one luacontroller, you rarely have a reason to go out of your way use the external memory cards instead of mem. The reason you would use this is because it is shared between machines.

Yes. If you are just storing data on one luacontroller, you rarely have a reason to go out of your way use the external memory cards instead of `mem`. The reason you would use this is because it is shared between machines.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6380
No description provided.