Jump to content

(Resolved) wrong message appeared.


gameboy
 Share

Recommended Posts

Today, I tested the latest SVN20678, and when I chose a soldier to build it, the wrong message appeared:

ERROR: Error in timer on entity 1684, IID97, function TimerHandler: TypeError: cmpVisual.GetProjectileActor is not a function Attack.prototype.PerformAttack@simulation/components/Attack.js:554:17 UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.COMBAT.ATTACKING.Timer@simulation/components/UnitAI.js:1974:8 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274:12 UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3947:2 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 1783, IID55, function FireArrows: TypeError: cmpVisual.GetProjectileActor is not a function Attack.prototype.PerformAttack@simulation/components/Attack.js:554:17 BuildingAI.prototype.FireArrows@simulation/components/BuildingAI.js:340:4 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 1783, IID55, function FireArrows: TypeError: cmpVisual.GetProjectileActor is not a function Attack.prototype.PerformAttack@simulation/components/Attack.js:554:17 BuildingAI.prototype.FireArrows@simulation/components/BuildingAI.js:340:4 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 1783, IID55, function FireArrows: TypeError: cmpVisual.GetProjectileActor is not a function Attack.prototype.PerformAttack@simulation/components/Attack.js:554:17 BuildingAI.prototype.FireArrows@simulation/components/BuildingAI.js:340:4 Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

Link to comment
Share on other sites

gameboy which files do we upload when we have a bug in a game to report?

9 hours ago, gameboy said:

cmpVisual.GetProjectileActor is not a function Attack.prototype.PerformAttack@simulation/components/Attack.js:554

I don't see cmpVisual.GetProjectileActor in Attack.js  line 554 nor any other JS file.

So the file must come from a mod.

So some mod kept a modified copy of that file around which should be deleted and 0ad should be extended to cover the use case of the mod.

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • s0600204 changed the title to (Resolved) wrong message appeared.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...