Skipcast submitted a new resource:
AutoCrafter - A machine that automatically crafts items so the player can do more interesting stuff instead.
Read more about this resource...
AutoCrafter
A machine that automatically crafts items so the player can do more interesting stuff instead.
Total Downloads: 696 - First Release: Aug 1, 2017 - Last Update: Aug 23, 2017
- 5/5, 5 likes
-
Skipcast updated AutoCrafter with a new update entry:
1.0.1
-
Code:
Failed to call hook 'OnPlayerSpawn' on plugin 'AutoCrafter v1.0.1' (ArgumentNullException: Argument cannot be null. Parameter name: key) at System.Collections.Generic.Dictionary`2[System.String,Oxide.Core.Libraries.UserData].TryGetValue (System.String key, Oxide.Core.Libraries.UserData& value) [0x00000] in :0 at Oxide.Core.Libraries.Permission.GetUserData (System.String id) [0x00000] in :0 at Oxide.Core.Libraries.Permission.UserHasPermission (System.String id, System.String perm) [0x00000] in :0 at Oxide.Plugins.AutoCrafter.ShowJoinMessage (.BasePlayer player) [0x00000] in :0 at Oxide.Plugins.AutoCrafter.OnPlayerSpawn (.BasePlayer player) [0x00000] in :0 at Oxide.Plugins.AutoCrafter.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (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
-
Does it happen everytime? -
I dont know when is happening but my console was spammed with it
-
Skipcast updated AutoCrafter with a new update entry:
1.0.2
-
@Skipcast Referring to your code and the huge amount of hooks, did you test the whole plugin on a high-pop-server?
And also compatibility with all the other plugins which use the same hooks in same way? Should be a lot plugins to be checked...
Would be interesting to know -
Most of the hooks i use are used non destructively or not changing default behaviour so it should work fine in theory. -
Skipcast updated AutoCrafter with a new update entry:
1.0.3
-
awesome plugins! this plugins add commu ??
-
-
(12:29:35) | at Oxide.Plugins.AutoCrafterNamespace.Crafter.CreateItemContainer (Vector3 position, Quaternion rotation, System.String name, .ItemContainer& inventory) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.Crafter.CreateOutputContainer () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.Crafter..ctor (.Recycler recycler) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.CrafterManager.CreateCrafter (.Recycler recycler) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.CrafterManager.Load () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafter.OnServerInitialized () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafter.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 -
What's the full exception? You only pasted the stacktrace.
-
(12:29:35) | Failed to call hook 'OnServerInitialized' on plugin 'AutoCrafter v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
(12:29:35) | at Oxide.Plugins.AutoCrafterNamespace.Crafter.CreateItemContainer (Vector3 position, Quaternion rotation, System.String name, .ItemContainer& inventory) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.Crafter.CreateOutputContainer () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.Crafter..ctor (.Recycler recycler) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.CrafterManager.CreateCrafter (.Recycler recycler) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafterNamespace.CrafterManager.Load () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafter.OnServerInitialized () [0x00000] in <filename unknown>:0
at Oxide.Plugins.AutoCrafter.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 -
Skipcast updated AutoCrafter with a new update entry:
1.0.4
-
(03:17:39) | Error while compiling: AutoCrafter.cs(1443,26): error CS1061: Type `DroppedItemContainer' does not contain a definition for `inventory' and no extension method `inventory' of type `DroppedItemContainer' could be found. Are you missing an assembly reference?
-
-
-
Having an interesting problem where the autocrafter is disappearing after upgrading. Has anyone else experienced this? No messages to the console.
Here's my plugin list:
- 01 "AntiOfflineRaid" (0.2.9) by rustservers.io (50.21s) - AntiOfflineRaid.cs
- 02 "AutoChat" (0.4.7) by Frenk92 (0.61s) - AutoChat.cs
- 03 "Better Chat" (5.0.12) by LaserHydra (0.83s) - BetterChat.cs
- 04 "BetterChatFilter" (1.2.0) by LaserHydra, Kinesis and Slut (0.07s) - BetterChatFilter.cs
- 05 "BetterChatFlood" (1.0.2) by Ryan (0.01s) - BetterChatFlood.cs
- 06 "BetterChatIgnore" (1.0.1) by Togoshige (0.01s) - BetterChatIgnore.cs
- 07 "Better Chat Mute" (1.0.8) by LaserHydra (0.52s) - BetterChatMute.cs
- 08 "Build" (1.1.8) by Reneb & NoGrod (3.83s) - Build.cs
- 09 "Clan Tags" (0.1.0) by GreenArrow (0.00s) - ClanTags.cs
- 10 "Rust:IO Clans" (1.7.3) by playrust.io / dcode (0.65s) - Clans.cs
- 11 "Copy Paste" (3.3.7) by Reneb (0.01s) - CopyPaste.cs
- 12 "Event Manager Menu Interface" (1.0.5) by k1lly0u (0.09s) - EMInterface.cs
- 13 "Event Manager" (3.0.73) by Reneb / k1lly0u (9.44s) - EventManager.cs
- 14 "ArenaDeathmatch" (1.2.22) by Reneb (0.02s) - ArenaDeathmatch.cs
- 15 "ChopperSurvival" (0.2.82) by k1lly0u (28.73s) - ChopperSurvival.cs
- 16 "Economics" (2.0.5) by Nogrod (0.58s) - Economics.cs
- 17 "Friends" (2.5.3) by dcode (0.18s) - Friends.cs
- 18 "Furnace Splitter" (2.1.1) by Skipcast (65.91s) - FurnaceSplitter.cs
- 19 "Gathering Manager" (2.2.6) by Mughisi (0.47s) - GatherManager.cs
- 20 "Ignore" (2.0.0) by Nogrod (0.01s) - Ignore.cs
- 21 "ImageLibrary" (2.0.6) by Absolut & K1lly0u (0.04s) - ImageLibrary.cs
- 22 "LustyMap" (2.1.31) by Kayzor / k1lly0u (7.33s) - LustyMap.cs
- 23 "InfoPanel" (0.9.5) by Ghosst / Nogrod (25.42s) - InfoPanel.cs
- 24 "Kits" (3.2.9) by Reneb (0.31s) - Kits.cs
- 25 "NTeleportation" (1.0.21) by Nogrod (0.81s) - NTeleportation.cs
- 26 "NightLantern" (2.0.8) by k1lly0u (17.56s) - NightLantern.cs
- 27 "Popup Notifications" (0.1.3) by emu / k1lly0u (0.01s) - PopupNotifications.cs
- 28 "QuickSort" (1.1.1) by Wulf/lukespragg (15.59s) - QuickSort.cs
- 29 "RemoverTool" (4.1.9) by Reneb (0.27s) - RemoverTool.cs
- 30 "Rewards" (1.3.10) by Tarek (0.40s) - Rewards.cs
- 31 "ServerInfo" (0.5.2) by Fujikura/baton (0.12s) - ServerInfo.cs
- 32 "ServerRewards" (0.4.55) by k1lly0u (2.35s) - ServerRewards.cs
- 33 "Spawns" (2.0.35) by Reneb / k1lly0u (0.01s) - Spawns.cs
- 34 "Stack Size Controller" (1.9.6) by Canopy Sheep (0.03s) - StackSizeController.cs
- 35 "Survey Info" (0.1.5) by Diesel_42o (0.01s) - SurveyInfo.cs
- 36 "TurretConfig" (2.0.4) by Calytic (30.71s) - TurretConfig.cs
- 37 "ZoneManager" (2.4.25) by Reneb / Nogrod (32.79s) - ZoneManager.cs
- 38 "AutoCrafter" (1.0.4) by Skipcast (19.33s) - AutoCrafter.cs
-
If you have the time you could disable all mods and re-enable 5-10 at a time or so, and see when it stops working.