1. C'mon, at least read the last page of a thread.
     
  2. Hey all, I did the fix for the AILootList, and I now get spammed with these errors in console and it is causing my cpu to spike massively.

    Code:
    "Stop" can only be called on an active agent that has been placed on a NavMesh.
    "SetDestination" can only be called on an active agent that has been placed on a NavMesh.
    
    This seems to happen when players kill a mutant.
     
  3. Does anyone know what this errors means and where i have to look for a fix?
    - running latest version of oxide
    - running latest version of the plugin
    - Config file is Json proof

     
  4. question ... i sjute wanted too set up my server and im fucked up now red bear and wolf dont drop any thing what the name now for them too drop some thing?
     
  5. Wulf

    Wulf Community Admin

  6. So far, I'm able to understand the weights of items, oneOfEach, and noDupes for the most. However, how do they work in relation to the SupplyDropSpawnListMaster? For instance, you have the min and max for for each individual package and the min/max/oneOfEach for the SupplyDropSpawnListMaster overall.

    Code:
    "SupplyDropSpawnListMaster":{
        "packages":{
          "1":{
            "max":1,
            "min":1,
            "weight":7,
            "object":"SupplyDropB"
          },
          "2":{
            "max":1,
            "min":1,
            "weight":7,
            "object":"SupplyDropC"
          },
          "3":{
            "max":1,
            "min":1,
            "weight":7,
            "object":"SupplyDropD"
          },
          "4":{
            "max":1,
            "min":1,
            "weight":3,
            "object":"SupplyDropE"
          },
          "0":{
            "max":1,
            "min":1,
            "weight":10,
            "object":"SupplyDropA"
          }
        },
        "nodupes":false,
        "max":1,
        "oneofeach":false,
        "min":1
      },
     
  7. @Squatch: It seems the SupplyDropSpawnListMaster is just a master list of all the available supply drops. When a plane drops 1 to 3 crates it runs through the master list for each crate (so theoretically when it drops three crates you could have it drop variaton A three times, or A/B/E, etc.). When it decides on the variation it will then run through all the settings for SupplyDropX separately. It's also possible to add more supply drops manually (for instance F, G, H, etc.) - add a new entry to the master list, copy/paste an existing SupplyDropX and edit it accordingly (I personally still have 5 different drops, but I amended the wood structure set with ceilings and metal window bars and changed another drop to a full kevlar set and random weapon and random weapon attachment).
     
  8. sorry for asking but how fast you can update this plugin on the newest version from oxide (update 17.2.2014)? because when the new oxide Version is released i will wiped my server with Custom Loottables :p
     
  9. @BabaUrmel: I thought we talked about this, don't be that guy. You don't even know yet if it needs to be updated.[DOUBLEPOST=1392661871][/DOUBLEPOST]
     
  10. so this version is 100% compatible with Oxide 1.15?
     
  11. Wulf

    Wulf Community Admin

    Yes, there haven't been any breaking API changes since Oxide 1.8.
     
  12. very nice :) all older plugins are running :eek:
     
  13. I'm not sure.

    What do i need to write if i just want to remove Paper from loot (and also from craft with Crafting Controller) ?

    Thanks :)
     
  14. I'm having issues with my loot list plug in. I think it may be the list itself, basically what's happening is when the list is valid through jsonlint all my crates and ai drops are empty.

    edit solved. it was a spacing issue that was created when jsonlint validated it.
     

    Attached Files:

    Last edited by a moderator: Feb 18, 2014
  15. not working, please update
     
  16. Wulf

    Wulf Community Admin

    Works fine, give details.
     
  17. i become this error in logs,
    3:12 AM: ERROR: Lua error (lootspawnlists)
    mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\JustinK\1991\save\oxide\plu..."]:89: bad argument #1 to 'pairs' (table expected, got nil)
    --- End of inner exception stack trace ---
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    : NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\JustinK\1991\save\oxide\plu..."]:89: bad argument #1 to 'pairs' (table expected, got nil)
    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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

    http://pastebin.com/eeqg9WHP
     
  18. I don't understand. Where do I insert the loot table?
     

    Attached Files:

    Last edited by a moderator: Feb 18, 2014
  19. Wulf

    Wulf Community Admin

    Per the description on the Overview page of this thread:
    It goes in your data folder, where all the other plugin config files are. It needs to keep the name "loot_tables.txt" as well.