Skip to content

[bug] buying the right window doesn't complete successfully #36

Description

@JohnMetroid

hey there,

just updated both dawnlib and testaccountcore so perhaps one of them is the cause. Buying every other window works as expected, with the terminal correctly completing the purchase. However, buying the right window will now throw an error. The credits are taken and the window is purchased, but the terminal doesn't complete the action and the window is never marked as purchased on the terminal. This allows it to be purchased again, withdrawing the credits but otherwise changing nothing (since the right window was already purchased)

[20:32:19.8590146] [Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
MelMel2SS.ShipWindowPatch.PostCreateRight (ShipWindows.WindowBehaviors.RightWindow __instance) (at <f06db4ed56864c14b83bd570cbab7ebe>:IL_0152)
(wrapper dynamic-method) ShipWindows.WindowBehaviors.RightWindow.DMD<ShipWindows.WindowBehaviors.RightWindow::Initialize>(ShipWindows.WindowBehaviors.RightWindow)
ShipWindows.Utilities.WindowManager.CreateWindow (ShipWindows.Api.WindowInfo windowInfo, System.Boolean addToList, System.Boolean check) (at ./Utilities/WindowManager.cs:69)
ShipWindows.Networking.NetworkManager.SpawnWindowOnLocalClient (ShipWindows.Api.WindowInfo windowInfo) (at ./Networking/NetworkManager.cs:45)
ShipWindows.Networking.NetworkManager.SpawnWindow (ShipWindows.Api.WindowInfo windowInfo) (at ./Networking/NetworkManager.cs:41)
ShipWindows.ShipWindowApplication+<>c__DisplayClass2_0.<WindowBuyAction>b__1 () (at ./ShipWindowApplication.cs:51)
InteractiveTerminalAPI.UI.Cursor.CursorElement.ExecuteAction () (at ./InteractiveTerminalAPI/UI/Cursor/CursorElement.cs:27)
InteractiveTerminalAPI.UI.Cursor.BaseCursorMenu`1[T].Execute () (at ./InteractiveTerminalAPI/UI/Cursor/BaseCursorMenu.cs:19)
InteractiveTerminalAPI.UI.Application.BaseInteractiveApplication`1[T].Submit () (at ./InteractiveTerminalAPI/UI/Application/BaseInteractiveApplication.cs:90)
InteractiveTerminalAPI.UI.Application.BaseInteractiveApplication`1[T].OnApplicationConfirm (UnityEngine.InputSystem.InputAction+CallbackContext context) (at ./InteractiveTerminalAPI/UI/Application/BaseInteractiveApplication.cs:52)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <7d67996a352a4f4fa0df2b7c9570fda6>:IL_001B)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[20:32:19.8590146] [Error  : Unity Log] NullReferenceException while executing 'started' callbacks of 'WhiteSpike.InteractiveTerminalAPI.IngameKeybinds/LguStoreConfirmKey[/Keyboard/space]'
[20:32:19.9080253] [Info   :GeneralImprovements] Updated credits display.```

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions