wowgetoffyourcellphone Posted July 26, 2019 Report Share Posted July 26, 2019 Spoiler ERROR: JavaScript error: simulation/ai/petra/entityExtend.js line 15 TypeError: can't convert undefined to object m.getMaxStrength@simulation/ai/petra/entityExtend.js:15:20 m.HQ.prototype.findBestTrainableUnit/<@simulation/ai/petra/headquarters.js:782:15 m.HQ.prototype.findBestTrainableUnit@simulation/ai/petra/headquarters.js:773:2 m.AttackPlan.prototype.trainMoreUnits@simulation/ai/petra/attackPlan.js:626:19 m.AttackPlan.prototype.updatePreparation@simulation/ai/petra/attackPlan.js:496:4 m.AttackManager.prototype.update@simulation/ai/petra/attackManager.js:266:21 m.HQ.prototype.update@simulation/ai/petra/headquarters.js:2787:3 m.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:119:3 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:64:2 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_arch with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_barracks with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_barracks_aux with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_range with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_stable with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_embassy_celtic with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_embassy_iberian with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_embassy_italiote with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_outpost with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_defense_tower with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_shipyard with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_kennel with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_blacksmith with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for other/wallset_palisade with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_wallset_palisade with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_wallset_siege with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_wallset_stone with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_elephant_stables with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_apadana_coin with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_prytaneion with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_workshop with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for units/kush_mechanical_siege_catapult_unpacked with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_army_camp with count < 0 WARNING: PlayerID 1 | Petra error in incrementBuilderCounters for structures/kush_fortress with count < 0 Quote Link to comment Share on other sites More sharing options...
Freagarach Posted July 26, 2019 Report Share Posted July 26, 2019 How does your "config.js" of PetraAI looks like? 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 26, 2019 Author Report Share Posted July 26, 2019 Sorry, Delenda Est had an old copy of headquarters.js for some reason. Deleted that and got no more errors. 1 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 26, 2019 Author Report Share Posted July 26, 2019 I honestly don't remember why it was there. Maybe for the nomad civ from Terra Magna? Dunno. Never worked anyway if that was the case. Quote Link to comment Share on other sites More sharing options...
gameboy Posted July 27, 2019 Report Share Posted July 27, 2019 @wraitii Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted July 27, 2019 Author Report Share Posted July 27, 2019 5 minutes ago, gameboy said: @wraitii Naw, it's fixed on my end. Thanks. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.