Friends

Moved

Total Downloads: 7,097 - First Release: Sep 7, 2016 - Last Update: Nov 19, 2017

5/5, 6 likes
  1. I have this error when someone wants to write / pm NAME TEXT

    Code:
    (20:32:23) | [RCON][156.67.136.185:43249] oxide.reload Friends(20:32:23) | Unloaded plugin Friends v2.5.3 by dcode(20:32:23) | Loaded plugin Friends v2.5.3 by dcode(20:32:31) | Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3528' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)(20:32:31) | at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.Friends.cmdPrivateChat (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.Friends+<registerCommand>c__AnonStorey0.<>m__0 (IPlayer caller, System.String cmd_, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.CommandCallback (IPlayer caller, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Libraries.Covalence.CommandHandler.HandleCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Libraries.Covalence.CommandHandler.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [0x00000] in <filename unknown>:0at (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
     
  2. Wulf

    Wulf Community Admin

    The error means you have a message that is not formatted correctly. Did you edit any?
     
  3. No. I've uninstalled the plugin (previously all deleted) re-uploaded. Since then comes this message
     
  4. a reboot helped. But / fm still does not work
     
  5. how i can to remove, off whis command? Screenshot
     
  6. In the config change "EnableFriendChat": true to "EnableFriendChat": false
     
  7. its not friend chat
    "DisableFriendlyFire": false,
    "EnableFriendChat": true,
    "EnablePrivateChat": false,
    "LimitFriendChatToMutualFriends": true,
    its my conf...
     
  8. and need fix pls Screenshot
    its droped foundament and floor need fix
     
  9. after game update this plugin does not compile.
    52 Friends - Failed to compile: Friends.cs(463,72): error CS1503: Argument `#2' cannot convert `int' expression to type `string'
     
  10. Same........^
     
  11. Code:
    (00:51:58) | Error while compiling: Friends.cs(463,72): error CS1503: Argument `#2' cannot convert `int' expression to type `string'
    Help please.
     
  12. think we all getting this - just need to wait for an update.
     
  13. Wulf

    Wulf Community Admin

    Wulf updated Friends with a new update entry:

    2.5.4

     
  14. Code:
    08:09 [Error] Failed to call hook 'cmdAddFriend' on plugin 'Friends v2.5.4' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    08:09 [Stacktrace]   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.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriendInternal (System.String playerId, System.String friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriend (System.Object playerId, System.Object friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.cmdAddFriend (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    08:09 [Error] Failed to call hook 'cmdAddFriend' on plugin 'Friends v2.5.4' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    08:09 [Stacktrace]   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.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriendInternal (System.String playerId, System.String friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriend (System.Object playerId, System.Object friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.cmdAddFriend (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    
     
  15. Wulf

    Wulf Community Admin

    What do your messages look like for the plugin?
     
  16. if I get you right
     

    Attached Files:

  17. Wulf

    Wulf Community Admin

    I meant under oxide/lang. The error is basically saying it expected a {0} to replace, but there wasn't one to replace.
     
  18. Code:
    {
    nocopyright
    }
     
    Last edited by a moderator: Nov 10, 2017
  19. Can you backup your lang file, delete your lang file, then reload the plugin?

    Please post your results.
     
  20. what this? need fix or what?
    [DOUBLEPOST=1510310152][/DOUBLEPOST]
    Code:
    (13:33:42) | Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3720' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (13:33:42) | 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.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.cmdFriendChat (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends+<registerCommand>c__AnonStorey0.<>m__0 (IPlayer caller, System.String cmd_, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.CommandCallback (IPlayer caller, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [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
    my errore