Jump to content

XLib and XSkills


Xandu

Recommended Posts

3 hours ago, Kai Effelsberg said:

Have to report a crash that happens when trying to form clay and harvest mushrooms. Maybe with other actions as well?


 

  Reveal hidden contents

 

Running on 64 bit Windows with 16 GB RAM
Version: v1.14.0-rc.8 (Unstable)12/3/2020 6:35:03 PM: Critical error occurred
System.MissingMethodException: Method not found: 'Void Vintagestory.API.Common.IWorldAccessor.SpawnItemEntity(Vintagestory.API.Common.ItemStack, Vintagestory.API.MathTools.Vec3d, Vintagestory.API.MathTools.Vec3d)'.
   at XSkills.BlockEntityClayFormPatch.Postfix(BlockEntityClayForm __instance, ClayFormCheckIfFinishedState __state, IPlayer byPlayer, ItemStack ___workItemStack)
   at Vintagestory.GameContent.BlockEntityClayForm.CheckIfFinished_Patch2(BlockEntityClayForm this, IPlayer byPlayer)
   at XSkills.BlockEntityClayFormPatch.Prefix(BlockEntityClayForm __instance, IPlayer byPlayer, Vec3i voxelPos, BlockFacing facing, Boolean mouseBreakMode, ClayFormRenderer ___workitemRenderer, ItemStack& ___workItemStack, Cuboidf[]& ___selectionBoxes)
   at Vintagestory.GameContent.BlockEntityClayForm.OnUseOver_Patch1(BlockEntityClayForm this, IPlayer byPlayer, Vec3i voxelPos, BlockFacing facing, Boolean mouseBreakMode)
   at Vintagestory.GameContent.ItemClay.OnHeldAttackStop(Single secondsPassed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel)
   at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleHandInteraction(Single dt)
   at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world)
   at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt)
   at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime)
   at _iE8w1nWXWoexop2PomTqIorDdeh._nla3rTinhsYYAeN5vB5ZpLjGvWD(Single )
   at _0wwvd4G0QKRz5FGzHYNKAGy1Plh._5BSMOXq0dPuTIbIiOq1h2Za6HXc(Single )
   at _0wwvd4G0QKRz5FGzHYNKAGy1Plh._XIemDCC9qP2V8jHzQEFatD2hXFb(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at _KytgzCShxx4DByBBOOJQhG6NP0M._dFeABDJFRNPJZo5BulTiD0DEVSN(_BVCrdgabutbgoyw3PekGVC8ZSir , String[] )
   at _pRnbwwygekodMKKWfTv8JpxlnC1._dFeABDJFRNPJZo5BulTiD0DEVSN(ThreadStart )
-------------------------------

Event Log, last 3 entries
==================================
{ TimeGenerated = 11/30/2020 10:34:05 PM, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0020001, exception address 00007FFA970F3B29
Stack:
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at System.Environment._Exit(Int32)
   at System.Environment._Exit(Int32)
   at System.Environment.Exit(Int32)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at OpenTK.NativeWindow.OnClosedInternal(System.Object, System.EventArgs)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at OpenTK.Platform.Windows.WinGLNative.HandleDestroy(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr)
   at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.DestroyWindow()
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags)
   at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags)
   at OpenTK.Platform.Windows.WinGLNative.ProcessEvents()
   at OpenTK.GameWindow.Run(Double, Double)
   at _DzkSwfZz37AjUm00qhARtnwI73g._yunzmXLCuvTdwfdcFUsKJcJPiYA(_G1AUKHwb6F5PJrCptFbr8q2WXFO, System.String[])
   at _6a8KuVcvYASivDyJOxvyyBso5rh._yunzmXLCuvTdwfdcFUsKJcJPiYA(System.Threading.ThreadStart)
   at _DzkSwfZz37AjUm00qhARtnwI73g._Ufxdd7RsA3xwEaedGWOrS2kzesx(System.String[])
 }
{ TimeGenerated = 11/30/2020 6:28:29 PM, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0020001, exception address 00007FFA970F3B29
Stack:
   at System.Environment._Exit(Int32)
   at System.Environment._Exit(Int32)
   at System.Environment.Exit(Int32)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at OpenTK.NativeWindow.OnClosedInternal(System.Object, System.EventArgs)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at OpenTK.Platform.Windows.WinGLNative.HandleDestroy(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr)
   at OpenTK.Platform.Windows.Functions.DestroyWindow(IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.DestroyWindow()
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DefWindowProc(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags)
   at OpenTK.Platform.Windows.Functions.PeekMessage(OpenTK.Platform.Windows.MSG ByRef, IntPtr, Int32, Int32, OpenTK.Platform.Windows.PeekMessageFlags)
   at OpenTK.Platform.Windows.WinGLNative.ProcessEvents()
   at OpenTK.GameWindow.Run(Double, Double)
   at _yrd7DRHjYt2aJYRh5SVKTWbLoPF._Sp8vmWBaO75ppWCciv7GQiQG5pO(_vP7Jnrc614sHmVvfHnkDt3mmV1L, System.String[])
   at _NZnJc0jadrs2ul5ZN7k8egsplnC._Sp8vmWBaO75ppWCciv7GQiQG5pO(System.Threading.ThreadStart)
   at _yrd7DRHjYt2aJYRh5SVKTWbLoPF._8Bz8mbPWgcGTWYC1HlYUnI8oMzf(System.String[])
 }

 

 

 

2 hours ago, Digitalr said:

Smithing on anvil also crashed game.

 

2 hours ago, Brian Miner said:

100% crash when looting bushes with XLib and XSkills enabled on 1.14.0-rc8 on a multiplayer server.

Did not crash in single player. 

 

Hi. I think these issues are related to a incompatibility of the rc8 version with the current mod version. So i uploaded a version that is compatible with the rc8 version and hope this will fix these issues. I also added a few things that i have last worked on and i think that are ready to deploy.

Patch notes:

-fixed mead icons

-API:
    -added FValue and SkillDependentFValue methods to playerAbilities
    
-Abilities:
    -added Happy Meal ability to cooking
    -added Strong Back ability to survival
    -added Bloodlust ability to combat

 

Link to comment
Share on other sites

Looks like Happy Meal ability working by default and doesnt requires to learn actual ability. Filled two slots with rice and it cooked into rice porridge with pumpkin while character had zero points in any cooking skill (1 lvl cooking).

 

Also blocks of any bulk materials (sand, gravel) do not drop out when broken.

Edited by dedok13x
Link to comment
Share on other sites

Crash when placing pot with certain cooked meals on ground (3 turnips, 3 turnips, 3 rice, 3 rice - in my case). Game version 1.14.0-rc9, mod version 0.4.0-pre2

Same for bowls with that meal.

Spoiler

Running on 64 bit Windows with 32 GB RAM 
Version: v1.14.0-rc.9 (Unstable)05.12.2020 13:03:22: Critical error occurred
System.ArgumentOutOfRangeException: Заданный аргумент находится вне диапазона допустимых значений.
Имя параметра: slotId
   в Vintagestory.API.Common.InventoryGeneric.get_Item(Int32 slotId)
   в Vintagestory.GameContent.BlockEntityCookedContainer.OnBlockPlaced(ItemStack byItemStack)
   в Vintagestory.Client.NoObf.ClientWorldMap.SpawnBlockEntity(String classname, BlockPos position, ItemStack byItemStack)
   в Vintagestory.API.Common.Block.OnBlockPlaced(IWorldAccessor world, BlockPos blockPos, ItemStack byItemStack)
   в Vintagestory.Common.BlockAccessorRelaxed.SetBlock(Int32 blockId, BlockPos pos, ItemStack byItemstack)
   в Vintagestory.API.Common.Block.DoPlaceBlock(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel, ItemStack byItemStack)
   в Vintagestory.API.Common.Block.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, String& failureCode)
   в Vintagestory.Client.NoObf.ClientMain.OnPlayerTryPlace(BlockSelection blockSelection, String& failureCode)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnBlockBuild(BlockSelection blockSelection, Block onBlock, String& failureCode)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
   в Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
   в _F749IgiwglLg9mltkITOYnSH50B._sknAEUSi6SeUamGWc8w12EXPprW(Single )
   в _VffdPQx3MMk1ebUn77II0uEsSBo._8qBend3iPLMg9GSnAu1lTuVIi0X(Single )
   в _VffdPQx3MMk1ebUn77II0uEsSBo._txUDgt8xkheeUB8fARLsPIVDusv(Single )
   в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   в OpenTK.GameWindow.DispatchRenderFrame()
   в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   в _nov5s5iSlHT3LFTmUhKVl7RFBBe._X46uBghizD2eGCKpp2YnYLs6JmO(_d0ZEEzTKoX9mQjrom22gpjPBNYA , String[] )
   в _1HdRULTCcbROJuKYhIadsI5b7dh._X46uBghizD2eGCKpp2YnYLs6JmO(ThreadStart )
