Skip to content

Instantly share code, notes, and snippets.

@jmbjr
Last active August 7, 2018 04:46
Show Gist options
  • Save jmbjr/35fa100da59a920460d2f077880c99d7 to your computer and use it in GitHub Desktop.
Save jmbjr/35fa100da59a920460d2f077880c99d7 to your computer and use it in GitHub Desktop.
fixing dcss server watch script for console (ipcs)
run:
$ ipcs -m
and it should list a key owned by crawl. should be something like 0x12345678
example:
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x52147880 0 crawl 644 33648 1
note the key and run ipcrm and pass the key (as root)
$ ipcrm -M 0x52147880
that should make new dgamelaunch instances work.
they might not be able to see everything that happens in the old games, but at least it won't hang.
(I don't recall what the shm segment is used for exactly; I don't look at the dgamelaunch code much)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment