Sorry it took so long (transpilers are a nightmare) but the mod should be fully working now. Since the config was moved to in-game menu, Nautilus is now required.
Same here, Mod version 1.31 successfully loaded. I can see it in the plugin mod settings tab (F5).
The additional damage seems to work against creatures but the driller settings for each ore are not working. No matter if i put 0 / 20 / 50 or 200 to any specific ore - no changes when drilling. I removed and reinstalled the arm - tried the other hand. I saved the game and reloaded - no changes - will try version 1.300 now. Thank you X2return
Edit: 1.30 works for me
Logfile Error 1.310: ... [Info : BepInEx] Loading [DrillDamage 1.3.1.0] [Info :DrillDamage] DrillDamage - Started patching v1.3.1 [Error : Unity Log] InvalidProgramException: Invalid IL code in (wrapper dynamic-method) Drillable:DMD<Drillable::OnDrill> (Drillable,UnityEngine.Vector3,Exosuit,UnityEngine.GameObject&): IL_008a: sub
To change the number of pieces extracted with the drill the best mod to configure that is Configurable Drill Count: https://www.nexusmods.com/subnautica/mods/223
thanks for the mod. Unfortunately i can't get the mod to work. Other Bepinex mods are working. I have the bepinex subnautica pack and bepinex tweaks. I can see the mod in mod manager, and can set the drill damage value using the F5 menu. But it doesn't do anything to speed up mining resources using the prawn drill arm. I've also tried changing the drill damage amount in the config file, but that didn't work either. Any suggestions?
Does not do anything for me. Settings can be configured but no changes are made in game. I suspect it may be caused by the Custom Arms Framework. I will try removing that mod as a test. Removed Modded Arm Framework and all custom arms and still facing the same issue.
Edit 2: Mod Version 1.2.0 works perfectly with no further changes to my mod setup. It seems like this issue was introduced in the Seamoth Arm update.
Here is the error from my logfile: [Info:BepInEx] Loading [DrillDamage 1.3.1.0] [Info:DrillDamage] DrillDamage - Started patching v1.3.1 [Error : Unity Log] InvalidProgramException: Invalid IL code in (wrapper dynamic-method) Drillable:DMD
35 comments
Alternativley, do it on Subnautica's modding Discord:
https://discord.gg/gs7csThx
Mod version 1.31 successfully loaded. I can see it in the plugin mod settings tab (F5).
The additional damage seems to work against creatures but the driller settings for each ore are not working.
No matter if i put 0 / 20 / 50 or 200 to any specific ore - no changes when drilling.
I removed and reinstalled the arm - tried the other hand. I saved the game and reloaded - no changes - will try version 1.300 now.
Thank you
X2return
Edit: 1.30 works for me
Logfile Error 1.310:
...
[Info : BepInEx] Loading [DrillDamage 1.3.1.0]
[Info :DrillDamage] DrillDamage - Started patching v1.3.1
[Error : Unity Log] InvalidProgramException: Invalid IL code in (wrapper dynamic-method) Drillable:DMD<Drillable::OnDrill> (Drillable,UnityEngine.Vector3,Exosuit,UnityEngine.GameObject&): IL_008a: sub
...
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
DrillDamage.Plugin.Awake () (at <47f2692a6e05474bb600aff6890eb66b>:0)
...
[Message: File Tree] | | |-- russleeiv.subnautica.drilldamage.cfg [4,63 KB]
...
[Message: File Tree] | | |-- DrillDamage
[Message: File Tree] | | | |
[Message: File Tree] | | | \-- DrillDamage.dll [15,87 KB]
...
[Info : Console] [ModdedArmsHelper/LOG] SeamothDrillArmFragment: Internal Patch completed.
[Info : Console] [ModdedArmsHelper/LOG] SeamothDrillArmFragment: Async Patch completed.
[Info : Console] [ModdedArmsHelper/LOG] TechType [SeamothDrillArmModule] applied for registration.
[Info : Console] [ModdedArmsHelper/LOG] SeamothDrillArmModule: Internal Patch completed.
[Info : Console] [ModdedArmsHelper/LOG] SeamothDrillArmModule: Async Patch completed.
...
[Info : Console] [ModdedArmsHelper/LOG] Processing data for new [SeamothArm], TechType: SeamothDrillArmModule, Request: SeamothArms.ArmHandlerRequesters.SeamothDrillArmModdingRequest
[Info : Console] [ModdedArmsHelper/LOG] Processing complete for new [SeamothArm], TechType ID: [11334], TechType: [SeamothDrillArmModule]
...
Mainly just thanks for the add on. Makes my deep sea trips much more fun and way less tedious.
https://www.nexusmods.com/subnautica/mods/223
Other Bepinex mods are working. I have the bepinex subnautica pack and bepinex tweaks. I can see the mod in mod manager, and can set the drill damage value using the F5 menu. But it doesn't do anything to speed up mining resources using the prawn drill arm. I've also tried changing the drill damage amount in the config file, but that didn't work either.
Any suggestions?
my username on discord is rangor_g
I suspect it may be caused by the Custom Arms Framework. I will try removing that mod as a test.Removed Modded Arm Framework and all custom arms and still facing the same issue.Edit 2: Mod Version 1.2.0 works perfectly with no further changes to my mod setup. It seems like this issue was introduced in the Seamoth Arm update.
Here is the error from my logfile:
[Info:BepInEx] Loading [DrillDamage 1.3.1.0]
[Info:DrillDamage] DrillDamage - Started patching v1.3.1
[Error : Unity Log] InvalidProgramException: Invalid IL code in (wrapper dynamic-method) Drillable:DMD
(Drillable,UnityEngine.Vector3,Exosuit,UnityEngine.GameObject&): IL_008a: sub
Stack trace:
System.RuntimeMethodHandle.GetFunctionPointer () (at :0)
MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetFunctionPointer (System.Reflection.MethodBase method, System.RuntimeMethodHandle handle) (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetNativeStart (System.Reflection.MethodBase method) (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.DetourHelper.GetNativeStart (System.Reflection.MethodBase method) (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.Detour._TopApply () (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.Detour._RefreshChain (System.Reflection.MethodBase method) (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.Detour.Apply () (at <4e2760c7517c4ea79c633d67e84b319f>:0)
MonoMod.RuntimeDetour.Detour..ctor (System.Reflection.MethodBase from, System.Reflection.MethodBase to, MonoMod.RuntimeDetour.DetourConfig& config) (at <4e2760c7517c4ea79c633d67e84b319f>:0)
(wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD(MonoMod.RuntimeDetour.ILHook/Context)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline?-958337024(object)
HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object self) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
MonoMod.RuntimeDetour.ILHook.Apply () (at <4e2760c7517c4ea79c633d67e84b319f>:0)
HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: IL Compile Error (unknown location)
HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodBase replacement) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: IL Compile Error (unknown location)
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
DrillDamage.Plugin.Awake () (at <47f2692a6e05474bb600aff6890eb66b>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.Application:.cctor()
UWE.GameApplication:AppAwake()
Now with 1.3.1, there is an error loading the drilldamage mod with BepInEx. Mod no longer works again... Reverting back to 1.3.0
Translate with DeepL
After starting the game and setting it up, I returned to the main menu, loaded the saved data again and restarted the game and it worked correctly.
In addition, additional damage 150 is not enough, we want 9999 back.
At max mining setting, it was near instant mining in the prawn.
It is working properly now.