Major-Scott / TerminalPlus

THIS MOD IS NO LONGER IN DEVELOPMENT! I'm really sorry but I just don't have the time to work on this anymore and it's just been stressing me out
MIT License
0 stars 1 forks source link

Terminal command error for both versions after 0.2.0 #1

Closed IntoComatose closed 8 months ago

IntoComatose commented 8 months ago

Hi! First off I'm loving this mod. However, I seem to encounter an issue when entering "moons" into the Terminal for every version after 0.2.0

This is the error I receive in the cmd window the second I try to send 'moons'

[Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array. Stack trace: TerminalPlus.Nodes.MoonsPage () (at <2d85965c653f4f40b949ecbb28eb9380>:IL_01FB) TerminalPlus.TerminalPatches.TerminalEventPrefix (TerminalNode node, Terminal __instance) (at <2d85965c653f4f40b949ecbb28eb9380>:IL_03EA) (wrapper dynamic-method) Terminal.DMD(Terminal,TerminalNode) Terminal.LoadNewNode (TerminalNode node) (at :IL_0007) (wrapper dynamic-method) Terminal.DMD(Terminal) UnityEngine.Events.InvokableCall.Invoke () (at :IL_0010) UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) (at <e27997765c1848b09d8073e5d642717a>:IL_0049) TMPro.TMP_InputField.SendOnEndEdit () (at <9baa8119dbcd498f902c1a92f10843c1>:IL_000E) TMPro.TMP_InputField.ReleaseSelection () (at <9baa8119dbcd498f902c1a92f10843c1>:IL_001B) TMPro.TMP_InputField.DeactivateInputField (System.Boolean clearSelection) (at <9baa8119dbcd498f902c1a92f10843c1>:IL_00B0) TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) (at <9baa8119dbcd498f902c1a92f10843c1>:IL_007C) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IUpdateSelectedHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <17de86d66286445fa95af59fa8fa644d>:IL_0000) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at <17de86d66286445fa95af59fa8fa644d>:IL_0067) UnityEngine.EventSystems.EventSystem:Update()

Is this possibly from a conflict with another mod installed after one of your updates or is this from the update itself?

Thanks!

Major-Scott commented 8 months ago

Hi! First off I'm loving this mod. However, I seem to encounter an issue when entering "moons" into the Terminal for every version after 0.2.0

This is the error I receive in the cmd window the second I try to send 'moons'

[Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array. Stack trace: TerminalPlus.Nodes.MoonsPage () (at <2d85965c653f4f40b949ecbb28eb9380>:IL_01FB) TerminalPlus.TerminalPatches.TerminalEventPrefix (TerminalNode node, Terminal __instance) (at <2d85965c653f4f40b949ecbb28eb9380>:IL_03EA) (wrapper dynamic-method) Terminal.DMDTerminal::RunTerminalEvents(Terminal,TerminalNode) Terminal.LoadNewNode (TerminalNode node) (at :IL_0007) (wrapper dynamic-method) Terminal.DMDTerminal::OnSubmit(Terminal) UnityEngine.Events.InvokableCall.Invoke () (at :IL_0010) UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) (at <e27997765c1848b09d8073e5d642717a>:IL_0049) TMPro.TMP_InputField.SendOnEndEdit () (at <9baa8119dbcd498f902c1a92f10843c1>:IL_000E) TMPro.TMP_InputField.ReleaseSelection () (at <9baa8119dbcd498f902c1a92f10843c1>:IL_001B) TMPro.TMP_InputField.DeactivateInputField (System.Boolean clearSelection) (at <9baa8119dbcd498f902c1a92f10843c1>:IL_00B0) TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) (at <9baa8119dbcd498f902c1a92f10843c1>:IL_007C) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IUpdateSelectedHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <17de86d66286445fa95af59fa8fa644d>:IL_0000) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) (at <17de86d66286445fa95af59fa8fa644d>:IL_0067) UnityEngine.EventSystems.EventSystem:Update()

Is this possibly from a conflict with another mod installed after one of your updates or is this from the update itself?

Thanks!

Hi! Sorry for the delay, I had finals this last week. I can't see what the problem is off the top of my head, but my guess is that my mod isn't recognizing the full list of moons; could you send me a list of the mods you were using? I recognize the error type and will try to fix it with this next update :)

IntoComatose commented 8 months ago

Sure thing! Was rather surprised to see the error suddenly pop up after an update. Here are the moons;

Thanks for the help! Really enjoy the organization in your mod.

Major-Scott commented 8 months ago

Thanks! One last thing, were you using this exact list before 0.2.0? That'll help me narrow down whether it's an incompatibility problem or just a bug from the mod

IntoComatose commented 8 months ago

I believe Big Boos, SR Marooners Bay, and possibly Zelda Moons / BikiniBottom were not included at first, but I added them after receiving the error and downgrading back to 0.2.0.

IntoComatose commented 8 months ago

The newest update allows everything to work properly. Thank you very much for your hard work!