| Anonymous | Login | 2025-11-14 13:41 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 | ||||
| 0001061 | VCMI | AI - Adventure Map | public | 2012-08-30 04:22 | 2014-05-30 17:41 | ||||
| Reporter | Warmonger | ||||||||
| Assigned To | Tow | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0001061: Crash at AI visiting Dragonflies. | ||||||||
| Description | This bug looks quite different than others and is easily reproductible. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
Notes |
|
|
(0002951) Warmonger (administrator) 2012-08-30 04:59 |
I noticed that game crashes usually along these lines: if(creatureBank) pos = attackerCreBank[armies[0]->stacksCount()-1][k]; else if(armies[0]->formation) pos = attackerTight[armies[0]->stacksCount()-1][k]; else pos = attackerLoose[armies[0]->stacksCount()-1][k]; |
|
(0002952) Tow (developer) 2012-08-30 09:56 |
Quite an achievement AI made — Theodorus the Wizard has EIGHT stacks in army. Causes all kinds of out-of-range behaviours. The question is how that happened. I'll look into the code. |
|
(0002954) Tow (developer) 2012-08-30 16:04 |
Server should not allow creating such state with changes from r2866. I also fixed the crash (so using your save to continue game is possible), though having creature in 7+ slot will probably crash it somewhen later (or cause other issues). Marking as resolved, though there is still probably bug in the AI making it send illegal requests. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-08-30 04:22 | Warmonger | New Issue | |
| 2012-08-30 04:22 | Warmonger | Status | new => assigned |
| 2012-08-30 04:22 | Warmonger | Assigned To | => Tow |
| 2012-08-30 04:22 | Warmonger | File Added: CrashDragonflies.rar | |
| 2012-08-30 04:59 | Warmonger | Note Added: 0002951 | |
| 2012-08-30 09:56 | Tow | Note Added: 0002952 | |
| 2012-08-30 16:04 | Tow | Note Added: 0002954 | |
| 2012-08-30 16:04 | Tow | Status | assigned => resolved |
| 2012-08-30 16:04 | Tow | Resolution | open => fixed |
| 2014-05-30 17:41 | beegee | Status | resolved => closed |
| Copyright © 2000 - 2025 MantisBT Team |