I use the last update of Oxide.
Code:Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (.Item item, .PlayerInventory inventory, UInt32 targetContainer, Int32 targetSlot) [0x00000] in :0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
FurnaceSplitter
Moved
Total Downloads: 9,005 - First Release: Apr 9, 2017 - Last Update: Apr 20, 2018
- 5/5, 31 likes
-
can someone guide me into how to sync FurnaceSplitter with QuickSmelt, so that the wood inserted is accurate? i'm having problems right now and i'm kind of lost on how to achieve this :/
thx in advance <3 -
-
Code:result.FuelNeeded = neededFuel / 5;
any REAL fix for my issue with wood?
By the way, is there a way to make the furnace "tick faster"? i'll try to explain myself:
In my server its like it burns X wood every 2 seconds or 3 seconds more or less (X being the amount set at WoodRate at QuickSmelt config file).
But for example, int the server EU BEST GOLD, it's like it burns the wood every 1 second (also burns the ore at the same pace). How is this achieved? I'm really interested in this. Does it have anything to do with the object/variable (can't remember) called FurnaceTemperature?
thx in advance
[DOUBLEPOST=1528108496][/DOUBLEPOST]
Code:oven.InvokeRepeating(data.CookOverride, 0.25f, 0.25f);
anyways, i'd like any REAL coder to check wtf i'm doing here, because i might be fucking up since i have no fucking clue LMAO
anyways, i think there should be some options in the config files of these 2 plugins to be able to change this parameters in order to adjust the "cooking tick rate" and the "wood insertion" to any given QuickSmelt configuration. I mean... if i ended figuring this out my way (the "i don't have a damn clue way), i guess this would be a less-than-30minutes job for a coder, and would improve the plugins.
@Wulf if you have 5 minutes of boredom ( i know you're busy enough) could you take a look at this, not to change the plugin which is of course the developer's job, but at least to see if what i'm doing is ok or just some dumb shit? hahaha thx -
yea we would really like a fix on this.........pretty please?
-
I have all updated but:
Code:Failed to call hook 'OnTick' on plugin 'FurnaceSplitter v2.1.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter+Extensions.GetWorkTemperature (.BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter.CanCook (.ItemModCookable cookable, .BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter+<GetSmeltTimes>c__AnonStorey4.<>m__0 (.Item item) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Item].MoveNext () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Item].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[Item]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.ToList[Item] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter.GetSmeltTimes (.BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter.GetOvenInfo (.BaseOven oven) [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter.OnTick () [0x00000] in <filename unknown>:0 at Oxide.Plugins.FurnaceSplitter.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
-
Wulf Community Admin
-
Code:
Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x000ae] in <48421d115bff43e6898811032febce17>:0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <48421d115bff43e6898811032febce17>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
-
subbed
-
Evening
I got this, and don't have clue what it means:
Code:Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x000ae] in <c7aa4fb5dd57451ca2eeacc1243eafd5>:0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <c7aa4fb5dd57451ca2eeacc1243eafd5>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
-
today it happens to me that when I change the version of oxide of the; Oxide.Rust 2.0.3954 to Oxide.Rust 2.0.3965, some plugins in data appear with value "null" and in the console of
Code:rust salia: (00:07:09) | Failed to call hook 'OnPlayerInit' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.InitPlayer (BasePlayer player) [0x00000] in <a2324ec19d6e43e08d5e8f1d67aa7538>: 0 at Oxide.Plugins.FurnaceSplitter.OnPlayerInit (BasePlayer player) [0x00000] in <a2324ec19d6e43e08d5e8f1d67aa7538>: 0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object & ret, System.Object [] args) [0x00136] in <a2324ec19d6e43e08d5e8f1d67aa7538>: 0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object [] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>: 0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object [] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>: 0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object [] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>: 0
https://i.gyazo.com/e0a4cbb7ea2db57cc7dfacb60448ed3f.png -
Wulf Community Admin
-
-
But how can i byte this error?
Code:Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x000ae] in <fd976d0d91ab478680fd010aae79d1e4>:0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <fd976d0d91ab478680fd010aae79d1e4>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
Last edited by a moderator: Jun 13, 2018 -
so ihave this installed and the first config only has this
{
"UiPosition": {
"x": 0.6505,
"y": 0.022
}
}
plus the mod isnt working -
Hey i think i got also problem with this plugin, still works but showing error in console, is anyone got solution to fix that? All updated.
Code:Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x000ae] in <54a37162299d484c9b0f3afee623ec90>:0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <54a37162299d484c9b0f3afee623ec90>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0 (19:39:39) | Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.FurnaceSplitter.CanMoveItem (Item item, PlayerInventory inventory, System.UInt32 targetContainer, System.Int32 targetSlot) [0x000ae] in <54a37162299d484c9b0f3afee623ec90>:0 at Oxide.Plugins.FurnaceSplitter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00930] in <54a37162299d484c9b0f3afee623ec90>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0
-
is there a special way to get this working as i have placed the mod into my plugins folder with the others and it wont work. so i got in touch with the company who run my server to look at why this mod isnt working and they couldnt get it to work either so i just letting you know that its broke and not working.
Last edited by a moderator: Jun 23, 2018 -
after about an hour i finally got a error message don't know why i didn't see it before.
Error while compiling: FurnaceSplitter.cs(444,36): error CS1501: No overload for method 'CanAcceptItem' takes '1' arguments
something to do with...... I believe
}
private void AutoAddFuel(PlayerInventory playerInventory, BaseOven oven)
{
int neededFuel = (int)Math.Ceiling(GetOvenInfo(oven).FuelNeeded);
neededFuel -= oven.inventory.GetAmount(oven.fuelType.itemid, false);
var playerFuel = playerInventory.FindItemIDs(oven.fuelType.itemid);
if (neededFuel <= 0 || playerFuel.Count <= 0)
return;
foreach (var fuelItem in playerFuel)
{
if (oven.inventory.CanAcceptItem(fuelItem) != ItemContainer.CanAcceptResult.CanAccept)
break;
var largestFuelStack = oven.inventory.itemList.Where(item => item.info == oven.fuelType).OrderByDescending(item => item.amount).FirstOrDefault();
var toTake = Math.Min(neededFuel, oven.fuelType.stackable - (largestFuelStack?.amount ?? 0));
if (toTake > fuelItem.amount)
toTake = fuelItem.amount;
if (toTake <= 0)
break;
neededFuel -= toTake;
if (toTake >= fuelItem.amount)
{
fuelItem.MoveToContainer(oven.inventory);
}
else
{
var splitItem = fuelItem.SplitItem(toTake);
if (!splitItem.MoveToContainer(oven.inventory)) // Break if oven is full
break;
}
if (neededFuel <= 0)
break;
}
}Last edited by a moderator: Jun 23, 2018 -
there is one line that needs this code in order for the menu to pop up -
i got it i got it yey im still clever thanks to you your a god ty ty ty ty ty tyLast edited by a moderator: Jun 25, 2018