MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000818VCMIGUI - Battlespublic2011-09-20 11:022014-05-30 17:41
ReporterZamolxis 
Assigned ToWarmonger 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.86 
Target VersionFixed in Version0.9 
Summary0000818: Devil & Arch Devil movement animation issues
DescriptionI've experienced two issues with Devil & Arch Devil's movement animations. The interesting part of it is that I had the first one a couple of days back, while testing for another bug, however, when I tried to focus on it to see if it's the same for small distances, the bug changed into another, which now is "again" always reproducible (while the first behavior is not reproducible anymore, even if I close and reopen the application, and EVEN if I reboot the computer).

1. Initially what I noticed was that the Devil / Arch Devil movement animations had redundant representation of the creature midway. They should disappear in flames in their hex, and simply reappear again in flames in the destination hex. What I noticed is that VCMI was still showing them for a fraction of a second on the path to the destination hex. Initially this was always reproducible, so my guess is you should all have it, unless you already have the below.

2. When I tried to see if we have the same problem also if the (Arch)Devil moves only a few hexes, I ran into another bug, which now "took over", regardless of how far I want to move the (Arch)Devil on the battlefield. What I did first time when it happened (see first screenshot) was the following:
- took Xyron in the map from 0000815 and attacked Orange player
- moved Azure Dragon & Archangel as in screenshot
- (if relevant) Archangel got an extra move from Morale bonus, but I chose to Wait (or Defend?)
- then I tried to move the Arch Devil behind the Archangel
- the Arch Devil did the disappearance animation, but reappeared in the same hex (given the natural hate between these creatures, I guess he thought he may not resist the temptation of stabbing the Archangel in the back, while they're supposed to fight for the same army - j/k :P)
- the destination hex however remained locked for other creatures (we see the Sultan Efreets which have their turn, but the hex is not shaded while it's within their range)
- I've forced a crashdump immediately, as I thought it's not reproducible (attached under screenshot).

So, after the above, I only had bug 2, even when restarting the app or the PC. While reproducing the bug, I also had the following:
- Gave Arch Devils command to attack the Griffins
- They did disappear, but reappeared in the same place, had the attack animation in the start hex, Griffins had the damage receive animation and lost 2 from the stack (and battle log was also updated accordingly)
- After this, the head of the Arch Devils disappeared behind the Devils (screenshot 2)
- Used Defend on the other creatures to follow the development of the bug
- When Griffins' turn came, they attacked the (invisible) Arch Devil next to them, triggering the graphic representation of the Arch Devil to move - not in the hex were they were, but 3 rows lower (as in screenshot 3); Griffins were killed in retaliation and Arch Devil remain on this new (wrong) spot
- When Azure Dragon's turn came, they weren't able to access the hex where the Arch Devil was supposed to be (between Pikemen and dead Griffins), but were able to fly to hexes 184.185 (screenshots 3 & 4).
- And so on... when Arch Devil's turn came, we see it surrounded by the yellow glow in the wrong hex, and even if it attacks, it remains in that hex.
- When the case, Morale and Luck animations occur in the hex where the creature should be, not where we see it.

Same issue for Devils. I have some more crashdumps & saved game, but I guess they are redundant (let me know if you need them though).
TagsNo tags attached.
Attached Filesjpg file icon 2011-09-20_086(Arch)DevilMovementIssues.jpg [^] (74,381 bytes) 2011-09-20 11:02


7z file icon 2011-09-20_086(Arch)DevilMovementIssues1.7z [^] (86,429 bytes) 2011-09-20 11:03
jpg file icon 2011-09-20_086(Arch)DevilMovementIssues2.jpg [^] (128,808 bytes) 2011-09-20 11:04


jpg file icon 2011-09-20_086(Arch)DevilMovementIssues3.jpg [^] (149,230 bytes) 2011-09-20 11:04


jpg file icon 2011-09-20_086(Arch)DevilMovementIssues4.jpg [^] (22,671 bytes) 2011-09-20 11:04


png file icon e1.PNG [^] (424,877 bytes) 2012-04-06 07:13


png file icon e2.PNG [^] (493,634 bytes) 2012-04-06 07:13


png file icon e3.PNG [^] (425,602 bytes) 2012-04-06 07:13

- Relationships
related to 0000935resolvedIvan Casting Teleport on flying creature makes it fly slowly to destination 
has duplicate 0000952closed Arch Devil can't move in combat 
related to 0001087closedIvan Game crash when nymph and oceanid try move 

-  Notes
(0002332)
q4a (reporter)
2012-04-06 07:12

Still present in r2608. tested on 2 different maps. Attached some images. My steps to reproduce:

Start map --VCMI Tests 2011c-- from 0000815 for the Blue Team.
Take 2nd hero (it will be random).
Use cheat vcmiainur to get 5 Archangels to every empty slot.
Attack Red's hero Xyron.
Wait every creature, until Devil & Arch Devil will move.
(0002409)
Warmonger (administrator)
2012-05-07 17:30
edited on: 2012-05-07 17:30

Added possible relation to 0000935.

(0003042)
Warmonger (administrator)
2012-09-22 06:25
edited on: 2012-09-22 06:27

HoTA Nymph / Oceanid crashes during movement and I'm sure it is related to its teleport animation as well.

BTW, I created new issue category "Mods".

(0003081)
Ivan (developer)
2012-09-29 08:50

Crash with HotA is fixed but this issue is still present.

Right now archdevils\nymphs have "flying" bonus instead of something like "teleports". Does not looks to be a problem for Nymph (no moving animation at all) but archdevils have one frame of moving animation.

As result Archdevils will
1) disappear in flash of flame (OK)
2) slide to destination (wrong and ugly)
3) reappear in another flash (OK)

