VDV_forever discovered a critical bug: the remaining troops are incorrectly calculated after a victory if the hero's army has at least one empty slot out of the first four. I will fix it soon.
Also, if I can't find another solution, I will create a separate version specifically for single-core systems (I will revert the CPU load), as single-core systems experience slowdowns when scrolling the map.
I didn't understand what HB was at first either :) In fact, it's an abbreviation that stands for HandBook.
Added after 18 hours 43 minutes
Fixed version 1.03
http://alexspl.narod.ru/H1TE.zip
1. Fixed a bug in the tournament version that caused the remaining troops to be incorrectly calculated if there were empty slots at the beginning or between troops in the hero's army before the battle.
I also fixed a couple of bugs in the original:
2. Fixed a bug that caused the number of remaining neutral creatures to be incorrectly calculated in the event of a hero's retreat or defeat.
3. Fixed a bug with the incorrect calculation of the remaining troops if the hero has identical troops (e.g., added in the map editor).
Since slowdowns occur when scrolling the map and moving the mouse while the hero is moving on single-core processors, I have created a version without reducing the CPU load. Later, if I can find a solution to this problem, I will create a single version, but for now, download this one.
http://alexspl.narod.ru/H1TE_single_core.zip
That was quick! Thank you!:smile01:
Questions:
1) What is the difference between the H1TE.zip and H1TE_single_core.zip versions?
I have checked both versions, and now the remaining troops are calculated correctly!
2) Fixed a bug that caused the number of remaining neutral creatures to be incorrectly calculated in the event of a hero's retreat or defeat.
I have always been interested in this question. The remaining troops were calculated in a rather tricky way, and I could never understand the principle (I didn't delve into this issue). Could you tell us about this algorithm? And show that this is indeed a bug that has been successfully fixed in the TE version!
3) Fixed a bug with the incorrect calculation of the remaining troops if the hero has identical troops (e.g., added in the map editor).
Was this bug really present in the original? :eek: I didn't know...
P.S. I have started creating a section in the handbook dedicated to the patch.;)
Sincerely, VDV_forever