Mods / XSkills Patch

Draft
Set to published to be listed. A draft mod is still visible to everyone via direct link
Tags: #Other #QoL #Tweak
Author: Elocrypt
Side: Both
Created: Nov 28th 2024 at 5:43 AM
Last modified: Jan 6th at 8:02 PM
Downloads: 5386
Follow Unfollow 32

Latest release (for outdated Vintage Story v1.20.0-rc.8):
XSkillsPatch_v1.0.5.zip  1-click install


This acts as a standalone release, if you use this disable/remove the original.
I patched this to 1.20 so that it could be used on our server running on v1.20.0-pre.13
USE ONLY LATEST RELEASE! DO NOT DOWNLOAD! 

This patch is deprecated and will be removed as soon or upon request by the original author.
Use it at your own risk!

If you're the original author and need to get in contact with me please message me via Discord!


Requires XLibPatch as a dependency!


Credits:
Author - XSkillsXandu



XSkills 
is an implementation for skills and abilities that uses XLib . You gather experience for different skills by doing certain actions. And if you have collected enough experience  you will get a additional ability point that you can use to increase the tier of an ability. For more information please visit the mods forum post here

 

Please post your bug reports on the forum page. It's much more likely that i will read them there.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.5 663 Jan 6th at 8:02 PM Show XSkillsPatch_v1.0.5.zip 1-click install
v1.0.4 2179 Dec 25th 2024 at 2:14 AM Show XSkillsPatch_v1.0.4.zip 1-click install
v1.0.3 1137 Dec 19th 2024 at 11:36 PM Show XSkillsPatch.zip 1-click install
v1.0.2 1163 Dec 3rd 2024 at 11:15 PM Show XSkillsPatch.zip 1-click install
v1.0.1 60 Dec 3rd 2024 at 11:11 PM Show XSkillsPatch.zip 1-click install
v1.0.0 184 Nov 29th 2024 at 1:40 AM Show XSkillsPatch.zip 1-click install

29 Comments (oldest first | newest first)

💬 MochaZilla, Jan 18th at 3:23 PM

Thank you so much for sharing these patches - you were a great stopgap for our sever! We appeciated you very much!

 

See ya around :)

💬 Elocrypt , Jan 6th at 8:04 PM

AzuliBluespots
In the newest release, I added and fixed support for alcohol that wasn't providing unlearn points.

💬 Elocrypt , Jan 6th at 4:58 PM

Vivi_IX
In the modinfo.json of the xskillsplayercorpsecompat mod, change the "xskills" dependency to "xskillspatch".
I looked and the code seems fine for the xskillsplayercorpsecompat mod, just do the above change and it should work.

💬 Vivi_IX, Jan 6th at 4:00 PM

Does the xskills xSkills player corpse compatability mod work for this/could it be edited to work for this. I can change the mod it patches easy enough, I am wondering from a code pov if anything has changed or whether it would be a simple case of adjusting what the patch file looks for. 

💬 Psychomor, Jan 4th at 9:27 AM

Thanks for answer , you have right , i found mod what doing this issue (Combat Overhaul), all working now. Stay save.

💬 Elocrypt , Jan 4th at 5:18 AM

Psychomor
Doesn't seem to be an XSkills/XLib problem, I have tested and was able to cook food in the cooking pot in VS 1.20.0-rc.8. This must be some issue with another mod.

💬 Psychomor, Jan 3rd at 9:20 PM

Helo, after RC8 cant cook any food in pots , someone have this issue after update to RC8 ? Dont have any crash or anything like that but just cant cook any food now.

💬 ItsLegDay, Jan 3rd at 3:21 AM

Small fix i found for the berry bush crash, just delete the berrybush related sections in the mod assets/patches folder, just be sure to leave the other paretheses intact, the bush entries are the second section down between "grass" and "cabbage".
You don't get XP for the berry harvesting but im not too fussed so long as the other skills work. 

💬 Algernon, Dec 29th 2024 at 2:13 AM

We're also having the berrybush harvesting crash

💬 Kyrios34, Dec 28th 2024 at 9:35 AM

not sure the smelter perk works , the mold still requires 100 units regardless of skill level

💬 Marcato, Dec 27th 2024 at 7:09 PM

WickedSchnitzel

I am also having the "Field not found: 'Vintagestory.GameContent.BlockBehaviorHarvestable.harvestedStack'" on rc.6. Just crashed my game a moment ago while harvesting berries.

💬 WickedSchnitzel, Dec 25th 2024 at 4:28 PM

There may be a problem with the health regen perk. players reporting that health items are not giving back the health points they should, but not sure it thats related to this mod.

💬 Elocrypt , Dec 25th 2024 at 3:56 AM

AzuliBluespots
In the assets/xskills/patches/unlearn.json it has what itemtypes give unlearn points and the amount they give. 

game:itemtypes/liquid/alcohol = 2.0 unlearnPoints
game:itemtypes/liquid/cider = 0.1 unlearnPoints
game:itemtypes/liquid/spirit = 1.0 unlearnPoints
expandedfoods:itemtypes/liquid/strongspiritportion = 1.25 unlearnPoints
expandedfoods:itemtypes/liquid/strongwine = 0.25 unlearnPoints
expandedfoods:itemtypes/liquid/potentspiritportion = 1.5 unlearnPoints
expandedfoods:itemtypes/liquid/potentwine = 0.5 unlearnPoints
expandedfoods:itemtypes/liquid/wildpotentspirit = 1.5 unlearnPoints
expandedfoods:itemtypes/liquid/wildpotentwine = 0.5 unlearnPoints
expandedfoods:itemtypes/liquid/wildstrongspirit = 1.25 unlearnPoints
expandedfoods:itemtypes/liquid/wildstrongwine = 0.25 unlearnPoints

💬 Bobosaw, Dec 25th 2024 at 3:42 AM

WickedSchnitzel

I got the same problem. Any known fix?

💬 AzuliBluespots, Dec 25th 2024 at 2:22 AM

Small question, does drinking wine increases your unlearn points? Back in 1.19.8, using the og mod, we weren't getting any points to unlearn stuff.

💬 WickedSchnitzel, Dec 24th 2024 at 5:55 PM

rc.6
24.12.2024 17:53:24 [Error] Exception: Field not found: 'Vintagestory.GameContent.BlockBehaviorHarvestable.harvestedStack'.
at XSkills.XSkillsBerryBushBehavior.OnBlockInteractStop(Single secondsUsed, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel, EnumHandling& handled)
at Vintagestory.API.Common.Block.OnBlockInteractStop(Single secondsUsed, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 1477
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockInteract(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 429
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\Inventory.cs:line 255
at Vintagestory.Server.ServerMain.HandleClientPacket(ConnectedClient client, Byte[] data) in VintagestoryLib\Server\ServerMainNetworking.cs:line 154
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket) in VintagestoryLib\Server\ServerMainNetworking.cs:line 147

💬 TooSmalley, Dec 22nd 2024 at 2:25 AM

Any chance you can patch Xandus Inventory Tweaks mod too? 

💬 Auro, Dec 20th 2024 at 11:55 AM

Thank you!!!

💬 Elocrypt , Dec 19th 2024 at 11:40 PM

Auro
DejFidOFF
Fixed and updated

💬 Sulaboy, Dec 16th 2024 at 2:49 AM

This is working for me. Thank you for patching and sharing this.

💬 MaLiN2223, Dec 10th 2024 at 12:23 AM

I have the same issue. 

Elocrypt

If you make the code public I'm happy to try to help out with the maintenance.

💬 DejFidOFF, Dec 8th 2024 at 10:02 PM

Elocrypt

8.12.2024 22:55:53 [Error] Patch 0 (target: game:entities/humanoid/trader-agriculture.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
  "money": {
    "avg": 30,
    "var": 10
  }
}
8.12.2024 22:55:53 [Error] Patch 1 (target: game:entities/humanoid/trader-artisan.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
  "money": {
    "avg": 30,
    "var": 10
  }
}
8.12.2024 22:55:53 [Error] Patch 2 (target: game:entities/humanoid/trader-buildmaterials.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
  "money": {
    "avg": 30,
    "var": 10
  }
}
8.12.2024 22:55:53 [Error] Patch 3 (target: game:entities/humanoid/trader-survivalgoods.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
  "money": {
    "avg": 30,
    "var": 10
  }
}
8.12.2024 22:55:53 [Error] Patch 4 (target: game:entities/humanoid/trader-treasurehunter.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
  "money": {
    "avg": 30,
    "var": 10
  }
}
💬 Auro, Dec 4th 2024 at 10:19 PM

Seems like it fails to patch something in 1.20 rc

4.12.2024 19:15:20 [Error] Patch 0 (target: game:entities/humanoid/trader-agriculture.json) in xskills:patches/trader.json failed because supplied path /attributes/tradeProps/selling/list is invalid: The json path /attributes/tradeProps/selling/list was not found. Could traverse until /attributes/tradeProps, but then 'selling' does not exist. Full json at this path: {
"money": {
"avg": 30,
"var": 10
}
}

💬 Elocrypt , Dec 3rd 2024 at 11:09 PM

DejFidOFF
Technically this works for all pre, I just didn't properly put in the game dependancy version in the modinfo. I did overlook this originally and have been contemplating on re-releasing it with the proper modinfo.

Because you said something about it, I will go ahead and put out another release here in a second which should work for all 1.20.0-pre versions.

💬 DejFidOFF, Dec 3rd 2024 at 10:57 PM

Elocrypt

Hello is this works just for pre13? I try to put that on pre11 and not working

💬 Auro, Dec 1st 2024 at 11:09 PM

Thank you very much for this, I was afraid I was going to have to drop Xskills when 1.20 releases

💬 rayray, Dec 1st 2024 at 12:24 PM

Thanks

💬 Elocrypt , Dec 1st 2024 at 7:36 AM

rayray
This is a standalone mod, replacing any older versions. This has a different modid, as I cannot use the original authors modid, so you need to disable/remove any other versions of this mod.
This does have a dependency which is the XLibPatch I released, that is required to use XSkillsPatch.
I apologize for any misunderstandings.

💬 rayray, Dec 1st 2024 at 2:29 AM

say requires an unknown file same for xlib says same error ,  do i need the old version of both xskill and xlib in combo with the patch ?

 (edit comment delete)