Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#4196 closed defect (invalid)

Petra AI - templatesModifications errors

Reported by: Heidi Hoe Owned by:
Priority: Must Have Milestone:
Component: AI Keywords:
Cc: Patch:

Description

Throwing AI errors and javascript errors. Logs attached. Running latest alpha as of 9/7/2016 on Ubuntu 16.04/Mint 18.

Attachments (1)

logs.tar.gz (19.0 KB ) - added by Heidi Hoe 8 years ago.
Error logs

Download all attachments as: .zip

Change History (6)

by Heidi Hoe, 8 years ago

Attachment: logs.tar.gz added

Error logs

comment:1 by Itms, 8 years ago

Keywords: JavaScript removed
Milestone: Alpha 22Backlog

Thanks for the report!

We would also need the commands.txt for this game. You can find it under ~/.local/share/0ad/, in the replays folder. Thanks in advance :)

comment:2 by elexis, 8 years ago

Milestone: BacklogAlpha 21
Priority: Should HaveMust Have
Summary: JavaScript warningPetra AI - templatesModifications errors

Thanks for reporting this bug. The log says you use alpha 21. Can you tell us which revision exactly (r18710)?

Indeed we need the replay to reproduce the errors. You can also find the path by selecting the replay under tools & options -> replays and clicking on delete (without confirming the removal).

Did you try something which might not work, like loading a savegame of a prior version?

Here the errors:

WARNING: JavaScript warning: simulation/ai/common-api/entity.js line 555 reference to undefined property sharedAI._templatesModifications[entity.owner]

ERROR: JavaScript error: simulation/ai/common-api/entity.js line 555 TypeError: sharedAI._templatesModifications[entity.owner] is undefined m.Entity<._init@simulation/ai/common-api/entity.js:555:7 m.SharedScript.prototype.init@simulation/ai/common-api/shared.js:172:23 m.SharedScript.prototype.onUpdate@simulation/ai/common-api/shared.js:228:3

WARNING: JavaScript warning: simulation/ai/common-api/baseAI.js line 45 reference to undefined property sharedAI.gameState

ERROR: JavaScript error: simulation/ai/common-api/baseAI.js line 45 TypeError: sharedAI.gameState is undefined m.BaseAI.prototype.Init@simulation/ai/common-api/baseAI.js:45:2 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:68:3

comment:3 by elexis, 8 years ago

Milestone: Alpha 21Backlog

Backlogging due to lack of progress.

comment:4 by mimo, 6 years ago

Resolution: invalid
Status: newclosed

That version is now obsolete, and the problem was never reproduced.

comment:5 by elexis, 6 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.