-------------------------------
 

 

Edited by dedok13x
Link to comment
Share on other sites

Uploaded the 0.4.0-Pre3 Version.

 

-added russian translation by Digitalr

-fixed: Happy Meal ability should now trigger as intended

-fixed: Sand and Gravel should now drop properly

-fixed: placing pots or bowls with meals with 5 ingredients should no longer crash the game

  • Thanks 1
Link to comment
Share on other sites

game v1.4.0 -rc9, mod v0.4.0-pre3: missing values in ability description (only this one ability)

Question also: do you plan to "unhardcode"  character class<=>ability restrictions? Asking because i play with custom classes.

 

VzWLRXDq.jpg

Edited by dedok13x
Link to comment
Share on other sites

5 hours ago, Digitalr said:

Playing with mod little more, found small problem in translation. This version is more accurate. Also, IMHO, "exclusively with" skills option is more "red/negative" then "green/positive". May be it need some recoloring?

ru.json 2.1 kB · 3 downloads

The idea of the colors is that they show if a requirement is fulfilled or if it is not fulfilled and blocks you from learning the ability. So if it is green it just means that you haven't learned the other ability what would prevent you from learning the ability.

Thank you for your translations. I really appreciate that.

 

4 hours ago, dedok13x said:

game v1.4.0 -rc9, mod v0.4.0-pre3: missing values in ability description (only this one ability)

