Commit graph

72 commits

Author SHA1 Message Date
cc2a9db92e Change to SCSS so that rules are automatically backported to older browsers. In the future we can also take advantage of its other features. 2024-07-14 15:22:55 -04:00
bb8c40b440 pretend that didnt happen 2024-07-14 15:06:01 -04:00
82f10a350c CSS improvements (credit Undefishin) 2024-07-14 15:01:42 -04:00
f2aa459c2c add LICENSE.md and fill out readme 2024-07-12 22:28:09 -04:00
e90c8cd36c actual username validation lol 2024-07-12 21:20:37 -04:00
276ea9208a add discord webhook (and pin typescript to 5.4.5 due to a fun discord.js bug) 2024-07-12 20:58:38 -04:00
5e9de132b3
webapp: Room settings dialog mockup 2024-07-13 01:08:53 +01:00
61dc78ba3b msagent.js: Cache parsed ACS data
Instead of duplicating it per every instance of an Agent, since it is never mutated by an Agent, we can just cache it.
2024-07-12 19:13:53 -04:00
1d19098ca7 add word filter 2024-07-12 15:58:40 -04:00
dab1b26429 mute now stops current message 2024-07-12 14:59:04 -04:00
97932c4a93 add keepalive message to prevent proxies closing the connection 2024-07-12 14:57:10 -04:00
6a3aedaf6a prevent duplicate password prompts 2024-07-12 14:44:27 -04:00
b515578750 add configurable server address to webapp, remove webapp serving from server 2024-07-12 14:38:49 -04:00
8d04752f52 add motd and links to bottom of webapp 2024-07-12 14:33:17 -04:00
7771251f4f add admin to init message 2024-07-12 02:07:25 -04:00
3525fdcff4 Add admin features (get ip, kick, ban), context menu, ban database, clean disconnect and reconnect, and errors. 2024-07-12 02:00:20 -04:00
78629b9cb7 add chat and IP limiting 2024-07-11 23:27:31 -04:00
bad5daf075 add logo to webapp 2024-07-11 22:55:43 -04:00
6a108862c5 add that stupid little purple bitch to the config file 2024-07-10 23:21:34 -04:00
c5e54b62ac minor bugfixes 2024-07-10 23:20:03 -04:00
39fb90382c prevent duplicate connection 2024-07-10 23:00:03 -04:00
d1295bcc2f - fix bug where the wordballoon doesn't show if you send a message while the TTS for another message is still playing
- agents now spawn in random positions on the viewport
2024-07-10 22:45:58 -04:00
8b170ef471 add purple monkey fuck 2024-07-10 22:24:59 -04:00
1c1d86529b - add new agents to config.example.toml
- remove message sanitization from server side. It can be done on the client side if necessary
2024-07-10 22:20:04 -04:00
390125ba56 add a shitton of agents 2024-07-10 22:13:01 -04:00
e9504c6359 add username balloons under agents 2024-07-10 22:07:58 -04:00
55ce8b67f5 fixed wordbubble positioning 2024-07-10 21:35:03 -04:00
d089018082 allow Agent.speak() to override a previous call to speak() 2024-07-10 07:28:14 -04:00
396ef67c78 add wordballoons to agents on the webapp
(i know they will be broken, this is just to give an environment for them to actually be used in)
2024-07-10 07:23:29 -04:00
22f0d4a008 rename renderFrame() so it's more consistent with other drawing functions 2024-07-10 07:16:33 -04:00
d5b7e174a1 testbed: mount agents in a seperate div
mostly to test that works
2024-07-10 07:15:19 -04:00
7e1999f117 who put critters in my typescript 2024-07-10 07:10:59 -04:00
d8b7681ff5 add wordballoon support
needs some fixing but its working
2024-07-10 03:08:55 -04:00
918ab5f95e add (very basic) agent rendering to webapp 2024-07-10 01:21:06 -04:00
9951e7bcaf server now hosts ACS files, websocket is now at /api/socket 2024-07-10 00:48:26 -04:00
89d0092f65 add agentCreateCharacterFromUrl 2024-07-10 00:08:06 -04:00
b50091c5fc remove Agent.animationFinished()
we can just put its logic in the finish callback we give to the animation state
2024-07-09 23:57:50 -04:00
20240215f9 prevent duplicate addToDom 2024-07-09 23:57:19 -04:00
0e4ae45d01 nullify contextmenu 2024-07-09 23:53:34 -04:00
b6b069450d remove debug prints, axe testbed-only APIs 2024-07-09 23:50:16 -04:00
f720acc738 add param to hide() to auto remove the agent 2024-07-09 23:42:43 -04:00
b9099cd635 make agents draggable 2024-07-09 23:38:54 -04:00
29d6213134 add remove() to remove from dom (TODO: will need to handle wordballoon) 2024-07-09 23:35:30 -04:00
803c63f1f9 make show/hide play respective animations 2024-07-09 23:32:20 -04:00
36ad3fe178 - expose agent to window in testbed
- ts-ignore setTimeout line causing errors
2024-07-09 23:29:21 -04:00
8d029c682f add playAnimationByName() api 2024-07-09 23:26:12 -04:00
3845f1c1a7 style change 2024-07-09 23:23:02 -04:00
438489c43f animation playback (no branches or anything yet) 2024-07-09 23:21:24 -04:00
57b272becf fix decompression copying out of wasm heap 2024-07-09 23:09:32 -04:00
1ed14d58f1 remove debug printing 2024-07-09 22:42:46 -04:00