Opened 8 years ago
Closed 8 years ago
#3751 closed defect (fixed)
UnitAI.js ERROR!
Reported by: | gameboy | Owned by: | mimo |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 20 |
Component: | UI & Simulation | Keywords: | |
Cc: | joswwa-0ad@… | Patch: |
Description
I tested SVN17685, when I used ten farmers to build a municipal center, the city center after the establishment of an error message:
ERROR: Script message handler OnGlobalEntityRenamed failed
ERROR: Error in timer on entity 4368, IID 90, function TimerHandler: TypeError: "target" is read-only RallyPoint.prototype.OnGlobalEntityRenamed@simulation/components/RallyPoint.js:100:4 Foundation.prototype.Build@simulation/components/Foundation.js:346:68 Builder.prototype.PerformBuilding@simulation/components/Builder.js:73:3 UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.REPAIR.REPAIRING.Timer@simulation/components/UnitAI.js:2707:6 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274:29 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3856:68 Timer.prototype.OnUpdate@simulation/components/Timer.js:100:4
Attachments (3)
Change History (12)
by , 8 years ago
Attachment: | commands.txt added |
---|
comment:1 by , 8 years ago
Cc: | added |
---|
by , 8 years ago
Attachment: | savegame-0113.0adsave added |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Component: | Core engine → UI & Simulation |
---|
Hi gameboy. Thanks for still testing svn (not many people do that currently).
This is a known bug which was introduced by r17673 and a fix is already being discussed, so it will be solved soon :)
comment:5 by , 8 years ago
gameboy, this question should stay on the forums not on trac.
This error is easily reproducible (just make a rallypoint on a foundation, the error will happen when the construction finishes), but there is an intriguing point which is that it is reprocible on visual-replays, but not on replays, and that has to be understood before properly fixing it. In the meantime, for people who want to test svn, you can apply the following patch.
comment:6 by , 8 years ago
OK, my friend, I hope the final fix for this issue can be launched as soon as possible. Thank you
comment:8 by , 8 years ago
My friend, MIMO! Today I tested the latest SVN17711, the problem still exists.
I put the game file upload file upload, please help me.