Author Topic: [Resolved] Upgrading rackets?  (Read 12510 times)

ushas

  • Hero Member
  • *****
  • Posts: 661
[Resolved] Upgrading rackets?
« on: July 20, 2017, 12:18:22 AM »
(v17, linux)

So I did - rested for many days. From some point there seem to be errors with rackets around decision making time, upgrading them or so.

From 20th July and on, SB difficulty:
Code: [Select]
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: Church HQ
Gang.GetRacketUpgradeOrders. Church HQ can be upgraded. Base score: 2 cost score: -0.4 discovery progress penalty: 0 /total: 1.6
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: Chop Shop
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[System.Collections.Generic.List`1[Racket]].get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at Gang.GetRacketUpgradeOrders () [0x00000] in <filename unknown>:0
  at Gang.HandleStrategicOrderSelection () [0x00000] in <filename unknown>:0
  at Gang.RunEndOfDayGangStrategicAI () [0x00000] in <filename unknown>:0
  at GameDataScript.RunEndOfDayLogic () [0x00000] in <filename unknown>:0
  at TimeManagerScript.IncrementMinutes (Int32 minutesIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.PassTime (Int32 minutesToPassIn, Single healingFactorIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.Rest () [0x00000] in <filename unknown>:0
  at UIManagerScript.HandleRestTrainButtonPress () [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

Code: [Select]
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: Mafia HQ
Gang.GetRacketUpgradeOrders. Mafia HQ can be upgraded. Base score: 2 cost score: -0.4 discovery progress penalty: 0 /total: 1.6
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: NumbersRacket
Gang.GetRacketUpgradeOrders. NumbersRacket can be upgraded. Base score: 2 cost score: -0.25 discovery progress penalty: 0 /total: 1.75
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: NumbersRacket
Gang.GetRacketUpgradeOrders. NumbersRacket can be upgraded. Base score: 2 cost score: -0.25 discovery progress penalty: 0 /total: 1.75
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: NumbersRacket
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[System.Collections.Generic.List`1[Racket]].get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at Gang.GetRacketUpgradeOrders () [0x00000] in <filename unknown>:0
  at Gang.HandleStrategicOrderSelection () [0x00000] in <filename unknown>:0
  at Gang.RunEndOfDayGangStrategicAI () [0x00000] in <filename unknown>:0
  at GameDataScript.RunEndOfDayLogic () [0x00000] in <filename unknown>:0
  at TimeManagerScript.IncrementMinutes (Int32 minutesIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.PassTime (Int32 minutesToPassIn, Single healingFactorIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.Rest () [0x00000] in <filename unknown>:0
  at UIManagerScript.HandleRestTrainButtonPress () [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
... and similar.


On 18th July, Vigilantes difficulty (just rested from the start of the game):
Code: [Select]
Gang.GetRacketUpgradeOrders. Checking for upgrade order of racket: Mafia HQ
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[System.Collections.Generic.List`1[Racket]].get_Item (Int32 index) [0x00000] in <filename unknown>:0
  at Gang.GetRacketUpgradeOrders () [0x00000] in <filename unknown>:0
  at Gang.HandleStrategicOrderSelection () [0x00000] in <filename unknown>:0
  at Gang.RunEndOfDayGangStrategicAI () [0x00000] in <filename unknown>:0
  at GameDataScript.RunEndOfDayLogic () [0x00000] in <filename unknown>:0
  at TimeManagerScript.IncrementMinutes (Int32 minutesIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.PassTime (Int32 minutesToPassIn, Single healingFactorIn) [0x00000] in <filename unknown>:0
  at UIManagerScript.Rest () [0x00000] in <filename unknown>:0
  at UIManagerScript.HandleRestTrainButtonPress () [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCall.Invoke (System.Object[] args) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.Press () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <filename unknown>:0
  at UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

Haven't dived further though. Will revisit during v18.

Now realizing I should've tested facilities on both sides as those were the new features for v17... Ups.
« Last Edit: July 24, 2017, 07:25:13 PM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Upgrading rackets?
« Reply #1 on: July 20, 2017, 08:50:28 AM »
These issues should still be in place. Unfortunately, your save will no longer work with mine, but will try to recreate. The player facilities are relatively simple in comparison, but by all means, try to break them :)

Currently uploading V18, and will do a first pass on bugs for V19 as soon as it's released.

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Fix Req] Upgrading rackets?
« Reply #2 on: July 20, 2017, 04:03:59 PM »
Congrats!

Yeah thought about being incompatible too. Nevermind, the last one was simply done by starting a new game and taking a nap for the rest of the days.

The player facilities are relatively simple in comparison, but by all means, try to break them :)
A bait acknowledged... consider them as good as broken. :)

Will download and try as soon as possible, but not having a bulk of time for serious testing till during next week, unfortunately. Hope Nomad is keeping skates sharpened.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Upgrading rackets?
« Reply #3 on: July 21, 2017, 12:36:08 PM »
Always feels good to get a release finished. Yeah, should be able to find it pretty easily - does this error cause a crash, or can the game keep going?

Have a good weekend :)

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Upgrading rackets?
« Reply #4 on: July 21, 2017, 01:10:29 PM »
A bait acknowledged... consider them as good as broken. :)

Note: Pulling out a RAM stick while upgrading a facility is cheating :)

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: [Fix Req] Upgrading rackets?
« Reply #5 on: July 22, 2017, 12:36:04 AM »
Yeah, I can imagine. :)

Oh, sorry, forgot to specify. No crash or anything, the game kept going as if nothing happened. It's just usual me peeking into the log's affairs. However, assuming it may influence other stuff -> those were not tested at all.

Likewise.

Note: Pulling out a RAM stick while upgrading a facility is cheating :)
It's always nice to be considered crazy enough to endanger own PC in order to prove the principle.  ;D
But, no, no need of hammers... there are tools with surgical precision, just a little... bit here and there.


Sigh, I guess that would be cheating too.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Fix Req] Upgrading rackets?
« Reply #6 on: July 24, 2017, 07:25:00 PM »
Recreated and fixed this one. Left to their own devices, gangs generate money very quickly. Will have to monitor this in an actual playthrough were they are spending more recruiting and where the crime rate (and hence cash) is being lowered due to the player.