KCDS 1.0.6

KCDS 1.0.6

Typing into a web page in the game no longer lags, players stop downloading a server's scripts again after every restart, and Discord shows the KCDS activity even with a clip recorder running.

Servers and players both need 1.0.6: a client and a server of different versions refuse each other when joining. The launcher updates itself on the next start; servers update from their update channel, the new packages or the Docker image ghcr.io/kcd-synced/kcds-server:1.0.6.

Web pages

  • Typing without lag: a page's keys and clicks are read on a thread of their own while the page has the keyboard, so a login form or a chat box takes each key at once (about 15 ms), even while the world loads. Before, a few keys showed, then nothing for a second or two, then the rest at once. Text selection by dragging, double clicks, dead keys and AltGr work as before; Alt+F4, Alt+Tab and the Windows keys stay with Windows.
  • Screens in the world keep their own pointer, their address bar's keys and Escape to give the mouse back.

Server owners

  • Scripts stay cached across restarts: an unchanged resource file keeps its sealed hash when the server or the resource restarts, so players' download caches answer it and only changed files download again. The server keeps its seal key in the resources folder, resource-seal.key (made on the first start); when it cannot be read or written, the run seals with a key of its own, as before, and says so in the log.

Discord

  • The KCDS activity is set again every 30 seconds, so it stays the one Discord shows when another program (such as a clip recorder) sets an activity for the game too.