Disable mindustry "official" client check #1

Open
opened 2022-10-01 23:41:42 +02:00 by emorrp1 · 0 comments
Owner

Please add "config allowCustomClients true" before "host" in mindustry launcher to support e.g. guix users.

01/10/2022, 20:46:48 - \Test_User: > "This server does not support custom builds. Download an official version."
01/10/2022, 21:31:58 - luk3yx: \Test_User: Modified (and possibly haxxed) builds or just any non-official ones?
01/10/2022, 21:32:47 - luk3yx: I wonder whether it will stop any haxxors or if everyone will just bypass it
01/10/2022, 21:33:14 - \Test_User: luk3yx: pretty sure it doesn't check its contents to the official release, as my old one said custom build before editing iirc
01/10/2022, 21:34:32 - \Test_User: it'll prob stop like... one person in total, as either you know how to edit it and can find the switch or you downloaded a pre-hacked one and it's already been adjusted to claim to be official
01/10/2022, 22:20:33 - Noisytoot: luk3yx: Anything you compiled yourself is a custom build, even if unmodified and from a release tag, and it's easy to make it claim to be official
01/10/2022, 22:21:49 - emorrp1: so it's just a stupid check and it is actually reasonable for our servers to disable it
01/10/2022, 22:23:03 - emorrp1: PRs welcome https://git.libregaming.org/LibreGaming/onFOSS-LAN-Gameserver
01/10/2022, 22:25:28 - Noisytoot: probably change line 41 of https://git.libregaming.org/LibreGaming/onFOSS-LAN-Gameserver/src/branch/main/scripts/deploy_mindustry.sh to ExecStart=/usr/bin/console2web -a "${systempassword}" -p 62548 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar /opt/mindustry-${mindustry_version}/mindustry.jar "config autosave true","config autosaveSpacing 120","host","config allowCustomClients true"
01/10/2022, 22:25:31 - Noisytoot: but this is untested
Please add `"config allowCustomClients true"` before `"host"` [in mindustry launcher](https://git.libregaming.org/LibreGaming/onFOSS-LAN-Gameserver/src/branch/main/scripts/deploy_mindustry.sh#L41) to support e.g. guix users. ``` 01/10/2022, 20:46:48 - \Test_User: > "This server does not support custom builds. Download an official version." 01/10/2022, 21:31:58 - luk3yx: \Test_User: Modified (and possibly haxxed) builds or just any non-official ones? 01/10/2022, 21:32:47 - luk3yx: I wonder whether it will stop any haxxors or if everyone will just bypass it 01/10/2022, 21:33:14 - \Test_User: luk3yx: pretty sure it doesn't check its contents to the official release, as my old one said custom build before editing iirc 01/10/2022, 21:34:32 - \Test_User: it'll prob stop like... one person in total, as either you know how to edit it and can find the switch or you downloaded a pre-hacked one and it's already been adjusted to claim to be official 01/10/2022, 22:20:33 - Noisytoot: luk3yx: Anything you compiled yourself is a custom build, even if unmodified and from a release tag, and it's easy to make it claim to be official 01/10/2022, 22:21:49 - emorrp1: so it's just a stupid check and it is actually reasonable for our servers to disable it 01/10/2022, 22:23:03 - emorrp1: PRs welcome https://git.libregaming.org/LibreGaming/onFOSS-LAN-Gameserver 01/10/2022, 22:25:28 - Noisytoot: probably change line 41 of https://git.libregaming.org/LibreGaming/onFOSS-LAN-Gameserver/src/branch/main/scripts/deploy_mindustry.sh to ExecStart=/usr/bin/console2web -a "${systempassword}" -p 62548 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -jar /opt/mindustry-${mindustry_version}/mindustry.jar "config autosave true","config autosaveSpacing 120","host","config allowCustomClients true" 01/10/2022, 22:25:31 - Noisytoot: but this is untested ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LibreGaming/onFOSS-LAN-Gameserver#1
No description provided.