1. Hey Guest! Our new game Wargroove has released! Check out the forums or wiki for more information!
    Dismiss Notice

RELEASED [Storm] Enemy Health Bars

Discussion in 'User Interface' started by Shywinds, Mar 8, 2016.

  1. morizuki

    morizuki Void-Bound Voyager

    Hi, tried your Mod but it's throwing an error..

    Here's a partial of the error log..


    Enemy Health Bars 1.0.2 by Shywinds
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor EmergencyShutDown EmergencyShutDown
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor Draw Draw
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor PerformHoverAction PerformHoverAction
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReadyToClose ReadyToClose
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReceiveGamePadButton ReceiveGamePadButton
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReceiveKeyPress ReceiveKeyPress
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReceiveLeftClick ReceiveLeftClick
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReceiveRightClick ReceiveRightClick
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor ReceiveScrollWheelAction ReceiveScrollWheelAction
    [MappedInterceptorFactory`1] Failed to find obfuscated name to map
    ClickableMenuAccessor Update Update
    Game Initialized
    Failed to save config file:
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\Stamos Yang\AppData\Roaming\StardewValley\Mods\healthBar.png'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode)
    at Storm.StardewValley.Wrapper.StaticContext.LoadResource(String path)
    at Shywinds.HealthBars.HealthBars.Initalize(InitializeEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 29
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
    [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at Shywinds.HealthBars.HealthBars.PostRender(PreUIRenderEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 75
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
    at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
    at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod
     
    • Shywinds

      Shywinds Lucky Number 13

      Oh my bad, forgot the path changed slightly. I'll update that in a minute.
       
      • Syzxpkq

        Syzxpkq And Do the MONKEY!

        may you give it little bit transparency? (or maybe configurable
         
        • morizuki

          morizuki Void-Bound Voyager

          After updating, this error came out


          Loaded Enemy Health Bars 1.0.2 by Shywinds
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor EmergencyShutDown EmergencyShutDown
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor Draw Draw
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor PerformHoverAction PerformHoverAction
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReadyToClose ReadyToClose
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReceiveGamePadButton ReceiveGamePadButton
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReceiveKeyPress ReceiveKeyPress
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReceiveLeftClick ReceiveLeftClick
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReceiveRightClick ReceiveRightClick
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor ReceiveScrollWheelAction ReceiveScrollWheelAction
          [MappedInterceptorFactory`1] Failed to find obfuscated name to map
          ClickableMenuAccessor Update Update
          Game Initialized
          Failed to save config file:
          [ModEventBus] Mod Enemy Health Bars threw the error System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\HealthBars\healthBar.png'.
          at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
          at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
          at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
          at System.IO.FileStream..ctor(String path, FileMode mode)
          at Storm.StardewValley.Wrapper.StaticContext.LoadResource(String path)
          at Shywinds.HealthBars.HealthBars.Initalize(InitializeEvent ev) in C:\Users\shade_000\Documents\Visual Studio 2015\Projects\Healthbars-master-11ea1f53e52441a3296c76e0caef054516abab47\HealthBars.cs:line 29
          --- End of inner exception stack trace ---
          at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
          at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
          at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
          at Storm.ExternalEvent.AssemblyMod.Fire[T](T event)
          at Storm.ExternalEvent.LoadedMod.Fire[T](T event)
          at Storm.ExternalEvent.ModEventBus.Fire[T](T val) ... unloading mod


          Btw, you forgot to changed the Version, so I'm pretty sure I've downloaded the 1.0.3
           
            Last edited: Mar 10, 2016
          • Shywinds

            Shywinds Lucky Number 13

            Sorry the next fix might take a while. I'm not going to be around today and it appears the way to access monsters must've changed, as I can't compile. I'm looking for the new way, but to no avail and I need to leave in a bit. Will be back in the evening
             
            • morizuki

              morizuki Void-Bound Voyager

              That's okay..

              in case you didn't know, 1.0.5 was out just a while ago..
               
              • keyten

                keyten Cosmic Narwhal

                Howdy! May i ask you for a source?
                 
                  Last edited: Mar 11, 2016
                • Shywinds

                  Shywinds Lucky Number 13

                  Yeah I can do that possibly tomorrow. Currently it's having issues working and I'm gonna make things more clear on how to use. When that's ready I'll put up a source for you guys
                   
                    keyten likes this.
                  • montana123

                    montana123 Starship Captain

                    Is this for Real? :pfff:

                    Just download net reflector or ILSPy and decompile his source from the dll. You'll need it anyway for Stardew Valley.exe
                     
                    • Pinkishu

                      Pinkishu Phantasmal Quasar

                      Still better if mods are opensource by default imo
                       
                        keyten likes this.
                      • keyten

                        keyten Cosmic Narwhal

                        Yeah, I usually read them at work during free time. Can't install decompiler there.
                         
                        • montana123

                          montana123 Starship Captain

                          ILSpy is portable :)
                           
                          • Sidex

                            Sidex Space Hobo

                            it is possible to alter under "SMAPI"?
                             
                            • Kashii49829

                              Kashii49829 Void-Bound Voyager

                              I know this is a old thread, however, can someone inform me on the reliability of Storm now that its October? Even if SMAPI is better for right now, is there a place I can get updated on the progress of Storm?
                               
                              • Ladysarajane

                                Ladysarajane Phantasmal Quasar

                                Storm is no longer being updated. It was abandoned for Smapi. Smapi has been updated for 1.11.
                                 
                                • Kashii49829

                                  Kashii49829 Void-Bound Voyager

                                  Ah okay, just making sure.
                                   
                                    Ladysarajane likes this.

                                  Share This Page