MantisBT - VCMI
View Issue Details
0002991VCMIAI - Adventure Mappublic2018-08-04 06:202018-08-04 08:28
Warmonger 
Warmonger 
normalmajorsometimes
resolvedfixed 
0.next 
0.next0.next 
0002991: AI does nothing at Trading Post, leding to a loop
While AI can correctly move to Trading Post as a part of CollectRes goal, it doesn't ever perform actual trade. When it's in the Post, it chooses another target and just runs back and forth.
It happens quite often for Red in attached map, however better testing case for trading in general is needed.
No tags attached.
? 108 Jebus 20140330.h3m (51,131) 2018-08-04 06:20
https://bugs.vcmi.eu/file_download.php?file_id=2935&type=bug
Issue History
2018-08-04 06:20WarmongerNew Issue
2018-08-04 06:20WarmongerFile Added: 108 Jebus 20140330.h3m
2018-08-04 06:21WarmongerDescription Updatedbug_revision_view_page.php?rev_id=3513#r3513
2018-08-04 08:28WarmongerNote Added: 0007616
2018-08-04 08:28WarmongerStatusnew => resolved
2018-08-04 08:28WarmongerFixed in Version => 0.next
2018-08-04 08:28WarmongerResolutionopen => fixed
2018-08-04 08:28WarmongerAssigned To => Warmonger

Notes
(0007616)
Warmonger   
2018-08-04 08:28   
Fixed in https://github.com/vcmi/vcmi/commit/2aa0a6fe2f6b9384f341be06139e09e6f9424e8a [^] though actual functionality needs more tetsing.