FriendsAPI

Moved

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

5/5, 39 likes
  1. @Wulf This plugin is not working, when i try to add someone nothing shows.

    I've tried to remove all 3 files, and them add the plugin again, and even with a server restart it doesn't works, but i dont see any errors message :/

    Any solutions? Thanks
     
  2. Wulf

    Wulf Community Admin

    I'll take a look when I can.
     
  3. After one restart, and a few reloads of the plugin now it works! Sorry to bother @Wulf xD

    And continue the good work :)
     
  4. I get this
    Code:
    [10/2/2015 4:28:42 PM] [Oxide] 4:28 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (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 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
    I'm using the one @Wulf attached
     
  5. Wulf

    Wulf Community Admin

    You're using an old one. Friends API | Page 6 | Oxide
     
  6. Alright I had posted FriendlyFire error previously. Here is the correct one post today's noon-update. Before you ask, this is from the plugin link on page 6.
    Code:
    [Oxide] 3:36 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.5'
    File: 0friendsAPI.lua Line: 171 attempt to compare number with nil:
    at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in :0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in :0
    at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in :0
    at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in :0
    at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in :0 
     
  7. Hi there,

    with the latest update V1324 Oxide 2.0.1464 i get the following errror:
    Code:
    [10/10/2015 8:36:33 AM] [Oxide] 8:36 AM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (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 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 
     
  8. Download the latest one that Wulf posted and fully update your server.
     
  9. Hi there,

    with the latest update i get the following error.
    Server, and oxide are on latest version:
    Code:
    [10/12/2015 10:50:51 PM] [Oxide] 10:50 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (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 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 
     
  10. Domestos updated Friends API with a new update entry:

    1.2.6

     
  11. Code:
    Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (a nil value):
    Getting same as above since latest update. Latest version of plugin.
     
  12. Wulf

    Wulf Community Admin

    You're using an outdated version, see the version in your log vs. the released version.
     
  13. Ah i thought i updated it, cheers wulf.
     
  14. when i have this plugin installed it no longer detects foundations for people to use the sethome command on a foundation. it gives the error you must be a on a foundation to use this command.
     
  15. Wulf

    Wulf Community Admin

    This plugin doesn't handle that, you'd need to post in the TP thread.
     
  16. Need help witht his error:
    Code:
    [11/8/2015 12:58:03 PM] [Oxide] 12:58 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (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 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
    [11/8/2015 12:58:26 PM] [Oxide] 12:58 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.4'
    File: 0friendsAPI.lua Line: 68 attempt to index field 'connection' (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 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
    [11/8/2015 1:02:47 PM] System.NullReferenceException: Object reference not set to an instance of an object
      at System.UInt64.ToString () [0x00000] in <filename unknown>:0
      at ConVar.Admin.status (.Arg arg) [0x00000] in <filename unknown>:0
    [11/8/2015 1:07:39 PM] System.NullReferenceException: Object reference not set to an instance of an object
      at System.UInt64.ToString () [0x00000] in <filename unknown>:0
      at ConVar.Admin.status (.Arg arg) [0x00000] in <filename unknown>:0 
     
  17. Code:
    [Oxide] 11:07 PM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI
    v1.2.5'
    File: 0friendsAPI.lua Line: 171 attempt to compare number with nil:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>: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) [0x000
    00] 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
     
  18. Someone help? :(
    Code:
    [Oxide] 12:42 PM [Error] Failed to call hook 'OnPlayerAttack' on plugin 'FriendlyFire v1.5.3'
    File: FriendlyFire.lua Line: 59 attempt to call method 'ToPlayer' (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 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 
     
  19. Anyone had this? :( Spams the console a bit.
    Code:
    [Oxide] 10:34 AM [Error] Failed to call hook 'cmdFriend' on plugin '0friendsAPI v1.2.6'
    File: 0friendsAPI.lua Line: 87 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: Dec 8, 2015
  20. @Domestos The plugin randomly glitches and disbales then re enables every like 3min