Jump to content
Sign in to follow this  
ubik

Alpha 19, AI not working [ubuntu]

Recommended Posts

Hey guys, I got the 0ad update and everything seems to work fine except for the AI, which doesn't do anything. I get a bunch of Javascript errors. Here's the output from the terminal.

I tried uninstalling (purged too) and reinstalling but the problem persists.

Cache: 400 (total: 16004) MiBTIMER| InitVfs: 908.028 usTIMER| CONFIG_Init: 1.14878 msSound: AlcInit success, using OpenAL SoftTIMER| shutdown ConfigDB: 0.483 usAL lib: FreeContext: (0x29b41b0) Deleting 64 Source(s)TIMER| resource modules: 501.969 msTIMER TOTALS (9 clients)-----------------------------------------------------  tc_pool_alloc: 39.139 kc (3x)  tc_png_decode: 0 c (0x)  tc_dds_transform: 0 c (0x)  tc_transform: 0 c (0x)  tc_plain_transform: 0 c (0x)  tc_ShaderGLSLLink: 0 c (0x)  tc_ShaderGLSLCompile: 0 c (0x)  tc_ShaderValidation: 0 c (0x)  xml_validation: 0 c (0x)-----------------------------------------------------TIMER| shutdown misc: 312.943 usCache: 400 (total: 16004) MiBTIMER| InitVfs: 58.3381 msTIMER| CONFIG_Init: 1.14774 msSound: AlcInit success, using OpenAL SoftTIMER| RunHardwareDetection: 21.2113 msTIMER| write_sys_info: 16.4666 msTIMER| InitRenderer: 2.49224 msTIMER| ps_console: 2.90133 msTIMER| ps_lang_hotkeys: 893.253 usTIMER| common/modern/setup.xml: 349.151 usTIMER| common/modern/styles.xml: 99.72 usTIMER| common/modern/sprites.xml: 1.20091 msTIMER| common/setup.xml: 356.154 usTIMER| common/sprite1.xml: 1.00326 msTIMER| common/styles.xml: 28.604 usTIMER| common/common_sprites.xml: 1.30043 msTIMER| common/common_styles.xml: 148.317 usTIMER| common/init.xml: 676.457 usTIMER| pregame/backgrounds/: 104.838 usTIMER| pregame/sprites.xml: 227.854 usTIMER| pregame/styles.xml: 26.023 usTIMER| pregame/mainmenu.xml: 4.30606 msTIMER| common/global.xml: 441.032 usTIMER| common/modern/setup.xml: 91.482 usTIMER| common/modern/styles.xml: 80.437 usTIMER| common/modern/sprites.xml: 1.13737 msTIMER| common/setup.xml: 318.53 usTIMER| common/sprite1.xml: 920.631 usTIMER| common/styles.xml: 16.406 usTIMER| common/common_sprites.xml: 1.15136 msTIMER| common/common_styles.xml: 115.812 usTIMER| gamesetup/setup.xml: 156.108 usTIMER| gamesetup/sprites.xml: 42.855 usTIMER| gamesetup/styles.xml: 49.55 usTIMER| gamesetup/gamesetup.xml: 16.6403 msTIMER| common/global.xml: 730.276 usTIMER| common/modern/setup.xml: 111.58 usTIMER| common/modern/styles.xml: 84.633 usTIMER| common/modern/sprites.xml: 1.16868 msTIMER| common/setup.xml: 326.602 usTIMER| common/sprite1.xml: 939.826 usTIMER| common/styles.xml: 17.364 usTIMER| common/common_sprites.xml: 1.13894 msTIMER| common/common_styles.xml: 113.652 usTIMER| common/init.xml: 628.997 usTIMER| loading/styles.xml: 95.888 usTIMER| loading/sprites.xml: 182.721 usTIMER| loading/loading.xml: 890.331 usTIMER| common/global.xml: 334.836 usWARNING: [ParamNode] Could not remove token 'phase_city_generic' from node 'Technologies' in 'structures/celt_civil_centre'; not present in list nor inherited (possible typo?)ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.HQ.prototype.assignStartingEntities@simulation/ai/petra/startingStrategy.js:124:5  m.HQ.prototype.gameAnalysis@simulation/ai/petra/startingStrategy.js:36:2  m.PetraBot.prototype.CustomInit@simulation/ai/petra/_petrabot.js:90:3  m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:62:2  InitGame@simulation/helpers/InitGame.js:76:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.HQ.prototype.assignStartingEntities@simulation/ai/petra/startingStrategy.js:124:5  m.HQ.prototype.gameAnalysis@simulation/ai/petra/startingStrategy.js:36:2  m.PetraBot.prototype.CustomInit@simulation/ai/petra/_petrabot.js:90:3  m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:62:2  InitGame@simulation/helpers/InitGame.js:76:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.HQ.prototype.assignStartingEntities@simulation/ai/petra/startingStrategy.js:124:5  m.HQ.prototype.gameAnalysis@simulation/ai/petra/startingStrategy.js:36:2  m.PetraBot.prototype.CustomInit@simulation/ai/petra/_petrabot.js:90:3  m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:62:2  InitGame@simulation/helpers/InitGame.js:76:2TIMER| common/modern/setup.xml: 93.663 usTIMER| common/modern/styles.xml: 80.248 usTIMER| common/modern/sprites.xml: 1.14923 msTIMER| common/setup.xml: 333.735 usTIMER| common/setup_resources.xml: 41.685 usTIMER| common/sprite1.xml: 960.481 usTIMER| common/styles.xml: 16.603 usTIMER| common/common_sprites.xml: 1.14439 msTIMER| common/common_styles.xml: 130.555 usTIMER| common/icon_sprites.xml: 52.458 usTIMER| session/sprites.xml: 1.61642 msTIMER| session/styles.xml: 110.449 usTIMER| session/session.xml: 67.7767 msTIMER| common/global.xml: 3.79339 msGAME STARTED, ALL INIT COMPLETEERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2ERROR: JavaScript error: simulation/ai/petra/gamestate-extend.js line 12TypeError: supply.resourceSupplyGatherers is not a function  m.IsSupplyFull@simulation/ai/petra/gamestate-extend.js:12:6  m.Worker.prototype.startHunting/<@simulation/ai/petra/worker.js:547:1  m.EntityCollection.prototype.forEach@simulation/ai/common-api/entitycollection.js:136:3  m.Worker.prototype.startHunting@simulation/ai/petra/worker.js:538:2  m.Worker.prototype.startGathering@simulation/ai/petra/worker.js:254:1  m.Worker.prototype.update@simulation/ai/petra/worker.js:67:5  m.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1009:3  m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2051:4  m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:81:2TIMER| common/modern/setup.xml: 95.286 usTIMER| common/modern/styles.xml: 84.314 usTIMER| common/modern/sprites.xml: 1.21421 msTIMER| msgbox/msgbox.xml: 780.552 usTIMER| common/global.xml: 316.948 usTIMER| common/modern/setup.xml: 114.175 usTIMER| common/modern/styles.xml: 109.484 usTIMER| common/modern/sprites.xml: 1.2139 msTIMER| common/global.xml: 358.903 usTIMER| summary/summary.xml: 29.8552 msTIMER| summary/sprites.xml: 185.82 usTIMER| common/modern/setup.xml: 212.692 usTIMER| common/modern/styles.xml: 283.397 usTIMER| common/modern/sprites.xml: 1.98491 msTIMER| common/setup.xml: 343.125 usTIMER| common/sprite1.xml: 960.637 usTIMER| common/styles.xml: 17.132 usTIMER| common/common_sprites.xml: 1.11801 msTIMER| common/common_styles.xml: 137.396 usTIMER| common/init.xml: 601.134 usTIMER| pregame/backgrounds/: 35.982 usTIMER| pregame/sprites.xml: 204.262 usTIMER| pregame/styles.xml: 15.101 usTIMER| pregame/mainmenu.xml: 4.18021 msTIMER| common/global.xml: 469.798 usTIMER| common/modern/setup.xml: 96.808 usTIMER| common/modern/styles.xml: 121.518 usTIMER| common/modern/sprites.xml: 1.18844 msTIMER| msgbox/msgbox.xml: 704.106 usTIMER| common/global.xml: 343.397 usTIMER| shutdown TexMan: 67.039 usTIMER| shutdown Renderer: 10.1555 msTIMER| shutdown SDL: 36.7405 msTIMER| shutdown UserReporter: 276.747 usTIMER| shutdown ConfigDB: 0.377 usAL lib: FreeContext: (0x294dbb0) Deleting 64 Source(s)TIMER| resource modules: 79.6587 msTIMER TOTALS (0 clients)----------------------------------------------------------------------------------------------------------TIMER| shutdown misc: 72.607 us

