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.

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
 Share

×
×
  • Create New...