aliens

Author Topic: 0.97 Mission bugs  (Read 5770 times)

Offline Geneoce

  • Squaddie
  • *
  • Posts: 9
    • View Profile
0.97 Mission bugs
« on: January 13, 2016, 01:34:15 am »
Hey Dioxine,

Loving how the mods going! You've really fleshed out the research tree and tweak the difficulty scaling in the last few updates.
I do have a problem with my save game though, it keeps crashing around the end of the month. Reckon you can take a look at it and see whats bugging it out? Its happened before but reverting to a different save or shooting everything down let me avoid the crashes. No luck this time though. Which sucks, because I was progressing nicely.

Cheers.
« Last Edit: January 13, 2016, 03:04:36 pm by Dioxine »

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 4058
« Reply #1 on: January 13, 2016, 01:27:06 pm »
Managed to luck out and the save allowed me into the next month first time, but it crashed the second time. Some mission seems to be wrong, but I have no idea, which one... which means tons of testing.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: 4058
« Reply #2 on: January 13, 2016, 03:02:39 pm »
Is the sectoid race stable?I believe one of their missions might cause the crash as i have one similiar problem

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 0.97 Mission bugs
« Reply #3 on: January 13, 2016, 03:09:23 pm »
Please be more specific about them sectoids; when does the crash occur? Do you have any saves, pictures, or at least detailed description?; I will look them up anyway.

However it seems that the problem that was crashing the game for Geneoce (and Frogtown, I believe) is here:

Code: [Select]
  - type: superhumanRetaliation
    minDifficulty: 4
    missionWeights:
      0:
        STR_ALIEN_HARVEST: 25
        STR_ALIEN_RETALIATION: 10
        STR_ALIEN_RETALIATION_L: 15
        STR_ALIEN_RETALIATION_M: 20
        STR_ALIEN_RETALIATION_S: 15
        STR_ALIEN_RETALIATION_C: 15

Does anyone know what's wrong with that? All these missions exist, and work fine when spawned by shooting down some shipping (as Meridian has witnessed), btw. Is it possible that STR_ALIEN_HARVEST (which has no objective) collides with Crackdowns (which DO have an objective)?

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: 0.97 Mission bugs
« Reply #4 on: January 13, 2016, 03:47:29 pm »
A sektrak was in the air on a trading mission while the time was 23:02:00 at 4th of january at 2603,the game goes on for a few seconds after it just crashes and goes back to desktop,i assume its them as it is the last aircraft that was in the detection rate of the decoder,or it may have to do with the academician fighter on a crackdown as it was the second to last but that is just guessing.

https://imgur.com/YHGLlD5

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 0.97 Mission bugs
« Reply #5 on: January 13, 2016, 04:11:09 pm »
23:02 you say? Since this mission hasn't caused trouble so far, might've been something else... like research or manufacture? Hard to say w/o a save. But midnight crashes are often caused by buggy research.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: 0.97 Mission bugs
« Reply #6 on: January 13, 2016, 04:20:16 pm »
I was doing the research for a silacoid corpse and the toxigun research at both at excelent status,even thought the silacoid its piratez name is rocky.
Did you forgot to update any files?

EDIT:Its the silacoid corpse research that causes it
« Last Edit: January 13, 2016, 04:23:27 pm by doctor medic »

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 0.97 Mission bugs
« Reply #7 on: January 13, 2016, 04:23:53 pm »
A research was missing. This needs to be added:

Code: [Select]
research:
  - name: SILACOID_ARMOR
    cost: 0
    points: 50
    needItem: true

Nothing like squashing a random bug.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: 0.97 Mission bugs
« Reply #8 on: January 13, 2016, 04:27:52 pm »
well now it fails to read the ruleset of xpiratez.Where exacly do i need to add in the research section?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 0.97 Mission bugs
« Reply #9 on: January 13, 2016, 04:46:15 pm »
Where-ever. Best just after the section heading. Just make sure all YAML holy rules are observed.

Offline Cristao

  • Colonel
  • ****
  • Posts: 404
    • View Profile
Re: 0.97 Mission bugs
« Reply #10 on: January 13, 2016, 04:59:13 pm »
Will update my save when I get home.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: 0.97 Mission bugs
« Reply #11 on: January 13, 2016, 05:25:08 pm »
All right, start of the month bug found and fixed. Since it's a bit too complex to post here, please wait for the next release. For the bold & daring: all the STR_ALIEN_RETALIATION missions (piratez_factions) were missing raceWeights, which was not required previously (pre-0.96 exec) but is now. This affects any campaigns that are near the end of 2601 or later; much later for low diff levels.
Locking now.
« Last Edit: January 13, 2016, 05:28:01 pm by Dioxine »