The Oxide.Rust build will be available soon, keep an eye out for the changelog for both it and this plugin.
FurnaceSplitter
Moved
Total Downloads: 9,005 - First Release: Apr 9, 2017 - Last Update: Apr 20, 2018
- 5/5, 31 likes
-
Wulf Community Admin
-
Wulf Community Admin
Wulf updated Furnace Splitter with a new update entry:
2.1.6
-
Thank you for your very hard work! @Wulf
-
No errors, but it creates an nearly empty config
Code:{ "UiPosition": { "x": 0.6505, "y": 0.022 } }
-
Wulf Community Admin
-
-
I'm getting the same errors as Razor using FS 2.1.6 and OM 2.0.3898.
Also @SomethinSquishy the Json in your Config folder afaik has always been only UI position settings. the Json in your data folder was your FS info. I could be wrong though. -
Code:[PluginReference] private Plugin FurnaceSplitter;[ChatCommand("split")] private void ChatCommand_Split(BasePlayer player, string command, string[] args) { GameObject lookTarget = GetLookTarget(player); var oven = lookTarget?.GetComponent<BaseOven>(); if (oven == null) { player.ChatMessage("Invalid look target"); return; } var firstCookable = player.inventory.containerMain.itemList.FirstOrDefault(x => x.info.GetComponent<ItemModCookable>() != null); if (firstCookable != null) { string result = FurnaceSplitter.Call<string>("MoveSplitItem", firstCookable, oven, totalStacks: 15); player.ChatMessage(result); } else { player.ChatMessage("No cookable found"); } }private static GameObject GetLookTarget(BasePlayer player) { RaycastHit hit; var position = player.eyes.position; var direction = player.eyes.HeadForward(); if (!Physics.Raycast(new Ray(position, direction), out hit, 10f, 1 << (int)Layer.Deployed)) return null; return hit.transform.gameObject; }
-
Code:{ "AllPlayerOptions": {} }
-
Ok reupdated oxide mod, restart server and now here is my error in my rcon console.
Code:Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.6' (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 <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 Failed to call hook 'CanMoveItem' on plugin 'FurnaceSplitter v2.1.6' (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 <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
Last edited by a moderator: Apr 20, 2018 -
Lmk when there is a 100% Fix cbf restarting everytime with 50 people online
-
Looks like this latest error is popular! Me too
-
Still getting error after this update
-
Wulf Community Admin
For those still having errors, please check that you are on the version of Oxide for Rust mentioned in the changelog (2.0.3898), else you will continue to have the error. You can check using the oxide.version command.
Also, I would suggest having a test server for this sort of thing, as I can't always reproduce everything myself and I always advise against blindly updating a live server without testing locally first. -
Build Date: 04/18/2018 06:10:37
Unity Version: 2017.1.3f1
Changeset: 26475
Branch: release
Oxide.Rust Version: 2.0.3898
Still getting error -
Wulf Community Admin
-
-
Wulf Community Admin
Wulf updated Furnace Splitter with a new update entry:
2.1.7
-
Yeah dont worry about it wulf, Take your time We cant complain on a free plugin anyway in my opinion.
-
It doesn't appear to split for me although the console error is gone.