1. Any chance of making it so people can't sethome in someones building radius? unless added as a friend. It's just easy to sethome on a raid then tp back into the house.
     
  2. Here is the warning

    [Oxide] 1:54 PM [Warning] CallHook 'cmdSetHome' on plugin 'Teleportation System' took: 767ms
     
  3. It would be great to have some kind of check for this.
     
  4. how can you reset TP's for players?
     
  5. im having trouble configuring it apparently its not using the friends api so now people are setting homes in other peoples bases without them being on each other's friends list
     
  6. Code:
    [Oxide] 10:50 PM [Error] Failed to call hook 'cmdTeleport' on plugin 'Teleportation System'
    File: m-Teleportation.lua Line: 2441 attempt to index field 'AdminData' (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
    Code:
    [Oxide] 10:58 PM [Error] Failed to load plugin m-Teleportation (IOException: Sharing violation on path c:\games\108_61_97_34_28016\1209379\ruste\server\1209379\oxide\plugins\m-Teleportation.lua)
    [Oxide] 10:58 PM [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
      at System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0
    [Oxide] 10:58 PM [Info] Loaded plugin Teleportation System v1.4.15 by Mughisi
    [Oxide] 10:58 PM [Error] Failed to initialize plugin m-Teleportation
    File: m-Teleportation.lua Line: 585 Additional text encountered after finished reading JSON content: o. Path '', line 13, position 2.:
      at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1434316057][/DOUBLEPOST]Help please!!! ;C
     
    Last edited by a moderator: Jun 15, 2015
  7. Your datafile is most likely corrupted by judging the first error, the second one is a sharing violation, try reloading the plugin.
     
  8. I don't know how to up my tp's limit and cooldown same for my homes plz help
     
  9. 1º Stop Server
    2º Run Server
    if that no work maybe u have some datafile wrong or corrupt
    the easy way is wipe.
     
  10. It helped but after about 1 hour it doing the same :-(
     
  11. #How do i find out the permissions for example i want to make a mod to be able to force tp
     
  12. I am also getting an error. I have deleted my playerdata folder and have tried stopping / starting the server. Also deleting the plugin and config and starting it new. This is when trying to use the /sethome command
    Code:
    [Oxide] 6:22 PM [Error] Failed to call hook 'cmdSetHome' on plugin 'Teleportation System'
    File: m-Teleportation.lua Line: 1272 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 (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
    I also noticed I get this error trying to start the plugin.

    Code:
    [Oxide] 6:25 PM [Error] Failed to initialize plugin m-Teleportation
    File: m-Teleportation.lua Line: 585 Object reference not set to an instance of an object:
      at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConfigFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [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
     
  13. Wulf

    Wulf Community Admin

    Your data file for the plugin is somehow corrupt. Back it up, stop the server, delete it from oxide/data, and start the server again.
     
  14. Thanks, I am still a scrub and didn't even know that folder existed. Everything seems to be working for now :)
     
  15. Hi I'm new to this stuff so this is a noob question. I'm trying change the daily limits and cool down time for teleporting and im not sure how to go about doing this. Thanks in advance for any help.
     
  16. Is there a way to teleport to offline (sleeping) players?
     
  17. There is a config file in the config directory of oxide that will have the configuration you need to change for that.
     
  18. Edit: Replied to wrong person

    Message me on Steam (Mayonnaise) and I can help you with all of that.