I'll look at high walls and syringes tonight, JohnRU reported the same issue a while back with high walls so there might be something up with that, I'll take a closer look.
As for C4 vs bulkcraft, yeah you'd need to manually add everything to the blacklist... not very practical![]()
LimeBench [Unmaintained]
Discussion in 'Plugin Support' started by Deicide666ra, Jun 19, 2015.
-
Deicide666ra,
Is it possible to add the option of turning bulkcraft on/off on certain items for certain people, so as to allow certain people to craft an item in bulk and others not? -
-
Code:{ "Authorizations": { "benchMultiplierAuthLevel": 0, "bulkCraftAuthLevel": 0, "craftingMultiplierAuthLevel": 0 }, "Blacklists": { "benchMultiplierBlacklist": [], "bulkCraftBlacklist": [ "ammo.handmade.shell", "ammo.pistol", "ammo.pistol.fire", "ammo.pistol.hv", "ammo.rifle", "ammo.rifle.explosive", "ammo.rifle.hv", "ammo.rifle.incendiary", "ammo.rocket.basic", "ammo.rocket.fire", "ammo.rocket.hv", "ammo.rocket.smoke", "ammo.shotgun", "ammo.shotgun.slug", "arrow.hv", "arrow.wooden", "attire.hide.boots", "attire.hide.pants", "attire.hide.poncho", "attire.hide.vest", "axe.salvaged", "blueprint_book", "blueprint_fragment", "blueprint_library", "blueprint_page", "bone.armor.jacket", "bone.armor.pants", "bone.club", "bone.fragments", "book.accident", "bow.hunting", "botabag", "bucket.helmet", "burlap.gloves", "burlap.headwrap", "burlap.shirt", "burlap.shoes", "burlap.trousers", "coffeecan.helmet", "crossbow", "explosive.timed", "fun.guitar", "generator.wind.scrap", "grenade.beancan", "grenade.f1", "gunpowder", "hammer", "hammer.salvaged", "hat.beenie", "hat.boonie", "hat.candle", "hat.cap", "hat.miner", "hat.wolf", "hatchet", "hazmat.boots", "hazmat.gloves", "hazmat.helmet", "hazmat.jacket", "hazmat.pants", "hoodie", "icepick.salvaged", "jacket", "jacket.snow", "jacket.snow2", "jacket.snow3", "knife.bone", "longsword", "mace", "machete", "mask.balaclava", "metal.facemask", "metal.plate.torso", "pickaxe", "pistol.eoka", "pistol.revolver", "pistol.semiauto", "rifle.ak", "rifle.bolt", "riot.helmet", "roadsign.jacket", "roadsign.kilt", "rocket.launcher", "salvaged.cleaver", "salvaged.sword", "shoes.boots", "shotgun.pump", "shotgun.waterpipe", "sign.wooden.huge", "sign.wooden.large", "sign.wooden.small", "sleepingbag", "smg.2", "smg.thompson", "spear.stone", "spear.wooden", "stone.pickaxe", "stonehatchet", "torch", "tshirt", "tshirt.long", "wood.armor.jacket", "wood.armor.pants" ], "craftingMultiplierBlacklist": [] }, "Crafting": { "benchMultiplier": 0.0, "bulkCraft": 2, "craftingMultiplier": 0.0, "gunpowderMultiplier": 0.0 } }
-
Does that stack controller also allow items that usually do not stack to stack? Not quite sure I can see a reason here...
-
-
Well either way.. Umm.. I'd ask the players if they ever crafted something that seemed to crash the server. I really don't see how the new check could fail. Does the problem go away if you disable bulk? Are you sure that's the prob?
-
-
Heck that stack thing is part of a huge plugin that is a mixed bag doing lots of things. The main issue with stacking non-stackable items is the fact the interface handles it poorly. Take guns as an example, they can have attachments, condition, bullets, etc. I'm not entirely sure what happens when you start stacking these. As far as I know stacked items are just one item with an amount over 1 so who knows what happens when you stack 2 guns with different attachments, conditions and bullet types for example.
I do allow water bottles to stack on my server.. Don't ask me how but it seems to be tracking the contents properly.
I'm reviewing the bulk code here and I really don't see an issue here. It just creates up to 30 stacks of the requested item, instanciating each stack at once and dropping it in the player's inventory. If player doesn't have enough space th!le stuff spills on the ground.
I added a time warning to the plugin in one of the latest versions, check your logs for "Warning: Bulkcraft took xxx ms". Let me know if you have this in your logs? -
-
In the case of 999 AK's, LimeBench won't allow bulkcrafting that it will just queue it as a normal request. It will do 999 / stacksize(1) = 999 slots required the maximum being 30 it will just not trigger bulkcraft. It will also notify the player via chat message that bulkcraft was denied.
Same happens with anything that would generate more than 30 stacks. I could check how many slots the player has but to make it clean I'd have to look at how many stacks of the item in question he already has and figure if these will overflow, etc. IMHO throwing up to 30 stacks on the ground shouldn't take long enough to be an issue, let alone crash the server.
Back when I didn't have that check, it could create up to 999 stacks (for non-stackable items) and generating that much in a server cycle was causing the crash you initially reported. -
-
Tell me about the time warning logs you have from bulk crafting!
You could try just turning bulkcraft off for a day or two and see if it fixes the issue. -
Code:
[9/8/2015 7:08:59 PM] [Oxide] 7:08 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 10.0063 ms [9/8/2015 7:27:47 PM] [Oxide] 7:27 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 12.008 ms [9/9/2015 12:25:57 PM] [Oxide] 12:25 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 10.007 ms [9/9/2015 1:04:00 PM] [Oxide] 1:04 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 10.0066 ms [9/9/2015 1:04:06 PM] [Oxide] 1:04 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 10.0064 ms [9/9/2015 2:17:37 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 11.0064 ms [9/9/2015 2:17:42 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0107 ms [9/9/2015 2:17:52 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0103 ms [9/9/2015 2:17:52 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0112 ms [9/9/2015 2:17:53 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0112 ms [9/9/2015 2:17:54 PM] [Oxide] 2:17 PM [Info] [Better Chat] [User] [Croon] Finn The Human: wow [9/9/2015 2:17:54 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0106 ms [9/9/2015 2:17:55 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0113 ms [9/9/2015 2:17:56 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.011 ms [9/9/2015 2:17:57 PM] [Oxide] 2:17 PM [Info] [Better Chat] [User] [Croon] Finn The Human: fag [9/9/2015 2:17:57 PM] [Croon] Finn The Human[723410/76561198182212958] was killed by [N0rdis] SMoKeR[1543468/76561198118504307] [9/9/2015 2:17:57 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0128 ms [9/9/2015 2:17:58 PM] [Oxide] 2:17 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0107 ms [9/9/2015 2:18:00 PM] [Oxide] 2:18 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 17.011 ms [9/9/2015 2:18:00 PM] [Oxide] 2:18 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0098 ms [9/9/2015 2:18:02 PM] [Oxide] 2:18 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0112 ms [9/9/2015 2:19:34 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.0097 ms [9/9/2015 2:19:35 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 17.0117 ms [9/9/2015 2:19:36 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 17.0125 ms [9/9/2015 2:19:37 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 17.0122 ms [9/9/2015 2:19:38 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 17.012 ms [9/9/2015 2:19:39 PM] [Oxide] 2:19 PM [Info] [L.I.M.E. Bench] Warning: Bulkcraft took 16.011 ms
-
Ok cool those are barely breaking the trigger limit i set so its really no big concern. Listen i really dont see what could cause a crash, but id try disabling bulk for a couple days and see what happens.
-
-
We seem to be getting the issue that was raised by JohnRU when using Bulkcraft set at 1 (Tool Cab range only). When an item is blacklisted it only instacrafts which is fine. But as soon as you add a non black listed item to the queue it bulkcrafts it.
-
-
[DOUBLEPOST=1441906928,1441824319][/DOUBLEPOST]Ignore the above comment, I removed and re-added the plugin everything works fine. -
Hi
Is there away of adding an item to LimeBench so that it can't be craft at all or at least decrease how fast it can be crafted.
So for example High Stone Walls, I have black listed so they now craft at the usual Rust rate. Would it be possible to either A) remove them so they cant be crafted full stop or B) make it even slower than vanilla rust to craft?