Question also: do you plan to "unhardcode"  character class<=>ability restrictions? Asking because i play with custom classes.

 

VzWLRXDq.jpg

I wanted to add a way to modify requirements with json files. But i can not say when it will be ready.

Link to comment
Share on other sites

 

Right click on pot with meal causes crash. Pot must be placed on ground out of fireplace. Game v1.4.0, mod v0.4.0-pre3

Spoiler

Running on 64 bit Windows with 32 GB RAM 
Version: v1.14.0 (Stable)07.12.2020 0:16:49: Critical error occurred
System.MissingFieldException: Поле не найдено: "Vintagestory.GameContent.BlockEntityCookedContainer.RecipeCode".
   в XSkills.BlockCookedContainerPatch.Prefix(Boolean& __result, BlockCookedContainer __instance, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
   в Vintagestory.GameContent.BlockCookedContainer.OnBlockInteractStart_Patch1(BlockCookedContainer this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
   в Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
   в _6HHEy0R7TdcydZEq9IGp6JeHxdi._AlWFhh8JhMArtkbaP7hQAQ2sQCE(Single )
   в _gVBHOlByVD3vztgY4vPBxj2Bdae._ZKkvVIgccAdBc9j9BIZLqcgTrNL(Single )
   в _gVBHOlByVD3vztgY4vPBxj2Bdae._UQuOSpN5p2QIPbIExoPtD2ecXtb(Single )
   в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   в OpenTK.GameWindow.DispatchRenderFrame()
   в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   в _93RBbYKdbejiH9hVmbTS8c6kZxJ._hbMghNVJIKTGI5zBx3SuxRG1XDI(_Lsm9ms4vr0dfuNPxkLwK9w8a58N , String[] )
   в _eVFDVqwXngafMmcD9boVPO86iWx._hbMghNVJIKTGI5zBx3SuxRG1XDI(ThreadStart )
-------------------------------
 

 

Edited by dedok13x
Link to comment
Share on other sites

Hi, uploaded another Update.

This Version should now be compatible with the game 1.4.0 version.

 

    -added salvager ability to metalworking(allows you to harvest locust with hammers for metal)
    -reworked the requirement system(again)
    -it is now possible to define requirements with json files and patch them
    -until now i have not migrate all requirements to this new system
    
    -fixed: bloodlust tooltip
    -fixed: iron blooms thinking their maximal temperatur is 0

1 hour ago, dedok13x said:

 

Right click on pot with meal causes crash. Pot must be placed on ground out of fireplace. Game v1.4.0, mod v0.4.0-pre3

  Reveal hidden contents

Running on 64 bit Windows with 32 GB RAM 
Version: v1.14.0 (Stable)07.12.2020 0:16:49: Critical error occurred
System.MissingFieldException: Поле не найдено: "Vintagestory.GameContent.BlockEntityCookedContainer.RecipeCode".
   в XSkills.BlockCookedContainerPatch.Prefix(Boolean& __result, BlockCookedContainer __instance, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
   в Vintagestory.GameContent.BlockCookedContainer.OnBlockInteractStart_Patch1(BlockCookedContainer this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt)
   в Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt)
   в Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt)
   в Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt)
   в _6HHEy0R7TdcydZEq9IGp6JeHxdi._AlWFhh8JhMArtkbaP7hQAQ2sQCE(Single )
   в _gVBHOlByVD3vztgY4vPBxj2Bdae._ZKkvVIgccAdBc9j9BIZLqcgTrNL(Single )
   в _gVBHOlByVD3vztgY4vPBxj2Bdae._UQuOSpN5p2QIPbIExoPtD2ecXtb(Single )
   в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   в OpenTK.GameWindow.DispatchRenderFrame()
   в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   в _93RBbYKdbejiH9hVmbTS8c6kZxJ._hbMghNVJIKTGI5zBx3SuxRG1XDI(_Lsm9ms4vr0dfuNPxkLwK9w8a58N , String[] )
   в _eVFDVqwXngafMmcD9boVPO86iWx._hbMghNVJIKTGI5zBx3SuxRG1XDI(ThreadStart )
