Mods / Smithing Plus

Category:
Author: jayu
Side: Both
Created: Oct 24th at 1:06 AM
Last modified: 9 hours ago
Downloads: 572
Follow Unfollow 35

Latest file for v1.19.8:
smithingplus_1.1.2.zip 1-click install


Buy Me a Coffee at ko-fi.com

Have you ever messed up when smithing an item? Thought "What if I could just add a few voxels back"? Here's the solution! Add heated metal bits to the anvil directly, or smith with metal bits and native nuggets (copper, gold, silver) using Smithing Plus. More smithing tweaks to come.

Features

  • Can smith with metal bits and native (copper, gold, silver) nuggets
  • Can add bits to ongoing smithing projects (work items)
  • Tools drop broken tool head when broken, which can be repaired on an anvil.
  • Arrows will drop a metal bit when they break

Fully configurable using ConfigLib or the file SmithingPlus.json in VintagestoryData/ModConfig

This mod suggests and pairs well with one of the two following mods:

Roadmap:

  • Make it so forge allows to stack different ingot types 
  • Stacking of multilple ingot and plate types in piles

For faster communication please contact me on the VS Discord

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.1.2 49 9 hours ago Show smithingplus_1.1.2.zip Install now
v1.1.1 307 4 days ago Show smithingplus_1.1.1.zip Install now
v1.1.0 12 4 days ago Show smithingplus_1.1.0.zip Install now
v1.0.1 143 6 days ago Show smithingplus_1.0.1.zip Install now
v1.0.0 61 Oct 24th at 1:10 AM Show smithingplus_1.0.0.zip Install now

15 Comments (oldest first | newest first)

💬 Veraldur, 9 hours ago

jayu

Ohhhhhh! It seems to be fixed! Thank you so much for the help!!!!! amazing moooodddddddd

💬 jayuAuthor, 9 hours ago

Veraldur from what I could see in my testing, all these issues are fixed in the new version I put out

💬 Veraldur, 10 hours ago

jayu

Hi, we’ve been testing, and the same process happens when combining the head and handle. Another player without skills encountered the following log on the server; it doesn’t mention Xskills. On the other hand, we noticed that when we put a stack of 2 or more repaired heads and several sticks below, it creates the repaired tools until it reaches the value of 0. At that point, the repaired pickaxe can’t be extracted from the crafting slot; it stays at 0. (The person who tested it in the log has no blacksmith levels in Xskills).

Log server other player

💬 jayuAuthor, 12 hours ago

Veraldur the issue can be fixed, I had a look at the XSkills code and am about to test if my fix works. If it does, I will upload it. If not, I will try to ask the XSkills author for a fix on their side.

Edit: In fact, I think I fixed it, did you have the metalworking Blacksmith skill? That seemed to be the issue, but now the pickaxe quality can transfer over properly.

Now I need to filter the new unfinished content I added so I can upload the mod.

💬 Veraldur, 13 hours ago

jayu

I think this is the problem; both mods are incompatible. The worst part is that even after uninstalling Xskills and Xlib, the user's access remains corrupted. Even after uninstalling all inventory mods, it only works again when I remove Smithing Plus from the server.
I removed Smithing Plus, I was able to log back in, and now I’m going to permanently delete Skills because I prefer what Smithing does. Cheers, and thanks for everything.

EDIT
I uninstalled the Xlib and Xskills mods in a previous backup, but the error happened again. It occurs exactly when I try to add the stick to a repaired axe head in the crafting menu. When I click on the repaired pickaxe head with the handle in the output slot, the error occurs. After that, it only allows me to connect to the server if I have removed the Smithing Plus mod. If I remove it before combining the pickaxe head and the handle, it works perfectly. I don’t know, it’s kind of strange. I apologize if I'm being bothersome. I think I know how to handle it temporarily by uninstalling and reinstalling every time it happens. Cheers. Here’s the error log without Xskill or Xlib installed.

New server log

💬 jayuAuthor, 21 hours ago

Veraldur yeah it seems like the problem is with XSkills, all the errors are thrown from the XSkills side. The reason you still get an error when you remove it is that it replaces the hotbar inventory somehow.

I will see what I can do on my side, if not will have to ask the XSkills author for a resolution on that side instead.
Btw, you do not have to uninstall the mod, turning off tool repair in the config would also disable the patch that is causing you issues.

💬 Veraldur, 1 day ago

jayu

Hello again, I managed to replicate the user’s error. It happens exactly after repairing tools like copper picks. It occurs when attempting to attach the head to the handle; the head isn’t completely cool yet. From the server log, I infer a possible incompatibility between this mod and xSkills?

The crash is severe; it doesn’t let me reconnect to the server. The server immediately rejects my connection. There’s no way to get back in. The only option is to remove the Smithing Plus mod.

Server Crash  
Client Crash

I’m attaching the logs.

Edit: the server issue whe im try conect:
I tried completely uninstalling xSkills, but the error remains the same. I understand that it doesn’t seem to be an issue with Smithing Plus. What seems odd to me is that I can only log in when Smithing Plus is uninstalled from the server.

Server issue

💬 jayuAuthor, 1 day ago

ZephyrCuga if you can send client-debug.txt and server-debug.txt from VintagestoryData/Logs using a pastebin. What's your mod list? Did this happen after crafting it back? Could be an error when I transfer the attributes due to something else interfering with it.

💬 ZephyrCuga, 1 day ago

Post-repair scythe is haunted. will not exist outside of my inventory. perpetually craftable but its soul will never leave my crafting window. I wish I was joking.

💬 Veraldur, 2 days ago

jayu

