iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

sackit no longer supports sackit_module_load_memory #283

Closed 20kdc closed 2 years ago

20kdc commented 2 years ago

self-explainatory, unfortunately. this causes the build instructions to not function.

20kdc commented 2 years ago
                char tmphorror[256];
                int tmpfd = memfd_create("itfd", 0);
                write(tmpfd, to_client_local.cfetch_ubuf, to_client_local.cfetch_ulen);
                sprintf(tmphorror, "/proc/self/fd/%i", tmpfd);
                it_module_t *mus = sackit_module_load(tmphorror);

Horrible workaround to make things "work" - and do note those quotes - at any cost, on Linux, if you're lucky. Apply to lua_fetch.h around line 357.

20kdc commented 2 years ago

Ok, nope, apparently it's weirder and more complicated than that. It's not that sackit no longer supports reading from memory, it's that the build instructions point at an outdated version.