Friends

Moved

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

5/5, 6 likes
  1. i delete all files, update the plugin and reload it
    /addfriend nickname and this error
    Code:
    (14:30:27) | 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.)
    (14:30:27) | 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
     
  2. And i have this Error:

    Code:
    (12:30:58) | Failed to call hook 'OnUserConnected' 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.)
    (12:30:58) | 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.OnUserConnected (IPlayer player) [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
    [DOUBLEPOST=1510316104][/DOUBLEPOST]Hmm, and the next. I think there is a problem with the Connect-Plugin?
    Code:
    (12:55:36) | 79.202.77.139:56363/xxxxxxxxxxx/Rick ?????? disconnecting: disconnect
    (12:55:36) | Failed to call hook 'OnUserDisconnected' 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.)
     
  3. need fix plugin after update
     
  4. Code:
    (14:16:29) | Failed to call hook 'OnUserDisconnected' 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.)
    (14:16:29) | 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.OnUserDisconnected (IPlayer player) [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
    (14:17:38) | Saved 17,660 ents, serialization(0.00), write(0.01), disk(0.00) totalstall(0.02).
     
    Last edited by a moderator: Nov 10, 2017
  5. Wulf

    Wulf Community Admin

    Did the player have { or } in their name?
     
  6. where?
     
  7. Wulf

    Wulf Community Admin

    /friend add "whatever name with { or } in it"
     
  8. /addfriend nickname lang file have {0}
     
  9. no. only normal letters
     
  10. Wulf

    Wulf Community Admin

    Do you have an exact example of what was used with the command?
     
  11. /addfriend
    /fm
    /pm
     
  12. This
    Code:
    (14:16:29) | Failed to call hook 'OnUserDisconnected' on plugin 'Friends v2.5.4'
    and this
    Code:
    (12:30:58) | Failed to call hook 'OnUserConnected' on plugin 'Friends v2.5.4'
    only happens when a user connected/disconnected.
    The users have no {or} in the name
     
  13. Wulf

    Wulf Community Admin

    Exact and full command, not start of the command. :p

    Thanks, should have that fixed now.
     
  14. sorry, I have a bad English :D
     
  15. Wulf

    Wulf Community Admin

    Wulf updated Friends with a new update entry:

    2.5.5

     
  16. Sanks!
     
  17. Code:
    (21:35:02) | Loaded plugin Friends v2.5.5 by dcode
    (21:35:10) | Failed to call hook 'cmdAddFriend' on plugin 'Friends v2.5.5' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (21:35:10) | 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) [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
    another error...
     
  18. yes and i have this error but, plugin work xD
     
  19. Have you already updated the server, oxide and the plugin?
    There are an update for all
     
  20. yes update and update plugin, its work