MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001817VCMIRandom Map Generatorpublic2014-06-28 20:322022-04-12 09:17
ReporterAlienX 
Assigned ToWarmonger 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPCOSWin 7OS Versionx64
Product Version0.95c 
Target VersionFixed in Version0.97 
Summary0001817: crash when clicking "1" button in RMG setup
DescriptionVCMI crashes (Windows APPCRASH) when you click "1" button in "Human or Computer players" or "Computer only players" section when setting up random map generator.
Steps To ReproduceClick "1" button in random map generator setup.
Additional InformationAt the moment of crash console says:
Assertion failed: (value >=2 && value <=PlayerColor::PLAYER_LIMIT_I) || value == RANDOM_SIZE, file rmg\CMapGenOptions.cpp, line 68
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0005098)
Warmonger (administrator)
2014-11-14 10:44

Already fixed in 0.97.
(0005248)
SXX (administrator)
2014-12-22 10:10

Just want to note, that if "Human of Computer players" set to random (it's this way by default) then click on any number in "Computer only players" still cause crash.

There also several other ways to make it crash so looks like this code require some attention.
(0005394)
SXX (administrator)
2015-01-25 10:57
edited on: 2015-01-26 06:27

So at moment crash occur as described above because assert check don't pass in CMapGenOptions::CPlayerSettings::setColor when client attempt to reset players.


- Issue History
Date Modified Username Field Change
2014-06-28 20:32 AlienX New Issue
2014-11-14 10:44 Warmonger Note Added: 0005098
2014-11-14 10:44 Warmonger Status new => resolved
2014-11-14 10:44 Warmonger Fixed in Version => 0.97b
2014-11-14 10:44 Warmonger Resolution open => fixed
2014-11-14 10:44 Warmonger Assigned To => Warmonger
2014-11-14 11:02 Warmonger Fixed in Version 0.97b => 0.97
2014-12-22 10:10 SXX Note Added: 0005248
2015-01-25 10:57 SXX Note Added: 0005394
2015-01-26 06:27 SXX Note Edited: 0005394 View Revisions
2022-04-12 09:17 Povelitel Status resolved => closed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean