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

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #675 on: August 25, 2017, 04:48:29 pm »
A couple more bugs:
1. Middle-clicking "Fat Zombie" and "Mongorn Savage" in the "Sell/Sack" screen doesn't display their UFOpaedia pages. I've researched both. Works correctly for other items and prisoners. Base #1 in the attached savegame.

2. Some agents carrying a Xeno shield appear without it in the inventory screen. Most others look correctly. 2 agents in the van 3 at base #2 in the attached savegame. (Sorry I mixed "absent" and "present" in the screenshot names.)

3. I found and researched a sledgehammer (on a tomb guardian), got a message that I can now buy it, but it still doesn't appear on the purchase/hire screen. Bug?

1. "Fat Zombie" = STR_ZOMBIE_GRUBAS_TERRORIST

You can access only the following articles:

Code: [Select]
  STR_ZOMBIE_ARE_BREEDING
  STR_ZOMBIE_EVOLUTION_HYPOTHESIS
  STR_ZOMBIE_GRUBAS
  STR_ZOMBIE_GRUBAS_AUTOPSY
  STR_ZOMBIE_INFECTOR
  STR_ZOMBIE_INFECTOR_AUTOPSY
  STR_ZOMBIE_STERILE
  STR_ZOMBIE_STERILE_AUTOPSY

"Mongorn Savage" = STR_MONGORN_TERRORIST

You can access only the following articles:

Code: [Select]
  STR_MONGORN
  STR_MONGORN_AUTOPSY

This is normal... when you click on "Sectoid Navigator" you also don't get the "Sectoid" article... and there is no "Sectoid Navigator" article to show.

2.
Soldier #1 (Henrik Lund) = image "MAN_24M21.SPK"
Soldier #2 (Jencir Sampras) = image "MAN_24M17.SPK"

Code: [Select]
  - type: MAN_24M21.SPK
    singleImage: true
    files:
      0: Resources/Armors_Compilation/Armored_Vest_Shield/Inventory/MAN_24M21.gif

Code: [Select]
  - type: MAN_24M17.SPK
    singleImage: true
    files:
      0: Resources/Armors_Compilation/Armored_Vest_Shield/Inventory/MAN_24M17.gif

Corresponding images look the same on the GUI.
M21 and M22 don't have shield...


3. STR_SLEDGEHAMMER has costBuy = 0, so it is not buyable... that's a bug in OXCE+ (message should not pop up... I will fix it)

--- posts merged ---

I've never seen it, and all code looks fine. Are you sure it's not an installation issue?

Some images in

Code: [Select]
...\XComFiles\Resources\Armors_Compilation\Armored_Vest_Shield\Inventory\

don't have a shield.
« Last Edit: August 25, 2017, 08:42:33 pm by Solarius Scorch »

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Bugs, crashes, typos & bad taste
« Reply #676 on: August 25, 2017, 08:41:58 pm »
Yes, indeed... Thanks. Fixed!

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #677 on: August 26, 2017, 11:09:07 pm »
This is normal... when you click on "Sectoid Navigator" you also don't get the "Sectoid" article... and there is no "Sectoid Navigator" article to show.
Is there any way around that? To display the same article for multiple objects.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #678 on: August 26, 2017, 11:34:17 pm »
Is there any way around that? To display the same article for multiple objects.

Would need to be coded. And then modded.

Offline Kammerer

  • Colonel
  • ****
  • Posts: 141
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #679 on: August 27, 2017, 08:33:50 pm »
Hi Solar,

I tried a new version and found some bugs. First of all, about a previously reported missing string:

Quote
As for the STR_CYBER_ARMOR_CORPSE, like oter X-Com corpses - it has no name of its own

This string somehow shows up on the Sell screen if the new Meridian's cheat which adds two items of each kind is used. The screenshot is attached.

Second. With a new version of OXCE+ I'm getting strange colored texts in some screens. Moreover, the colors change randomly if I open such windows as the Tech Tree viewer and then return back to a previously buggy screen. This doesn't look like the intended behaviour. Some screenshots are also attached.

A typo:

Quote
strange rays that bapass

Too big Ufopedia article: STR_MINEBEA_UZI_UFOPEDIA

And some more missing strings:

STR_EMP
STR_WARP   
STR_PSI
STR_TERROR_MISSION_FLOATER
STR_TERROR_2_MISSION_FLOATER
STR_ALIEN_BASE_ASSAULT_FLOATER
STR_BASE_DEFENSE_FLOATER
STR_BREAKDOWN_STR_PRECISION_PLASMA_CLIP
« Last Edit: August 27, 2017, 09:46:42 pm by Kammerer »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #680 on: August 27, 2017, 09:00:06 pm »
The color issues are caused by outdated data files, namely interfaces.rul.

Possible reasons:
1. you updated only EXE, not all data files from the new version
2. or you updated everything, but just by replacing old files... not by starting fresh... in this case the obsolete "interfaces_XCOMFILES.rul" would not be deleted and will cause problems

I guess #2...

Offline Kammerer

  • Colonel
  • ****
  • Posts: 141
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #681 on: August 27, 2017, 09:15:18 pm »

2. or you updated everything, but just by replacing old files... not by starting fresh... in this case the obsolete "interfaces_XCOMFILES.rul" would not be deleted and will cause problems

I guess #2...

Thanks, Meridian! It was really the second case. Now everything looks OK.

Offline Marduk

  • Sergeant
  • **
  • Posts: 15
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #682 on: September 03, 2017, 07:13:56 pm »
Got a CTD in battlescape, it is replicable from the savegame but not on the same turn.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #683 on: September 03, 2017, 08:00:39 pm »
Got a CTD in battlescape, it is replicable from the savegame but not on the same turn.

What do I need to do exactly to replicate the crash?

Offline Marduk

  • Sergeant
  • **
  • Posts: 15
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #684 on: September 03, 2017, 08:07:00 pm »
It happened (or not) randomly during enemy turns, no idea about the exact cause.

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #685 on: September 03, 2017, 08:35:25 pm »
It happened (or not) randomly during enemy turns, no idea about the exact cause.

I see what the crash is, but I don't know why it's happening (really hard to track and isolate, since it's alien turn and happens more or less randomly)... it's a relatively old bug... I've seen it a few times already in the last months... it randomly pops in and out of existence :(

Attached the place where it crashes, if anyone wants to help debug.
For the record, version used was OXCE+ 2017-08-27 (305ca9a).

I tried with the newest version (OXCE+ 2017-09-03) and no crash... you may want to consider upgrading if it happens a lot... but I think the bug is still there, it just doesn't manifest itself often... I'll ask Yankes for help...
« Last Edit: September 03, 2017, 08:52:02 pm by Meridian »

Offline Marduk

  • Sergeant
  • **
  • Posts: 15
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #686 on: September 03, 2017, 09:07:25 pm »
I see what the crash is, but I don't know why it's happening (really hard to track and isolate, since it's alien turn and happens more or less randomly)... it's a relatively old bug... I've seen it a few times already in the last months... it randomly pops in and out of existence :(

Attached the place where it crashes, if anyone wants to help debug.
For the record, version used was OXCE+ 2017-08-27 (305ca9a).

I tried with the newest version (OXCE+ 2017-09-03) and no crash... you may want to consider upgrading if it happens a lot... but I think the bug is still there, it just doesn't manifest itself often... I'll ask Yankes for help...
Just had it happen again. If that helps, there seems to be a bit of a pattern here - it's a "strange creature" mission with zombies this time, while last one was zombie outbreak. Maybye the problem involves zombies in some way?
It never happened on a non-zombie mission so far and i got through a lot of cult missions...
« Last Edit: September 03, 2017, 09:09:16 pm by Marduk »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #687 on: September 03, 2017, 09:28:12 pm »
Just had it happen again. If that helps, there seems to be a bit of a pattern here - it's a "strange creature" mission with zombies this time, while last one was zombie outbreak. Maybye the problem involves zombies in some way?
It never happened on a non-zombie mission so far and i got through a lot of cult missions...

It happens during melee attacks... and zombies only have melee... other missions probably have significantly less melee...

Offline tkzv

  • Commander
  • *****
  • Posts: 583
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #688 on: September 03, 2017, 10:07:36 pm »
It happens during melee attacks... and zombies only have melee... other missions probably have significantly less melee...
I had a crash when agents used reaction shot for melee attacks on enemies several steps away (hitting with a flashlight). Also there were numerous crashes during hidden movement. It never reproduced when I enabled saving random seed.
Could it be a similar problem?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #689 on: September 03, 2017, 10:38:09 pm »
Could be... I've added a better error message now, which will at least tell you what to do until it gets fixed.

Code: [Select]
if (!_target)
{
throw Exception("This is a known (but tricky) bug... still fixing it, sorry. In the meantime, try save scumming option or kill all aliens in debug mode to finish the mission.");
}