Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Crash when opening InputBox for numeric sliders #2555

Closed
1 of 2 tasks
lodicolo opened this issue Feb 12, 2025 · 0 comments · Fixed by #2545
Closed
1 of 2 tasks

bug: Crash when opening InputBox for numeric sliders #2555

lodicolo opened this issue Feb 12, 2025 · 0 comments · Fixed by #2545
Assignees
Labels
bug Something isn't working verified Issue has been verified as valid/existing.

Comments

@lodicolo
Copy link
Member

Description

N/A

Steps to Reproduce

N/A

Version with bug

N/A

Last version that worked well

N/A

Affected platforms

Linux

Is this bug platform-specific?

  • Yes this is platform-specific issue

Did you find any workaround?

No response

Relevant log output

2025-02-12 23:12:27.022 +01:00 [ERR] Failed to start application context
System.InvalidOperationException: Numeric input (slider) wasn't created
   at Intersect.Client.Interface.Shared.InputBox..ctor(String name, String title, String prompt, InputType inputType, GwenEventHandler`1 onSubmit, GwenEventHandler`1 onCancel, Object userData, Int32 quantity, Int32 maximumQuantity, Int32 minimumQuantity) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Interface/Shared/InputBox.cs:line 518
   at Intersect.Client.Interface.Shared.InputBox..ctor(String title, String prompt, InputType inputType, GwenEventHandler`1 onSubmit, GwenEventHandler`1 onCancel, Object userData, Int32 quantity, Int32 maximumQuantity, Int32 minimumQuantity) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Interface/Shared/InputBox.cs:line 440
   at Intersect.Client.Entities.Player.TryRetrieveItemFromBank(Int32 bankSlotIndex, IItem slot, Int32 inventorySlotIndex, Int32 quantityHint, Boolean skipPrompt) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Entities/Player.cs:line 1047
   at Intersect.Client.Interface.Game.Bank.BankItem.Pnl_DoubleClicked(Base sender, MouseButtonState arguments) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Interface/Game/Bank/BankItem.cs:line 85
   at Intersect.Client.Framework.Gwen.Control.Base.InputMouseDoubleClicked(MouseButton mouseButton, Point mousePosition, Boolean userAction) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Framework/Gwen/Control/Base.cs:line 2919
   at Intersect.Client.Framework.Gwen.Input.InputHandler.OnMouseButtonStateChanged(Base canvas, MouseButton mouseButton, Boolean pressed) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Framework/Gwen/Input/InputHandler.cs:line 401
   at Intersect.Client.Framework.Gwen.Control.Canvas.Input_MouseButton(MouseButton button, Boolean down) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Framework/Gwen/Control/Canvas.cs:line 316
   at Intersect.Client.Framework.Gwen.Input.IntersectInput.ProcessMessage(Object message) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Framework/Gwen/Input/IntersectInput.cs:line 113
   at Intersect.Client.MonoGame.Input.MonoInput.CheckMouseButton(Keys modifier, ButtonState bs, MouseButton mb) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/MonoGame/Input/MonoInput.cs:line 207
   at Intersect.Client.MonoGame.Input.MonoInput.Update(TimeSpan elapsed) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/MonoGame/Input/MonoInput.cs:line 361
   at Intersect.Client.Core.Main.Update(TimeSpan deltaTime) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Core/Main.cs:line 98
   at Intersect.Client.MonoGame.IntersectGame.Update(GameTime gameTime) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/MonoGame/IntersectGame.cs:line 263
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at Microsoft.Xna.Framework.Game.Run()
   at Intersect.Client.MonoGame.IntersectGame.MonoGameRunner.Start(IClientContext context, Action postStartupAction) in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/MonoGame/IntersectGame.cs:line 573
   at Intersect.Client.Core.ClientContext.InternalStart() in /home/me/git/AscensionGameDev/main-engine/Intersect.Client.Core/Core/ClientContext.cs:line 66
   at Intersect.Core.ApplicationContext`2.Start(Boolean lockUntilShutdown) in /home/me/git/AscensionGameDev/main-engine/Intersect (Core)/Core/ApplicationContext`2.cs:line 234
2025-02-12 23:15:22.157 +01:00 [INF] Starting Intersect Client Core v0.8.0.0-custom+f93e0636525e41be82f073505d0670351912b097-dirty

Duplicate Bug Check

  • This bug report is not a duplicate to the best of my knowledge.
@lodicolo lodicolo added bug Something isn't working needs verification Pending confirmation that the bug exists by another user. labels Feb 12, 2025
@lodicolo lodicolo self-assigned this Feb 12, 2025
lodicolo added a commit to lodicolo/Intersect-Engine that referenced this issue Feb 12, 2025
@lodicolo lodicolo added verified Issue has been verified as valid/existing. and removed needs verification Pending confirmation that the bug exists by another user. labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working verified Issue has been verified as valid/existing.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant