0.73c - development version

Okay, I’m running unfortunately into quite a number of bugs, some a bit annoying, so I guess this calls for another dev version before 0.74. I’ll try to remember them all, as every time I restart to see if they are reproducible or take a better screenshot, I am noticing new bugs (so I hope I won’t lose track of some of them).

#3 - For heroes at town gate, if there is an object in front, they can leave diagonally, but I cannot set attack path without performing some other actions in between.

Load the VCMI_Tests map attached, pick treasure chest with Neela, but not the Scholar. Then try to attack Rissa. For me it is not possible. I have to either first leave the town, or pick the Scholar - only afterwards I can set attack path on Rissa. You can see in the screenshot that I can get out to the place where the chest was, but my mouse is on Rissa - and I was clicking on her, but the path was not changing:

EDIT: After further tests, I noticed that it’s may not be the obstacle in front of town (only), as if I select another hero, then Neela again, I am afterwards able to set attack path from the same position as the above screenshot.

And now most (if not all) other bugs can be reproduced by attacking Rissa following the above.

#4 - Not a bug per-se, but the way the new high-res stack queue toggle is implemented (screen re-center) is maybe not the most fortunate. When I saw the battlefield recentering after the first toggle, sth didn’t feel right. I pressed Q several times more and I almost got a bit dizzy by having the field and the creatures repositioning themselves every time (though the effect may be accentuated by the fact that the repositioning is not synchronized - see bugs below). Perhaps it would be better if the stack queue would just open on top, w/o having the battlefield changing its position.

EDIT: After some more tests, I realize the re-center may be have seemed necessary for x768 resolutions (& similar). But actually for anything above x800 resolutions there’s place enough, and for x768 there would also be place if we move the battlefield just a bit lower.

#5 - There are some minor graphic glitches in the upper area (“the sky”) of the battlefield background. Not sure if related to the implementation of the new stack queue:

But the bigger problem is the fact that disabling the new stack queue makes several battlefield objects to lose focus:

#6 - Disabling stack queue makes creatures lose focus. As seen above, all creatures get placed just above their hex.

#7 - If I hover over Spell Book, I get the “not accessible” mouse pointer, and the battlefield hex above gets shaded. However I can click on it to open the book.

#8 - Casting spell seems to be focused almost 1 hex below the actual hex of the creature, which means almost 2 hexes away from the place where the creature graphics is placed. In the screenshot above, I wanted to cast Lighting Bolt on the enemy Gremlins. I could not cast it on the creature, nor on the hex below it. Only when I went even lower, somewhere at the same level with the head of the enemy Gargoyle, I was able to hit the Gremlins with the spell.

#9 - The Lightning Bolt casted above had no animation.

#9b - Possibly related, in a different battle, casting Magic Arrow on a creature in the left side of the battlefield, generated the animation in the middle of the battlefield. So my guess is that spells may be totally out of focus on high resolutions (I play on 1440x900), which may be the reason why I didn’t see the Lightning Bolt at all above.

#10 - Going back to the battle with Rissa, just before (or after?) the Lightning Bolt I had pressed Wait for one of my creatures. As a result, after the Lightning Bolt, none of the creatures on the battlefield was selected. Toggling stack queue didn’t help either. I just tried to click somewhere to have something happening, but the game crashed. Crash logs attached. It seems it’s only reproducible if we use Wait+Cast combinations.

i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/th_2009-09-20_NoneSelectedAfterBoltCra.jpg

UPDATE/CORRECTION: Bug #10 is caused by the Cast+Wait combination (in that order, so not Wait+Cast like I said above).

I’ve also managed to reproduce #10 and do r-click on a creature w/o crash:
i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/th_2009-09-21_CastWait.jpg
The bug still occurred - pressing Wait after Cast caused the Gargoyle to lose its turn w/o other creature getting that turn. Notice also the stack queue which disappeared when I right clicked on the Gargoyle (before the r-click it still showed it was its turn, even though no movement was allowed). The game crashed only when I tried to cast a second spell during the same turn. #10_New_Crash_Logs added.
2009-09-21_Cast+Wait+TryingToCastAgain.7z (97.5 KB)
2009-09-20_NoneSelectedAfterBolt+Crash.7z (2.61 KB)
2009-09-20_VCMI Tests.h3m.7z (9.82 KB)

And some other bugs:

#11 - In a different battle, Ice Bolt had no effect on the enemy creature, but it also made me lose the turn of my active creature. Not reproducible (I tried to recreated the situation with Aislinn in the attached map, but didn’t reoccur).

#12 - Wight’s regenaration animation taking place at the beginning of the battle with no reason, and in the wrong spot. In the attached map, it happens strangely only with Aislinn (attacking the Sprites or a hero), but not with Septienna attacking the Wraiths. Maybe because Wraiths have the 1st turn?

#12b - And related, in Septienna’s battle with the Wraiths, we can see our Wights regenerate also after being killed. I have the strong feeling this was reported somewhere, but I can’t find the log. If so, sorry for duplication. EDIT: Fount it. It was 0.73#74 , referring to Wraiths. Either the fix did not make it to the package, or it did not include the Wights.

#13 - Wight’s regenaration animation seems to have the wrong graphics (unless for some reason intended so?). In VCMI is greenish, in H3 it had transparent-blueish color.

#14 - Stacks killed in retaliation, fall down before the retaliation animation. Can be reproduced in Septienna’s battle with the Wraiths.

#15 - Spell book button not disabled after spell cast (for the remaining of the turn) or if hero has no spell book. Here again I have the feeling this was reported and IIRC even solved at some point, but I can’t remember where (I searched for it, but maybe I used the wrong keywords :p)
2nd VCMI Tests.7z (9.88 KB)

Fixed. Paths info was updated only on hero move and switching heroes, not after just removing (picking) object.

I tried making queue simply popping up at the top of battle window but that didn’t look good for me. Either the window seemed to be too high when the queue was open or too low when it was disabled. So I’ve decided to keep it centered.
Unfortunately it was last minute change and I didn’t tested it enough. We’ll see how it looks without all these bugs in the next build.

It’s not related. Fixed.

Fixed.

After changing a bit the map above to check sth about Wraiths, I found another big bug (see 3rd VCMI Tests map):

#16 - 2nd Wait command on a creature during a turn is handled badly.

To reproduce:

  • Load 3rd VCMI Tests map attached and attack with Septienna
  • Watch the 6 funny regeneration animations at battle start :stuck_out_tongue: (if you don’t get 6 like me, then it gets even more interesting as further investigation is needed)
  • Wait on Bone Dragon & Black Knight
  • Attack Wraiths (which meanwhile came close) with your Wraith & Wight, then move Walking Dead
  • Wait on Black Knight, then Wait on Bone Dragon, Wait on Bone Dragon, Wait on Bone Dragon, Wait on Bone Dragon, Wait on Bone Dragon,… (if you reproduce it, you’ll see what I mean) :smiley:
  • Then move Bone Dragon 1 hex, and watch it remain stuck in flying animation, while the Wraiths fly in and attack it (this being the 2nd part of the bug).

Hopefully all the above are easily reproducible. This could be related to the #10 Wait+Cast bug reported above.
3rd VCMI Tests.7z (9.9 KB)

There is a critical bug in AI that makes impossible to end the turn.
(My fault, I’ve incompetently tried to block its adventurous part.)
To avoid this problem, please put this file into you AI/ subfolder: download.antypika.aplus.pl/GeniusAI.dll
I’ve also updated the package on the server, so if you downloaded build after this post was published, you don’t have to do anything.

Sorry for trouble.

Yep. That was it. The more I play, the more I run into more situations like this: :slight_smile:

http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/090920_KeyToVictory.jpg [size=75](after hero just picked up a resource pile in front of the wood)[/size]


We have a “leftover” of bug 0.71b#25 (pain sound in battle after game load). As its behavior has been restricted and the SourceForge item closed as fixed, I’m gonna raise it as new bug:

#17 - After game load, we have the same pain sound in battles after the casting of any damage spell.

and in general:

#18 - After game load, it seems we lose all creature sounds during battles (moving, attacking…)


#19 - In Hero Meeting window, when we click on the Catapult, it should give the pop-up saying “This item can’t be traded.” In 0.73c we get the same info pop-up that we would get in the Hero screen: “The Catapult must be equipped.”

#20 - War Machines can’t be exchanged yet (this sounds familiar, so apologies if it was already reported)

#21 - There is small delay in passing an artifact from one hero to another, in the sense that it first appears in the new slot and only a moment later it actually disappears from the original slot. And it has the same effect on the related bonuses. E.g.: in any of the VCMI_Tests maps attached above, take Sir Mullich to meet with Neela. And have him pass the Badge of Courage to her. You’ll see she gets it immediately, together with the morale bonus, but only half a second later the badge icon disappears from Sir Mullich’s slot, together with the morale bonus.


#22 - Closing Main Menu client from the upper right window button or with Alt+F4 leads to a crash:

i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/th_2009-09-21_ClosingMainMenu.jpg

Crash logs attached:
2009-09-21_ClosingMainMenu.7z (79.7 KB)

Fixed.

Fixed.

SO ! BUGS in 73c :::::

#23-SERIOUS if u move horse/boat cursor out of map(broun textured field) and click - game crashes - it could be a pathfinder outofrange wrong check (i`ve checked with 73 - no such problem, so probably a cursor-implementation bug)
#24 very wrong estimated damage in battle - 4 titans - 16-32est and vs 6harpies done 446 dam, 6 archers - 117-176est and done 13 dam vs 6 harpies second round - 4 titans - vs harpies - 15-30 est and done 476dam 49gargoyles vs harpies 0-0 est !!!
#25 wrong creature fight order - now in siege - first round catapult had no turn(or it could be it’s the last one - speed 0, however in H3 it shoots before all creatures) and first turn was gargoyles’ and second - titans’ : in queue is shown - second round - first(or last in 1st round) - catapult then titans then gargoyles, but when it started all was again like in 1st round
#26 probably not yet implemented - Native Terrain(NT) in siege - gives bonuses for creatures to which NT of town is native(ie centaurs get bonuses when fighting in Castle siege) and this hapens irregardless where the town is located - rampart on swamp land in siege will have grass: my siege vs necropolis was not on dirt (necro NT) and necro creatures haven’t bonuses , but castle creatures had bonus when was a siege of Castle which was staying(trigger yellow point) on grass
#27 AI doesn’t evaluates wall in siege and melee fighters just stand in castle, but it is not yet implemented, i feel

