wowgetoffyourcellphone Posted September 8, 2020 Report Share Posted September 8, 2020 This is what I get: Spoiler ERROR: JavaScript error: simulation/ai/petra/baseManager.js line 257 TypeError: template is null PETRA.BaseManager.prototype.findBestDropsiteLocation@simulation/ai/petra/baseManager.js:257:1 PETRA.BaseManager.prototype.checkResourceLevels@simulation/ai/petra/baseManager.js:445:17 PETRA.BaseManager.prototype.update@simulation/ai/petra/baseManager.js:1031:2 PETRA.HQ.prototype.update@simulation/ai/petra/headquarters.js:2764:16 PETRA.PetraBot.prototype.OnUpdate@simulation/ai/petra/_petrabot.js:118:3 m.BaseAI.prototype.HandleMessage@simulation/ai/common-api/baseAI.js:64:2 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author Report Share Posted September 8, 2020 OIC, probably an AI error with the Nuba faction. They're a minifaction with not as many buildings as all the others. Quote Link to comment Share on other sites More sharing options...
Silier Posted September 8, 2020 Report Share Posted September 8, 2020 @wowgetoffyourcellphone does that faction have storehouse? Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author Report Share Posted September 8, 2020 8 hours ago, Angen said: @wowgetoffyourcellphone does that faction have storehouse? It has a combo, storehouse and farmstead called the Granary. Quote Link to comment Share on other sites More sharing options...
Silier Posted September 8, 2020 Report Share Posted September 8, 2020 That may be problematic with current ai. I suppose it has own template. Issue is, Petra currently hardcodes {civ}_storehouse as dropsite for wood/stone/iron for all civs. I could try to scratch something for Petra. Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author Report Share Posted September 8, 2020 46 minutes ago, Angen said: That may be problematic with current ai. I suppose it has own template. Issue is, Petra currently hardcodes {civ}_storehouse as dropsite for wood/stone/iron for all civs. I could try to scratch something for Petra. I assumed it used classes, but I guess not. 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.