Solution will be to add "teleporting" bonus in addition to "flying" or remove that frame from .def
(0003084)
Warmonger (administrator)
2012-09-29 09:16

You can also add subtype to "flying" bonus, which should be easier solution (no double checks for flying and teleporting everywhere in the code).
(0003095)
Ivan (developer)
2012-09-29 09:59

Subtype sounds better. Care to implement? :)
Devils have their bonus imported from crtraits.txt along with some other flying creatures - I can't just change subtype in config.

Skipping movement animation is one-liner though. (CBattleAnimations.cpp:404)
(0003100)
Warmonger (administrator)
2012-09-29 12:42

Fixed animation in r2950. Hopefully that's enough, as there should be no other difference between Arch Devil and other flying creatures now.

- Issue History
Date Modified Username Field Change
2011-09-20 11:02 Zamolxis New Issue
2011-09-20 11:02 Zamolxis Status new => assigned
2011-09-20 11:02 Zamolxis Assigned To => Tow dragon
2011-09-20 11:02 Zamolxis File Added: 2011-09-20_086(Arch)DevilMovementIssues.jpg
2011-09-20 11:03 Zamolxis File Added: 2011-09-20_086(Arch)DevilMovementIssues1.7z
2011-09-20 11:04 Zamolxis File Added: 2011-09-20_086(Arch)DevilMovementIssues2.jpg
2011-09-20 11:04 Zamolxis File Added: 2011-09-20_086(Arch)DevilMovementIssues3.jpg
2011-09-20 11:04 Zamolxis File Added: 2011-09-20_086(Arch)DevilMovementIssues4.jpg
2011-09-20 11:18 Zamolxis Reproducibility sometimes => always
2011-09-20 11:18 Zamolxis Description Updated View Revisions
2011-09-20 11:20 Zamolxis Description Updated View Revisions
2012-04-06 07:12 q4a Note Added: 0002332
2012-04-06 07:13 q4a File Added: e1.PNG
2012-04-06 07:13 q4a File Added: e2.PNG
2012-04-06 07:13 q4a File Added: e3.PNG
2012-05-06 14:04 Zamolxis Relationship added has duplicate 0000952
2012-05-07 17:30 Warmonger Relationship added related to 0000935
2012-05-07 17:30 Warmonger Note Added: 0002409
2012-05-07 17:30 Warmonger Note Edited: 0002409 View Revisions
2012-09-22 06:25 Warmonger Note Added: 0003042
2012-09-22 06:27 Warmonger Note Edited: 0003042 View Revisions
2012-09-28 08:58 Warmonger Relationship added related to 0001087
2012-09-29 08:50 Ivan Note Added: 0003081
2012-09-29 09:16 Warmonger Note Added: 0003084
2012-09-29 09:59 Ivan Note Added: 0003095
2012-09-29 12:42 Warmonger Note Added: 0003100
2012-09-29 12:42 Warmonger Status assigned => resolved
2012-09-29 12:42 Warmonger Fixed in Version => 0.9
2012-09-29 12:42 Warmonger Resolution open => fixed
2012-09-29 12:42 Warmonger Assigned To Tow dragon => Warmonger
2014-05-30 17:41 beegee Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean