#6661 closed defect (invalid)

Undeletable siege turret added with changeset 27115 causes errors

Reported by: Langbart Owned by:
Priority: Release Blocker Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description

to reproduce

  • start a map with Ptol
  • build a harbor and produce a units/ptol/champion_juggernaut
  • sink the ship near the shore
  • siege will remain alive and keep shooting
  • AI throws errors
ERROR: JavaScript error: simulation/ai/petra/entityExtend.js line 64
resistanceStrength is undefined
  PETRA.getMaxStrength@simulation/ai/petra/entityExtend.js:64:6
  PETRA.DefenseArmy.prototype.evaluateStrength@simulation/ai/petra/defenseArmy.js:492:23
  PETRA.DefenseArmy.prototype.addFoe@simulation/ai/petra/defenseArmy.js:66:7
  PETRA.DefenseArmy@simulation/ai/petra/defenseArmy.js:38:8
  PETRA.DefenseManager.prototype.makeIntoArmy@simulation/ai/petra/defenseManager.js:77:19
  PETRA.DefenseManager.prototype.checkEnemyUnits@simulation/ai/petra/defenseManager.js:250:9
  PETRA.DefenseManager.prototype.update@simulation/ai/petra/defenseManager.js:62:7
  PETRA.HQ.prototype.update@simulation/ai/petra/headquarters.js:2274:22
  PETRA.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:118:11
  m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:64:7

Attachments (2)

siege_undeletable.gif (1.6 MB ) - added by Langbart 18 months ago.
commands.txt (85.8 KB ) - added by Langbart 18 months ago.
Replay seen in the GIF, issue occurs around ~15min mark

Download all attachments as: .zip

Change History (5)

by Langbart, 18 months ago

Attachment: siege_undeletable.gif added

by Langbart, 18 months ago

Attachment: commands.txt added

Replay seen in the GIF, issue occurs around ~15min mark

comment:1 by Langbart, 18 months ago

Summary: Undeletable siege turret aded with changeset 27115 causes errorsUndeletable siege turret added with changeset 27115 causes errors

comment:2 by Stan, 18 months ago

Thanks for the report 🤍

comment:3 by Langbart, 18 months ago

Milestone: Alpha 27
Resolution: invalid
Status: newclosed

unintentional code commit caused the problem, it was reverted with [27246].

setting the ticket to invalid

Note: See TracTickets for help on using tickets.