4 ms·
I'd assume ssh to get onto the server but you still need a way for the rpgcli instances to talk to each other. Like I already wrote, you could dump files into t
by adamius 5y ago
I'd assume ssh to get onto the server but you still need a way for the rpgcli instances to talk to each other. Like I already wrote, you could dump files into the folder each player is in, but I'm thinking something like redis or similar would give you messaging/events. This would avoid the need for temporary files recording where each player is in the folder structure; as well as having to clean them up.
This would allow an event to be generated when players are in the same folder; allow them to be aware of each other; allow interaction, eg they could draw swords; or interact with the creatures therein. Objects dropped could be seen by both and once picked up are taken by one player etc. Monsters could wander around as well.
I'm not referring to messaging / events for just chat purposes even though you could naturally enough do that as well.