MantisBT - VCMI
View Issue Details
0001478VCMIAI - Adventure Mappublic2013-09-17 15:562014-02-16 07:51
Macron1 
Tow 
normalmajorsometimes
closedunable to reproduce 
WindowsWindows 88.1
0.93c 
 
0001478: AI doesn't buy troops in town, that are avalable to hire. Even if player army is standing near town.
AI doesn't buy troops in town, that are avalable to hire. Even if player army is standing near town.
I sieged new town, and after victory saw, that there is a lot of creatures available.
I tested this on new towns (didn't tested it with standard towns).

Play map against AI, giving it new town.
Send hero with units to wait near AI town for some turns.

PS Warmonger on forum said, that AI buys units at end of any turn for all available resources.
I have attached 2 saves.
savegameai - save where my hero have landed from ship near town (he has movement points to attack city).
savegameai3turnslater - save 3 turns later. AI did not bought anything (in city there some buildings bought but no units)
No tags attached.
duplicate of 0001708acknowledged Warmonger Kills the guard of the city, but do not buy there beings. He could buy the army and quietly kill me, but he did not. 
related to 0000926assigned Warmonger AI don't know, that it will be dead without town 
zip AI_dont_buy_troops.zip (1,411,430) 2013-09-17 15:56
https://bugs.vcmi.eu/file_download.php?file_id=1500&type=bug
Issue History
2013-09-17 15:56Macron1New Issue
2013-09-17 15:56Macron1Statusnew => assigned
2013-09-17 15:56Macron1Assigned To => Tow
2013-09-17 15:56Macron1File Added: AI_dont_buy_troops.zip
2013-09-17 16:27WarmongerRelationship addedrelated to 0000926
2013-09-17 17:25WarmongerNote Added: 0004020
2013-09-17 17:27WarmongerNote Edited: 0004020bug_revision_view_page.php?bugnote_id=4020#r2419
2013-09-17 18:33ZamolxisPriorityhigh => normal
2013-09-17 21:54Macron1Note Added: 0004021
2013-09-18 08:24WarmongerNote Added: 0004022
2013-09-18 08:28WarmongerNote Edited: 0004022bug_revision_view_page.php?bugnote_id=4022#r2421
2013-09-18 08:29WarmongerNote Edited: 0004022bug_revision_view_page.php?bugnote_id=4022#r2422
2014-02-16 07:51WarmongerRelationship addedduplicate of 0001708
2014-02-16 07:51WarmongerNote Added: 0004483
2014-02-16 07:51WarmongerStatusassigned => closed
2014-02-16 07:51WarmongerResolutionopen => unable to reproduce

Notes
(0004020)
Warmonger   
2013-09-17 17:25   
(edited on: 2013-09-17 17:27)
It makes a big difference if "AI does not hire troops at all and never" or just "AI doesn't hire troops when enemy hero is near the town". For the latter, AI was never designed to play against human opponnent and can only play solo.

(0004021)
Macron1   
2013-09-17 21:54   
You said that AI must buy troops each day. So this is not working - for 3 days AI bought no units. I hope this will be fixed for 0.94. Without this game is barely playable.
(0004022)
Warmonger   
2013-09-18 08:24   
(edited on: 2013-09-18 08:29)
Actually, AI buys troops at the end of the day if it can afford them.

Can't test savegame because it contains something like "AVLESSER VAMPIRE". Please do not provide saves with custom mods, at the very most use only ones from our server.

(0004483)
Warmonger   
2014-02-16 07:51   
Closed as not reproductible duplicate of 0001708.