#CW-Crafting bugs
1 messages · Page 1 of 1 (latest)
Fixing it
That's great! Thank you.
I notice that if someone tries to open the inventory (ox inventory) when doing the crafting, the items necessaries for crafting can be descarted, but the crafted item still goes to the inventory. Means the player can crafting over and over again, without cost.
You can disable opening inventories when progressbar is open
LocalPlayer.state:set("inv_busy", true, true) -- Busy
LocalPlayer.state:set("inv_busy", false, true) -- Not Busy
I'd say this is an exploit fix for MANY scripts, so probably a good idea to do it anyway. Just add these in you script for the progressbar you use, when it starts and finishes
*(but I can also add a check for this) *
Fixed. BUT, for example, if someone makes a lockpick using plastic and metalscrap (while dropping the metalscrap) it might still take the plastic, before quitting out, if that's first in the order 
I guess that's a nice lil fuck-you to exploiters
Nice man, thank you so much.
Is there any possibility that the script verify what is needed for craft an item, before delivery it? This way, if a player doesn't have the recipe items, they won't be able to cheat, you know.