aliens

Author Topic: 40k Bug/crashes/problem´s report  (Read 157860 times)

Offline Cristao

  • Colonel
  • ****
  • Posts: 404
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #150 on: May 04, 2019, 10:18:09 am »
Crash at start due to missing sound file. I used the 40k_noanims_020 route. I will try the full update now.

EDIT: Full update didnt have same issue. Earlier bug still occurred with trying to find waypoint in Indian Ocean for alien retaliation mission.

I have attached the game file. Mods implemented by myself which I doubt would cause the crash are stronger flares, addition of new armor, soldier stat changes.

Looking at attached file using Notepad++, Lines 8716 to 8724 (replicated below) refer to the bug

  - type: STR_ALIEN_RETALIATION
    region: STR_INDIAN_OCEAN
    race: STR_FLOATER
    nextWave: 0
    nextUfoCounter: 0
    spawnCountdown: 150
    liveUfos: 0
    uniqueID: 27
    missionSiteZone: -1

EDIT2: Changed region from Indian Ocean to Austrailiasia in file. So far so good - I could continue. I dont know the long term effects of my change but I could continue playing.
« Last Edit: May 04, 2019, 06:07:17 pm by Cristao »

Offline ohartenstein23

  • Moderator
  • Commander
  • ***
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #151 on: May 31, 2019, 02:54:57 am »
Sorry it took so long to respond, but the Indian Ocean crash is because we're missing missionZones for the the oceans. It'll be fixed in the next release.

Offline Nissandre

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #152 on: June 06, 2019, 02:29:55 am »
I just had a crash when starting a Battlefield mission. The log says it failed to generate a map. It's the first time i see this mission so i dont know if maybe its just not finished yet.


Code: [Select]
[05-06-2019_20-04-29] [INFO] OpenXcom Version: Extended 5.5 (v2019-05-19)
[05-06-2019_20-04-29] [INFO] Platform: Windows 64 bit
[05-06-2019_20-04-29] [INFO] Data folder is:
[05-06-2019_20-04-29] [INFO] Data search is:
[05-06-2019_20-04-29] [INFO] - C:/Users/German/Documents/OpenXcom/
[05-06-2019_20-04-29] [INFO] - C:/GOG Games/OXCE5.5/
[05-06-2019_20-04-29] [INFO] User folder is: C:/Users/German/Documents/OpenXcom/
[05-06-2019_20-04-29] [INFO] Config folder is: C:/Users/German/Documents/OpenXcom/
[05-06-2019_20-04-29] [INFO] Options loaded successfully.
[05-06-2019_20-04-29] [INFO] SDL initialized successfully.
[05-06-2019_20-04-29] [INFO] SDL_mixer initialized successfully.
[05-06-2019_20-04-29] [INFO] Attempted locale:
[05-06-2019_20-04-29] [INFO] Detected locale: C
[05-06-2019_20-04-29] [INFO] Attempting to set display to 1024x768x32...
[05-06-2019_20-04-29] [INFO] Display set to 1024x768x32.
[05-06-2019_20-04-29] [INFO] Loading data...
[05-06-2019_20-04-29] [INFO] Scanning standard mods in ''...
[05-06-2019_20-04-29] [INFO] Scanning user mods in 'C:/Users/German/Documents/OpenXcom/'...
[05-06-2019_20-04-29] [ERROR] FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[05-06-2019_20-04-29] [INFO] reservedSpace for: xcom1 updated to: 2
[05-06-2019_20-04-29] [INFO] reservedSpace for: 40k is: 2
[05-06-2019_20-04-29] [INFO] Loading rulesets...
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_DEEPSPACE. Please review the ruleset.
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_FOREST_CONDITIONAL. Please review the ruleset.
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_SNOW_CONDITIONAL. Please review the ruleset.
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_URBAN_CONDITIONAL. Please review the ruleset.
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_DESERT_CONDITIONAL. Please review the ruleset.
[05-06-2019_20-04-30] [ERROR] There are invalid/obsolete attributes in starting condition STR_COLONY_CONDITIONAL. Please review the ruleset.
[05-06-2019_20-04-31] [INFO] Loading fonts... Font.dat
[05-06-2019_20-04-31] [INFO] Lazy loading: 1
[05-06-2019_20-04-31] [INFO] Loading custom palettes from ruleset...
[05-06-2019_20-04-31] [INFO] Making palette backups...
[05-06-2019_20-04-31] [INFO] Data loaded successfully.
[05-06-2019_20-04-31] [INFO] Loading language...
[05-06-2019_20-04-31] [INFO] Language loaded successfully.
[05-06-2019_20-04-31] [INFO] OpenXcom started successfully!
[05-06-2019_20-04-31] [INFO] Playing flx, 320x200, 1878 frames
[05-06-2019_20-04-33] [INFO] SDL_mixer initialized successfully.
[05-06-2019_20-04-33] [INFO] SDL_mixer initialized successfully.
[05-06-2019_20-05-39] [INFO] Playing flx, 320x200, 1623 frames
[05-06-2019_20-06-06] [INFO] SDL_mixer initialized successfully.
[05-06-2019_20-06-06] [INFO] SDL_mixer initialized successfully.
[05-06-2019_20-07-39] [WARN] STR_GRETCHIN not found in en-US
[05-06-2019_20-12-11] [WARN] No free channels available
[05-06-2019_20-12-11] [WARN] No free channels available
[05-06-2019_20-12-14] [WARN] No free channels available
[05-06-2019_20-12-14] [WARN] No free channels available
[05-06-2019_20-15-00] [WARN] No free channels available
[05-06-2019_20-19-06] [WARN] No free channels available
[05-06-2019_20-22-08] [FATAL] A fatal error has occurred: Map failed to fully generate.
[05-06-2019_20-22-08] [FATAL] 0x5818f0 OpenXcom::CrossPlatform::stackTrace(void*)
[05-06-2019_20-22-08] [FATAL] 0x582c70 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[05-06-2019_20-22-08] [FATAL] 0x41c780 exceptionLogger()
[05-06-2019_20-22-08] [FATAL] 0xaf4de0 MPEGaction::MPEGaction()
[05-06-2019_20-22-08] [FATAL] 0xcacda0 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> > >)
[05-06-2019_20-22-08] [FATAL] 0xcb1ca0 OpenXcom::ScriptGlobal::addTagType<OpenXcom::ScriptTag<OpenXcom::RuleItem, unsigned char> >()::{lambda(unsigned long long)#1}::_FUN(unsigned long long)
[05-06-2019_20-22-08] [FATAL] 0x4eaa00 OpenXcom::BattlescapeGenerator::generateMap(std::vector<OpenXcom::MapScript*, std::allocator<OpenXcom::MapScript*> > const*)
[05-06-2019_20-22-08] [FATAL] 0x4ef600 OpenXcom::BattlescapeGenerator::run()
[05-06-2019_20-22-08] [FATAL] 0x672270 OpenXcom::ConfirmLandingState::btnYesClick(OpenXcom::Action*)
[05-06-2019_20-22-08] [FATAL] 0x59d120 OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)
[05-06-2019_20-22-08] [FATAL] 0x654750 OpenXcom::State::handle(OpenXcom::Action*)
[05-06-2019_20-22-08] [FATAL] 0x59a6f0 OpenXcom::Game::run()
[05-06-2019_20-22-08] [FATAL] 0x41c8c0 SDL_main
[05-06-2019_20-22-08] [FATAL] 0x910250 console_main
[05-06-2019_20-22-08] [FATAL] 0x910370 WinMain
[05-06-2019_20-22-08] [FATAL] ??
[05-06-2019_20-22-08] [FATAL] ??
[05-06-2019_20-22-08] [FATAL] 0x7ffd05ae81e0 BaseThreadInitThunk
[05-06-2019_20-22-08] [FATAL] 0x7ffd07e7a230 RtlUserThreadStart
[05-06-2019_20-22-13] [FATAL] OpenXcom has crashed: Map failed to fully generate.
More details here: C:/Users/German/Documents/OpenXcom/openxcom.log
If this error was unexpected, please report it to the developers.

Offline ohartenstein23

  • Moderator
  • Commander
  • ***
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #153 on: June 06, 2019, 04:19:06 am »
Can you give us a save just before this happens? We can't tell at all what's happening from just the log.

Offline Nissandre

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #154 on: June 08, 2019, 10:32:53 pm »
Sorry, i came back here too late and that save is history. Any ways that's the only time this happened, i have had several battlefield missions that worked now.

Offline mercy

  • Colonel
  • ****
  • Posts: 338
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #155 on: June 20, 2019, 05:19:41 pm »
Problem: Instant Grenades option is greyed out. Well, I went in and set these to true:
+ Instant Grenades,
+ PSI abilities can improve, because in real life they improve, just as every skill
+ Retain Interrogated Aliens, because the Marines aren't eating interrogated aliens for dinner..

I'm playing on highest difficulty. I want my heroic, newbie imperial soldiers fighting in their panties at least able to lob a grenade or two at the enemy, before they are shot to pieces.
« Last Edit: June 20, 2019, 05:34:00 pm by mercy »

Offline ohartenstein23

  • Moderator
  • Commander
  • ***
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #156 on: June 20, 2019, 05:29:06 pm »
That's intentional on all parts, OXCE allows fixing of certain options in the mod. Instant grenades breaks balance, particularly with smoke grenades. Psi skill can improve and is already really strong when you have a well-trained librarian, no need to make it even stronger. Retaining interrogated enemies is also a balance thing, as capturing one of a certain type of enemy would trivialize part of the tech tree.

