OpenXcom Forum

Modding => Released Mods => Area 51 => Topic started by: Hobbes on April 12, 2017, 09:12:44 pm

Title: Terrain Bug Reports
Post by: Hobbes on April 12, 2017, 09:12:44 pm
This thread is to centralize all reports of specific bugs regarding the terrains/maps used in Area 51 and the Terrain Pack, specifically the following types of bugs:

* Usually crashes upon the craft reaching a site and clicking on the launch button (can be other issues, though)
* Empty black patches where map sections should have been placed
* 2x2 alien units stuck in rooms/divisions where they can't leave
* Ground/walls/objects being replaced wrongly after being hit by weapons fire
* Wrong materials (metal, stone) being set on fire
* Doors being replaced by other things when opened
* Funky animations
* Units being able to see/fire through walls and other map features that should block vision/weapons fire
* Misplaced map tiles (ground standing on air, extra/missing walls, etc.)
* Aliens starting the mission on wrong locations like inside objects or in the air

IMPORTANT - When submitting a report please include a picture displaying the bug if possible, otherwise it can forever to discover the specific map

Thank you!
Title: Re: Terrain Bug Reports
Post by: Solarius Scorch on April 12, 2017, 11:03:53 pm
Can I link another post? It's pretty informative, though I'm not sure if it hasn't been solved yet:

https://openxcom.org/forum/index.php/topic,5047.msg81873.html#msg81873
Title: Re: Terrain Bug Reports
Post by: Hobbes on April 12, 2017, 11:31:17 pm
Can I link another post? It's pretty informative, though I'm not sure if it hasn't been solved yet:

https://openxcom.org/forum/index.php/topic,5047.msg81873.html#msg81873

Completely cool. Already replied to that post. Thanks :)
Title: Re: Terrain Bug Reports
Post by: robin on April 01, 2018, 12:39:14 am
I think I found a bug in the downtown urban map script.
Second-last command of the script:
Code: [Select]
    - type: addBlock
      size: 2
      blocks: [2, 6, 14, 15]
      executions: 3
      maxUses: [1, 1, 1, 1]

but it should be:

Code: [Select]
    - type: addBlock
      size: 2
      blocks: [1, 6, 14, 15]
      executions: 3
      maxUses: [1, 1, 1, 1]

block 1 is the 20*20 one; block 2 is 10*10.
Title: Re: Terrain Bug Reports
Post by: Hobbes on April 01, 2018, 02:03:09 am
I think I found a bug in the downtown urban map script.
Second-last command of the script:
Code: [Select]
    - type: addBlock
      size: 2
      blocks: [2, 6, 14, 15]
      executions: 3
      maxUses: [1, 1, 1, 1]

but it should be:

Code: [Select]
    - type: addBlock
      size: 2
      blocks: [1, 6, 14, 15]
      executions: 3
      maxUses: [1, 1, 1, 1]

block 1 is the 20*20 one; block 2 is 10*10.

Yup, you're right. Thanks for the report
Title: Re: Terrain Bug Reports
Post by: Meridian on April 08, 2018, 04:48:00 pm
Cannot go up the stairs.

Save and screenshot attached.
Title: Re: Terrain Bug Reports
Post by: Hobbes on April 08, 2018, 08:25:52 pm
Cannot go up the stairs.

Save and screenshot attached.

