year0 Posted January 7, 2022 Report Share Posted January 7, 2022 Hello, folks. I finally managed to install the latest version of 0ad through Debian backports. Sadly, the game only seems to work fine with Single Player, as I get a series of strange error messages as soon as I try to load any online content such as the Terms of Service, Terms of use or try to join the lobby. Does anyone know how to solve this? I've previously tried to install 0ad through both Snap and Flatpak and the result was even worst. I am running Debian GNU/Linux 11 (bullseye) x86_64. Would accept any additional solution to running 0.25 in stable Debian. I can't stand having to resort to Windows for a game that is and has always been UNIX friendly. Thank you in advance. Error Transcript: ERROR: JavaScript error: gui/termsdialog/termsdialog.js line 69 Script value conversion check failed: v.isString() || v.isNumber() || v.isBoolean() (got type undefined) initLanguageSelection@gui/termsdialog/termsdialog.js:69:4 init@gui/termsdialog/termsdialog.js:22:2 openTerms@gui/common/terms.js:10:9 initLobbyTerms/</button.onPress@gui/prelobby/common/terms/termslobby.js:47:13 ERROR: JavaScript error: gui/termsdialog/termsdialog.js line 69 JS_ReportError was called initLanguageSelection@gui/termsdialog/termsdialog.js:69:4 init@gui/termsdialog/termsdialog.js:22:2 openTerms@gui/common/terms.js:10:9 initLobbyTerms/</button.onPress@gui/prelobby/common/terms/termslobby.js:47:13 ERROR: GUI page 'page_termsdialog.xml': Failed to call init() function Quote Link to comment Share on other sites More sharing options...
Silier Posted January 7, 2022 Report Share Posted January 7, 2022 Hi, Try steps 1 and 2 from first post https://wildfiregames.com/forum/topic/36592-a24-issues-how-to-fix-them/#comment-424806 Quote Link to comment Share on other sites More sharing options...
nwtour Posted January 7, 2022 Report Share Posted January 7, 2022 4 hours ago, year0 said: Does anyone know how to solve this? Hi. Try start game with english locale: LANG=en_EN 0ad patch: Spoiler diff --git a/binaries/data/mods/mod/gui/termsdialog/termsdialog.js b/binaries/data/mods/mod/gui/termsdialog/termsdialog.js index 4420e990bb..70869d08bc 100644 --- a/binaries/data/mods/mod/gui/termsdialog/termsdialog.js +++ b/binaries/data/mods/mod/gui/termsdialog/termsdialog.js @@ -62,7 +62,7 @@ function initLanguageSelection() // current locale let currentLocaleDict = Engine.GetFallbackToAvailableDictLocale(Engine.GetCurrentLocale()); - if (currentLocaleDict != baseNames[0]) + if (currentLocaleDict != baseNames[0] && baseNames.indexOf(currentLocaleDict) != -1) list.push(displayNames[baseNames.indexOf(currentLocaleDict)]); return list; 4 hours ago, year0 said: I've previously tried to install 0ad through both Snap and Flatpak and the result was even worst If you write error lines, we will try to solve Quote Link to comment Share on other sites More sharing options...
year0 Posted January 7, 2022 Author Report Share Posted January 7, 2022 Bless you both! Problem solved. Long live GNU/Linux. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.