NoWorkbench

Eliminate the requirement of being near a bench to craft

Total Downloads: 4,469 - First Release: Oct 6, 2017 - Last Update: Feb 18, 2018

5/5, 14 likes
  1. Worked perfectly, thanks a million for your prompt reaction!
     
  2. Doing this "easy fix" will make a lot of things uncraftable though?. Players can't craft signs, tc or building plans.
     
  3. k1lly0u updated NoWorkbench with a new update entry:

    0.1.42

     
  4. We applied wulfs fix but it still caused a huge delay, same with blueprintmanager

    (17:08:26) | Calling 'OnPlayerInit' on 'NoWorkbench v0.1.41' took 25798ms [GARBAGE COLLECT]

    Does the new version do more than the slight hook tweak? as something else seems to be up.
     
  5. cant craft Item
     

  6. Items can't be crafted, such as the ones i mentioned before with this fix.

    No errors shown
     
  7. @G9X-SA✪ and @inuques could u please tell me what plugins do you have? Just type plugins to console and reply here
     
  8. same here

    Code:
    (23:29:05) | Listing 110 plugins:
      01 "AbsolutSorter" (1.1.30) by Absolut (0.86s) - AbsolutSorter.cs
      02 "AdminMenu" (0.1.27) by k1lly0u (0.03s) - AdminMenu.cs
      03 "Alias System" (2.1.1) by LaserHydra (0.00s) - AliasSystem.cs
      04 "AlphaLoot" (2.4.8) by Fujikura (0.59s) - AlphaLoot.cs
      05 "AntiLootDespawn" (1.1.2) by Bamabo (0.26s) - AntiLootDespawn.cs
      06 "AutoBroadcast" (1.0.8) by Wulf/lukespragg (0.01s) - AutoBroadcast.cs
      07 "Automatic Client Commands" (0.1.1) by k1lly0u (0.00s) - AutoClientCommands.cs
      08 "AutoDoors" (3.1.2) by Wulf/lukespragg (0.03s) - AutoDoors.cs
      09 "AutoPurge" (1.6.1) by Fujikura/Norn (0.81s) - AutoPurge.cs
      10 "BGrade" (1.0.41) by Ryan (1.29s) - BGrade.cs
      11 "Backpacks" (2.1.5) by LaserHydra (2.96s) - Backpacks.cs
      12 "Better Chat" (5.0.15) by LaserHydra (0.07s) - BetterChat.cs
      13 "Better Chat Mute" (1.0.8) by LaserHydra (0.01s) - BetterChatMute.cs
      14 "Blueprint Manager" (1.0.2) by Jacob (1.30s) - BlueprintManager.cs
      15 "BoxLooters" (0.3.4) by 4seti / k1lly0u (0.17s) - BoxLooters.cs
      16 "Build" (1.1.9) by Reneb & NoGrod (1.05s) - Build.cs
      17 "BuildingBlockGUI" (1.1.0) by wazzzup (18.26s) - BuildingBlockGUI.cs
      18 "BuildingBlocker" (2.4.0) by Vlad-00003 (1.19s) - BuildingBlocker.cs
      19 "Building Grades" (0.3.11) by bawNg / Nogrod (0.00s) - BuildingGrades.cs
      20 "BuildingRestrictor" (0.1.16) by k1lly0u (236.60s) - BuildingRestrictor.cs
      21 "CCUpdateCheck" (1.0.4) by Fujikura (0.01s) - CCUpdateCheck.cs
      22 "CarCommander" (0.2.35) by k1lly0u (4.33s) - CarCommander.cs
      23 "Clans" (2.9.0) by Fujikura (0.20s) - Clans.cs
      24 "ClansUI" (0.1.41) by k1lly0u (0.03s) - ClansUI.cs
      25 "ColouredNames" (1.3.1) by PsychoTea (0.00s) - ColouredNames.cs
      26 "ConnectMessages" (1.1.9) by Spicy (0.01s) - ConnectMessages.cs
      27 "Copy Paste" (3.5.4) by Reneb (0.01s) - CopyPaste.cs
      28 "Cupboard Messages" (1.1.0) by Ryan (0.18s) - CupboardMessages.cs
      29 "DiscordMessages" (1.7.1) by Slut (0.01s) - DiscordMessages.cs
      30 "DynamicCupShare" (2.4.11) by Fujikura (2.17s) - DynamicCupShare.cs
      31 "Easy Broadcast" (2.1.0) by LaserHydra (0.00s) - EasyBroadcast.cs
      32 "EasyVote" (2.0.32) by Exel80 (0.08s) - EasyVote.cs
      33 "EasyVote-HighestVoter" (1.0.2) by Exel80 (0.00s) - EasyVoteHighestvoter.cs
      34 "Enhanced Hammer" (1.3.4) by Fuji/Visa (0.71s) - EnhancedHammer.cs
      35 "Entity Limit" (0.6.1) by PaiN (0.24s) - EntityLimit.cs
      36 "Everlight" (3.0.1) by Wulf/lukespragg (6.25s) - Everlight.cs
      37 "FancyDrop" (2.7.1) by Fujikura (0.59s) - FancyDrop.cs
      38 "FriendlyFire" (1.6.0) by playrust.io / dcode (0.08s) - FriendlyFire.cs
      39 "Friends" (2.5.7) by dcode (0.05s) - Friends.cs
      40 "Furnace Splitter" (2.1.2) by Skipcast (2.39s) - FurnaceSplitter.cs
      41 "GUIAnnouncements" (1.23.83) by JoeSheep (0.32s) - GUIAnnouncements.cs
      42 "Gathering Manager" (2.2.6) by Mughisi (0.05s) - GatherManager.cs
      43 "Group Limits" (2.0.1) by Kappasaurrus (0.00s) - GroupLimits.cs
      44 "HandyMan" (1.1.1) by nivex (1.14s) - HandyMan.cs
      45 "HeliControl" (1.2.5) by Shady (0.59s) - HeliControl.cs
      46 "HitIcon" (1.5.7) by serezhadelaet (0.04s) - HitIcon.cs
      47 "HomesGUI" (1.2.2) by PsychoTea (0.27s) - HomesGUI.cs
      48 "Iceberg Blocker" (1.1.2) by Slut (0.46s) - IcebergBlocker.cs
      49 "ImageLibrary" (2.0.19) by Absolut & K1lly0u (5.18s) - ImageLibrary.cs
      50 "LustyMap" (2.1.39) by Kayzor / k1lly0u (0.45s) - LustyMap.cs
      51 "InfoPanel" (0.9.7) by Ghosst / Nogrod (1.08s) - InfoPanel.cs
      52 "InstantCraft" (1.2.3) by Vlad-00003 (0.43s) - InstantCraft.cs
      53 "Inventory Viewer" (3.0.2) by Mughisi (0.02s) - InventoryViewer.cs
      54 "JPipes" (0.6.3) by TheGreatJ (5.31s) - JPipes.cs
      55 "Kits" (3.2.9) by Reneb (0.09s) - Kits.cs
      56 "LoadingMessages" (1.0.1) by VVoid (0.26s) - LoadingMessages.cs
      57 "Logger" (2.1.3) by Wulf/lukespragg (0.15s) - Logger.cs
      58 "NameFix" (1.0.1) by Visagalis (0.01s) - NameFix.cs
      59 "NoEscape" (2.0.0) by rustservers.io (0.25s) - NoEscape.cs
      60 "OilCrate" (0.6.5) by Kaleidos (0.39s) - OilCrate.cs
      61 "OnScreenLogo" (1.1.5) by Vlad-00003 (0.01s) - OnScreenLogo.cs
      62 "PlayerChallenges" (2.0.31) by k1lly0u (0.18s) - PlayerChallenges.cs
      63 "Player Chatcontrol" (2.0.0) by LaserHydra (0.00s) - PlayerChatcontrol.cs
      64 "PlayerDatabase" (1.5.7) by Reneb (0.00s) - PlayerDatabase.cs
      65 "PlayerList" (0.3.2) by Wulf/lukespragg (0.00s) - PlayerList.cs
      66 "PlayerManager" (1.0.11) by Reneb (0.00s) - PlayerManager.cs
      67 "PlayerSkins" (1.3.31) by Absolut (5.57s) - PlayerSkins.cs
      68 "Playtime Tracker" (0.1.7) by k1lly0u (0.06s) - PlaytimeTracker.cs
      69 "Portals" (2.0.5) by LaserHydra (0.02s) - Portals.cs
      70 "PrivateMessage" (2.0.2) by Nogrod (0.00s) - PrivateMessage.cs
      71 "Prod" (2.2.9) by Reneb (0.00s) - Prod.cs
      72 "PushAPI" (1.0.1) by Wulf/lukespragg (0.00s) - PushAPI.cs
      73 "QuickSmelt" (3.1.0) by Wulf/Fujikura (0.42s) - QuickSmelt.cs
      74 "Raid Tracker" (0.1.14) by nivex (0.01s) - RaidTracker.cs
      75 "Realtime Wipe Info" (2.1.1) by Ryan (0.00s) - RealtimeWipeInfo.cs
      76 "RecycleManager" (1.0.9) by redBDGR (0.00s) - RecycleManager.cs
      77 "RemoveAAA" (0.4.6) by Tuntenfisch (0.01s) - RemoveAAA.cs
      78 "RemoverTool" (4.2.5) by Reneb (0.06s) - RemoverTool.cs
      79 "Rename" (0.3.0) by Wulf/lukespragg (0.03s) - Rename.cs
      80 "Robbery" (4.1.4) by Wulf/lukespragg (2.70s) - Robbery.cs
      81 "Rules GUI" (1.4.9) by PaiN (0.02s) - RulesGUI.cs
      82 "RustIOFriendListAPI" (1.4.0) by Alphawar (0.00s) - RustIOFriendListAPI.cs
      83 "SDonate" (1.6.1) by Webmaster10 (0.01s) - SDonate.cs
      84 "ServerRewards" (0.4.64) by k1lly0u (0.16s) - ServerRewards.cs
      85 "ShowHitInfo" (1.1.0) by nomizzz (0.06s) - ShowHitInfo.cs
      86 "Sign Artist" (1.1.2) by Mughisi (0.00s) - SignArtist.cs
      87 "SkipNightUI" (0.1.2) by k1lly0u (0.05s) - SkipNightUI.cs
      88 "Smart Chat Bot" (1.7.0) by i_love_code (0.01s) - SmartChatBot.cs
      89 "SmoothRestart" (1.2.5) by Fujikura/Visagalis (0.52s) - SmoothRestart.cs
      90 "Spawns" (2.0.35) by Reneb / k1lly0u (0.01s) - Spawns.cs
      91 "Stack Size Controller" (1.9.9) by Canopy Sheep (0.02s) - StackSizeController.cs
      92 "Steam Groups" (0.3.8) by Wulf/lukespragg (0.41s) - SteamGroups.cs
      93 "StorageCleaner" (0.1.1) by k1lly0u (0.00s) - StorageCleaner.cs
      94 "TeleportGUI" (1.5.4) by PsychoTea (0.07s) - TeleportGUI.cs
      95 "Tickets" (3.1.1) by LaserHydra (0.00s) - Tickets.cs
      96 "Timed Execute" (0.7.3) by PaiN (0.03s) - TimedExecute.cs
      97 "Trade" (1.1.7) by Calytic (0.04s) - Trade.cs
      98 "TurretInfo" (1.0.3) by ninco90 (0.00s) - TurretInfo.cs
      99 "Underworld" (1.0.2) by nivex (0.00s) - Underworld.cs
      100 "UniversalUI" (2.1.4) by Absolut (0.13s) - UniversalUI.cs
      101 "Updater" (2.1.1) by LaserHydra (0.00s) - Updater.cs
      102 "VIP Trial" (1.3.5) by Maik8 (0.00s) - VIPTrial.cs
      103 "Vanish" (0.5.1) by Wulf/lukespragg (maintained by Jake_Rich) (8.40s) - Vanish.cs
      104 "VendingManager" (0.2.3) by ignignokt84 (0.74s) - VendingManager.cs
      105 "Voting" (1.1.1) by wazzzup (0.00s) - Voting.cs
      106 "Wounded Screams" (2.1.4) by Skipcast (0.46s) - WoundedScreams.cs
      107 "ZoneManager" (2.4.61) by Reneb / Nogrod (1.25s) - ZoneManager.cs
      108 "NoWorkbench" (0.1.42) by k1lly0u (0.11s) - NoWorkbench.cs
      109 PlayerRankings - Unloaded
    (23:29:17) | Keksinator2016/Twitch[2735724/76561198127604531] was suicide by Suicide
     
  9. Yeah, I just realized, making that change causes crafting not working, lol.
     
  10. Code:
    (17:35:43) | Calling 'OnPlayerInit' on 'NoWorkbench v0.1.42' took 25044ms
    (17:35:43) | Calling 'OnPlayerInit' on 'NoWorkbench v0.1.42' took average 0ms
    [DOUBLEPOST=1516920446][/DOUBLEPOST]Have had to unload it for now
     
  11. it does not let me create any element in the server with the plugins in the server xd
     
  12. k1lly0u updated NoWorkbench with a new update entry:

    0.1.43

     
  13. Code:
    Failed to call hook 'OnItemCraft' on plugin 'NoWorkbench v0.1.43' (NullReferenceException: Object reference not set to an instance of an object)   at ItemCrafter.GetScaledDuration (.ItemBlueprint bp, Single workbenchLevel) [0x00000] in <filename unknown>:0   at Oxide.Plugins.NoWorkbench.OnItemCraft (.ItemCraftTask task, .BasePlayer player, .Item item) [0x00000] in <filename unknown>:0   at Oxide.Plugins.NoWorkbench.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: Jan 26, 2018
  14. Apparently it might be because they switched to using databases for bp's now?
     
  15. Is this plugin making anyone else's server laggy as hell due to the BP DB change?
     
  16. They have switched to sqlite for storage now and implemented it badly with their functions to unlock blueprints :) Here's a lag free function that gives all BP's + no need for a workbench. Thanks @Ryan
    Code:
            private void OnPlayerInit(BasePlayer player)
            {
                if (player == null)
                    return;            player.ClientRPCPlayer(null, player, "craftMode", 1);
                var playerInfo = ServerMgr.Instance.persistance.GetPlayerInfo(player.userID);
                foreach (var bp in ItemManager.bpList)
                {
                    if (bp.defaultBlueprint || playerInfo.unlockedItems.Contains(bp.targetItem.itemid)) continue;
                    playerInfo.unlockedItems.Add(bp.targetItem.itemid);
                    player.ClientRPCPlayer(null, player, "UnlockedBlueprint", bp.targetItem.itemid);
                    player.stats.Add("blueprint_studied", 1);
                }
                player.SendNetworkUpdateImmediate();
                ServerMgr.Instance.persistance.SetPlayerInfo(player.userID, playerInfo);
            }
     
    Last edited by a moderator: Jan 27, 2018
  17. This works for the BP portion but had to leave NoWorkbench loaded for the other part perhaps because the server is still loaded? Is there any way you can upload this as another plugin?
    @Slut
     
  18. As i've never messed with any of these manually, am I supposed to replace whats posted above into the workbench.cs or make it its own file?!
     
  19. it doesn't matter, just copy/paste that code to notepad and save file as NoWorkbench.cs. Then go to your plugins folder and overwrite it.
     
  20. Thank you. Yeah thats what I had tried earlier. Was afraid to trust it but while it was in I had another Packet Flooding Tick Rate kick so Im not quite sure thats the issue here either....so darn frustrating.