Two follow-ups to the Linux server support in #6. Both are Linux-only, so
neither reached a Windows player.
Session codes
- nonce()'s fallback for a container with no /dev/urandom read
"i < 4 && !value", which ended the loop as soon as the first round
produced anything: one round of sixteen bits instead of four. Over
200k draws that is 62k distinct codes with a ceiling of 0xffff, rather
than 200k across the full range.
libsteam_api.so
- It was fetched from a mirror's main branch with no hash, by CI and by
the script every server operator runs, and it is loaded into the
server process. A branch name is whatever that branch holds on the day
it runs.
- Pinned to mirror commit df2baabf574a and checked against its SHA-256
(385840 bytes, eb2dd015...). The size and export checks already there
catch a wrong file; a hash is what catches a swapped one.
- --sdk-url still overrides the URL and drops the check, since a
different URL has a different hash; --sdk-sha256 keeps it.
Fetch libsteam_api.so (SDK redist mirror, export-verified) and
steamclient+tier0/vstdlib (SteamCMD app 1007) and stage them into
ReSkateServer-Linux-<version>, mirroring the Windows zip's DLLs.
Control pipes driven by one-shot writers (echo cmd > fifo, fleet
tools) close the write end after each line; read()==0 then means
'no writers right now', not EOF. Only treat 0 as end-of-input for
non-FIFOs (/dev/null, files, terminals). Sleep briefly on empty
FIFO polls so POLLHUP does not spin.
- console reader: poll()+read() instead of iostream getline; joinable
thread joined before Steam shutdown/exit (iostream lock deadlock
needed Ctrl+D before)
- README: Linux dedicated-server setup guide
- CI: version input, tag builds, ReSkateServer-Linux-<version> asset
with setup script staged at top level
- workflow built only dingosdk_server so ctest binaries missing (Not Run)
- build all targets before ctest
- layers: read works on Linux, export needs Windows game + Oodle;
document player-cache copy path