Meateater Posted October 16, 2023 Report Share Posted October 16, 2023 Hi! Trying to play together with my daughter but when I host a game and she tries to join, her game throws a few lines with errors and never starts. Everything works fine in the lobby, she can see me and the game and chat works too. Also, she can play the game in single player mode. I took a screenshot when the lines with error shows. "Insert image from URL" does not seem to work so I'll post the link to the screenshot here instead https://ibb.co/dg9hj6s She runs Ubuntu 22.04lts and the game is installed using snap. (I run PopOS and .deb install) I had a look at crashlog.txt and it looks like this: Assertion failed: "!m_Worker" Location: UserReport.cpp:516 (~CUserReporter) Call stack: (0x55c67e9ed10e) /snap/0ad/592/binaries/system/pyrogenesis(+0x5ed10e) [0x55c67e9ed10e] (0x55c67e9a18a1) /snap/0ad/592/binaries/system/pyrogenesis(+0x5a18a1) [0x55c67e9a18a1] (0x55c67e9a35f3) /snap/0ad/592/binaries/system/pyrogenesis(+0x5a35f3) [0x55c67e9a35f3] (0x55c67e6d92e3) /snap/0ad/592/binaries/system/pyrogenesis(+0x2d92e3) [0x55c67e6d92e3] (0x7f5208c15031) /lib/x86_64-linux-gnu/libc.so.6(+0x43031) [0x7f5208c15031] (0x7f5208c1512a) /lib/x86_64-linux-gnu/libc.so.6(+0x4312a) [0x7f5208c1512a] (0x7f520adb7888) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x40888) [0x7f520adb7888] (0x7f520adb79ba) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x11a) [0x7f520adb79ba] (0x7f520adb48eb) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d8eb) [0x7f520adb48eb] (0x7f520adb4995) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(+0x3d995) [0x7f520adb4995] (0x7f520adb52c5) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XEventsQueued+0x55) [0x7f520adb52c5] (0x7f520adb8085) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libX11.so.6(_XGetRequest+0x55) [0x7f520adb8085] (0x7f51a9644bb2) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0(+0x34bb2) [0x7f51a9644bb2] (0x7f520db1f7b3) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xcb7b3) [0x7f520db1f7b3] (0x7f520daf2746) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0x9e746) [0x7f520daf2746] (0x7f520daf48e4) /snap/0ad/592/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0(+0xa08e4) [0x7f520daf48e4] errno = 9 (?) OS error = ? I also had a look at interestinglog.html and it says this: <!DOCTYPE html> <meta charset="utf-8"> <title>Pyrogenesis Log</title> <style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style> <h2>0 A.D. (0.0.26) Main log (warnings and errors only)</h2> <p class="error">ERROR: JavaScript error: gui/common/l10n.js line 69 Script value conversion check failed: v.isString() || v.isNumber() || v.isBoolean() (got type undefined) translate@gui/common/l10n.js:69:36 TitleDisplay@gui/loading/TitleDisplay.js:11:13 init@gui/loading/loading.js:10:19 switchToLoadingPage@gui/gamesetup/Controllers/GameSettingsController.js:282:10 pollPendingMessages@gui/gamesetup/NetMessages/NetMessages.js:42:13 onTick@gui/gamesetup/SetupWindow.js:106:29 @gui/gamesetup/SetupWindow.js:57:64</p> <p class="error">ERROR: GUI page 'page_loading.xml': Failed to call init() function</p> <p class="error">ERROR: JavaScript error: gui/loading/loading.js line 22 g_LoadingPage is undefined reallyStartGame@gui/loading/loading.js:22:2</p> <p class="error">ERROR: Out-Of-Sync on turn 1 Players: user Dumping state to /home/user/snap/0ad/592/.config/0ad/logs/oos_dump.txt</p> <p>Engine exited successfully on 2023-10-16 at 19:32:09 with 1568 message(s), 4 error(s) and 0 warning(s).</p> I also began to open oos_dump.txt but changed my mind when I noticed the size Not sure what to do now. Should I reinstall the game but choose the .deb version instead of flat version? I checked the permissions but they looked good but you never know. system_info.txt: (generated 2023-10-16 18:32:42 UTC) OS : Linux 6.2.0-34-generic (#34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2) CPU : x86_64, Intel Core i7 Q 740 @ 1.73GHz, 1.73 GHz Memory : 15918 MiB; 11736 MiB free Video Card : NVIDIA GeForce GT 425M/PCIe/SSE2 Video Driver : 4.6.0 NVIDIA 390.157 OpenGL 4.6.0 NVIDIA 390.157 Video Mode : 1920x1080:24 Sound Card : Built-in Audio Analog Stereo; Sound Drivers : 1.1 ALSOFT 1.18.2 1 Quote Link to comment Share on other sites More sharing options...
phosit Posted October 16, 2023 Report Share Posted October 16, 2023 It's likely the same error as this one: https://wildfiregames.com/forum/topic/95151-i-dont-know-what-to-do-can-someone-help-me-and-explain Quote Link to comment Share on other sites More sharing options...
Norse_Harold Posted October 16, 2023 Report Share Posted October 16, 2023 (edited) 7 minutes ago, phosit said: It's likely the same error as this one: https://wildfiregames.com/forum/topic/95151-i-dont-know-what-to-do-can-someone-help-me-and-explain What? It has no error messages in common with that one. We can check into the possibility, but I don't think it's likely. I'm talking to MeatEater on IRC about this right now. Edited October 16, 2023 by Norse_Harold Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted October 16, 2023 Report Share Posted October 16, 2023 12 minutes ago, phosit said: It's likely the same error as this one: https://wildfiregames.com/forum/topic/95151-i-dont-know-what-to-do-can-someone-help-me-and-explain The JS error doesn't seem to be matched. UPD. A similar error was fixed here: https://trac.wildfiregames.com/ticket/6433 1 Quote Link to comment Share on other sites More sharing options...
Meateater Posted October 17, 2023 Author Report Share Posted October 17, 2023 Hi Vladisslavbelov, I'm checking out the 6433 ticket you mentioned and Norse_Harold gave me some really good pointers yesterday. However, I didn't manage to solve the problem so I reinstalled the game using .deb instead. This is what I've been doing now. 1. Located public.zip and extracted TitleDisplay.js 2. Modified line 11 by adding the config mentioned in ticket 6433. /** * This class choses the title of the loading screen page. */ class TitleDisplay { constructor(data) { let loadingMapName = Engine.GetGUIObjectByName("loadingMapName"); loadingMapName.caption = sprintf( data.attribs.mapType == "random" ? this.Generating : this.Loading, { "map": translate(data.attribs.settings.mapName || data.attribs.settings.Name) }); } } TitleDisplay.prototype.Generating = translate("Generating “%(map)s”"); TitleDisplay.prototype.Loading = translate("Loading “%(map)s”"); 3. Copied the modified TitleDisplay.js to /usr/share/games/0ad/mods/public Unfortunately, I got the same error ERROR: JavaScript error: gui/common/l10n.js line 69 Script value conversion check failed: v.isString() || v.isNumber() || v.isBoolean() (got type undefined) translate@gui/common/l10n.js:69:36 TitleDisplay@gui/loading/TitleDisplay.js:11:13 init@gui/loading/loading.js:10:19 switchToLoadingPage@gui/gamesetup/Controllers/GameSettingsController.js:282:10 pollPendingMessages@gui/gamesetup/NetMessages/NetMessages.js:42:13 onTick@gui/gamesetup/SetupWindow.js:106:29 @gui/gamesetup/SetupWindow.js:57:64 ERROR: GUI page 'page_loading.xml': Failed to call init() function ERROR: JavaScript error: gui/loading/loading.js line 22 g_LoadingPage is undefined reallyStartGame@gui/loading/loading.js:22:2 GAME STARTED, ALL INIT COMPLETE ERROR: Out-Of-Sync on turn 1 Players: user Dumping state to /home/user/.config/0ad/logs/oos_dump.txt Harold asked me about mods yesterday and I didn't see any. However, today, looking at the .deb installation, there is a file called mod.json in the same public folder. Don't know if that can be a problem. It looks quite empty. { "name": "0ad", "version": "0.0.26", "label": "0 A.D. Empires Ascendant", "url": "https://play0ad.com", "description": "A free, open-source, historical RTS game.", "dependencies": [] } Harold also mentioned that the problem can be on the other side, on my computer. Because we noticed that if my daughter hosted a game, my computer game crashed instead, with totally different errors. That is for sure pretty darn strange. 1 Quote Link to comment Share on other sites More sharing options...
Meateater Posted October 17, 2023 Author Report Share Posted October 17, 2023 I did a mistake! I forgot to create the folders gui/loading/ ! Now it works Thanks a lot for all the support, especially Norse_Harold that patiently guided me via MIRC last night and ofcourse Vladislavbelov for pointing to the solution! It delights me to be able to play 0AD together with my daughter.... ON LINUX! Hopefully this thread can be to some help to someone else. 1 Quote Link to comment Share on other sites More sharing options...
Norse_Harold Posted October 17, 2023 Report Share Posted October 17, 2023 I'm glad that it's working now. Is there a specific map that was triggering the symptoms, or did they happen regardless of the map? Quote Link to comment Share on other sites More sharing options...
Meateater Posted October 18, 2023 Author Report Share Posted October 18, 2023 Before editing the file, we tried: -Two or three different maps. -Switched to Language=English(US). -Setup a multiplayer match without AI(Petra) 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.