Yep found the culprit was "Stone" instead of "Stones". Good to know if its named "nil" can get it to be empty though, might use that for a random chance factor of carrying nothing.
Loot Spawn Lists [Unmaintained]
Discussion in 'Plugin Support' started by thomasfn, Jan 6, 2014.
-
I'm having troubles with this plugin. My players say that only large wood storage blueprints are dropping, but this is my file: http://pastebin.com/bXDq6Mf1
What's going on? -
The large storage box is #0 but without a #1 its skipping the rest. Thats what I think at least. -
Edit: Pistol spawn also has no 1, but I haven't edited that. -
Edit: For your PistolSpawnList though its the only thing in the list too is the Pistol. -
-
-
-
we should be. i will edit this post with the new file in approx an hour. i am not home at the moment.
Edit: Aparently I am stupid and forgot to shut down the server BEFORE saving, so it over-wrote the correct one with the old one.Last edited by a moderator: Jan 31, 2014 -
ERROR: Lua error (lootspawnlists
: [string "C:\TCAFiles\Users\TimG\10348\save\oxide\plugi..."]: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 -
if each weight in table = 0, than chances are equal?
So, beside row delete, max":0,"min":0," disables item from drop or "weight":0 or max":0,"min":0,"weight":0 ? -
Ok if i have realy understand, i explain what i see for drop rate, just say me if its good or no
oneofeach: false = not give one of each for list (1 - 13) ????
nodupes: false = cant give same item in drop. ???
TOTAL of my weight : [350]
Explosives
1 ÷ 350( min 1 + max 2 ÷ 2)100
1 ÷ 350( 3 ÷ 2)100
1 ÷ 350( 1.5 )100 = 0.428%
Chance to Drop is: 0.428% and kill approximate 234 Zombie [100% ÷ 0.428% = 233.6]
-
Hi guys, can someone explain me what's wrong with my loot_tables.txt ?
doesn't drop what i wrote :
http://pastebin.com/xWw1FR8T -
-
Thanks you Saggypants, i try then i edit
Edit : Still doesn't works :/
http://pastebin.com/u3mY4zFELast edited by a moderator: Feb 1, 2014 -
This is a bit too complicated for me so maybe someone can help me with that... what i want for my Server is:
1. M4 can be found as usual but RARELY. It should NOT be craftable. It CAN come with airdrops.
2. C4 (as well as EXPLOSIVES) can be found as usual but RARELY. It should NOT be craftable. It CAN come with airdrops MORE LIKELY than with Drops.
3. MP5 can be found as usual but RARELY. It should NOT be craftable. It CAN come with airdrops.
Can someone help me with what values in what list to edit to? -
To the best of my knowledge, this mod does not do anything about the crafting though, you would need another mod for that. However, the same plugin developer also made Crafting Controller, which allows you to enable or disable crafting or research of specific items. The only way you could prevent crafting of things like M4, MP5, and C4 using only the loot-spawn-list mod would be to completely remove research kits and the blueprints for those items from the loot table. -
Appreaciate your help. I will watch that Crafting Controller.
Can i make a difference between drop rates in Airdrops and Droprates from Zombies/crates...? -
Yeah, each list is called up at a specific time. The Zombie list is called whenever you loot a zombie, so you could make zombies have a really low chance of dropping the gun. The Airdrop list is called for airdrops, so you could make it a high chance or even guaranteed to be in any air drop. The weights are independent of one another, because they are called in different scenarios.
-
I will check that out. thx.[DOUBLEPOST=1391285304][/DOUBLEPOST]Ok, next Problem: i disabled (lets take as example) CRAFTING of M4 with your proposed Crafting Plugin. When i watch the loot table it seems like you can find a M4 BP as a drop. When i prohibited researching and crafting it does it matter if a BP Drops? For from my understanding you wont be able to use the BP.
Another Problem: Zombie and Airdrop seem to drop M4 by a specific list (MilitaryWeaponList). If i want different Chance for one item (M4) i dont see a way to do this as the "weight" values are defined withing the MilitaryWeaponList NOT withing the Zombie/ AIrdrop List...
Perhaps someone can control my loot table if i made this: Military weapon drop very rarely, Military BP drop never, no explosive Drops.Attached Files:
Last edited by a moderator: Feb 1, 2014 -