The borg was taught to use anti-summon corridors. He does not dig them; he uses the spells/Ring of Delving/activation of items. I have been testing it over several days and I think I got all the major problems worked out. If you find any others, please send the savefile and description of the event.
I added a numeric selection for enchanting items. The borg can spend thousands of rounds enchanting his equipment up to +15. Some can argue that it is a waste of time since there is little benefit late in the game. Others argue, the borg has nothing but time, so let him have every advantage. There is now an option in borg.txt called borg_enchant_limit. It defaults to +12.
The borg might mis-calculate the number of safe grids when seeing if he is surrounded.
The borg needed a slight improvement when guessing where walls are. If he shoots into an unknown grid, he anticipates a pain response from the monster. If the response is not heard, he assumes there is a wall there blocking the shot. But it is not that clean and cut. Sometimes when shooting a missile, there is no pain response on a missed shot.
Vborg was getting stuck in munchkin mode if a stair he wanted was behind a wall.
I have been having a problem with the Borg getting stuck in menus.
When I come back to my computer after more than an hour of borg-runtime, it usually is stuck since a few thousand turns, in a shop or the throw menu, or the cast menu. While spamming illegal keypresses.
Maybe you should extend loop detection to those cases.
Or the borg registering an illegal keypress ( he should notice that ) could make him hit escape a few times ( to quit the menue) and then restart itself.
Loop detection from illegal keypresses has been included for quite some time. The code is in borg9.c borg_parse_aux() about line 2097. The borg supposed to catch the word ‘Illegal’ and do just as you describe. I think the borg is not able to complete the escape keypress due to a keyboard flush which the game code introduces. I have caught a couple related to the stores and I was able to work around them. If you have a savefile which is consistently encountering these types of errors, try to stop it in the loop and send me the savefile so I can examine the log and recreate the conditions.
I have just such a constantly looping borg. Where do I send the file to?
If you have a looping borg or some other weird borg behavior, send the savefile to andrew@innovapain.com