1. hello I would like to talk to you a question that I have about the AnExiledGod plugin
     
  2. hello

    Code:
    [Error] Failed to call hook 'OnServerInitialized' on plugin 'Auto Furnaces' (NullReferenceException: Object reference not set to an instance of an object)
     
  3. Wulf

    Wulf Community Admin

    Try the attached version below please. Also added the ResourceId and disabled log messages if there are no furnaces to report.
     

    Attached Files:

  4. hello

    Code:
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] AutoFurnaces was compiled successfully in 3071ms
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] Loaded plugin Auto Furnaces v1.1.1 by AnExiledGod
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] charcoal
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.fragments
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] charcoal
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] sulfur
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] charcoal
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] charcoal
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.fragments
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.fragments
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] wood
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.ore
    [8/7/2015 10:09:37 PM] [Oxide] 10:09 PM [Info] [Auto Furnaces] metal.fragments
    console spam :/

    I restarted to stop spam
     
  5. Wulf

    Wulf Community Admin

    Oops, try the below. ;)
     

    Attached Files:

  6. it works

    Thank you
     
  7. Code:
    [Oxide] 6:28 AM [Error] Failed to call hook 'OnServerInitialized' on plugin 'Aut
    o Furnaces' (NullReferenceException: Object reference not set to an instance of
    an object)
    [Oxide] 6:28 AM [Debug]   at Oxide.Plugins.AutoFurnaces.OnServerInitialized () [
    0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)                                  not connected
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
    ization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  8. Wulf

    Wulf Community Admin

    http://oxidemod.org/threads/auto-furnaces.9333/page-2#post-117350
     
  9. This in your plugin
    When start server:
    Code:
    3:36 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'AutoFurnaces v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    3:36 PM [Debug] at Oxide.Plugins.AutoFurnaces.OnServerInitialized () [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    But if reset plugin when server work - plugin work
     
  10. Wulf

    Wulf Community Admin

    I haven't been able to reproduce it. Just tested multiple times, as did Mughisi, and can't reproduce it.
     
  11. I'm experiencing the aforementioned error, too:
    Code:
    [Oxide] 12:27 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'AutoFurnaces v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 12:27 PM [Debug]   at Oxide.Plugins.AutoFurnaces.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoFurnaces.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[]
     
    Last edited by a moderator: Oct 28, 2015
  12. Wulf

    Wulf Community Admin

    Try the below version and let me know please.
     
  13. Is this plugin even still needed? I don't have it and furnaces don't turn off anymore on server restarts...
     
  14. Wulf

    Wulf Community Admin

    I don't know personally.
     
  15. Works.
     
  16. If this is considered "obsolete" does that mean your furnaces start automatically now? Without a plugin?
     
  17. Wulf

    Wulf Community Admin

    Yes, Rust has done that for the past few months as far as I know.