Assertion `bo.max_needed_preciousness == 0' failed.

Bug #1829783 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Undecided
Unassigned

Bug Description

I get this assert when runnig an ai only 8 players map in bzr9113[trunk]:

 5: Player has achieved the basic economy at 000:16:55
widelands: /home/kaputtnik/Quellcode/widelands-repo/trunk/src/ai/defaultai.cc:2506: bool DefaultAI::construct_building(uint32_t): Assertion `bo.max_needed_preciousness == 0' failed.
Abgebrochen (Speicherabzug geschrieben)

First i noticed with a save game from the branch 'list-directories-in-cpp', but starting a new game game with trunk throws this assert also.

I just created a new multiplayer lan game with map 'Ancient Sun of Fire' choosing only AI's as players and set each available tribe. Save game with this settings attached.

Related branches

Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
hessenfarmer (stephan-lutz) wrote :

This will be fixed with the following branch

https://code.launchpad.net/~widelands-dev/widelands/bug-1829471-worker-preciousness

was introduced with my latest AI change and passed review process. Sorry for that.

Revision history for this message
kaputtnik (franku) wrote :

Thanks for all your contributions, hessenfarmer and Tibor :)

kaputtnik (franku)
Changed in widelands:
status: New → Fix Committed
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.