AutoFuel

Moved

Total Downloads: 1,337 - First Release: Dec 10, 2017 - Last Update: Jan 20, 2018

5/5, 12 likes
  1. redBDGR submitted a new resource:

    AutoFuel - Automatically fuel lights if there is fuel in the toolcupboards inventory

    Read more about this resource...
     
  2. Nice! Glad that I got to help you with testing :D
     
  3. ummmm

    Code:
    (13:40:23) | Failed to call hook 'OnFindBurnable' on plugin 'AutoFuel v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
    (13:40:23) | at Oxide.Plugins.AutoFuel.OnFindBurnable (.BaseOven oven) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoFuel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. Got any other context than just ummmm?
     
  5. that is what i get in console as soon as i load it it just spams console
     
  6. Seems to be working fine for me. Not really a lot i can do if i am unable to reproduce
     
  7. ok well np then i just wont use..
    [DOUBLEPOST=1512931916][/DOUBLEPOST]
    seems like it cant find OnFindBurnable hook
    [DOUBLEPOST=1512932492][/DOUBLEPOST]
    would it have anything to do with me using nofuelrequirements or night lantern
     
  8. You wouldn't need this plugin if you used No Fuel Requirements for Rust | Oxide
    Getting zero errors on my server.
     
  9. idk then i removed night lantern and nofuelrequirements and it still does the same spam error
     
  10. Hey Red, would it be possible to add a feature where no fuel would be used? I like the idea of this plugin a lot more since it checks for TC's in the area rather than granting no fuel to everything (including spammed items in the wilderness). Just a thought, great plugin!
     
  11. redBDGR updated AutoFuel with a new update entry:

    1.0.1

     
  12. NRE isn't fixed. :) I made sure to delete everything and start fresh as well. :)

    Code:
    (00:24:53) | [Oxide] 00:24 [Error] Failed to call hook 'OnFindBurnable' on plugin 'AutoFuel v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (00:24:53) | [Oxide] 00:24 [Stacktrace]   at Oxide.Plugins.AutoFuel.OnFindBurnable (.BaseOven oven) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AutoFuel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (00:25:32) | [Oxide] 00:25 [Warning] Calling 'OnFindBurnable' on 'AutoFuel v1.0.1' took 1118ms [GARBAGE COLLECT]
     
  13. working on this now to see whats causing it
     
  14. Ok cool man thanks
     
  15. same error i was getting
     
  16. yeah, stayed persistent from ver 1.0.0 to ver 1.0.1 haven't seen it lately though.
     
  17. nope still getting the same error spamming console 1000x a sec
     
  18. haven't seen it since last night. not sure, maybe mine fixed itself ? :p
     
  19. I believe I found an issue. Here's what I did

    1. Created a TC, lantern, tuna lamps
    2. Put fuel in TC
    3. Turned on lights
    4. Worked great
    5. Opened TC
    6. Removed fuel
    7. Lights never turned off
    It appears once the fuel is added to the lights it never goes away.