1. Code:
    [Oxide] 1:30 PM [Error] Failed to load plugin m-Teleportation (IOException: Sharing violation on path d:\server\oxide\plugins\m-Teleportation.lua)
    [Oxide] 1:30 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
     
    Last edited by a moderator: Oct 8, 2015
  2. i just installed the older one back yesterday and started to work again
     
  3. Decrease TP cooldown for Donator group, possible?
     
    Last edited by a moderator: Oct 8, 2015
  4. Not yet, once I have time to finish up the rewrite it will be implemented.
     
  5. I have that error with latest version (Oxide/Rust/m_Teleportation)
    Code:
    [Oxide] 5:18 PM [Info] Loaded plugin Teleportation System v1.4.21 by Mughisi
    [Oxide] 5:18 PM [Error] Failed to initialize plugin 'm-Teleportation v1.4.21'
    File: m-Teleportation.lua Line: 603 Object reference not set to an instance of a
    n object:
      at Oxide.Core.Configuration.DynamicConfigFile.GetEnumerator () [0x00000] in <f
    ilename unknown>:0
      at Oxide.Ext.Lua.Utility.TableFromConfig (Oxide.Core.Configuration.DynamicConf
    igFile config, NLua.Lua lua) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Libraries.LuaDatafile.GetDataTable (System.String name) [0x00
    000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
    ization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 8, 2015
  6. The players from my server are managing to use the /home when they are passed out, thereby achieving return home and save your stuff ... Also has a bug that is possible atravesar walls and walls using the /tpr ... I do not know how to fix it if possible help me thank you.
     
  7. Wulf

    Wulf Community Admin

    Your oxide/config file for the plugin is corrupt or invalid. Make sure when editing it that you verify it as valid JSON. You can use jsonlint.com for this.
    [DOUBLEPOST=1444263168][/DOUBLEPOST]
    Just reload the plugin, that's not an actual error with the plugin.
     
  8. Is saying is valid! This is my setup.
     

    Attached Files:

  9. Wulf

    Wulf Community Admin

    It looks like you missed a comma or brace somewhere, and ended up with valid JSON, but not a valid config format for the plugin. I'd recommend starting with the default config (backup your current and delete it, then reload the plugin) and edit that. Just pay close attention to the formatting.
     
  10. I delet directly m-Teleportation.json and m-Teleportation.lua , i download the latest version of plugin but when the server load plugin i have that error. And i watch on jsonlint.com the .json is validate because i dont edit :/ (Sorry for my bad english)
     
  11. Did you delete the one in data folder as well
     
  12. 603 Array index is out of range
     
  13. Wulf

    Wulf Community Admin

    Please provide your full oxide/log.
     
  14. Is it possible to edit config file as admin in console, without restarting server?? I wish to change Daily limit!

    Any help greatly appreciated xD
     
  15. You can update the config while the server is running, just reload the plugin once you made the changes to the config.
     
  16. Cool thanks for quick response :)
     
  17. Code:
    12:45 PM [Info] Unloaded plugin Teleportation System v1.4.21 by Mughisi
    12:45 PM [Info] Loaded plugin Teleportation System v1.4.21 by Mughisi
    12:45 PM [Error] Failed to initialize plugin 'm-Teleportation v1.4.21'
    File: m-Teleportation.lua Line: 603 Array index is out of range.:
      at NLua.Extensions.StringExtensions+<SplitWithEscape>d__0.MoveNext () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.List`1[System.String].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
      at System.Collections.Generic.List`1[System.String]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToArray[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
      at NLua.Lua.FullPathToArray (System.String fullPath) [0x00000] in <filename unknown>:0
      at NLua.Lua.SetObject (Int32 reference, System.String field, System.Object val) [0x00000] in <filename unknown>:0
      at NLua.LuaTable.set_Item (System.String field, System.Object value) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Utility.TranslateConfigItemToLuaItem (NLua.Lua lua, System.Object item) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Utility.TranslateConfigItemToLuaItem (NLua.Lua lua, System.Object item) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Utility.TranslateConfigItemToLuaItem (NLua.Lua lua, System.Object item) [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
     
    Last edited by a moderator: Oct 10, 2015
  18. hey. i cant set more than 2 home points. but i want to have 3 and than this plugin didnt work.
    also i want to set the daily amount up to 40......
    im very nooby :)
     
  19. Open m-Teleportation.json file in config folder.
    Set:
    "Homes": {
    "CheckFoundationForOwner": true,
    "Cooldown": 180,
    "Countdown": 15,
    "DailyLimit": 40,
    "ForceOnTopOfFoundation": true,
    "HomesLimit": 3,
    "LocationRadius": 25,
    "UseFriendsAPI": true



    Upload edited file to your server
    Console: oxide.reload m-Teleportation
    It should help.
     
  20. i try it. but after that, tpr didnt work. "unknown command"