on line 70 make sure you add a "," after it
should look like this http://prntscr.com/58vbhr

Crafting Controller
Allows you to modify the time spend crafting and which items can be crafted
Total Downloads: 52,393 - First Release: Oct 29, 2014 - Last Update: Apr 19, 2018
- 5/5, 72 likes
-
please Update for new Version.
-
Mughisi updated Crafting Speed Modifier with a new update entry:
Added tool cupboard
-
plugin needs updating for new rust update
-
-
error I'm getting....
LuaScriptException: [string "m-CraftingRate.lua"]:132: attempt to perform arithmetic on field '?' (a nil value) -
-
yep sure am i recentley reinstalled server on streamline installed oxide fresh today downloaded all latest plugin updates
-
yes.. just to make sure installed again.
-
yes i have updated to latest version and cant see to change any gather rate i have tried resetting server and everything
[DOUBLEPOST=1416702927][/DOUBLEPOST]i will re upload and try
[DOUBLEPOST=1416703113][/DOUBLEPOST]seems all good now thank you i just re uploaded
[DOUBLEPOST=1416703247][/DOUBLEPOST]i had to change it manually in the config file it wasnt working in game all good now -
-
My config for this plugin is empty... tried to use the stuff from gathering and modify but no luck... can someone post their config for me?
-
Code:
{ "Messages": { "Error": "The new rate must be a number between 0 and 100 where 0 is instant craft and 100 is default!", "Modify": "Crafting rate is currently {speed}% of the default speed." }, "Settings": { "ChatName": "Crafting", "RatePercentageOfNormal": 100 } }
-
Works perfect now... 1 fault down... 3 to go...
-
Last edited by a moderator: Nov 26, 2014
-
Read Post #30 to #33 !
-
Edit: I got it though, no worries. I was modifying the lua instead of the config.Last edited by a moderator: Nov 26, 2014 -
-
With the new hook
that's how simple it is now
code]function PLUGIN:OnItemCraft( itemcrafttask )
-- this will make the craft time be lowered by self.Config.Settings.RatePercentageOfNormal%
itemcrafttask.endTime = UnityEngine.Time.get_time() + itemcrafttask.blueprint.time*(self.Config.Settings.RatePercentageOfNormal/100)
return itemcrafttask
end[/code] -