Latest update.Code:Failed to call hook 'OnWeaponThrown' on plugin 'AirdropExtended v1.0.2' (InvalidCastException: Cannot cast from source type to destination type.) (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
Airdrop Extended [Unmaintained]
Discussion in 'Plugin Support' started by Wulf, Jul 14, 2015.
-
[Oxide] 6:41 AM [Error] Error while compiling AirdropExtended.cs(833,72): error
CS0121: The call is ambiguous between the following methods or properties: `Oxid
e.Plugins.ExtensionMethods.QuoteSafe(this string)' and `UnityEngine.StringExtens
ions.QuoteSafe(this string)'
Latest Rust and oxide update -
Wulf Community Admin
-
Also have confirmed this bug, I have 90+ mods, only mod calling this error.
Code:[Oxide] 7:46 PM [Error] Failed to call hook 'OnWeaponThrown' on plugin 'AirdropExtended v1.0.2' (InvalidCastException: Cannot cast from source type to destination type.) [Oxide] 7: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
-
Wulf Community Admin
-
-
is working now? :O
-
Can anyone help me with this issue?
Code:[Oxide] 11:06 AM [Debug] Preparing compilation [Oxide] 11:06 AM [Debug] Adding plugin to compilation: AirdropExtended [Oxide] 11:06 AM [Debug] Probably done preparing compilation: AirdropExtended [Oxide] 11:06 AM [Debug] Done preparing compilation: AirdropExtended [Oxide] 11:06 AM [Error] AirdropExtended plugin failed to compile! [Oxide] 11:06 AM [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)'
-
Wulf Community Admin
-
Doesn't work, the plugin responds with output via chat /aire.test but /aire.drop /aire.tome or anything else just does not work.
-
Thanks -
Please update, no messages appear as same as no airdrops appearing
-
baton256 updated Airdrop Extended with a new update entry:
1.0.3
[DOUBLEPOST=1448196964][/DOUBLEPOST]Updated plugin description & fixed critical issues -
Code:
[Oxide] 8:17 PM [Error] Failed to call hook 'OnPlayerLoot' on plugin 'AirdropExtended v1.0.3' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) [Oxide] 8: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
-
really fixed?
Code:[Oxide] 11:44 AM [Error] Failed to call hook 'OnEntitySpawned' on plugin 'AirdropExtended v1.0.3' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.) [Oxide] 11:44 AM [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 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
Last edited by a moderator: Nov 23, 2015 -
-
Sorry for my silly question, but still, how to get rid of this error once and for all?
[Oxide] 2:34 AM [Error] Failed to call hook 'OnEntitySpawned' on plugin 'Airdrop
Extended v1.0.3' (FormatException: Index (zero based) must be greater than or eq
ual to zero and less than the size of the argument list.) -
Because I frequently have only 1 (one) player on I set all the configs that have minimum player shown (default 25) to 1 , and got no airdrops due to insufficient players on ??, I then changed it to 0 (zero) and got the same result, can i remove the whole line that limits drops to players on
I made sure I made the same changes in all the configs, -
-
Because I was getting the same cancellation of the airdrop with 2 players on when the config in all 4 files (why have 4 settings which have to match ?) was set from zero to 1 then 2,
So I removed the plugin, saved my server config and then re installed the default file and decided to check the admin one (first) with the json validator and the portion of the file shown is just the beginning, apart from a section in the middle the whole thing is INVALID. I thought that as the plugin i was using before was not giving me more than one cargo pod and was not doing it every 40 minutes as set I would use this one, I have been trying to get it to work for over 6 hours (as you have to wait for timer to get to drop time) only to find it wont drop anything,
I cannot understand why there is not just ONE config file, it seems to be very well thought out and has all the options I want but I will have to go back the the one that at least gives me one cargo podAttached Files:
-