Anonymous | Login | 2024-11-21 20:53 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001014 | VCMI | Mechanics - Battles | public | 2012-06-18 08:57 | 2022-04-12 08:58 | ||||
Reporter | vmonkey | ||||||||
Assigned To | beegee | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x64 | OS | Ubuntu | OS Version | 12.04 | ||||
Product Version | 0.89 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001014: Catapult can't shoot on castle gate | ||||||||
Description | I think this issue is related to the one reported before (http://bugs.vcmi.eu/view.php?id=785 [^]). Because it is marked as solved, I create this new issue. When choosing castle gate as the aim of catapult, then it skips its turn and shows error message. In the original HOMM3 it was possible to shoot at the gate. Issue persists at least when attacking Conflux. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Notes | |
(0002915) randomed (reporter) 2012-08-19 09:03 edited on: 2012-08-20 13:34 |
I've tested this and it's confirmed for all castles. The error message says that there's no (catapult) curve calculated for hex 95 or 96. There's another problem, but it is closely related to this one. You can aim with the catapult at the gate's edges (small towers near the game), even though they are supposed to be indestructible. I've just started looking over the code, but the problem seems to be in one of these functions: isCatapultAttackable, battleGetWallUnderHex, hexToWallPart. Can't pinpoint exactly what it is. |
(0002974) randomed (reporter) 2012-09-01 11:56 |
Well, for one thing, it seems that in runBattle(), wallHexes are defined like this: wallHexes = 50, 183, 182, 130, 62, 29, 12, 95 and in hexToWallPart() like this: wallHexes = 50, 183, 182, 130, 62, 29, 12, 95, 96 plus the indestructable parts. In the second one, hex 96 is added. Not sure why. |
(0002975) Zamolxis (viewer) 2012-09-01 23:29 |
I added relation to 0000785. But there are many more discrepancies. See 0001065. If you check the report, you'll see it seems there are even other files defining wall targets than those two wallHexes you mentioned above. At least that's how it looks like, because: - hexes 45, 78, 112, 147 can be targeted as well, but they're missing from the files you quote - if we hit hex 12, the turret is destroyed, but if we hit hex 183, the turret remains in place So there seem to be multiple lists, some listing possible targets, others defining which/how should take damage, but they are not all in sync. |
(0004171) beegee (developer) 2013-12-08 18:06 |
This problem has been fixed in the meantime. I don't know since which version you can shoot on castle gate. |
Issue History | |||
Date Modified | Username | Field | Change |
2012-06-18 08:57 | vmonkey | New Issue | |
2012-08-19 09:03 | randomed | Note Added: 0002915 | |
2012-08-19 09:12 | randomed | Note Edited: 0002915 | View Revisions |
2012-08-20 13:34 | randomed | Note Edited: 0002915 | View Revisions |
2012-09-01 11:56 | randomed | Note Added: 0002974 | |
2012-09-01 21:08 | Zamolxis | Relationship added | related to 0000785 |
2012-09-01 23:29 | Zamolxis | Note Added: 0002975 | |
2012-09-01 23:30 | Zamolxis | Relationship added | child of 0001065 |
2013-12-08 18:06 | beegee | Note Added: 0004171 | |
2013-12-08 18:06 | beegee | Status | new => resolved |
2013-12-08 18:06 | beegee | Resolution | open => fixed |
2013-12-08 18:06 | beegee | Assigned To | => beegee |
2022-04-12 08:58 | Povelitel | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |