Author Topic: Crash: "Height of map is too big for this mission"  (Read 3085 times)

Offline Almoorn

  • Sergeant
  • **
  • Posts: 11
    • View Profile
Crash: "Height of map is too big for this mission"
« on: April 25, 2022, 10:16:26 am »
It crashes with this error;



This is the log file;

Spoiler:
[25-04-2022_10-08-55]   [INFO]   OpenXcom Version: 1.0 git 2022-03-29 21:09
[25-04-2022_10-08-55]   [INFO]   Platform: Windows
[25-04-2022_10-08-55]   [INFO]   Data folder is:
[25-04-2022_10-08-55]   [INFO]   Data search is:
[25-04-2022_10-08-55]   [INFO]   - C:\Users\arkhe\Documents\OpenXcom\
[25-04-2022_10-08-55]   [INFO]   - D:\Games\Openxcom
[25-04-2022_10-08-55]   [INFO]   - D:\Games\Openxcom
[25-04-2022_10-08-55]   [INFO]   User folder is: C:\Users\arkhe\Documents\OpenXcom\
[25-04-2022_10-08-55]   [INFO]   Config folder is: C:\Users\arkhe\Documents\OpenXcom\
[25-04-2022_10-08-55]   [INFO]   Options loaded successfully.
[25-04-2022_10-08-55]   [INFO]   SDL initialized successfully.
[25-04-2022_10-08-55]   [INFO]   SDL_mixer initialized successfully.
[25-04-2022_10-08-55]   [INFO]   requested file not found: openxcom.png
[25-04-2022_10-08-55]   [INFO]   Detected locale: C
[25-04-2022_10-08-55]   [INFO]   Attempting to set display to 1920x1080x32...
[25-04-2022_10-08-56]   [INFO]   Display set to 1920x1080x32.
[25-04-2022_10-08-56]   [INFO]   Loading data...
[25-04-2022_10-08-56]   [INFO]   Scanning standard mods in 'standard'...
[25-04-2022_10-08-56]   [INFO]   Scanning user mods in 'C:\Users\arkhe\Documents\OpenXcom\mods'...
[25-04-2022_10-08-56]   [INFO]   Mapping resource files...
[25-04-2022_10-08-57]   [INFO]   Resources files mapped successfully.
[25-04-2022_10-08-57]   [INFO]   Active mods:
[25-04-2022_10-08-57]   [INFO]   - xcom1 v1.0
[25-04-2022_10-08-57]   [INFO]   - PSX_Static_Cydonia_Map v1.0
[25-04-2022_10-08-57]   [INFO]   - UFOextender_Gun_Melee v1.0
[25-04-2022_10-08-57]   [INFO]   - XcomUtil_High_Explosive_Damage v1.0
[25-04-2022_10-08-57]   [INFO]   - XcomUtil_Improved_Heavy_Laser v1.0
[25-04-2022_10-08-57]   [INFO]   - XcomUtil_Starting_Defensive_Improved_Base v1.0
[25-04-2022_10-08-57]   [INFO]   Loading rulesets...
[25-04-2022_10-08-59]   [INFO]   Loading fonts... Font.dat
[25-04-2022_10-08-59]   [INFO]   Data loaded successfully.
[25-04-2022_10-08-59]   [INFO]   Loading language...
[25-04-2022_10-08-59]   [INFO]   Language loaded successfully.
[25-04-2022_10-08-59]   [INFO]   OpenXcom started successfully!
[25-04-2022_10-08-59]   [INFO]   Playing flx, 320x200, 890 frames
[25-04-2022_10-09-02]   [INFO]   SDL_mixer initialized successfully.
[25-04-2022_10-09-04]   [INFO]   Scanning standard mods in 'standard'...
[25-04-2022_10-09-04]   [INFO]   Scanning user mods in 'C:\Users\arkhe\Documents\OpenXcom\mods'...
[25-04-2022_10-09-25]   [INFO]   SDL_mixer initialized successfully.
[25-04-2022_10-09-25]   [INFO]   Loading data...
[25-04-2022_10-09-25]   [INFO]   Scanning standard mods in 'standard'...
[25-04-2022_10-09-25]   [INFO]   Scanning user mods in 'C:\Users\arkhe\Documents\OpenXcom\mods'...
[25-04-2022_10-09-25]   [INFO]   Mapping resource files...
[25-04-2022_10-09-26]   [INFO]   Resources files mapped successfully.
[25-04-2022_10-09-26]   [INFO]   Active mods:
[25-04-2022_10-09-26]   [INFO]   - xcom1 v1.0
[25-04-2022_10-09-26]   [INFO]   - PSX_Static_Cydonia_Map v1.0
[25-04-2022_10-09-26]   [INFO]   - UFOextender_Gun_Melee v1.0
[25-04-2022_10-09-26]   [INFO]   - XcomUtil_High_Explosive_Damage v1.0
[25-04-2022_10-09-26]   [INFO]   - XcomUtil_Improved_Heavy_Laser v1.0
[25-04-2022_10-09-26]   [INFO]   - XcomUtil_Starting_Defensive_Improved_Base v1.0
[25-04-2022_10-09-26]   [INFO]   - Better_Ingame_UI v1.0
[25-04-2022_10-09-26]   [INFO]   - ImprovedHandObs v1.2
[25-04-2022_10-09-26]   [INFO]   - X2012SND v1.0
[25-04-2022_10-09-26]   [INFO]   - XCOM-Terrain-Pack-1.0.2 v1.0.2
[25-04-2022_10-09-26]   [INFO]   - final-mod-pack v2.9
[25-04-2022_10-09-26]   [INFO]   - hqsoundsfmp v1.0
[25-04-2022_10-09-26]   [INFO]   - poetssmallrockets v1.0
[25-04-2022_10-09-26]   [INFO]   Loading rulesets...
[25-04-2022_10-09-28]   [INFO]   Loading fonts... Font.dat
[25-04-2022_10-09-33]   [INFO]   Data loaded successfully.
[25-04-2022_10-09-33]   [INFO]   Loading language...
[25-04-2022_10-09-33]   [INFO]   Language loaded successfully.
[25-04-2022_10-09-33]   [INFO]   OpenXcom started successfully!
[25-04-2022_10-09-49]   [WARN]   STR_ANTHROPODB not found in en-US
[25-04-2022_10-10-09]   [FATAL]   A fatal error has occurred: Height of map MAPS/DROPSHIP.MAP too big for this mission, block is 3, expected: 0
[25-04-2022_10-10-09]   [FATAL]   0x54e9e0 OpenXcom::CrossPlatform::stackTrace(void*)
[25-04-2022_10-10-09]   [FATAL]   0x5522b0 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[25-04-2022_10-10-09]   [FATAL]   0x40dac0 exceptionLogger()
[25-04-2022_10-10-09]   [FATAL]   0xa38798 MPEGaction::MPEGaction()
[25-04-2022_10-10-09]   [FATAL]   0x4c2470 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[25-04-2022_10-10-09]   [FATAL]   0x4c6720 OpenXcom::BattlescapeGenerator::run()
[25-04-2022_10-10-09]   [FATAL]   0x655710 OpenXcom::NewBattleState::btnOkClick(OpenXcom::Action*)
[25-04-2022_10-10-09]   [FATAL]   0x572c30 OpenXcom::InteractiveSurface::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[25-04-2022_10-10-09]   [FATAL]   0x573090 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[25-04-2022_10-10-09]   [FATAL]   0x5bf520 OpenXcom::State::handle(OpenXcom::Action*)
[25-04-2022_10-10-09]   [FATAL]   0x569160 OpenXcom::Game::run()
[25-04-2022_10-10-09]   [FATAL]   0x40dd60 SDL_main
[25-04-2022_10-10-09]   [FATAL]   0x87d8c0 console_main
[25-04-2022_10-10-09]   [FATAL]   ??
[25-04-2022_10-10-09]   [FATAL]   0x74eafa10 BaseThreadInitThunk
[25-04-2022_10-10-09]   [FATAL]   0x76f87960 RtlGetAppContainerNamedObjectPath
[25-04-2022_10-10-09]   [FATAL]   0x76f87960 RtlGetAppContainerNamedObjectPath
[25-04-2022_10-11-15]   [FATAL]   OpenXcom has crashed: Height of map MAPS/DROPSHIP.MAP too big for this mission, block is 3, expected: 0
More details here: C:\Users\arkhe\Documents\OpenXcom\openxcom.log
If this error was unexpected, please report it to the developers.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Crash: "Height of map is too big for this mission"
« Reply #1 on: April 25, 2022, 10:30:26 am »
upload your battle.cfg file

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: Crash: "Height of map is too big for this mission"
« Reply #2 on: April 26, 2022, 01:18:40 am »
Check that you don't have the deployment height set to 0 for this mission deployment.

I'm expecting it is something like this:
Code: [Select]
alienDeployments:
  - type: STR_CUSTOM_TERROR_SITE_X
    height: 0

I don't know if it is accurate, but the ruleset reference claims that the default value for height is 0. If so, then this means that you must specify a height for any non-vanilla missions, or else it will set it to 0.

So do this:
Code: [Select]
alienDeployments:
  - type: STR_CUSTOM_TERROR_SITE_X
    height: 3