VCMI 0.73 - Bug reports

I learned that tree can’t give more exp than 2^16 (old integer?), now trying to change variable types to 64 bit.

#63 No message about preventing spell casting during battle if you use “Orb of Inhibition”

#64 No info in status window if you collect guarded resources.

Handled, which leads to another bug:

#65 When gaining multiple levels at once, hero can be offered same secondary skills many times.

Duplicate to 0.72 #47 bug.

Ok guys, after updating the last build game crashes immediately after launching any map, with no error log.
The last and only package applied is Set Selection.

#66 - After selecting a spell during combat, l-click should be locked for any action other than casting.

Right now we can still access the combat menu buttons: Options/Surrender/Retreat/Auto/Scroll/Cast/Wait/Defend. None of these should be accessible while a spell is selected. And also r-clicking on any of them should not display the info box, but cancel the spell (same as r-click anywhere else); and only after cancelling the spell r-click should open the info boxes.

#67 - Spell immunities don’t seem to work (I would have thought the feature was not implemented yet, but then I saw some were reported once as fixed?):

Ice Elementals don’t have Ice immunity
Fire Elemental/Firebird/Phoenix don’t have Fire immunity
Magma/Energy/Psychic Elementals don’t have Mind spell immunity
Magic Elementals don’t have any Spell immunity
etc.

#68 - Incorrect display of the mouse cursor during enemy’s turn in battle (frozen shaded hex i/o mobile arrow)

VCMI: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/090818-CursoronenemysturninVCMI.jpg - Cursor disappears, leaving a frozen shaded hex (until enemy ends their movement)
H3: http://i4.photobucket.com/albums/y104/Zamolxis/VCMI/VCMI%2007/090818-H3Cursoronenemysturn.jpg - Cursors changes to an arrow, which can still move during enemy’s turn; and there’s no shaded hex on the battlefield during enemy’s turn

I’ve implemented it yesterday (not tested because it seems to be quite hard but the code is quite simple).

#69 - Placing artifacts back in backpack (or swapping), if you have more than 5 artifacts there, does not put the artifact in one of the 5 visible slots where you clicked. You’ll need to scroll for it to see where it went. You can reproduce it with Ivor in the attached map.

In case you just place an artifact in the backpack, you only need to scroll once to the left to find it. However if you take an artifact from the backpack and swap it with one on the hero, you’ll really need to scroll through that backpack to see where the other artifact went (I didn’t figure yet the logic used to place a swapped artifact).

[size=84]But this bug gives me an idea: maybe it’ll be nice if VCMI would add a small button or hotkey to sort all backpack artifacts, first by destination slot, then by value. I’ll log this in the “Missing features” thread. ;)[/size]
VCMI Tests.h3m (9.24 KB)

#70 Creatures’ dwellings do not require FORT to be built if there is already built first lvl dwelling (except CASTLE town).

#71 Bug with sailing - boat can sail through the edge of the land, noticed before, but I thought it didn’t affect the game. Now it seems to be bug.
The map is “Search for the Grail”. Attached with added hero in the place screenshots are made. First pic is from VCMI second from HoMM.

img149.imageshack.us/img149/5529/bugsailingthroughedgeof.th.jpg img149.imageshack.us/img149/1176/bugsailingorg.th.jpg
Search for the Grail_edit.h3m (20.5 KB)

#72 The calculations for finding possible hexes to move to in battle do not seem to take into account the nature of 2-hex creatures. In the picture below, the Silver Pegasi should not be able to move in front of the Arch Devils.

EDIT: Maybe this is the same as #08? In any case, it should hold for all 2-hex creatures.


And if you do try to move them there, what happens? Crash?

No, the server will send a message that the unit cannot be moved there. I could attach a map but the problem is easily reproducible, just create an army like in the picture and attack a group of Arch Devils and they will start out by going for the Grand Elves just like in the picture every time.

I think it’s not a problem with not recognizing that creature is two hex wide but a problem with not blocking side colums of hexes when it should be done. I think it’s not hard to fix.

You’re right, it was really just a special case with edges of the battlefield. I should’ve fixed it now.

Refer to crash #45, it’s happened one more time (attached new dump and log files)

BTW: I’m not sure if I should continue to add the log files for this bug? Do you know what is the reason?

img136.imageshack.us/img136/3157/crashmeetingscreen5.th.jpg


#73 Crash at the start of the battle - I’m nearly sure that I (or somebody) has reported this crash but I couldn’t find it. I don’t know if it shouldn’t be fixed. If it is new, please assign the next number.

img21.imageshack.us/img21/3006/crashbattlestart.th.jpg img21.imageshack.us/img21/6071/crashbattlestartcd.th.jpg
crash_battle start.zip (123 KB)
crash_meeting screen 5.zip (161 KB)

I gave it a log number because with crashes you never know: even if it looks similar, it might have a different cause. Plus the fact that the previous reports were not kept in the logs, could mean that the devs made already some changes which should have prevented it to reoccur.

Anyway, just in case it’s related and previous descriptions are helping, here are the other reports:

0.72#71: [forum.vcmi.eu/t/0-72-bugs-and-issues/170/60)

0.72d#2: [forum.vcmi.eu/t/vcmi-0-72d-development-version/190/4)

Zamolxis, good job :wink:
How was it possible that I didn’t find this crashes neither yours nor mine ? :open_mouth:
I thought it was caused by smpeg.dll, so replacement of this file didn’t help or there are also some other reasons.

Ok, I finally managed to attack recently implemented Creature Bank.

There is a whole lot of bugs:

-Creatures are random type and quantity, at least compared to Crypt config - but it can be my fault as well.
-Griffins can’t reach certain areas.
-Unicorns are placed incorrectly.
-Defenders’ formation is not as it was supposed to be.
-Round begins two times.

Only griffins cannot reach that area? If not, it’s probably caused by wrong blockmaps of certain obstacles.

Defender’s formation looks good. How it should look in your opinion?

That happens for all battles. The first round is a tactic round (not finished).

fixed

fixed