From 9cef3a75b909acc55906ee0d46fcaae2f7c0ed3a Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 13 Aug 2021 04:59:47 +1000 Subject: Comments++ --- src/sledjchisl/sledjchisl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2373ba6..96a1cd4 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -1805,6 +1805,14 @@ void stopSim(simData *simd, char *sim, char *type, int count, int window, int pa { // Leave empty panes as is. // TODO - should check if there's people there, but don't count NPCs. alert them, wait a while, or just abort the stop. +/* show users + +Agents connected: 1 + +Firstname Lastname Agent ID child/NPC/root Region Position +Baby Barby 3548202e-1659-4055-b406-d578ef728fe0 NPC Naughtie Nautical <623.2795, 178.0885, 103.8343> + +*/ sendTmuxCmd(simd->paneID, "quit"); // There's three things that might happen - // Sim will quit, tmux pane will go away before we can see the shutdown message. @@ -1897,7 +1905,7 @@ byTab has the short name as the key, simData as the value. waitTmuxText(simd->paneID, toybuf); I("%s is done backing up.", simd->name); // TODO - should delete / gitAR the old ones now. -// Have a config option for delete / gitAR. +// Have a config option for delete / gitAR / rsync. ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); } } -- cgit v1.1