I don't understand exactly what the things like max, min or weight mean. I read the description on the plugin page but I still don't understand completely. Can someone help me? Thank you!
Loot Spawn Lists [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
Wulf Community Admin
-
Can someone create a .cfg file for me ? I only want to disable C4 / Explosive Charge on my Server.
I create a file, but c4 can found in airdrops -
-
2 Questions:
1) How do I specify a "null" condition, AKA nothing drops?
2) Why am I getting said "null" conditions despite not having it as a possible outcome? -
-
I am not using default, I am using my own list. Despite having no nil values, sometimes nothing drops (quite frequently actually)
-
Can you post your table then? My hunch would be putting in wrong names so it can't generate the item. Like "m4" instead of "M4" or something to that effect.
-
So it would be the result of a misnamed item? All I needed to know. Thanks!
-
It could be the name spelling (its capitol sensitive) or you could have the min and max drops set to 0 and 1. Meaning the minimum drop is 0 which will make it so sometimes nothing drops.
-
I'm not sure if anyone else has noticed this, but it seems like if I want to get 2 items to spawn in a package, I actually have to set the max to 3. I have been trying to figure out why having min 1 and max 2 never gave me two items, but the lists I set to max 3 will sometimes spawn 2 now.
-
I am having trouble keeping specific items from being available as loot from the different sources. For instance, I still hear of people getting Kevlar BP's from zombie kills when that isn't even a loot option in my tables.
What the heck am I doing wrong? Do I need to explicitly deny the items from being dropped or what?
File name is not the same as when on the server, I know that it loads fine. All my weights add up to 10k giving me more fine control over the percent chance that they drop. Any input would be awesome.Attached Files:
-
-
I'm getting this error:
Code:ERROR: Lua error (lootspawnlists:): [string "C:\TCAFiles\Users\reu_ecker1289\483\save\oxid..."]:89: bad argument #1 to 'pairs' (table expected, got nil) ERROR: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Also, 1 in 10,000 chance of research kit off zombies and the only other way to get them is airdrops? You, sir, are sinister! -
Managed to get mine working, my question or next question is going to be is there a good place with accurate item naming? Ive been using sources like playrust wiki: http://playrustwiki.com/wiki/List_of_Items. The other question is looks like next version will remove zombies dont suppose anyone will know till its done what those will be called for loot lists?
-
-
-
Code:"SupplyDropB":{ "packages":{ "1":{ "object":"556 Ammo", "min":250, "weight":0, "max":250 }, "2":{ "object":"Shotgun Shells", "min":100, "weight":0, "max":100 }, "3":{ "object":"F1 Grenade", "min":10, "weight":0, "max":10 }, "4":{ "object":"Explosive Charge", "min":1, "weight":0, "max":1 }, "5":{ "object":"Large Medkit", "min":5, "weight":0, "max":5 }, "0":{ "object":"9mm Ammo", "min":250, "weight":0, "max":250 } }, "nodupes":false, "max":1, "oneofeach":true, "min":1 },
Code:"SupplyDropB":{ "packages":{ "1":{ "object":"556 Ammo", "min":250, "weight":0, "max":250 }, "2":{ "object":"Shotgun Shells", "min":100, "weight":0, "max":100 }, "3":{ "object":"F1 Grenade", "min":10, "weight":0, "max":10 }, "4":{ "object":"Large Medkit", "min":5, "weight":0, "max":5 }, "0":{ "object":"9mm Ammo", "min":250, "weight":0, "max":250 } }, "nodupes":false, "max":1, "oneofeach":true, "min":1 },
-
I noticed this morning when running around looting boxes that one of the times I tried looting the wooden crate it came up empty. Is that a possibility normally or would it mean something is likely misspelled in my loot lists? Im thinking its the latter which is why Im going through it checking. -