#28 Map scrolling not working anymore if hero is selected. CTRL+Arrows move hero should scroll the adv. map. In 073 was ok.
If town is selected it works but very strange. (once I got crash but without dmp file).


#29 Refer to sound problems. There is also problem when you push NEW GAME, after first start it has long pause an multiple sound effects, other time is ok, and other there is no sound at all. *


*[size=75]I added a log number, because from your description it seems to be different than previous sound related bugs. When uncertain, I guess it’s safer to give a log number. Better to have a dupe than not to have a tracing log #. :wink:

Zamolxis[/size]**

That fix is both in the package and include Wights. It just does not include animation (it prevent only from adding health points, I haven’t tested it before claiming the success because the fix was very small, obvious and seemed to be enough [additional condition for being alive before applying regeneration]). Now it’s fully fixed.

Probably fixed (damage was calculated for different stacks), or at least more accurate. If it reoccurs in future releases, please re-report.

#30 Game crashes when attacking Creature Bank. Debugger points BattleQueue.

pos.h = bg->h;

EDIT: Actually it happens also when engaging neutral stack, so I guess the problem may be general.

#31 Pathfinder can’t find a way if the road is blocked by Event. Previously it did.

#32 IMP CACHE BUGS:

#33 - The Capitol of the conquered town is not destroyed if we already have one.

This is also related to 0.72#2 - Multiple Capitols allowed if set up from MapEditor. As H3 had the “1 Capitol per player” rule, I’ve posted some suggestions on how to handle possible fixes for both 0.72#2 & 0.73c#32 HERE.

On the other hand, I strongly support keeping the possibility of having more Capitols (through conquering or Map Editor) as a mod because, well, I could always use more money… :smiley:

The Imps not attacking Gnolls may or may not be related to a bug reported some time ago, regarding AI not attacking the creature placed just in front of it (though I can’t find that report right now). To be investigated - and we can keep this 0.73c#32 referring mainly to that.

The other two are however general, and it would be nice if they can be solved soon (one because it’s pending for quite some time, and the other because it’s kind of annoying and was introduced only now with 0.73c):

  • Quantity of units wrong placed / unreadable. This was reported long ago as 0.7#71 and is now the oldest logged item in SourceForge. I’ve posted a detailed description of how these stack boxes should be displayed at the bottom of my post HERE.

  • Endless wait. This must be strongly related to 0.73c#16. I guess you just discovered a loop between 2 creatures of the same speed, while I had it only for 1 creature. That means it impacts all of the same highest speed creatures from our army.

oh what i’ve seeeeeeen now !!

started 1600*1200 but it was real pain slowdown, strange but i wrote (like i feeled this !!) before this game to “Miss_func” topic about probability switching off the animation on map and in town - creature and building to have better speed, and maybe due to this slowdown i got “bugs”

in the battle i’ve seen second animation starts before first - so read attentive - 2 stacks of enemy harpies and pikeman stack and archers - order - harpy, harpy,pikmen,archer,harpy,harpy
animation: …archer shoots - pikemen and harpies show pain animation at same time, then harpy beats pikemen, then pikemen beats(counter-) harpy and right after shows pain animation(2nd harpy attacked him) and then 2nd harpy shows attacking animation - that’s a SLOWDOWN - please try 1600*1200 arrogance3 attack with orrin lorelei - U will see heroes like RTS :smiley:

and bug - #34 completely can’t see morale animation and no delay either - and those ai creatures who had morale just moving twice further - it quite fears ))

looking at the code I think you get bg a NULL, as new releases (before 0.73c?) was doing things with battlequeye giving posssibility to fields to be NULL and not all checks were done

Gaaa! My first bugfix. Actually a brand new feature of building demolition 8)

Also, only first town of player will keep its Capitol after game start - you can see it easily on Arrogance3.

#35 Bug with heroes in tavern - see attached save. In tavern on the right there is Sir.Mullich and if you buy only heroes from the left side there are all the time elementalist and planeswalkers. Isn’t it correctly implemented? I didn’t noticed that before
games.zip (222 KB)

Regarding #35, I also noticed we get Conflux heroes more often than usual. For example, when loading the VCMI_Tests map attached to some of my reports in this thread, I am always getting at least 1 Tavern hero from Conflux, and quite often both of them.

I wanted to run some more tests to make sure it’s not just a coincidence, but then I ended up running into bigger bugs that needed reporting and forgot about this (so I’m happy Boulie brought it up). :wink: