pipakin/PipakinsMods

Incompatible with SeedTotem mod

Closed this issue · 0 comments

I have both GatheringSkill@2.0.3 and SeedTotem@1.0.4 located at Valheim-SeedTotem installed and enabled, along with some other mods I suspect aren't related to this issue; I use V+ but have the gathering related stuff turned off.

Log output from bepinex console:

[Info   : Unity Log] Raising skill because of picking: Pickable_Carrot(Clone)
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Pipakin.GatheringMod.GatheringSkillMod.IncreaseSkill (Character character, System.String pickableName) (at <5a57e3682e8a43f0b6e722372b1e4297>:0)
Pipakin.GatheringMod.GatheringSkillMod+GardeningSkillIncrease.Prefix (Humanoid character, System.Boolean ___m_picked, Pickable __instance) (at <5a57e3682e8a43f0b6e722372b1e4297>:0)
(wrapper dynamic-method) Pickable.DMD<Pickable::Interact>(Pickable,Humanoid,bool)
SeedTotem.OnDamaged () (at <0478e941a4ba4bceb53b652b5d69dbd0>:0)
WearNTear.RPC_Damage (System.Int64 sender, HitData hit) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
RoutedMethod`1[T].Invoke (System.Int64 rpc, ZPackage pkg) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
ZNetView.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData rpcData) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
ZRoutedRpc.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData data) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, ZDOID targetZDO, System.String methodName, System.Object[] parameters) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
ZNetView.InvokeRPC (System.String method, System.Object[] parameters) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
WearNTear.Damage (HitData hit) (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
(wrapper dynamic-method) Attack.DMD<Attack::DoMeleeAttack>(Attack)
Attack.OnAttackTrigger () (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
Humanoid.OnAttackTrigger () (at <6fd2223d69c147d18c77057ce0dedd7b>:0)
CharacterAnimEvent.Hit () (at <6fd2223d69c147d18c77057ce0dedd7b>:0)

SeedTotem config:

## Settings file was created by plugin Seed Totem v1.0.4
## Plugin GUID: marcopogo.SeedTotem

[SeedTotem]

## Dispersion radius of the Seed Totem.
# Setting type: Single
# Default value: 5
# Acceptable value range: From 2 to 20
radius = 10

## Time (in seconds) between each dispersion
# Setting type: Single
# Default value: 10
# Acceptable value range: From 10 to 3600
dispersionTime = 10

## Extra distance to make sure plants have enough space
# Setting type: Single
# Default value: 0.2
# Acceptable value range: From 0 to 2
margin = 0.1

## Maximum number of plants to place when dispersing
# Setting type: Int32
# Default value: 5
# Acceptable value range: From 1 to 20
dispersionCount = 5

## Should the Seed totem send out a wave to pick all pickables in radius when damaged?
# Setting type: Boolean
# Default value: true
harvestOnHit = true

## Should the Seed totem also check for cultivated land?
# Setting type: Boolean
# Default value: true
checkCultivated = true

## Color of the glowing lines on the Seed totem
# Setting type: Color
# Default value: 00CC00FF
glowColor = 00CC00FF

GatheringSkill config:

## Settings file was created by plugin GatheringSkillMod v2.0.3
## Plugin GUID: com.pipakin.GatheringSkillMod

[Drops]

## Enable changing drop amounts.
# Setting type: Boolean
# Default value: true
Enabled = true

## Mode for increasing the drop rate. Valid values are Linear, Random, and PartialRandom
# Setting type: String
# Default value: Linear
Mode = Linear

## Maximum drop multiplier (at level 100). Minimum 1
# Setting type: Int32
# Default value: 4
MaxMultiplier = 4

[General]

## Nexus mod ID for updates
# Setting type: Int32
# Default value: 342
NexusID = 342

[Progression]

## Increment to increase skill per interaction
# Setting type: Single
# Default value: 1
LevelingIncrement = 1

## Pickables to ignore. Comma seperated list of object names, e.g. Pickable_Carrot,Pickable_CarrotSeeds
# Setting type: String
# Default value: 
IgnorePickables = 

[TimeEstimate]

## Enable showing estimates. Disable this if you have another mod you want to use estimates from.
# Setting type: Boolean
# Default value: true
Enabled = true

## Level at which to show simple estimates
# Setting type: Int32
# Default value: 1
Simple = 1

## Level at which to show detailed (to the minute) estimates
# Setting type: Int32
# Default value: 10
Detailed = 10