1. Code:
    [Oxide] 5:41 PM [Error] Failed to run a 30.00 timer
    File: m-Teleportation.lua Line: 2619 invalid use of '%' in replacement string:
      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.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0[Oxide] 5:41 PM [Error] Failed to call hook 'cmdTeleportRequest' on plugin 'm-Teleportation v1.4.23'
    File: m-Teleportation.lua Line: 2619 invalid use of '%' in replacement string:
      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 
    The /home teleport would work, but /tpr and /tpa were getting major errors to happen like what's seen above. Had to remove plugin from the server as my console was getting spammed.

    Any help or advice?

    *edit tried to reload plugin and now it's giving a very similar looking error but on the cmdsethome.
     
    Last edited by a moderator: Feb 25, 2016
  2. I need help!
    Code:
    [2/26/2016 8:38:10 PM] [Oxide] 8:38 PM [Error] Failed to call hook 'cmdTeleportHome' on plugin 'm-Teleportation v1.4.23'
    File: m-Teleportation.lua Line: 1568 attempt to index field 'HomeData' (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 

    Code:
    [2/26/2016 8:41:31 PM] [Oxide] 8:41 PM [Error] Failed to call hook 'cmdTeleportRequest' on plugin 'm-Teleportation v1.4.23'
    File: m-Teleportation.lua Line: 1809 attempt to index field 'TPRData' (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
    
     
  3. @NightCall: Maybe you should try the version from the previous page (by Killzone)?
     
  4. Wulf

    Wulf Community Admin

    Your data file for the plugin is somehow corrupt. You'd either need to try to fix it or delete it while the plugin is unloaded.
     
  5. Not quite the error I'm getting.. any ideas on my issue? I've already tried deleting and reloading the plugin completely. I've tried the download from the previous page as well. Both end up giving the same error. I updated my server last night as well as oxide, no help.
    [DOUBLEPOST=1456513895,1456497616][/DOUBLEPOST]

    Code:
    [Oxide] 2:10 PM [Error] Failed to call hook 'cmdTeleportHome' on plugin 'm-Teleportation v1.4.25'
    File: m-Teleportation.lua Line: 1639 attempt to compare number with string:
      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 
    Tried to use the version this this plugin that Killzone posted and still no luck for me.

    *EDIT: How do you "unload" a plugin?
     
  6. Wulf

    Wulf Community Admin

    oxide unload m-Teleportation
     
  7. Can you upload the m-Teleportation.json in your data folder so it can be checked also the m-Teleportation.json from the config folder as well
     
  8. There is my data and config file.

    I'm not sure why the data file would have become corrupt?
     

    Attached Files:

  9. Wulf

    Wulf Community Admin

    Possibly bad usernames that JSON doesn't like, or something that interrupted the file saving.
     
  10. I tried to unload, delete the data file, then reload the plugin and the same error happened. :/
     
  11. The problem is with your config you have it like this
    "DailyLimit": "999999999999",

    You need to remove the " and I would not have it as high as that 10000 would be high enough.

    Try this one
     

    Attached Files:

  12. Code:
    [Oxide] 4:19 PM [Error] Failed to call hook 'cmdSetHome' on plugin 'm-Teleportation v1.4.25'
    File: m-Teleportation.lua Line: 1444 attempt to call method 'AreFriends' (a string 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
    Right after I loaded those files, someone tried to "sethome" and it gave this error. :/

    *EDIT: Sorry for the slow responses.. Im at work trying to fix my server at the same time. It's been getting about 30 a day and I wanna keep it that way with decent update speed, so thanks for your help.
     
    Last edited by a moderator: Feb 26, 2016
  13. Do you have the latest frinds plugin. You have messed up a config or data file somewhere
     
  14. I changed usefriends under the config file to false so it wouldn't call on the plugin. I only use the friends plugin for friendly fire anyway. It seems to have fixed it.. I hope.

    *EDIT : Cancel that. Still creating errors whenever someone tries to sethome. I uploaded the exact files you posted so I'm not sure what would be wrong.. I didn't edit it anywhere other than those simple numbers. Just unloaded the plugin, deleted the data file, then loaded the plugin again.

    **EDIT : Apparently, players are telling me that sethome IS working.. but, when they do the sethome command it gives me that obnoxious message in the RCON.
     
    Last edited by a moderator: Feb 26, 2016
  15. You said you edited some numbers what ones in the config if you could upload the file you changed. If you want you can pm me your skype info
     
  16. This breaks the home feature :(
     
  17. Hi all,

    [2/27/2016 2:27:25 PM] [Oxide] 2:27 PM [Info] Loaded plugin Teleportation System v1.4.23 by Mughisi
    [2/27/2016 2:27:25 PM] [Oxide] 2:27 PM [Info] m-Teleportation: To allow Homes to be set on foundations owned by friends of the player the plugin `Friends API` is required!
    [2/27/2016 2:27:25 PM] [Oxide] 2:27 PM [Info] This plugin can be downloaded at Friends API for Rust | Oxide
    [2/27/2016 2:27:25 PM] [Oxide] 2:27 PM [Info] The friends check has temporarily been disabled to prevent problems.
     
  18. Not for me if you are getting a error you need to post it so the coder can check it
     
  19. I'm curious how I disable tping out of a building blocked area.
    I want players to neither have the ability to tp in and out of a building blocked area.
    I remember the old config .json file having that option, but the new one doesn't.
     
  20. Yes, that was terrific. In the meantime, I have increased the cooldown timer to prevent issues with that, but it is not a perfect solution.
    [DOUBLEPOST=1456594957][/DOUBLEPOST]Also, is this being updated to work with the new entity owner? Building Owners is kind of dead now, and that's what this plugin calls on. Thoughts?