Author Topic: [Resolved] Mission Wolves of the Night  (Read 10933 times)

ushas

  • Hero Member
  • *****
  • Posts: 661
[Resolved] Mission Wolves of the Night
« on: May 11, 2017, 11:05:29 PM »
(v16, linux)

Params: map 3, SlumMed4, config 1 / Church, danger lvl 3, 3 party members, Sam lvl

The game freezes at the map load.

I'm not sure whether it's indeed the special encounter, Wolves of the Night, causing this. But according to the log there is similar out of range exception (for speaker initialization?) as in v15 it was for the Graveyard escort mission.

Code: [Select]
BattleControlScript.GetCharacterStartPosition. Character speaker position: -1

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[UnityEngine.Vector3].get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at BattleControlScript.GetCharacterStartPosition (Boolean isPlayerCharacterIn, Int32 speakerPositionIn) [0x00000] in <filename unknown>:0
  at BattleControlScript.SpawnCriminalTeam () [0x00000] in <filename unknown>:0
  at BattleControlScript.SpawnLevelCharacters () [0x00000] in <filename unknown>:0
  at BattleControlScript.BeginLevelSetup () [0x00000] in <filename unknown>:0
  at ScriptReferenceScript.BeginLevelSetup () [0x00000] in <filename unknown>:0
  at ScriptReferenceScript.Start () [0x00000] in <filename unknown>:0
« Last Edit: May 15, 2017, 10:29:07 AM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Mission Wolves of the Night
« Reply #1 on: May 12, 2017, 01:31:41 PM »
Will try to recreate. It's trying to access a list position which doesn't exist (-1), the million dollar question is why  :)

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fi Req] Mission Wolves of the Night
« Reply #2 on: May 15, 2017, 10:28:53 AM »
Found the problem. The code for restricting the number of enemies that can be active at once wasn't working properly. Now it will spawn enemies up to this number, and the remainder will spawn as reinforcements as the initial enemies are dealt with. Until now, too many enemies were being spawned, so this will have a bearing on difficulty.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Mission Wolves of the Night
« Reply #3 on: May 15, 2017, 06:41:25 PM »
Great! For to be safe, from this time on will also report the difficulty. This was on Hard Boiled.

Before I forget, let me bestow upon you the bill of one million dollars for answering the question:

Print it. But don't forget to put your head on that. The bank would need to do biometric identification to be sure who's involved, when you're going there to deposit. Legit.
« Last Edit: May 15, 2017, 06:43:02 PM by ushas »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Mission Wolves of the Night
« Reply #4 on: May 16, 2017, 08:25:08 AM »
 ;D