Terrain design bug (stairs are missing floor underneath, causing the unit to fall). Thanks!
Title: Re: Terrain Bug Reports
Post by: Shiroi Bara on January 04, 2019, 04:20:12 pm
Can't step on tile what under red cursor now, check screenshot. Data extraction site 25 turns mission on West cost of USA.
(https://i.postimg.cc/ZCXDvjgW/tile.jpg) (https://postimg.cc/ZCXDvjgW)
Title: Re: Terrain Bug Reports
Post by: Hobbes on January 04, 2019, 06:02:39 pm
Can't step on tile what under red cursor now, check screenshot. Data extraction site 25 turns mission on West cost of USA.
(https://i.postimg.cc/ZCXDvjgW/tile.jpg) (https://postimg.cc/ZCXDvjgW)

Got it, fixed. Thanks
Title: Re: Terrain Bug Reports
Post by: Shiroi Bara on January 14, 2019, 02:20:57 pm
Same bug what I mentioned before, just different map layout. Can't step on tile under red cursor. Data  extraction site Asia region, Korea on map (not 100% sure)
(https://i.postimg.cc/yJnN5QRM/screen003.png) (https://postimg.cc/yJnN5QRM)
P.S.
By the way, where is new fixed archives? The latest on mediafire seems same as old one, size and date at least, not checked CRC. Are you uploading them there?
Title: Re: Terrain Bug Reports
Post by: Hobbes on January 14, 2019, 03:56:45 pm
Same bug what I mentioned before, just different map layout. Can't step on tile under red cursor. Data  extraction site Asia region, Korea on map (not 100% sure)
(https://i.postimg.cc/yJnN5QRM/screen003.png) (https://postimg.cc/yJnN5QRM)
P.S.
By the way, where is new fixed archives? The latest on mediafire seems same as old one, size and date at least, not checked CRC. Are you uploading them there?

Bug is fixed, haven't uploaded the fixed file yet.
Title: Re: Terrain Bug Reports
Post by: shaigan on March 28, 2019, 06:37:44 pm
I was waiting so long for verification that i forgot the details of the bug I wanted to report. It was a desert airplane crush. When you use some explosive ammo or rockets on some metal element, the explosions are being triggered through big part of the area and it takes a serious amount of time.
Title: Re: Terrain Bug Reports
Post by: Meridian on March 28, 2019, 07:59:38 pm
I was waiting so long for verification that i forgot the details of the bug I wanted to report. It was a desert airplane crush. When you use some explosive ammo or rockets on some metal element, the explosions are being triggered through big part of the area and it takes a serious amount of time.

If you're using OXCE, it's a known issue... a feature actually.
OXCE performs all terrain explosions, unlike OXC which skips a lot of them.
On some maps it leads to very long explosion chains...

Long-term we will try to do something about it.
Title: Re: Terrain Bug Reports
Post by: Hobbes on March 28, 2019, 08:29:40 pm
If you're using OXCE, it's a known issue... a feature actually.

That's how the terrain was originally designed for TFTD - I haven't changed anything about it.

The good part - use a grenade to set off the plane wreckage before stepping outside. Makes everything a lot easier ;)
Title: Re: Terrain Bug Reports
Post by: Hadan on October 15, 2019, 09:57:50 pm
Dont know if I am in the right thread, but the error talks about map generator, so here it goes:

Error: map_error.png

Relevant part of the log:
Code: [Select]
[15-10-2019_20-50-10] [FATAL] A fatal error has occurred: Map generator encountered an error: map block XBASS_02 is not defined in terrain XBASE_REDUX.
[15-10-2019_20-50-10] [FATAL] 0x585c30 OpenXcom::CrossPlatform::stackTrace(void*)
[15-10-2019_20-50-10] [FATAL] 0x586fb0 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[15-10-2019_20-50-10] [FATAL] 0x41c780 exceptionLogger()
[15-10-2019_20-50-10] [FATAL] 0xaff950 MPEGaction::MPEGaction()
[15-10-2019_20-50-10] [FATAL] 0xcb9060 void std::iter_swap<__gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >, __gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > > >(__gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >, __gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >)
[15-10-2019_20-50-10] [FATAL] 0xcbdf60 OpenXcom::ScriptGlobal::addTagType<OpenXcom::ScriptTag<OpenXcom::RuleItem, unsigned char> >()::{lambda(unsigned long long)#1}::_FUN(unsigned long long)
[15-10-2019_20-50-10] [FATAL] 0x4eb6c0 OpenXcom::BattlescapeGenerator::generateBaseMap()
[15-10-2019_20-50-10] [FATAL] 0x4eeca0 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[15-10-2019_20-50-10] [FATAL] 0x4f2d10 OpenXcom::BattlescapeGenerator::run()
[15-10-2019_20-50-10] [FATAL] 0x6883d0 OpenXcom::GeoscapeState::handleBaseDefense(OpenXcom::Base*, OpenXcom::Ufo*)
[15-10-2019_20-50-10] [FATAL] 0x68fb30 OpenXcom::GeoscapeState::time5Seconds()
[15-10-2019_20-50-10] [FATAL] 0x69a630 OpenXcom::GeoscapeState::timeAdvance()
[15-10-2019_20-50-10] [FATAL] 0x65dd70 OpenXcom::Timer::think(OpenXcom::State*, OpenXcom::Surface*)
[15-10-2019_20-50-10] [FATAL] 0x59ee70 OpenXcom::Game::run()
[15-10-2019_20-50-10] [FATAL] 0x41c8c0 SDL_main
[15-10-2019_20-50-10] [FATAL] 0x91adc0 console_main
[15-10-2019_20-50-10] [FATAL] 0x91aee0 WinMain
[15-10-2019_20-50-10] [FATAL] ??
[15-10-2019_20-50-10] [FATAL] ??
[15-10-2019_20-50-10] [FATAL] 0x7ffcf1d47bc0 BaseThreadInitThunk
[15-10-2019_20-50-10] [FATAL] 0x7ffcf21cceb0 RtlUserThreadStart

Save is also attached. Just let the fighter plane return to base, then the crash appears (repeatable)

/edit:
Never mind, found the cause, was a conflicting mod
Title: Re: Terrain Bug Reports
Post by: xxbbcc on October 22, 2019, 05:03:52 am
I'm getting a crash using Terrain Pack 4.2 with OpenXcom nighly build 2019/10/18; here's the error message (paths reduced):

Code: [Select]
---------------------------
OpenXcom Error
---------------------------
OpenXcom has crashed: invalid MCD file: TERRAIN/MADDECOR.MCD,
check log file for more details.
More details here: C:\...\Documents\OpenXcom\openxcom.log
If this error was unexpected, please report it to the developers.
---------------------------
OK   
---------------------------

Since the problem is with MADDECOR.MCD, I assume it's related to Terrain Pack. Here's the log from the game:

Code: [Select]
[21-10-2019_20-35-09] [INFO] OpenXcom Version: 1.0 git 2019-10-18 12:33
[21-10-2019_20-35-09] [INFO] Platform: Windows
[21-10-2019_20-35-09] [INFO] Data folder is:
[21-10-2019_20-35-09] [INFO] Data search is:
[21-10-2019_20-35-09] [INFO] - C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] - X:\DosApp\CDrive\OpenUFO
[21-10-2019_20-35-09] [INFO] - X:\DosApp\CDrive\OpenUFO
[21-10-2019_20-35-09] [INFO] User folder is: C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] Config folder is: C:\...\Documents\OpenXcom\
[21-10-2019_20-35-09] [INFO] Options loaded successfully.
[21-10-2019_20-35-09] [INFO] SDL initialized successfully.
[21-10-2019_20-35-09] [INFO] SDL_mixer initialized successfully.
[21-10-2019_20-35-09] [INFO] requested file not found: openxcom.png
[21-10-2019_20-35-09] [INFO] Detected locale: C
[21-10-2019_20-35-09] [INFO] Attempting to set display to 1920x1080x8...
[21-10-2019_20-35-09] [INFO] Display set to 1920x1080x8.
[21-10-2019_20-35-09] [INFO] Loading data...
[21-10-2019_20-35-09] [INFO] Scanning standard mods in 'standard'...
[21-10-2019_20-35-09] [INFO] Scanning user mods in 'C:\...\Documents\OpenXcom\mods'...
[21-10-2019_20-35-09] [INFO] Mapping resource files...
[21-10-2019_20-35-10] [INFO] Resources files mapped successfully.
[21-10-2019_20-35-10] [INFO] Active mods:
[21-10-2019_20-35-10] [INFO] - xcom1 v1.0
[21-10-2019_20-35-10] [INFO] - Aliens_Pick_Up_Weapons v1.0
[21-10-2019_20-35-10] [INFO] - UFOextender_Starting_Avalanches v1.0
[21-10-2019_20-35-10] [INFO] - XcomUtil_Starting_Improved_Base v1.0
[21-10-2019_20-35-10] [INFO] - Terrain Pack v4.2
[21-10-2019_20-35-10] [INFO] - Expanded_Ubase_Reworked v1.3 Tactical Maze!
[21-10-2019_20-35-10] [INFO] - solar-039-s-new-ufos v1.4
[21-10-2019_20-35-10] [INFO] - support-drones v1.0
[21-10-2019_20-35-10] [INFO] - UfoEx v0.1
[21-10-2019_20-35-10] [INFO] Loading rulesets...
[21-10-2019_20-35-10] [INFO] Loading fonts... Font.dat
[21-10-2019_20-35-10] [INFO] Data loaded successfully.
[21-10-2019_20-35-10] [INFO] Loading language...
[21-10-2019_20-35-10] [INFO] Language loaded successfully.
[21-10-2019_20-35-10] [INFO] OpenXcom started successfully!
[21-10-2019_20-35-10] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 11 has 0 armor
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 12 has 0 armor
[21-10-2019_20-35-41] [INFO] MCD MADDECOR object 71 has 0 armor
[21-10-2019_20-35-41] [FATAL] A fatal error has occurred: invalid MCD file: TERRAIN/MADDECOR.MCD, check log file for more details.
[21-10-2019_20-35-41] [FATAL] 0x634130 OpenXcom::CrossPlatform::stackTrace(void*)
[21-10-2019_20-35-41] [FATAL] 0x637a00 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[21-10-2019_20-35-41] [FATAL] 0x401580 exceptionLogger()
[21-10-2019_20-35-41] [FATAL] 0xa248e8 MPEGaction::MPEGaction()
[21-10-2019_20-35-41] [FATAL] 0x703e90 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[21-10-2019_20-35-41] [FATAL] 0x708100 OpenXcom::BattlescapeGenerator::run()
[21-10-2019_20-35-41] [FATAL] 0x46c7e0 OpenXcom::ConfirmLandingState::btnYesClick(OpenXcom::Action*)
[21-10-2019_20-35-41] [FATAL] 0x6455b0 OpenXcom::InteractiveSurface::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[21-10-2019_20-35-41] [FATAL] 0x645a10 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[21-10-2019_20-35-41] [FATAL] 0x643b20 OpenXcom::State::handle(OpenXcom::Action*)
[21-10-2019_20-35-41] [FATAL] 0x63aa50 OpenXcom::Game::run()
[21-10-2019_20-35-41] [FATAL] 0x401820 SDL_main
[21-10-2019_20-35-41] [FATAL] 0x869a10 console_main
[21-10-2019_20-35-41] [FATAL] ??
[21-10-2019_20-35-41] [FATAL] 0x76cd6340 BaseThreadInitThunk
[21-10-2019_20-35-41] [FATAL] 0x77917a90 RtlGetAppContainerNamedObjectPath
[21-10-2019_20-35-41] [FATAL] 0x77917a90 RtlGetAppContainerNamedObjectPath
[21-10-2019_20-35-44] [FATAL] OpenXcom has crashed: invalid MCD file: TERRAIN/MADDECOR.MCD, check log file for more details.
More details here: C:\...\Documents\OpenXcom\openxcom.log
If this error was unexpected, please report it to the developers.

I also attached a saved game that triggers - a terror UFO lands in Anchorage and when the battlescape is about to be loaded, the game crashes.
Title: Re: Terrain Bug Reports
Post by: Hobbes on October 23, 2019, 12:48:33 am
I'm getting a crash using Terrain Pack 4.2 with OpenXcom nighly build 2019/10/18; here's the error message (paths reduced):
I also attached a saved game that triggers - a terror UFO lands in Anchorage and when the battlescape is about to be loaded, the game crashes.

Thanks. This is something new because of the latest OXC changes, it will also affect a few terrains but right now no time do permanently fix all of them.

As a temporary solution I've attached a fixed MADDECOR file. Just unzip its contents to \Documents\OpenXcom\mods\Terrain Pack\TERRAIN\ and replace the existing files.
Title: Re: Terrain Bug Reports
Post by: xxbbcc on October 23, 2019, 02:34:29 am
Hobbes,

Thank you, I'll give this a try. I appreciate the quick response.
Title: Re: Terrain Bug Reports
Post by: xxbbcc on November 02, 2019, 03:57:31 pm
Hobbes,

I ran into the same issue (as you predicted the possibility) with AREA-51.MCD. Would you be able to create a fixed version of it?
Title: Re: Terrain Bug Reports
Post by: quikesan on November 21, 2019, 10:49:46 pm
Hi

I have just installed openxcom and area 51.
I having a crash to desktop when starting any mission.

EDIT: I found the problem. I needed to install OXCE. Sorry. My bad


[21-11-2019_21-45-35]   [INFO]   OpenXcom started successfully!
[21-11-2019_21-46-00]   [INFO]   MCD UFOL83 object 12 has 0 armor
[21-11-2019_21-46-00]   [FATAL]   A fatal error has occurred: invalid MCD file: TERRAIN/UFOL83.MCD, check log file for more details.
[21-11-2019_21-46-00]   [FATAL]   0x634170 OpenXcom::CrossPlatform::stackTrace(void*)
[21-11-2019_21-46-00]   [FATAL]   0x637a40 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[21-11-2019_21-46-00]   [FATAL]   0x401580 exceptionLogger()
[21-11-2019_21-46-00]   [FATAL]   0xa24b28 MPEGaction::MPEGaction()
[21-11-2019_21-46-00]   [FATAL]   0x703ed0 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[21-11-2019_21-46-00]   [FATAL]   0x708140 OpenXcom::BattlescapeGenerator::run()
[21-11-2019_21-46-00]   [FATAL]   0x46c820 OpenXcom::ConfirmLandingState::btnYesClick(OpenXcom::Action*)
[21-11-2019_21-46-00]   [FATAL]   0x6455f0 OpenXcom::InteractiveSurface::mouseClick(OpenXcom::Action*, OpenXcom::State*)
[21-11-2019_21-46-00]   [FATAL]   0x645a50 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[21-11-2019_21-46-00]   [FATAL]   0x643b60 OpenXcom::State::handle(OpenXcom::Action*)
[21-11-2019_21-46-00]   [FATAL]   0x63aa90 OpenXcom::Game::run()
[21-11-2019_21-46-00]   [FATAL]   0x401820 SDL_main
[21-11-2019_21-46-00]   [FATAL]   0x869c50 console_main
[21-11-2019_21-46-00]   [FATAL]   ??
[21-11-2019_21-46-00]   [FATAL]   0x77200400 BaseThreadInitThunk
[21-11-2019_21-46-00]   [FATAL]   0x77426540 RtlGetAppContainerNamedObjectPath
[21-11-2019_21-46-00]   [FATAL]   0x77426540 RtlGetAppContainerNamedObjectPath
[21-11-2019_21-46-01]   [FATAL]   OpenXcom has crashed: invalid MCD file: TERRAIN/UFOL83.MCD, check log file for more details.
Title: Re: Terrain Bug Reports
Post by: xxbbcc on December 23, 2019, 04:09:53 am
Hobbes, would you be able to provide fixed MCD files for the nightly release? I tried with the most current one (as of this post) and I'm still getting the same error, this time with ARE51-D1.MCD.
Title: Re: Terrain Bug Reports
Post by: MoonKid on December 29, 2019, 01:35:06 pm
I have similar problems.
https://openxcom.org/forum/index.php?topic=7716

What is OXC ?
Title: Re: Terrain Bug Reports
Post by: Meridian on December 29, 2019, 01:39:52 pm
What is OXC ?

OXC is OpenXCom.
Title: Re: Terrain Bug Reports
Post by: Hobbes on December 29, 2019, 06:27:24 pm
Hobbes, would you be able to provide fixed MCD files for the nightly release? I tried with the most current one (as of this post) and I'm still getting the same error, this time with ARE51-D1.MCD.

I have similar problems.
https://openxcom.org/forum/index.php?topic=7716

Hello all. Attached to this message there's a zip file containing the fixed MCD files. Just unzip it to C:\Users\User\Documents\OpenXcom\mods\Area 51 v0.972\TERRAIN and replace all the existing files.
Title: Re: Terrain Bug Reports
Post by: MoonKid on December 30, 2019, 02:01:34 pm
Thanks for the hotfix.

Now I have the same problem with UFOL83.MCD.
Title: Re: Terrain Bug Reports
Post by: Hobbes on January 04, 2020, 08:55:30 pm
Thanks for the hotfix.

Now I have the same problem with UFOL83.MCD.

There's also issues with other files, so this requires a proper fix. I'm gonna dedicate some time in the next days to Area 51, so this will be fixed soon.