wowgetoffyourcellphone Posted September 8, 2020 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 Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author 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. Link to comment Share on other sites More sharing options...
Silier Posted September 8, 2020 Share Posted September 8, 2020 @wowgetoffyourcellphone does that faction have storehouse? Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author 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. Link to comment Share on other sites More sharing options...
Silier Posted September 8, 2020 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. Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted September 8, 2020 Author 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now