Jump to content

army.js line 94 TypeError: ent is undefined .


gameboy
 Share

Recommended Posts

Today, I tested the latest SVN16665, something error:

ERROR: JavaScript error: simulation/ai/petra/army.js line 94 TypeError: ent is undefined m.Army.prototype.evaluateStrength@simulation/ai/petra/army.js:94:1 m.Army.prototype.recalculateStrengths@simulation/ai/petra/army.js:86:3 m.DefenseArmy.prototype.needsDefenders@simulation/ai/petra/defenseArmy.js:87:3 m.DefenseManager.prototype.assignDefenders@simulation/ai/petra/defenseManager.js:286:7 m.DefenseManager.prototype.update@simulation/ai/petra/defenseManager.js:22:2 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:1848:2 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:123:3 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:83:2

Edited by gameboy
Link to comment
Share on other sites

None of these files have the problem, and they seems to be too short for that.

I think you are old enough on this forum :yes3: and should be able to test yourself your commands.txt before uploading them

just go in the directory where you have the commands.txt file and run

YourPathToPyrogenesis/pyrogenesis -mod=public -replay=commands.txt (or something analogus if you are on windows)
  • Like 1
Link to comment
Share on other sites

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...