FriendsAPI

Moved

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

5/5, 39 likes
  1. /friend add user

    Also Tried /friend add "user"
     
  2. Wulf

    Wulf Community Admin

    What's the exact command, with real name and all.
     
  3. Tried

    /friend add "[FDC] Juggernaut"

    then tried /friend add "Juggernaut"

    Because I'm running clans didn't know if you needed to use just the name or with the clan tag.
     
  4. Wulf

    Wulf Community Admin

    It sounds like it can't find the user, and is somehow erroring because of it.
     
  5. Was thinking the same so tried it with another user that had a simple name "white" doing the same, will wait till the server has less players then I'll reboot it and see if that sorts it.

    Also removed the plugin, data and config file and reinstalled it, still not working.
    [DOUBLEPOST=1436432996,1436415859][/DOUBLEPOST]The restart seems to have sorted it :) Happy days. Thanks Wulf.
     
  6. I had to remove the FriendsAPI due to players not being able to add each other. Each time I or a player tried it rendered this error:

    Code:
    [Oxide] 8:32 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, 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
    Calling kill - but already IsDestroyed!? build/wall[0][code]
    Just saw the new oxide update. I'm hoping this will address it as other plugins begin throwing similar errors after this one.
     
    Last edited by a moderator: Jul 17, 2015
  7. I have the same issue. Waiting for a fix!
     
  8. The oxide update that came out around 0200 GMT fixed this and other plugins crashing.
     
  9. But I have the latest version of Oxide installed, is it the 2.0.1163 right?
     
  10. Last edited by a moderator: Jul 17, 2015
  11. Oh ok, so my version is the build 1163. I'll wait when Wulf upload the updated version to Oxide, thanks for the answer.
     
  12. Just out of curiosity, what do you mean? Where does Wulf upload the version of oxide? URL/Link?
     
  13. Wulf

    Wulf Community Admin

    http://oxidemod.org/downloads/
     
  14. Seemed to have returned an still receiving this errors lately causing to restart, removed config for Friends/FriendlyFire, re-added plugins, players still unable to add friends. Also FF is hit or miss for players. Unsure of error.

    Code:
    11:14 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 NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, 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: Jul 23, 2015
  15. Domestos updated Friends API with a new update entry:

    Bugfix

     
  16. Code:
    1:02 AM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'^M
    File: 0friendsAPI.lua Line: 86 attempt to index field 'displayName' (a nil value):^M
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
    1:03 AM [Warning] GatherManager plugin is using deprecated hook: OnGather^M
    1:03 AM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'^M
    File: 0friendsAPI.lua Line: 86 attempt to index field 'displayName' (a nil value):^M
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
    1:03 AM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'^M
    File: 0friendsAPI.lua Line: 86 attempt to index field 'displayName' (a nil value):^M
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
    1:03 AM [Error] Failed to call hook 'cmdFriend' on plugin 'FriendsAPI'^M
    File: 0friendsAPI.lua Line: 86 attempt to index field 'displayName' (a nil value):^M
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 ^M
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 ^M
    
     
  17. Wulf

    Wulf Community Admin

    What was the exact command you used?
     
  18. /findplayer Name