1. 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.
     
  2. 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?
     
  3. Your blueprintspawnlist is missing a #1

    The large storage box is #0 but without a #1 its skipping the rest. Thats what I think at least.
     
  4. Really?....Someone told me I could just delete "Explosive Charge" from the lists and it wouldn't hurt anything.

    Edit: Pistol spawn also has no 1, but I haven't edited that.
     
  5. Thats the only thing I can see different from it than any of my own created lists. I would try renumbering them 0-8 and see if it corrects it.

    Edit: For your PistolSpawnList though its the only thing in the list too is the Pistol.
     
  6. Yea, I was having this same problem. Gonna see if this will work for me too.
     
  7. i have been told that armor blueprints now drop after making those changes, but other than armor still just wood storage
     
  8. Whats your new file look like? The armor looks like its in a separate section if your referring to kevlar on your previous list. I also assume were looking at the zombie drop list as well but should probably verify.
     
  9. 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
  10. 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
     
  11. ZOR

    ZOR

    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 ?
     
  12. 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]

     
  13. Did you rename one of the tables that must be in the list? ZombieLootList, etc. etc. It looks like you are trying to pull up a table that isn't there...or did you rename the loot file to something different?

    Just a guess, but none of your lists have a package "0", they are numbered 1 through whatever...I think the numbering has to start with 0 though. Everything else looks good at a quick glance.
     
  14. Last edited by a moderator: Feb 1, 2014
  15. Ozi

    Ozi

    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?
     
  16. Making the drops rare is easy, just give them a very low weight. Say the total sum of weights for all guns is 1,000 and of those weights M4 is 1. That means M4 has a 1 in a 1000 chance of dropping.

    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.
     
  17. Ozi

    Ozi

    Appreaciate your help. I will watch that Crafting Controller.

    Can i make a difference between drop rates in Airdrops and Droprates from Zombies/crates...?
     
  18. 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.
     
  19. Ozi

    Ozi

    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