Share this post


Link to post
Share on other sites

Ok, I can't find the commands.txt in the page you linked to. I deleted all the dot folders in my home user, purged my copy and installed again, and I still have the same problem.

Can you tell me more about that commands.txt file? Any other ideas?

Share this post


Link to post
Share on other sites

I did have old files in the mod folder. Strange that purge doesnt remove them. anyway, now I've got another problem. I get a popup when trying to launch the game (doesnt load anymore).

Now I get an 'Insufficient access rights to open file' message from pyrogenesis.

Strange that the upgrade doesn't handle something like a mod folder from an older version :/

Share this post


Link to post
Share on other sites

I deleted everything to do with 0ad, removed the package and even purged!! And I get the same error with permissions. This is silly.

Now I can't even reinstall it on my system. How is it that I can't remove this program and install it again?

Any help would be much appreciated because I'm not going to reinstall linux to get it to work o_O

How can a working version of the game be scrapped by installing the upgrade? I hope this doesn't happen in future versions.

I just want to play ^_^

Share this post


Link to post
Share on other sites

Ok I finally did it. I remove ALL the files manually, apt-get removed the package, and purged again, then apt-get auto-remove. Now it has reinstalled and is working without errors!!!!

There should probably be a way to catch errors like this in the future. Has anyone else had problems upgrading after creating a mod folder?

Anyway, looking forward to playing this again!!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×