Mods / Drop Resin Anyway [OBSOLETE]

Category: #QoL #Tweak #Utility
Author: DanaCraluminum
Side: Server
Created: Feb 22nd 2023 at 11:38 AM
Last modified: Aug 10th 2023 at 9:12 PM
Downloads: 5275
Follow Unfollow 106

Latest file for v1.19.3:
DropResinAnyway-v1.0.2.zip 1-click install


[Discord]

I'm living in Ukraine and there is war happening right now. Most of my free time I spend on modding when I get a few hours between electricity blackouts.
If you love my work, you can support me on Patreon, I would greatly appreciate it ❤️. Donations keep me doing what I truly love - modding


Mod is no longer maintained, further updates will only be available in Dana Tweaks.
 
Always drop resin when breaking trees with not harvested leaking resin

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.2 3564 Aug 10th 2023 at 9:12 PM Show DropResinAnyway-v1.0.2.zip Install now
v1.0.1 1474 Feb 23rd 2023 at 3:03 PM Show DropResinAnyway-v1.0.1.cs Install now
v1.0.0 237 Feb 22nd 2023 at 11:38 AM Show DropResinAnyway-v1.0.0.cs Install now

21 Comments (oldest first | newest first)

💬 Koal, Oct 11th 2023 at 12:52 AM

thank you!

💬 DanaCraluminumAuthor, Aug 10th 2023 at 9:13 PM

Mohandar Koal Fixed

💬 Koal, Jul 29th 2023 at 7:05 PM

DanaCraluminum Ah, I was not aware that servers had issues with uncompiled mods. Thank you for the info.

💬 DanaCraluminumAuthor, Jul 29th 2023 at 4:44 PM

Koal It is because I haven't compiled the mod

💬 Koal, Jul 29th 2023 at 2:36 PM

This mod is great client side! I am running into an issue when I run it on my server, however. It appears that it attempts to run before "VSSurvivalMod", and refuses to load the mod further. I attempted to fix by adding the "public override double ExecuteOrder() => 1;" so that it would load last, but I just get compilation errors. I figured it should go after line 25, but it's been around 15 years since i've used C# and i'm not too familiar with the VS API. Anyway, I'd be grateful if you could let me know where i'm going wrong. Thank you for making this in the first place!

For your debugging purposes if you'd like, here is the error I receive:

[Error] [dropresinanyway] An exception was thrown when trying to start the mod:
System.IO.FileNotFoundException: Could not load file or assembly 'VSSurvivalMod, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'VSSurvivalMod, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at DropResinAnyway.DropResinAnyway.DropResinAnywaySystem.AssetsFinalize(ICoreAPI api)
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in C:\Users\Tyron\Documents\vintagestory\game-net4\VintagestoryLib\Common\API\ModLoader.cs:line 627

[Error] Failed to run mod phase AssetsFinalize for mod DropResinAnyway.DropResinAnyway+DropResinAnywaySystem

 

This is all being run on the latest update

💬 Mohandar, Jul 18th 2023 at 12:31 PM

Ah ok, because my answer would have been "no, I'm not on net7, just on regular 1.18.6 stable" when the error was thrown in console

💬 DanaCraluminumAuthor, Jul 17th 2023 at 9:21 AM

Mohandar I will update to net7 only in 1.19+

💬 Mohandar, Jul 17th 2023 at 12:05 AM

Ah... you're not the first one to ask me this, I guess that NET7 is the new version standard for mods, isn't it nowadays?

💬 DanaCraluminumAuthor, Jul 7th 2023 at 12:14 PM

Mohandar Are you on NET7 version?

💬 Mohandar, Jul 7th 2023 at 11:03 AM

On 1.18.6 stable, in console I see this;



7.7.2023 12:58:06 [Server Error] [dropresinanyway] An exception was thrown when trying to start the mod:
System.IO.FileNotFoundException: Non è stato possibile caricare il file o l'assembly 'VSSurvivalMod, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' o una delle relative dipendenze. Impossibile trovare il file specificato.
Nome file: 'VSSurvivalMod, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
in DropResinAnyway.DropResinAnyway.DropResinAnywaySystem.AssetsFinalize(ICoreAPI api)
in Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModLoader.cs:riga 627

AVV: la registrazione dell'associazione di assembly è disattivata.
Per abilitare la registrazione degli errori di associazione di assembly, impostare il valore del Registro di sistema [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) su 1.
Nota: alcune penalità di prestazione sono associate alla registrazione degli errori di associazione di assembly.
Per disattivare la funzionalità, rimuovere il valore del Registro di sistema [HKLM\Software\Microsoft\Fusion!EnableLog].

7.7.2023 12:58:06 [Server Error] Failed to run mod phase AssetsFinalize for mod DropResinAnyway.DropResinAnyway+DropResinAnywaySystem


💬 DanaCraluminumAuthor, Apr 7th 2023 at 1:33 PM

OpPointBaker I just released mod that drops vines

💬 DanaCraluminumAuthor, Apr 7th 2023 at 11:02 AM

Okay I may try again

💬 DanaCraluminumAuthor, Apr 7th 2023 at 11:01 AM

OpPointBaker I tried, but it didn't work so I abandoned Drop Vines Anyway idea

💬 OpPointBaker, Apr 7th 2023 at 10:55 AM

Any chance you'd be willing to make a variant of this for vines?

💬 AzuliBluespots, Feb 28th 2023 at 10:45 AM

This needs to be vanilla, geez

💬 HoosierDaddy, Feb 23rd 2023 at 4:30 PM

Come to find out, I'm missing about a third of all resin. Thought I was a little better at spotting it than that.

Very useful in terms of instant feedback on when my eyes failed me. Almost like having a "trainer".

Thanks!

💬 DanaCraluminumAuthor, Feb 23rd 2023 at 8:07 AM

JACO1989 What full list of mods are you using? What crash do you get? Paste crash here and send a link

💬 JACO1989, Feb 23rd 2023 at 4:41 AM

for me, this mod doesn't work, it must collide with another mod, because when I installed it, I had a crash 2x, and when I removed it, the game worked. google translation.😅

💬 DanaCraluminumAuthor, Feb 22nd 2023 at 4:31 PM

Gizmagus You are welcome😊

💬 HoosierDaddy, Feb 22nd 2023 at 4:24 PM

This is just cruel.

"Ha, ha. You missed it!. This is all the resin you are going to get from this puppy! "   ;)

I'm going to use it anyway, to try to up my game in resin finding.

Thanks!

💬 Gizmagus, Feb 22nd 2023 at 4:16 PM

THANK YOU soooo very much this is exactly what i needed :)

(edit comment delete)