No more console errors, but not working. Lights still consuming fuel. (Only tested with Ceiling Lights)

No Fuel Requirements
Allows you to choose which deployables do not use fuel
Total Downloads: 6,430 - First Release: Jun 26, 2015 - Last Update: Dec 16, 2017
- 5/5, 13 likes
-
having console errors like crazy with this plugin. it works still but...
Code:Oxide] 19:27 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 19:27 [Debug] at Oxide.Plugins.NoFuelRequirements.IsActiveType (ConsumeTypes type) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NoFuelRequirements.OnConsumableUse (.Item item, Int32 amount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.NoFuelRequirements.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0 [Oxide] 19:27 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 19:27 [Debug] at Oxide.Plugins.NoFuelRequirements.IsActiveType (ConsumeTypes type) [0x00000] in <filename unknown>:0
Last edited by a moderator: Dec 18, 2016 -
Great plugin, I was going to try and develop it myself but you've already done it
Could you make it so fires do not generate charcoal?
Thanks! -
-
Like someone mentioned before, got this a lot and also a bunch of them when starting the server...
[12/19/2016 19:41:08] [Oxide] 19:41 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
[12/19/2016 19:41:09] [Oxide] 19:41 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
[12/19/2016 19:41:10] [Oxide] 19:41 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)
[12/19/2016 19:41:10] [Oxide] 19:41 [Error] Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object) -
plugin doesnt seem to be working, lanterns turn consume fuel and turn off.
-
Getting this 3x after latest oxide update:
(16:06:15) | Failed to call hook 'OnConsumableUse' on plugin 'NoFuelRequirements v1.3.0' (NullReferenceException: Object reference not set to an instance of an object) -
k1lly0u updated No Fuel Requirements with a new update entry:
1.3.1
-
Still using fuel on Ceiling lights and lanterns.
-
(08:56:30) | Failed to call hook 'OnConsumeFuel' on plugin 'NoFuelRequirements v1.3.1' (NullReferenceException: Object reference not set to an instance of an object)
(08:56:30) | Unloaded plugin NoFuelRequirements v1.3.1 by k1lly0u
(08:57:10) | Protocol: 1956
Build Version: 1142.92
Build Date: Thursday, January 26, 2017 9:59:37 PM
Unity Version: 5.4.2f2
Changeset: 18566
Branch: /main
Oxide Version: 2.0.2989 -
Hi, I tryed to enable the permission, but no one works
nofuelrequirements.campfire
nofuelrequirements.candlehat
nofuelrequirements.ceilinglight
nofuelrequirements.furnace
nofuelrequirements.lantern
nofuelrequirements.largefurnace
nofuelrequirements.minershat
nofuelrequirements.oilrefinery
nofuelrequirements.quarry
(22:41:42) | Permission 'nofuelrequirements.campfire' doesn't exist
(22:41:46) | Permission 'nofuelrequirements.nofuelrequirements.quarry' doesn't exist
(22:41:50) | Permission 'nofuelrequirements.campfire' doesn't exist
(22:42:50) | Permission 'ConsumeTypes.Campfires' doesn't exist
Without permission, no error but the plugin doesn't works.
No error in console, and plugin loaded succesfully:
Loaded plugin NoFuelRequirements v1.3.1 by k1lly0u
Thank you K1llyou for your effort.
[DOUBLEPOST=1485554475][/DOUBLEPOST]I see another case:
Set from the config "UsePErmissions": false, save it, unload the plugin, then reload it, now on console I have:
Failed to call hook 'OnServerInitialized' on plugin 'NoFuelRequirements v1.3.1' (JsonSerializationException: Unexpected end when deserializing object. Path 'UsePermissions', line 25, position 0.)
and the campfire use items. -
only have I the issue?
Code:| Failed to call hook 'OnServerInitialized' on plugin 'NoFuelRequirements v1.3.1' (JsonSerializationException: Unexpected end when deserializing object. Path 'UsePermissions', line 25, position 0.)
-
(20:53:38) | [NoFuelRequirements] Before: 311
(20:53:38) | [NoFuelRequirements] After: 312
(20:53:54) | [NoFuelRequirements] Before: 272
(20:53:54) | [NoFuelRequirements] After: 273
(20:54:11) | [NoFuelRequirements] Before: 237
(20:54:11) | [NoFuelRequirements] After: 238
(21:03:36) | [NoFuelRequirements] Before: 309
(21:03:36) | [NoFuelRequirements] After: 310
(21:03:52) | [NoFuelRequirements] Before: 270
(21:03:52) | [NoFuelRequirements] After: 271
(21:04:09) | [NoFuelRequirements] Before: 235
(21:04:09) | [NoFuelRequirements] After: 236
SO i think that Lanterns uses 2 fuel per tick? -
will the tuna light be added to this plugin anytime soon ???
-
k1lly0u updated No Fuel Requirements with a new update entry:
1.3.2
-
Just changed the upload
accdientally had TunaLight instead of TunaLight.deployed
-
Last edited by a moderator: Feb 4, 2017
-
Wulf Community Admin
-
-
Wulf Community Admin