-------------------------------
 

 

This seems to be related to version problems that should be fixed.

Edited by Xandu
  • Thanks 1
Link to comment
Share on other sites

@Xandu

FyI
 

Quote

23:09:15 [Server Notification] [XLeveling] Initialize XLeveling!

23:09:15 [Server Error] [XLeveling] Error while loading ability configuration for: vampire: bad number of values. Uses default values.

Used your latest mod version with the 1.14.0 stable candidate.

Link to comment
Share on other sites

38 minutes ago, Rhonen said:

@Xandu

FyI
 

Used your latest mod version with the 1.14.0 stable candidate.

I added a new value to this ability. When the mod now loads old configuration files it shows this error. But it is more something like a warning. It just means that there is a wrong number of values in the configuration files. It will fix this by itself.

Link to comment
Share on other sites

9 hours ago, Xandu said:

I added a new value to this ability. When the mod now loads old configuration files it shows this error. But it is more something like a warning. It just means that there is a wrong number of values in the configuration files. It will fix this by itself.

Good to know, thanks 4nfo :)

Link to comment
Share on other sites

Hi,

First off thanks a lot for this mod, my friends and I are in love with it!

My friend hosts a dedicated server on their PC that we play on, and we recently updated to 1.14 stable, and everything was working great!

But then I saw the new survival skill that adds the second hotbar you can toggle with R, and I took my skillpoints in that and it was working fine :D (though I didn't put any items in it yet since i was traveling light at the time).

Everything was fine, but then when I logged out of the server and tried to rejoin, my game is crashing every single time now.

My friend who hosts the server is able to log in just fine, and hasn't had any issues. They also haven't put any skill ranks in the survival skill for extra hotkey slots. The crash log also seems to mention Inventory. We're trying to figure out if there's a way for the server host to edit the save and remove the skillpoints from me to see if that fixes it.

This may NOT be related to the mod, but the crash seems to only affect me, who took the skill ranks in inventory, and gives me an inventory related crash log. 😧

If this is related to the mod, and you need any information, or anyone has any advice on how to fix it, I'd love to hear ❤️

 

Quote

-------------------------------
Version: v1.14.0 (Stable)12/7/2020 6:20:54 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.Common.InventoryNetworkUtil.UpdateSlotStack(ItemSlot slot, ItemStack newStack)
   at Vintagestory.Common.InventoryNetworkUtil.UpdateFromPacket(IWorldAccessor resolver, _XyWhbFmVogqmAFvCWX6rzx8umff packet)
   at Vintagestory.Client.NoObf.ClientPlayer.UpdateFromPacket(ClientMain game, _vHMiCvKkPhE8KEMbeqSl6kA8azC packet)
   at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(_wo1mJZHP7KREeVebb84LvmUsyeP packet)
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   at _hcHRUv5m09Wv2aQ2zaCLQjIKHaG._AlWFhh8JhMArtkbaP7hQAQ2sQCE(Single )
   at _gVBHOlByVD3vztgY4vPBxj2Bdae._ZKkvVIgccAdBc9j9BIZLqcgTrNL(Single )
   at _gVBHOlByVD3vztgY4vPBxj2Bdae._UQuOSpN5p2QIPbIExoPtD2ecXtb(Single )
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchRenderFrame()
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at _93RBbYKdbejiH9hVmbTS8c6kZxJ._hbMghNVJIKTGI5zBx3SuxRG1XDI(_Lsm9ms4vr0dfuNPxkLwK9w8a58N , String[] )
   at _eVFDVqwXngafMmcD9boVPO86iWx._hbMghNVJIKTGI5zBx3SuxRG1XDI(ThreadStart )
-------------------------------

 

Link to comment
Share on other sites

Indeed, I was looking around and just found that it was these two mods that would cause the crashes as there are few that use Inventory that I've loaded.
I was looking around to see if there's a way to disable the skill from the mod itself, though I'm... not sure if its a json and removing it from the ModConfig seems to not do anything and just regenerates itself.
While I couldn't find it, anyone know how to remove/clear any or all points to reset?
Edit: Just deleted the part of the save file and put the skillpoints back in from 0.

Edited by Jerry Cihangir
Link to comment
Share on other sites

3 hours ago, Reina said:

Hi,

First off thanks a lot for this mod, my friends and I are in love with it!

My friend hosts a dedicated server on their PC that we play on, and we recently updated to 1.14 stable, and everything was working great!

But then I saw the new survival skill that adds the second hotbar you can toggle with R, and I took my skillpoints in that and it was working fine :D (though I didn't put any items in it yet since i was traveling light at the time).

Everything was fine, but then when I logged out of the server and tried to rejoin, my game is crashing every single time now.

My friend who hosts the server is able to log in just fine, and hasn't had any issues. They also haven't put any skill ranks in the survival skill for extra hotkey slots. The crash log also seems to mention Inventory. We're trying to figure out if there's a way for the server host to edit the save and remove the skillpoints from me to see if that fixes it.

This may NOT be related to the mod, but the crash seems to only affect me, who took the skill ranks in inventory, and gives me an inventory related crash log. 😧

If this is related to the mod, and you need any information, or anyone has any advice on how to fix it, I'd love to hear ❤️

 

 

Hi, thank you for your report. When i tested it on my singleplayer world every thing worked just fine. So it seems to be a multiplayer issue. I will look into this. You can try to disable the ability by setting the enabled value in the configs from true to false. Or as @Jerry Cihangir mentioned you can just edit the save file and set the tier to 0 or delete the section completely.I hope this will fix the issue until i have found a solution.

Link to comment
Share on other sites

Also had the same issue with the second hotbar causing a crash but I am playing in single player world  1.14  I tried doing what doing what Xandu suggested by modifying the save file by changing the tier to 0 did not work but just outright deleting the section completely worked for me. I guess Ill just stay away from the "Strongback"  skill for now.

Edited by Fluffems
Link to comment
Share on other sites

Hi Xandu, we tried disabling the ability, and also deleting the ability from my character, but it didn't seem to fix the issue for me.

I'm glad it fixed for @Fluffemsthough so that's positive 😆

I'm not the server host though so I'm not sure if the server host may be making a mistake or something, I can't really verify or not.

Going to try disabling the mod outright for a moment.

Link to comment
Share on other sites

3 minutes ago, Reina said:

Hi Xandu, we tried disabling the ability, and also deleting the ability from my character, but it didn't seem to fix the issue for me.

I'm glad it fixed for @Fluffemsthough so that's positive 😆

I'm not the server host though so I'm not sure if the server host may be making a mistake or something, I can't really verify or not.

Going to try disabling the mod outright for a moment.

Update:

We disabled Xskills on the server and I'm able to log in again. 😆

So it seems like it was definitely the strongback skill causing the issue. The ability works fine when you first take it and start using it. It just was causing crashes when i tried to log back IN to the game the next day after logging out for the evening after getting it.

Link to comment
Share on other sites

13 minutes ago, Reina said:

Update:

We disabled Xskills on the server and I'm able to log in again. 😆

So it seems like it was definitely the strongback skill causing the issue. The ability works fine when you first take it and start using it. It just was causing crashes when i tried to log back IN to the game the next day after logging out for the evening after getting it.

Hi. Thank you for your update. I found the issue. It is a problem when the server sends the inventory to the client and the inventory has a flexible size.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.