-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPMA support #3
Comments
The server config is in the container... no idea other than that. :D |
@ratnose is correct, the server config is in the container. But you can edit it: exec into the container: /quakejs/base/baseq3 From there you can You could also copy a config file from your host machine to your container: With both of these methods restart the container afterwards: |
Isn't entrypoint.sh hardcoded to
(It's interesting that the server side runs a Javascript version of the server rather than the plain C++ version. Is there a performance penalty there we could avoid? 🤔) Have you considered moving the configuration and content to a volume. IIUC, it's bad practice to modify containers. This might allow one to add the standard Q3 maps such as pak0.pak, or other custom maps, maybe? |
Yeah, you'd have to update entrypoint.sh changing it to Right, you shouldn't be changing a container, but this project isn't official, so do so at your own risk. I was just offering a work around until what you are asking for is implemented. It's running in JavaScript because that is what quakeJS is. I did think about putting the config/maps on a volume, I'll try to prototype that out and see if it adds complexity. I want to keep this as simple as possible for people to be able to pull and run with little to no configuration required. |
@treyyoder the key Javascript part is certainly the client since that lets us run Quake on a browser. There's no benefit in running the server via Javascript, is there? |
@luismbo Read this section on the main quakejs repo from which this is derived, and the part about quakejs using websockets and how native builds and web builds currently can't interact with eachother. |
Oh, interesting. Thanks for the pointer @treyyoder. |
Adding in CPMA (https://playmorepromode.com) and its fun variations like instagib, Clan Arena, CTF, etc would be awesome.
The text was updated successfully, but these errors were encountered: