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

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 #3120 on: April 04, 2022, 01:15:09 pm »
Okay, it's me who's blind...
Fixed this for the next release. Sorry!
(For now, you can dig through the walls as is usually the solution, ore just Ctrl+K)

Offline Scamps

  • Captain
  • ***
  • Posts: 80
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3121 on: April 07, 2022, 10:48:55 pm »
Crash on mission start. Set "Enable savescumming" to false to reliably reproduce.

Unrelated minor thing: crocodiloid attack (temperate climate) happened in Antarctic.

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 #3122 on: April 08, 2022, 03:28:43 pm »
Crash on mission start. Set "Enable savescumming" to false to reliably reproduce.

Yeah, I can reproduce it. I'm not sure about the cause, but I suspect one of the random terrains associated with this global texture is lacking roads or something else declared by the script GENERIC_GLOBE_TERRAIN. I'll review them to confirm this hypothesis and hopefully fix.

Unrelated minor thing: crocodiloid attack (temperate climate) happened in Antarctic.

Right, this was a simple omission, fixed now. Thank you.

EDIT: I couldn't find any issue with the suspicious terrains. I need to ask for help with this one...
« Last Edit: April 08, 2022, 03:34:32 pm by Solarius Scorch »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3123 on: April 08, 2022, 04:04:16 pm »
terrain=MOON
script=GENERIC_GLOBE_TERRAIN
type of mapblock=3

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 #3124 on: April 08, 2022, 08:33:15 pm »
terrain=MOON
script=GENERIC_GLOBE_TERRAIN
type of mapblock=3

Yeah, but the Moon terrain is not used at all; GENERIC_GLOBE_TERRAIN is set up to use the global texture. MOON isn't actually used. That's why I use the MOON terrain for all deployments which use GENERIC_GLOBE_TERRAIN script - to see at a first glance that something's not right. Am I wrong in this assumption? If I'm wrong, then why this mission doesn't work, but other such missions do?

But more importantly... What is "type of mapblock=3"? Do you mean group 3 (north-south road)?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3125 on: April 08, 2022, 09:26:47 pm »
Yeah, but the Moon terrain is not used at all; GENERIC_GLOBE_TERRAIN is set up to use the global texture. MOON isn't actually used.

The mission site is in the ocean.
There is no globe texture there.
So the mission texture (MOON) is used.

That's why I use the MOON terrain for all deployments which use GENERIC_GLOBE_TERRAIN script - to see at a first glance that something's not right.

Then it would be better to use a texture that works with all map scripts :)
Otherwise you'll just see a crash at the first glance.

But more importantly... What is "type of mapblock=3"? Do you mean group 3 (north-south road)?

Yes, I meant N-S road group.

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 #3126 on: April 08, 2022, 10:10:42 pm »
Ah, right, I misunderstood - it wasn't the script nor the terrain that was at fault, it was lack of texture.

To be perfectly honest, I checked the wrong mission - I thought that the problem was with the one in Canada... :P Which is texture 0.

I fixed the zones. Thank you!

Offline Scamps

  • Captain
  • ***
  • Posts: 80
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3127 on: April 09, 2022, 12:55:36 am »
Can this kind of problem be validated on startup? Had similar (I believe) crash in XenoOps. Seems hard to test due to random nature. Or to make logging more verbose, if possible?

Offline Moxxaart

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3128 on: April 09, 2022, 07:25:53 am »
Greetings.
This error occurs when attacking the hybrid base.
    [FATAL]   A fatal error has occurred: Race STR_ZSRR does not have a random member at position/rank 13
I'm attaching the savefile, too.

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 #3129 on: April 10, 2022, 12:36:01 pm »
Can this kind of problem be validated on startup? Had similar (I believe) crash in XenoOps. Seems hard to test due to random nature. Or to make logging more verbose, if possible?

It's possible, but very unlikely that your crash is actually similar to this one.

Greetings.
This error occurs when attacking the hybrid base.
    [FATAL]   A fatal error has occurred: Race STR_ZSRR does not have a random member at position/rank 13
I'm attaching the savefile, too.

Hmm... Frankly I don't understand why this has happened. This base (STR_HYBRID_EMBASSY_ASSAULT) shouldn't have the race STR_ZSRR at all, it should have STR_HYBRID. I understand that it used to be a STR_ZSRR base (STR_CULT_GREATEST_MANOR_ZSRR_ASSAULT), but after the base upgrade, it should no longer be the case...
...but here we are. I seriously don't know why and how.

Offline Moxxaart

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3130 on: April 10, 2022, 05:19:22 pm »
But is it possible to do anything?
Such as editing a savefile or start a new game and hope the error does not happen again?
It's a little sad loss the progress, but if there is no other way out...

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 #3131 on: April 10, 2022, 05:22:54 pm »
But is it possible to do anything?
Such as editing a savefile or start a new game and hope the error does not happen again?
It's a little sad loss the progress, but if there is no other way out...

The easiest solution is to modify the STR_ZSRR race to actually give it the missing rank.
I have attached a file to do just that - replace it.
Still, this is not a permanent solution, since it's supposed to be a different race there...

Offline Moxxaart

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3132 on: April 11, 2022, 12:18:20 pm »
The easiest solution is to modify the STR_ZSRR race to actually give it the missing rank.
I have attached a file to do just that - replace it.
Still, this is not a permanent solution, since it's supposed to be a different race there...
Thank you!
What are the consequences of continuing the game on the same savefile?

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 #3133 on: April 11, 2022, 12:58:15 pm »
Thank you!
What are the consequences of continuing the game on the same savefile?

Probably nothing bad, you'll just be fighting the wrong people at this location.

Offline Bonakva

  • Colonel
  • ****
  • Posts: 187
    • View Profile
Re: Bugs, crashes, typos & bad taste
« Reply #3134 on: April 18, 2022, 04:20:35 pm »
Sol, ALIEN LASER SMG CLIP has the tag " pistols" and not "smg"