anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
45 stars 16 forks source link

Game crash, smelting guide, wooden tongs #3497

Closed VangardV closed 9 months ago

VangardV commented 9 months ago

Game version - v1.19.1

Platform - Windows

Modded - Vanilla

SP/MP - Singleplayer

Description - Smelting guide crash

How to reproduce - 1. just play in world 2. open handbook 3.open guide with smelting 4. click on first wooden tongs 5. Crash

Logs -

Running on 64 bit Windows 10.0.19045.0 with 16348 MB RAM Game Version: v1.19.1 (Stable) 21.01.2024 19:25:16: Critical error occurred Loaded Mods: game@1.19.1, creative@1.19.1, survival@1.19.1 System.NullReferenceException: Object reference not set to an instance of an object. at Vintagestory.API.Client.LinkTextComponent.HandleLink() in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\Richtext\TextLinkComponent.cs:line 208 at Vintagestory.API.Client.LinkTextComponent.Trigger() in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\Richtext\TextLinkComponent.cs:line 197 at Vintagestory.API.Client.LinkTextComponent.OnMouseUp(MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\Richtext\TextLinkComponent.cs:line 182 at Vintagestory.API.Client.GuiElementRichtext.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Text\GuiElementRichtext.cs:line 524 at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 449 at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 583 at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 412 at Vintagestory.Client.NoObf.ClientMain.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1874 at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 208 at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods) --- End of stack trace from previous location --- at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded() at OpenTK.Windowing.Desktop.GameWindow.Run() at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 318 at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128 at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

radfast commented 9 months ago

I can't reproduce this. Tongs link works OK for me. Are you playing the game in English? Could be a typo in the guide text translated in a different language.

Anyhow we can make it not crash here, just fail silently. But would be good to know why the tongs is not working for you.

radfast commented 9 months ago

Duplicate of #3496

radfast commented 9 months ago

Although marked as a duplicate, if you can comment on which language you are using that could help track this down :)

VangardV commented 9 months ago

Im using Polish language, I recorded my game how exactly this can be reproduced Link to YouTube - https://youtu.be/UpNzBhp7uec

radfast commented 8 months ago

Please talk to the Polish translators in the Discord channel, #wiki-and-translations. They translated the links in this guide, they should not have.
For example <a href=\"handbooksearch://drewniane szczypce> should be <a href=\"handbooksearch://tongs\"> Note, they also missed off this at the end \" which is important in formatting! Other links in the smelting / Metallurgy 101 guide have the same problem, maybe other guides also, it's worth checking

VangardV commented 8 months ago

Okay i will let them know, about this issue, anyway thanks for help