1. Wulf

    Wulf Community Admin

    Make sure you are using the latest version.
     
  2. im using HFB servers and when i update the craft control plugin i cant open boxes and doors anymore.
     
  3. Wulf

    Wulf Community Admin

    Crafting Controller has nothing to do with doors nor boxes.
     
  4. I know, and yet as soon as i install crafting controller plugin people can not acces boxes anymore or open doors, like i said. (basicly interacting with anything becomes impossible, it will show the white circle thingy but not search / open )
    I also downloaded the latest version from this forum and uploaded it to see if that would work, exact same problem...
    The updated removal tool is working though.
     
  5. Wulf

    Wulf Community Admin

    Removal Tool sounds more like the culprit, as it involves doors and boxes.
     
  6. No it's not the removal tool because that one is running and everything is working like it should while its running.
    I also singled out the craft tool earlier by ONLY activating that plugin after installing 16.b again
     
  7. It was fixed in the latest version
     
  8. I'm using latest downloaded CraftingController and in Oxide Log:

    Code:
    9:04 AM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:84 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
     
  9. Narrowed my issues down to this mod. Every time I edit the CFG it breaks my other plugins. I tried running straight json files. I then used the bracketed file someone linked earlier which worked but is causing other plugins to stop working for some reason. Still testing now (HFB servers) going to try and load piece by piece.

    I am basically only trying to limit explosives from being researched and crafted. Trying to allow raiding, just at a very reduced rate.

    Log: (Using [] versus the standard{}. The json validator gives tons of errors though.)

    5:54 PM: Loading standard library...
    5:54 PM: Loading plugins...
    5:54 PM: 1 items have been blocked from crafting
    5:54 PM: 1 items have been blocked from researching
    5:54 PM: 1 blueprints have been disabled
    5:54 PM: Loading Oxmin...

    Says explosives have been blocked but I learned the blueprint anyway :(

    Frustration :(

    Added:

    Code:
    {
      "BlockedCrafting": {
      "Explosives": true
      },
      "BlockedResearching": {
      "Explosives": true
      },
      "BlockedBlueprints": {
      "Explosives": true
      }
    }
    Valid file in jsonlint but it does not block crafting.
     
    Last edited by a moderator: Mar 2, 2014
  10. Wulf

    Wulf Community Admin

    Are you sure you want to block Explosives, and not Explosive Charges?
     
  11. Yes, I am running custom loot tables and limited the amount of c4 and explosives being dropped. I don't want to eliminate raiding but reduce the scale of it. This way folks still need to think of security when building but you don't get raided every night when you log.

    It appears with the way I just edited the file I was able to still learn the blueprints but after testing in game I was not able to research or craft explosives and since I was testing by giving myself the blueprint (I would assume the blueprint won't drop at all if blocked) I was screwing myself up.

    Used:

    Code:
    [
      "BlockedCrafting": [
      "Explosives": true
      ],
      "BlockedResearching": [
      "Explosives": true
      ],
      "BlockedBlueprints": [
      "Explosives": true
      ]
    ]
    Going to switch back to the original brackets and valid json file to re check.

    Edit: Yes I am an idiot, Blocking with the regular bracketed string works but giving yourself a blueprint via admin commands will still allow you to learn it. BlockedBlueprints= from dropping not learning I assume.

    Current:
    Code:
    {
      "BlockedCrafting":{
      "Explosives":true
      },
      "BlockedResearching":{
      "Explosives":true
      },
      "BlockedBlueprints": {
      "Explosives": true
    }
    }
    FYI using both methods worked but stuck with the valid file in hopes of it not breaking other plugins.
     
  12. Hey guys!

    Thanks alot for this fantastic plugin! It is one of the most important ones for my server.

    I validated my list and it says:

    Parse error on line 3:
    ... "Shotgun Shells": true, "556
    -----------------------^
    Expecting '}', ',', ']'


    But i can't find any error, can you help me?

    Code:
    {
      "BlockedResearching": [
      "Shotgun Shells": true,
      "556 Ammo": true,
      "M4": true,
      "MP5A4": true,
      "Shotgun": true,
      "Bolt Action Rifle": true,
      "Explosive Charge": true,
      "Kevlar Pants": true,
      "Kevlar Vest": true,
      "Kevlar Helmet": true,
      "Kevlar Boots": true
      ],
      "BlockedBlueprints": [
      "M4": true,
      "MP5A4": true,
      "Shotgun": true,
      "Bolt Action Rifle": true,
      "Kevlar Pants": true,
      "Kevlar Vest": true,
      "Kevlar Helmet": true,
      "Kevlar Boots": true
      ],
      "blockblueprintmessage": "You have no idea what this blueprint says.",
      "blockcraftingmessage": "This is far beyond your crafting ability.",
      "BlockedCrafting": [
      "Explosive Charge": true,
      "556 Ammo": true,
      "Shotgun Shells": true,
      "Shotgun": true,
      "M4": true,
      "MP5A4": true,
      "Bolt Action Rifle": true,
      "Kevlar Pants": true,
      "Kevlar Vest": true,
      "Kevlar Helmet": true,
      "Kevlar Boots": true
      ],
      "blockresearchmessage": "You stare at the item with a confused look on your face."
    }
     
    Last edited by a moderator: Mar 2, 2014
  13. your brackets need to be braces

    like so:

    Code:
    {
        "blockblueprintmessage": "You scratch your head with confusion.",
        "BlockedBlueprints": {
            "Explosive Charge Blueprint": true,
            "Explosive": true
        },
        "blockcraftingmessage": "For some reason this just will not work.",
        "blockresearchmessage": "You herp then you derp.",
        "BlockedResearching": {
            "Explosive Charge": true,
            "Explosives": true
        },
        "BlockedCrafting": {
            "Explosive Charge": true,
            "Explosives": true
        }
    }
     
    Last edited by a moderator: Mar 2, 2014
  14. Gub

    Gub

    I am now getting this as well. This occurs when a player tries to do something that is blocked in crafting controller. Because of this error, the denied research/crafting message is not being displayed to the player. It appears the block is still taking place, which is good.

    I am running 1.1b.
     
    Last edited by a moderator: Mar 1, 2014
  15. I have this error too. Hoping they fix it. =D
     
  16. I have installed this plugin, and now my server is experiencing random freezes/chat lag and eventrually it boots everyone. Is anyone else having this problem? I will list how this is setup below.


    Contents of cfg_craftingcontroller.txt

    Code:
    {
      "blockresearchmessage":"Researching this item has been blocked.",
      "BlockedCrafting":["Explosives": true],
      "blockcraftingmessage":"Crafting this item has been blocked.",
      "blockblueprintmessage":"This blueprint has been disabled.",
      "BlockedResearching":["Explosives": true],
      "BlockedBlueprints":["Explosives": true]
    }
     
  17. @thomasfn seeing these errors which just started showing up in my oxide log today ....I haven't changed anything so I'm not sure why these errors are showing up all of a sudden.
    Code:
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
    7:20 PM: ERROR: craftingcontroller: [string "craftingcontroller.lua"]:65 - Invalid argument 1 to rust.NetUserFromNetPlayer (expecting uLink.NetworkPlayer, got string)
     
    Last edited by a moderator: Mar 2, 2014
  18. Is it possible to block the craft of Research Kit 1 ? On my server, the players have found a way to learn Reasearch Kit 1...
     
  19. Wulf

    Wulf Community Admin

    Sounds like a Rust bug, as I don't think that you are meant to be able to research them.
     
  20. The Crafting Controller Plugin do not start or run. On the Server are the follow Plugins Installed

    0-remover.lua
    advanced_mission.lua
    AirDropInbound.lua
    chathistory.lua
    explosions.lua
    Fant_Leveling.lua
    lootspawnlists.lua
    oxmin.lua
    playerLocation.lua
    privatemessaging.lua
    timecmds.lua

    I am can not say what the Problem is. Its given no Error in the log.