Now that you mention it, and after reviewing, the player noted that the crash happened right when they tried to store broken bronze pickaxe and hammer heads. It’s possible it was a synchronization issue, as we’ve had some mod alerts regarding syncing. We’ll continue playing with Smithing Plus, and I’ll personally try to repeat those specific scenarios. I’ll report back if anything else happens. Thanks again for taking the time to investigate this.

💬 jayuAuthor, 2 days ago

Veraldur ok thank you for the additional information, if there was a broken head involved then it must be this mod, although it is weird since the code uses base game features and doesn't touch sounds. I will try to investigate, but I might not be able to reproduce it. Thank you again for the report and please do report if this happens again.

Edit: Rereasdng your comment, it seems you were able to reproduce the issue? Did you place the toolhead in a vessel to do that? Does that work with any toolhead and/or vessel, or just the supposedl corrupted one? I do not get any crash when putting broken heads into an urn, when on a server

The crash itself seems to have to do with rendering the inventory contents, and it doesn't find something that it thinks should be there. Maybe some it's a weird synchronisation issue? Or the player doesn't have the mod installed properly on their client.

💬 Veraldur, 2 days ago

jayu

Firstly, thank you for your response and for this fantastic mod. I’m new to Vintage Story, and I set up a local server to play with friends as we’re still getting the hang of the game mechanics. So, it's likely the issue isn’t related to this mod. However, the player experiencing the bug could only log back into the server after we uninstalled Smithing Plus. After reviewing the client logs, there seems to be an inventory-related error, though it’s probably unrelated to the mod. Nevertheless, it was frustrating for that player to be locked out.

Before the errors appeared in the logs, we had removed several inventory-related mods from the server, such as CarryOn and BetterFirePit. Despite this, the player with the bug could only reconnect after uninstalling Smithing Plus. All other players were having a normal experience. The player with the bug reported that the game crashed right after storing a damaged axe head and a damaged hammer head in a ceramic urn. After removing Smithing Plus, that urn became inaccessible for any player and could only be destroyed.

I’ve attached the logs. Thank you again, and even though we had only run Smithing Plus for a day, I think it's one of the most immersive mods out there. We hope to be able to use it again soon.

Since the server kept running after all of this, there’s nothing unusual in the server log, and no errors mention Smithing Plus. This makes me think the issue wasn’t with the mod itself; it just caused a strong bug for that one player, which we resolved by uninstalling Smithing Plus.

Apologies for my lack of experience with this kind of issue. I’m learning as I go, and I have to emphasize that this mod is amazing—everyone should use it.

LOGS
Client Crash
Client Debug   (The player normally plays on Windows, but I conducted these tests on a Linux system. The same error appeared on both systems.)

💬 Veraldur, 2 days ago
💬 jayuAuthor, 3 days ago

Veraldur well we have a problem because I do not touch neither sounds (OpenAL) nor containers of any kind. The log you show does not display any error that is related to my mod. Without any additional information (crash logs that show a stacktrace) I cannot do anything about this. Even with it, I find it hard to think that the mod is the direct cause, at worst it seems like a weird vanilla bug or mod interaction to me, but I could be wrong I guess.

If you can, please send the full files client-crash.txt, client-debug.txt and server-debug.txt after a crash using a pastebin please.

Also what and how did the player "interact" with, and what was being done when smithing? Again I doubt the mod is the direct cause, but there might be some obscure bug hidden in here.

💬 Veraldur, 3 days ago

Hi!!! First! ty for this great mod.

Issue Summary
: Critical client crash while accessing a container with Smithing Plus mod enabled.

Description:
A player experienced a crash while accessing a container during smithing activities. After the crash, the player was unable to reconnect, and the client displayed multiple OpenAL errors related to InvalidName for the sound game:music/roots.ogg. Attempts to adjust the sound volume (setvolume(val)) resulted in repetitive OpenAL errors indicating "Invalid source ID 1." Other players could still access the container without issues, but the affected player remained unable to reconnect.

Temporary Resolution:
Uninstalling the Smithing Plus mod allowed the affected player to reconnect, but the container itself became inaccessible to all players until it was destroyed.



27.10.2024 23:36:31 [Client Warning] OpenAL Error during setvolume(val) of sound game:music/roots.ogg: InvalidName
...
27.10.2024 23:36:40 [Client Fatal] Exception in async LoadSounds thread:
27.10.2024 23:36:40 [Client Error] Exception: Object reference not set to an instance of an object.
at csogg.Page.serialno()
at Vintagestory.Client.NoObf.OggDecoder.OggToWav(Stream ogg, IAsset asset) in VintagestoryLib\Client\ClientPlatform\ClientNative\OggDecoder.cs:line 528
...


Additional Context:

  • The issue seems linked to the audio system (OpenAL) and object references within the Smithing Plus mod.
  • Other players have reported similar OpenAL errors when certain mods attempt to handle audio assets asynchronously.

Suggested Actions:

  1. Investigate compatibility between Smithing Plus and OpenAL sound handling.
  2. Review error handling in asynchronous sound loading to improve recovery from invalid audio references.
  3. Provide guidance for players experiencing persistent OpenAL errors.



this is a gpt o1 analisis.


my versión:

While performing some smithing actions, a player attempted to access a container, which caused the client to crash. After this crash, the player could no longer reconnect to the server, encountering repeated OpenAL errors with messages like:


OpenAL Error during setvolume(val) of sound game:music/roots.ogg: InvalidName
[ALSOFT] Error generated on context 0x7dbb4008ca20, code 0xa001, "Invalid source ID 1"


Other players were able to interact with the container without any issues, but the affected player remained unable to reconnect. The only solution was to uninstall the Smithing Plus mod in server side, allowing the player to log back in. However, no player could access the container afterward until it was destroyed.

TY! great mod

(edit comment delete)