Author Topic: [Resolved] Fire Issue in Chop Shop Map  (Read 14811 times)

ushas

  • Hero Member
  • *****
  • Posts: 661
[Resolved] Fire Issue in Chop Shop Map
« on: July 26, 2017, 12:11:23 AM »
Ok, seems the fire part remains problematic in v18 (haven't tried to recreate the above yet).

Fire on ChopShop
This happened on the ChopShop map (config:0, danger 3, 3 party members, Vi). When the fire grenade was thrown it made an unusual graphics and an enemy going through that was not harmed at all. When it's the turn of the last combatant on the queue, the game freezes.

The log says:
Code: [Select]
BattleControlScript.SortCharacterScriptListByInitiative. Method called. Number of characters in list: 15
CombatQueueManager.GenerateCombatantIcons. Method called. PRE GEN. Current list display objects: 6 combatant icon scripts: 6
CombatQueueManager.GenerateCombatantIcons. Method called. POST CURRENT TURN GEN. Current list display objects: 1 combatant icon scripts: 1
BattleControlScript.GetCharScriptListPositionsForPostTurnPortraits. Method called. Number of portraits requested: 6
BattleControlScript.GetCharScriptListPositionsForPostTurnPortraits. Method called. Number of portrait positions returned: 6
CombatQueueManager.GenerateCombatantIcons. Method called. POST ALL TURN GEN. Current list display objects: 7 combatant icon scripts: 7
CombatQueueManager.GenerateCombatantIcons. Method called. POST GEN. Current list display objects: 6 combatant icon scripts: 6
NullReferenceException: Object reference not set to an instance of an object
  at TileScript.ExtinguishTileFire () [0x00000] in <filename unknown>:0
  at TileScript.ReduceTurnsOnFire () [0x00000] in <filename unknown>:0
  at MapDataScript.ReduceFireTileDuration () [0x00000] in <filename unknown>:0
  at BattleControlScript.EndTurn () [0x00000] in <filename unknown>:0
  at BattleControlScript.EndCharacterTurn (Boolean requestedByPlayerIn) [0x00000] in <filename unknown>:0
  at CharacterMovementScript.InvokeEndCharacterTurn () [0x00000] in <filename unknown>:0

It's also possible that there is some issue with the facility map. I've seen the regular fire effect on the china town map.
« Last Edit: September 18, 2017, 09:33:23 PM by ushas »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Fire Issue in Chop Shop Map
« Reply #1 on: July 26, 2017, 12:25:14 PM »
Image was useful, cheers. Narrowed it down quite a lot - turns out it was an older prefab used for fire, that somehow ended up linked to the map. I checked the maps made around this time, and none of the rest of them are using this older prefab. I'll chuck some incendiaries around to see if it happens for any other maps.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #2 on: September 14, 2017, 05:45:07 PM »
This is most probably not problem anymore, but just in case - there is also smoke issue on facility maps (v19).

On the workshop map it has similar prefab problem as in case of fire. It doesn't throw an exception right away but after several turns when it's time for smoke to go away - resulting in battle freeze and queue desync. Looks like violet smoke.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #3 on: September 14, 2017, 08:26:17 PM »
I went through all the maps and prefabs have been updated. Will do a last check before releasing though. Maybe should have made a flappy bird clone instead :)

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #4 on: September 14, 2017, 09:37:35 PM »
Yeah, sorry, you told me about going through all the maps before. Guess I'm starting to be overly cautious lately.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #5 on: September 14, 2017, 11:40:31 PM »
Hey, no need to apologise :) Better to put it on the radar... You want to guess what I've just spent the last 4 hours doing?

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #6 on: September 15, 2017, 12:09:52 AM »
A little bit fear to guess - something not boring and monotonous?  ;D

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #7 on: September 15, 2017, 12:20:55 AM »
Haha, guess it's a very open question. Overwatch... Was a problem with multiple melee overwatches in some conditions. Managed to simplify the code, so it will be a bit easier to manage in the future.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #8 on: September 15, 2017, 01:02:17 AM »
I see. Looking forward to the next chapter of the neverending (ups) overwatch story.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #9 on: September 15, 2017, 11:36:16 AM »
I'm not :) Inventory used to be like this, but it's well settled in terms of stability now.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #10 on: September 15, 2017, 04:45:28 PM »
Yeah, inventory is pretty robust... I tried of course:)

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #11 on: September 15, 2017, 04:50:04 PM »
Dragging bullets to the recycle bin isn't cool, Ushas :)

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #12 on: September 15, 2017, 09:49:36 PM »
How did you know?

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #13 on: September 18, 2017, 06:42:51 PM »
Bad dreams over the last few nights...

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Resolved] Fire Issue in Chop Shop Map
« Reply #14 on: September 19, 2017, 12:15:00 AM »
A nightmare, at your service.