Make sure you are using the latest version.
Crafting Controller [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Wulf Community Admin
-
im using HFB servers and when i update the craft control plugin i cant open boxes and doors anymore.
-
Wulf Community Admin
-
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. -
Wulf Community Admin
-
I also singled out the craft tool earlier by ONLY activating that plugin after installing 16.b again -
-
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)
-
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 } }
Last edited by a moderator: Mar 2, 2014 -
Wulf Community Admin
-
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 ] ]
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 } }
-
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 -
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 -
I am running 1.1b.Last edited by a moderator: Mar 1, 2014 -
-
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] }
-
@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 -
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...
-
Wulf Community Admin
-
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.