FriendsAPI

Moved

Total Downloads: 24,015 - First Release: Oct 26, 2014 - Last Update: Nov 10, 2017

5/5, 39 likes
  1. Wulf

    Wulf Community Admin

    This is for Rust Experimental.
     
  2. Version 1.2.3 is for Rust Experimental? I had installed it but then my server was down so I had to deinstall it.
     
  3. Wulf

    Wulf Community Admin

    This plugin has always been for Rust Experimental. If you are having issues, check your logs for errors.
     
  4. I can`t see anything in the logs... is this plugin compatible with the AntiCheat? Are there any incompatibilities?
     
  5. Wulf

    Wulf Community Admin

    This plugin is an API, which other plugins have to use for it to do anything, and I don't see how it could be incompatible with AntiCheat, or any plugin.
     
  6. CHR

    CHR

    Hey domestos could u look into it?

    Code:
    File: 0friendsAPI.lua Line: 66 invalid arguments to method call:
      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
    [Oxide] 12:37 PM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'
    File: 0friendsAPI.lua Line: 66 invalid arguments to method call:
      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 
     
  7. Are you able to reproduce this error? What were you doing when it occured?
     
  8. CHR

    CHR

    I think these errors happen when someone wanted to add someone as friend ... cuz they reported it right after that FAPI not working
     
  9. Does it happen every time or only occasionally?
     
  10. CHR

    CHR

    Will report later...
     
  11. Can you please add a notification for when people add and remove people from friends list, it sends a message to the other player they added / removed.

    Also would be nifty, if this linked with IO Map as well.

    Thank you.
     
  12. i seem to be getting this error sometimes
    Code:
    [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'
    File: 0friendsAPI.lua Line: 169 attempt to concatenate local 'targetNameString' (a nil value):
      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
     
    Last edited by a moderator: Jun 27, 2015
  13. Wulf

    Wulf Community Admin

    Sounds like someone used the command without a target name.
     
  14. Can someone confirm if this plugin is still working?
     
  15. Wulf

    Wulf Community Admin

    It works, I use it with my plugin.
     
  16. Yeah it must be something I'm running because I'm getting [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'
     
  17. Wulf

    Wulf Community Admin

    Full log please.
     
  18. Code:
    [Oxide] 6:00 AM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'
      File: 0friendsAPI.lua Line: 66 invalid arguments to method call:
      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
     
  19. Wulf

    Wulf Community Admin

    What was the exact command you used, arguments and all?