Stéphane Charette Posted June 22, 2020 Report Share Posted June 22, 2020 I upgraded my desktop to Ubuntu 20.04. Which upgraded 0ad. But now it wont run. Instead, it logs this error many times per second: ERROR: JavaScript error: Errors executing script event "Tick" ERROR: JavaScript error: __internal(0) Tick line 0 ReferenceError: onTick is not defined __eventhandler0 (Tick)@__internal(0) Tick:0:1 ERROR: JavaScript error: Errors executing script event "Tick" ERROR: JavaScript error: __internal(0) Tick line 0 ReferenceError: onTick is not defined __eventhandler0 (Tick)@__internal(0) Tick:0:1 I cannot seem to find any references to this error, so could use some help. This is the version I have installed: > dpkg -l | grep 0ad ii 0ad 0.0.24~r23742-0ubuntu1~20.04~wfg0 amd64 Real-time strategy game of ancient warfare ii 0ad-data 0.0.24~r23742-0ubuntu1~20.04~wfg0 all Real-time strategy game of ancient warfare (data files) ii 0ad-data-common 0.0.24~r23742-0ubuntu1~20.04~wfg0 all Real-time strategy game of ancient warfare (common data files) Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 22, 2020 Report Share Posted June 22, 2020 Hey @Stéphane Charette Welcome to the forums ! Did you have any mods enabled? This is the dev version you installed, so it's very likely they will be not compatible Quote Link to comment Share on other sites More sharing options...
Stéphane Charette Posted June 22, 2020 Author Report Share Posted June 22, 2020 How do I tell if I have mods? I ran this command to install it: sudo apt-get install 0ad Quote Link to comment Share on other sites More sharing options...
Stéphane Charette Posted June 22, 2020 Author Report Share Posted June 22, 2020 Oh, you mean in the old version before I upgraded? Yes, I think I did. Is there a way to disable them? Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 22, 2020 Report Share Posted June 22, 2020 Sure see https://trac.wildfiregames.com/wiki/GameDataPaths should be in ~/.config/0ad there should be a file called named user.cfg Quote Link to comment Share on other sites More sharing options...
Stéphane Charette Posted June 22, 2020 Author Report Share Posted June 22, 2020 Thanks, @Stan`, that helped me solve it. In case anyone else runs into this: Most of the errors were cause by a folder called ~/.local/share/0ad/mods/techtree. I found if I completely deleted the folder called ~/.local/share/0ad/mods then it was rebuilt when the game would start up again, and this time with zero javascript errors. Quote Link to comment Share on other sites More sharing options...
Stan` Posted June 22, 2020 Report Share Posted June 22, 2020 Glad you got it to work! Hope you'll enjoy this new version! 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.