Author Topic: Bugs, crashes, typos & bad taste  (Read 1447126 times)

Offline jcrabbit

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2910 on: May 22, 2021, 02:50:39 am »
Quote
You probably have a wrong/incompatible version of yaml-cpp library.
Try using the newest one.
Or at least not v0.5.2, which definitely doesn't work.

Brilliant! That did it.

Working versions:
OXCE (commit hash 08d9eb908265b1fed482ff388d1ea7e8102d758f v7.0)
yaml-cpp (version yaml-cpp-0.6.3, compiled from source)

FWIW, the broken version of yaml-cpp was on master (a6bbe0e50ac4074f0b9b44188c28cf00caf1a723).

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11783
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #2911 on: May 22, 2021, 11:37:43 am »
Is it intended that the Fenrir wolf's bite ignores overkill? I've had this since 1.7 and it's a bit hilarious actually just watching it bite someone so hard their fucking body just disintegrates, I actually thought that it might be a plasma based attack but no it's just regular cutting damage LOL

We call this "swallowing" or "eating whole". 8)

Offline AlicePaws

  • Colonel
  • ****
  • Posts: 146
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2912 on: May 22, 2021, 02:32:53 pm »
We call this "swallowing" or "eating whole". 8)

 LMAO, works for me


Offline Fomka

  • Colonel
  • ****
  • Posts: 133
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2913 on: May 22, 2021, 11:00:01 pm »
I have the problem with  STR_ALIEN_BIG_BASE_ASSAULT: "ALIEN COLONY ASSAULT" on the latest game version (X-COM Files v1.8b, OpenXcom Extended v7.0 from 13.03.2021).
Some time after I have successfully raided one of the two Battleships landed in Goose Bay place in Canada a red square appeared on the globe between Monreal and Boston, on the USA territory. Upon clicking on the square it says STR_ALIEN_BIG_BASE_ (cut off) and offers interception or details view. The details tell me

Spoiler:
ALIEN COLONY ASSAULT

As per agreement with the host country, the aliens established a major base in this location. Its control center must be destroyed to render the base inoperative. We expect significant resistance from the alien invaders.

The savefile is attached.

I have the same thing and afaik am on the latest version (handcuffs are 1x1).

What do you advice to do with that red alert?

PS. OK, I've started the mission and exited almost immediately and did not get any crash. So, not a big problem, just the missing string or something with the description.
« Last Edit: May 22, 2021, 11:08:21 pm by Fomka »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11783
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #2914 on: May 23, 2021, 01:43:37 pm »
Like I've said a million times, I don't know why the string doesn't work, but it's an obsolete mission so fixes are pointless anyway.

Offline Fomka

  • Colonel
  • ****
  • Posts: 133
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2915 on: May 23, 2021, 07:00:00 pm »
OK, sorry for asking the question again. Made dome use of the mission: captured an unlucky fellow there.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11783
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #2916 on: May 24, 2021, 05:40:40 pm »
OK, sorry for asking the question again. Made dome use of the mission: captured an unlucky fellow there.

Good :)
(I mean good for you, not for the captured dude... ;) )

Offline spawi

  • Sergeant
  • **
  • Posts: 24
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2917 on: June 05, 2021, 08:56:51 am »
I encountered a crash to desktop blocking game progress. I worked around it by figuring out there is one specific UFO that is triggering it, and deleting that UFO from the save game. But I don't really want to do that, as that UFO was going to terrorize some civilians, and they deserve to die (either by the hand of the aliens, or as a collateral damage by the hand of X-COM, trying to prevent the aliens from killing the civilians).

I attach the save with the crash. Run the game for 4 hours in-game to have it crash. If you open the save file and search for "# This ufo causes the crash." you will find the UFO that, if commented out, will unblock the game.

I also attach the log of the crash.


Edit:

Looks like changing the missionSiteZone of the UFO from
missionSiteZone: 23
to
missionSiteZone: 0

fixes the problem.

Looks like at some point the game somehow generated an alien mission with broken missonSiteZone. Specifically, this is terror mission and to my understanding such missions need to have missionSiteZone of 0.
« Last Edit: June 05, 2021, 09:30:16 am by spawarotti »

Offline Colonel Rick

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2918 on: June 14, 2021, 06:57:23 am »
I don't know if it's been reported yet, and there are too many pages to dig through, but I keep crashing on completing the Cyberweb Airship Assault.  I hope this helps you out.


[13-06-2021_20-43-41]   [FATAL]   A fatal error has occurred: Segmentation fault.
[13-06-2021_20-43-42]   [FATAL]   0x5b61b0 OpenXcom::CrossPlatform::stackTrace(void*)
[13-06-2021_20-43-42]   [FATAL]   0x5b7030 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[13-06-2021_20-43-42]   [FATAL]   0x41c7f0 signalLogger(int)
[13-06-2021_20-43-42]   [FATAL]   0x9be610 OpenXcom::UfopaediaStartState::think()
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d243c6e0 _C_specific_handler
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d2452060 _chkstk
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d2401020 RtlRaiseException
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d2450c80 KiUserExceptionDispatcher
[13-06-2021_20-43-42]   [FATAL]   0x510780 OpenXcom::BattlescapeState::showSkillsButton(bool, int)
[13-06-2021_20-43-42]   [FATAL]   0x4f05a0 OpenXcom::BattlescapeGame::convertUnit(OpenXcom::BattleUnit*)
[13-06-2021_20-43-42]   [FATAL]   0x5368d0 OpenXcom::DebriefingState::prepareDebriefing()
[13-06-2021_20-43-42]   [FATAL]   0x53c2c0 OpenXcom::DebriefingState::init()
[13-06-2021_20-43-42]   [FATAL]   0x5ce400 OpenXcom::Game::run()
[13-06-2021_20-43-42]   [FATAL]   0x41c950 SDL_main
[13-06-2021_20-43-42]   [FATAL]   0x9c0140 console_main
[13-06-2021_20-43-42]   [FATAL]   0x9c0260 WinMain
[13-06-2021_20-43-42]   [FATAL]   ??
[13-06-2021_20-43-42]   [FATAL]   ??
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d17f7020 BaseThreadInitThunk
[13-06-2021_20-43-42]   [FATAL]   0x7ff9d2402630 RtlUserThreadStart
[13-06-2021_20-49-51]   [FATAL]   OpenXcom has crashed: Segmentation fault.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9144
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2919 on: June 14, 2021, 09:46:57 am »
I don't know if it's been reported yet, and there are too many pages to dig through, but I keep crashing on completing the Cyberweb Airship Assault.  I hope this helps you out.

do you have a save?

Offline Colonel Rick

  • Sergeant
  • **
  • Posts: 12
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2920 on: June 14, 2021, 12:45:57 pm »
I hope attaching it to posts works.

Offline Mathel

  • Colonel
  • ****
  • Posts: 328
  • Do not mistake Muton for mutton.
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2921 on: June 16, 2021, 10:09:33 am »
Alien Infiltration missions still spawn a red "STR_ALIEN_BIG_BASE_" alien base. This is several in-game months after updating to 1.8.

Edit: The description correctly sais: "Alien Colony Assault". But the last underscore in the base's name prevents it from being translated correctly.
« Last Edit: June 16, 2021, 10:15:20 am by Mathel »

Offline krautbernd

  • Commander
  • *****
  • Posts: 1108
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2922 on: June 16, 2021, 10:51:21 am »
But the last underscore in the base's name prevents it from being translated correctly.

Why would that be the case?

Offline Mathel

  • Colonel
  • ****
  • Posts: 328
  • Do not mistake Muton for mutton.
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2923 on: June 16, 2021, 11:27:37 am »
Why would that be the case?

Because the string in en-US.yml says
Code: [Select]
STR_ALIEN_BIG_BASE: "Alien Colony", not
Code: [Select]
STR_ALIEN_BIG_BASE_: "Alien Colony"

Offline krautbernd

  • Commander
  • *****
  • Posts: 1108
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #2924 on: June 16, 2021, 05:55:53 pm »
Because the string in en-US.yml says
Code: [Select]
STR_ALIEN_BIG_BASE: "Alien Colony", not
Code: [Select]
STR_ALIEN_BIG_BASE_: "Alien Colony"

I have come across this as well, and Solarius stated that he (supposedly) fixed this. At the time I didn't look into it - I always assumed the displayed string was STR_ALIEN_BIG_BASE_ASSAULT and the game simply truncated the string as it was too long to be displayed.
As far as I can tell the actual issue quite a bit more complicated. Notice that STR_ALIEN_BIG_BASE_ does not actually appear in alien deployments. It is also not listed as the name of your alien base - you can check that by renaming the marker on the map (click on the name in the intercept window). If you rename the marker and check you save file you'll notice that the base now actually has a "name" entry attached to it:

Before:
Code: [Select]
alienBases:
  - lon: 1.9236492079611289
    lat: -0.3561400637017812
    id: 2
    pactCountry: STR_CHINA
    race: STR_ETHEREAL
    discovered: true
    deployment: STR_ALIEN_BIG_BASE_ASSAULT
    startMonth: 60
    minutesSinceLastHuntMissionGeneration: 60
    genMissionCount: 0

After:
Code: [Select]
alienBases:
  - lon: 1.9236492079611289
    lat: -0.3561400637017812
    id: 2
    name: STR_qwert
    pactCountry: STR_CHINA
    race: STR_ETHEREAL
    discovered: true
    deployment: STR_ALIEN_BIG_BASE_ASSAULT
    startMonth: 60
    minutesSinceLastHuntMissionGeneration: 60
    genMissionCount: 0

The actual marker name for alien bases (as defined in the rul) is

Code: [Select]
markerName: STR_ALIEN_BIG_BASE
I am guessing that the game appends the underscore to signify IDs (i.e. alien base or rather terror site numbers) - but for whatever reason these are not actually displayed in-game.



« Last Edit: June 16, 2021, 06:00:30 pm by krautbernd »