1. baton256 updated Airdrop Extended with a new update entry:

    1.0.2

     
  2. Help

    Code:
    [Oxide] 6:17 PM [Debug]   at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Logging.Logger.CreateLogMessage (LogType type, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Logging.Logger.Write (LogType type, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Logging.CompoundLogger.Write (LogType type, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at AirdropExtended.Diagnostics.Diagnostics.MessageToServer (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
      at AirdropExtended.Diagnostics.Diagnostics.MessageTo (System.String message, Boolean sendToAll, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AirdropExtended.OnPlayerLoot (.PlayerLoot lootInventory, .BaseEntity targetEntity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AirdropExtended.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  3. Sometimes airdrops return empty.

    Failed to call hook 'OnEntitySpawned' on plugin 'AirdropExtended v1.0.2' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    [DOUBLEPOST=1447115601,1447006685][/DOUBLEPOST]Is this plugin working for anyone? players still get crap loot, i deleted default configs, reloaded, data file looks ok but still crap loot.
     

    Attached Files:

  4. I've posted solution to this few posts above. Gonna add auto fix to this problem later.

    I've got few people testing it on their servers. Everything works fine, if properly configured. You might want to look at your item chances/config.
     
  5. Start:
    "Name": "targeting.computer",
    "ChanceInPercent": 84.0,
    "MinAmount": 0,
    "MaxAmount": 0,
    "IsBlueprint": false
    Fixed: "MinAmount": 1, "MaxAmount": 1,
    Restart:
    "Name": "targeting.computer",
    "ChanceInPercent": 84.0,
    "MinAmount": 0,
    "MaxAmount": 0,
    "IsBlueprint": false
     
  6. What do you mean after restart? Just changed MinAmount/MaxAmount of targeting computer to 1. Typed in console aire.reload, checked config - everything is fine.
     
  7. Everything is ok, thanks. I do not have a default command
    Translates bad site
    [DOUBLEPOST=1447163683][/DOUBLEPOST]You can combine objects in the default configuration? Example:
    {
    "ChanceInPercent": 60.0
    "Name": "ammo.shotgun","MinAmount": 32,"MaxAmount": 64, + "Name": "shotgun.pump","MinAmount": 1,"MaxAmount": 1,
    "IsBlueprint": true
    }
     
  8. [Oxide] 8:43 PM [Error] Failed to call hook 'OnPlayerLoot' on plugin 'AirdropExt
    ended v1.0.2' (FormatException: Index (zero based) must be greater than or equal
    to zero and less than the size of the argument list.)

    Help to fix pls
     
  9. No, you cant combine them. But you can add one item to different groups. Also in one group item may appear more than once.

    Please, see my previous post about new default messages.
     
  10. I was getting the occasional empty container, as well as NullReferenceException: Object reference not set to an instance of an object. on some aire.test executions. They renamed the old External Wooden Gate to gates.external.high.wood whereas the old reference was gates.external.high. I corrected this in my data file and will see if that was indeed the problem. Perhaps some others are having this problem as well.

    @baton256 Can you confirm that in the event an item reference is misspelled it will cause the NullReferenceException and return an empty crate? Thx!
     
  11. Yes, in this case crate is going to be empty. Will update the plugin tomorrow. Thx for reporting.
     
  12. i just got this in my console. is that bad?
    Code:
    [Error] Failed to call hook 'OnEntitySpawned' on plugin 'AirdropExtended v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 12:48 AM [Debug]   at AirdropExtended.Airdrop.Settings.AirdropSettings.PickItemWeightedOrDefault (AirdropExtended.Airdrop.Settings.AirdropItemGroup weightedGroup) [0x00000] in <filename unknown>:0
      at AirdropExtended.Airdrop.Settings.AirdropSettings.CapacityWeightedPick (IEnumerable`1 groups) [0x00000] in <filename unknown>:0
      at AirdropExtended.Airdrop.Settings.AirdropSettings.CreateItemList () [0x00000] in <filename unknown>:0
      at AirdropExtended.Airdrop.Services.AirdropController.FillWithCustomLoot (.ItemContainer itemContainer) [0x00000] in <filename unknown>:0
      at AirdropExtended.Airdrop.Services.AirdropController.HandleSupplyDrop (.SupplyDrop entity) [0x00000] in <filename unknown>:0
      at AirdropExtended.Airdrop.Services.AirdropController.OnEntitySpawned (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AirdropExtended.OnEntitySpawned (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.AirdropExtended.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  13. Currently getting "invalid command" when attempting to use any of the aire console commands.
     
  14. As was mentioned before its probably one of old item names. Consider generating new config to check latest rust item list. Also check high external wall item.

    I've found that latest Oxide update broken a few diagnostic functions. I'm working on plugin update.
     
  15. [Oxide] 1:15 PM [Debug] Preparing compilation
    [Oxide] 1:15 PM [Warning] Waiting for another application to stop using script: AirdropExtended
    [Oxide] 1:15 PM [Debug] Adding plugin to compilation: AirdropExtended
    [Oxide] 1:15 PM [Debug] Probably done preparing compilation: AirdropExtended
    [Oxide] 1:15 PM [Debug] Done preparing compilation: AirdropExtended
    [Oxide] 1:15 PM [Debug] Load requested for plugin which is already loading: AirdropExtended
    [Oxide] 1:15 PM [Error] AirdropExtended plugin failed to compile!
    [Oxide] 1:15 PM [Error] AirdropExtended.cs(833,72): error CS0121: The call is ambiguous between the following methods or properties: Oxide.Plugins.ExtensionMethods.QuoteSafe(this string)' and `UnityEngine.StringExtensions.QuoteSafe(this string)'


    Any idea what could cause this?
     
  16. Not setting up the config file properly. Can't use any commands. Same with older version.
    This is the same for everyone?
     
  17. Hi
    A question ?
    How can you add the turret in the config airdrop
    I'm afraid to make a silly thing. Thank you
     
  18. With newest Oxide.
     
  19. Wulf

    Wulf Community Admin

    Working on fixing that with Oxide. :p
     
  20. I'm guessing this is an Oxide related error and not really specific to this plugin, but here's this:

    Code:
    [Error] Failed to call hook 'OnWeaponThrown' on plugin 'AirdropExtended v1.0.2' (InvalidCastException: Cannot cast from source type to destination type.)
    5:46 PM [Debug]   at Oxide.Plugins.AirdropExtended.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0