$ nano tests/mesh_test.c
$ nano build_web.ini
$ node build_web.js
Packaging LPC VM via build_web.ini...
SUCCESS: index.html generated. Size: 117.77 KB.
$B
==[ Chromium ]==
** RELOAD **
Type 'help' for a list of commands.
--- LPC WEBASSEMBLY VM BOOTED ---
[DMZ] Incoming sync applied: /mud/areas/town_square.json
==[ /Chromium ]==
==[ Browser A ]==
Type 'help' for a list of commands.
--- LPC WEBASSEMBLY VM BOOTED ---
[DMZ] Incoming sync applied: /mud/areas/town_square.json
eval load_object("tests/mesh_test")->increment("Browser_A")
State bumped! Counter: 1, User: Browser_A
Result: undefined
==[ /Browser A ]==
==[ Browser B ]==
Type 'help' for a list of commands.
--- LPC WEBASSEMBLY VM BOOTED ---
[DMZ] Incoming sync applied: /mud/areas/town_square.json
eval load_object("tests/mesh_test")->display()
Current Network State -> Counter: 0, Last User: nobody
Result: undefined
==[ /Browser B ]==
I don't see any network traffic in any of the terminal sessions
Except:
==[ dmz_relay.js ]==
[dVFS] Client connected from 127.0.0.1
[dVFS] Client disconnected: 127.0.0.1
[dVFS] Client connected from 127.0.0.1
==[ /dmz_relay.js ]==
These have remained the same:
==
$ wscat -c ws://127.0.0.1:1777
Connected (press CTRL+C to quit)
< {"type":"VFS_WRITE","path":"/mud/areas/town_square.json","data":"{\"mobs\":[\
"guard_1\"]}","timestamp":1725535000000}
>B
==