Offline mercy

  • Colonel
  • ****
  • Posts: 338
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #157 on: June 20, 2019, 05:37:19 pm »
That's intentional on all parts, OXCE allows fixing of certain options in the mod. Instant grenades breaks balance, particularly with smoke grenades. Psi skill can improve and is already really strong when you have a well-trained librarian, no need to make it even stronger. Retaining interrogated enemies is also a balance thing, as capturing one of a certain type of enemy would trivialize part of the tech tree.
Thank You for your help!!
Never used smoke grenades. My "Hero of the Soviet Nation"-rookies always take incoming shots by Bending The Knee™® --> only the Holy Save-Scum might save them, but only if repeated reloading doesn't get on my nerves. :D
Turned these back OFF:
- PSI improv
- retain aliens
as per your suggestion.

Thank You!
« Last Edit: June 20, 2019, 05:39:00 pm by mercy »

Offline mercy

  • Colonel
  • ****
  • Posts: 338
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #158 on: June 24, 2019, 04:34:03 pm »
I bought carapace armor for my soldiers and when they don them, their STR goes to 0 and they can't move???  WTH?

Oh, .. so this is heavy and on the first fight the newbies are too weak for carapace. AAAAAARRRRRRGH!!! :
Quote
Generally speaking, this is the most protection an ordinary man will get to use unless they get extremely lucky/prove useful enough to wear some form of powered armor. Like Power Armor it has Ceramite or armaplas (perhaps plasteel, armaplas is never really explained) molded into armor plates. This also makes it much heavier and will fatigue the wearer much faster than flak armour or power armour given that it usually lacks any kind of assisted movement systems, though that isn't always the case as semi-powered examples do exist. Usually, soldiers issued carapace armor are elite units and given light genetic enhancement to bear the weight without problems.
« Last Edit: June 24, 2019, 05:03:05 pm by mercy »

Offline ohartenstein23

  • Moderator
  • Commander
  • ***
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #159 on: July 05, 2019, 07:13:02 pm »
For the 021 release, OXCE 5.5 is sufficient, the message you may be getting on start-up or activating the 40k mod for not having 5.5.1 can be ignored if you have the latest release of OXCE.

If you want the message to go away, edit the file 40k/metadata.yml to say the required version is 5.5 instead.

Offline lurker

  • Sergeant
  • **
  • Posts: 15
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #160 on: July 19, 2019, 07:06:49 am »
Ohartenstein I think I also just encountered the crash which affected your playthrough. I wanted to report it here, just to confirm. I thought I saw you post a hot-fix to that crash somewhere? Like on ModDB?

Attaching my .log file

Offline ohartenstein23

  • Moderator
  • Commander
  • ***
  • Posts: 1931
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #161 on: July 19, 2019, 04:25:37 pm »
Yes, it is the same kind of crash. I haven't posted a fix for it yet, so I'll attach my updated ruleset file here - replace the corresponding file in 40k/Ruleset with these ones. You're also going to need to edit your save or you'll get the same crash again.

Open up your geoscape save in a text editor, and find the line that starts with "alienMissions:" Underneath that, look for and entry with type "STR_SUPPORT_PDF_ASSAULT", it should also have "region: M5_SITES" as that's what the log file is telling us. Change the region entry to any one of STR_NORTH_AMERICA, STR_ARCTIC, STR_ANTARCTICA, STR_SOUTH_AMERICA, STR_EUROPE, STR_NORTH_AFRICA, STR_SOUTHERN_AFRICA, STR_CENTRAL_ASIA, STR_SOUTH_EAST_ASIA, STR_SIBERIA, or STR_AUSTRALASIA. Also find the line in that entry that says "missionSiteZone: <some number>" and change it to "missionSiteZone: 0". If that doesn't fix the crash, post the save here and I'll do the editing.

Offline JPlayer 101

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #162 on: August 03, 2019, 07:50:46 pm »
On Android OXCE found issue that crashes game: Some of Codex (Ufopedia) topics that uses .gif background image format generates application error with text:
 "[FATAL]   A fatal error has occurred: Resources/ORK/UP120.GIF:Unsupported image format   [FATAL]   Unfortunately, no stack trace information is available   [FATAL]   OpenXcom has crashed: Resources/ORK/UP120.GIF:Unsupported image format More details here: /storage/emulated/0/openxcom/openxcom.log If this error was unexpected, please report it to the developers."
With topics that uses other background format, or that uses .gif for other purposes everything is going normally.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8578
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #163 on: August 03, 2019, 08:02:48 pm »
On Android OXCE found issue that crashes game: Some of Codex (Ufopedia) topics that uses .gif background image format generates application error with text:
 "[FATAL]   A fatal error has occurred: Resources/ORK/UP120.GIF:Unsupported image format   [FATAL]   Unfortunately, no stack trace information is available   [FATAL]   OpenXcom has crashed: Resources/ORK/UP120.GIF:Unsupported image format More details here: /storage/emulated/0/openxcom/openxcom.log If this error was unexpected, please report it to the developers."
With topics that uses other background format, or that uses .gif for other purposes everything is going normally.

I will just add that the problem is that the file is called GIF... but it is actually a PNG inside... that's why the game can't recognize the format and load the image.

Offline marlborodead

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: 40k Bug/crashes/problem´s report
« Reply #164 on: August 21, 2019, 03:33:44 am »
just killed all the chaos in the third part of the final mission there is no one left but its not letting the game finish