1. sorry i missed the patch with player:SetPlayerFlag( global["BasePlayer+PlayerFlags"].ReceivingSnapshot, true ) in testing now
     
  2. Code:
    [Oxide] 12:00 AM [Error] LuaScriptException while calling cmdSetHome:
    File: m-Teleportation.lua Line: 1347 attempt to call method 'HasFriend' (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 (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: Feb 18, 2015
  3. Wulf

    Wulf Community Admin

    Sounds like you are outdated. That line is only a comment in the latest version.
     
  4. Сorrectly I have translated your wordso_O? But at me costs the latest version of of teleportation;)
     
  5. Wulf

    Wulf Community Admin

    I'd suggest updating again then, as I'm 99% sure you are outdated.
     
  6. Yes, you were right:), I was standing the penultimate version:rolleyes: .Now no not any errors:D, Thanks :)
     
  7. I have players requesting a command to see your current limits and how many teleports you have left for the day, any chance of this being added?
     
  8. It's on my todo list, just not having that much time right now.
     
  9. not sure if its been asked but 30 pages is alot to read. how do you make it so everyone can use the TP feature?
     
  10. hello,

    I dont known when and why but I am getting below error with 25-35player (rust 1211 oxide 347)
    Code:
    [2/21/2015 1:06:04 AM] [Oxide] 1:06 AM [Error] Failed to run a timer.
    File: m-Teleportation.lua Line: 2506 Object reference not set to an instance of an object:
      at BasePlayer.SendFullSnapshot () [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: Feb 21, 2015
  11. Can you add /back on death?
     
  12. The /tp commands have always been considered to be admin/moderator commands (ownerid/moderatorid) and are unusable by players without modifications to the lua file. I'm slowly in the process of rewriting all my plugins to C#, including this one, and I'll look into adding this as a feature.
    I can look into adding this as well at some point while rewriting the plugin to C#.
    Hmm not sure what can cause this, perhaps a player that logged off mid-teleport or something, did this only happen once or has this been happening a lot?
     
  13. Code:
    File: m-Teleportation.lua Line: 2546 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
    error in teleportation D:
     
  14. Could you post your config please?
     
  15. Code:
    {
      "AdminTP": {
        "UseableByModerators": true,
        "TeleportNearDefaultDistance": 30,
        "LocationRadius": 2,
        "AnnounceTeleportToTarget": false
      },
      "TPR": {
        "Cooldown": 0,
        "Countdown": 15,
        "BlockTPAOnCeiling": true,
        "RequestDuration": 30,
        "DailyLimit": 200
      },
      "Messages": {
        "AdminTP": "Te has teletransportado a: {player}!",
        "LocationExistsNearby": "Existe una localización con este nombre {name}",
        "InterruptedTarget": "{player}'Teleport interrumpido!",
        "TPRCooldown": "TP en cooldown, espera: {time} segundos para volver a enviar TP",
        "HomeTP": "Te has teletransportado a tu casa: '{home}'!",
        "TimedOut": "{player} no ha respondido a tiempo a tu TP",
        "AdminTPBoundaries": "X and Z values need to be between -{boundary} and {boundary} while the Y value needs to be between -100 and 2000!",
        "HomeTPStarted": "Teleportando a tu keli: {home} en {countdown} segundamens!",
        "SyntaxConsoleCommandToPlayer": [
          "A Syntax Error Occurred!",
          "You can only use the teleport.toplayer console command as follows:",
          " > teleport.toplayer \"player\" \"target player\""
        ],
        "AdminTPOutOfBounds": "Estas coordenadas estan fuera del mapa.. ERROOOR!",
        "Success": "Te has TPado a tu compi: {player}!",
        "TimedOutTarget": "No has respondido al TP de: {player}'!",
        "AdminTPLocationSave": "Has guardado tu ubicacion correctamente!",
        "SyntaxCommandTP": [
          "Has escrito mal el comando!!!",
          "Usa el comando /tp de esta manera:",
          "/tp <Jugador> ",
          "/tp <Jugador> <Jugador>",
          "/tp <x> <y> <z> ",
          "/tp <player> <x> <y> <z>"
        ],
        "HomeSave": "Ahora este es tu barrio!!",
        "SyntaxConsoleCommandToPos": [
          "Comando erroneo!",
          "You can only use the teleport.topos console command as follows:",
          " > teleport.topos \"player\" x y z"
        ],
        "InvalidCoordinates": "The coordinates you've entered are invalid!",
        "HomeNotFound": "Couldn't find your home with that name!",
        "PendingRequest": "You already have a request pending, cancel that request or wait until it gets accepted or times out!",
        "SyntaxCommandTPN": [
          "A Syntax Error Occurred!",
          "You can only use the /tpn command as follows:",
          "/tpn <targetplayer> - Teleports yourself the default distance behind the target player.",
          "/tpn <targetplayer> <distance> - Teleports you the specified distance behind the target player."
        ],
        "HomeFoundationNotFriendsOwned": "Un amigo ya ha guardado el home en este fundation, utiliza otro!",
        "Accept": "{player} ha aceptado tu TP, en {countdown} segundos, te vas a teleportar!",
        "SyntaxCommandTPA": [
          "¡COMANDO ERRONEO!",
          "Utiliza el comando /tpa de esta manera:",
          "/tpa"
        ],
        "SyntaxCommandTPR": [
          "¡MECC! Erroooor!",
          "Utiliza el comando /tpr de esta forma:",
          "/tpr <Nombre del jugador>"
        ],
        "AdminTPCoordinates": "You teleported to {coordinates}!",
        "LocationExists": "A location with this name already exists at {location}!",
        "AdminTPTarget": "{player} teleported to you!",
        "AdminTPLocationRemove": "You have removed the location {location}!",
        "LocationNotFound": "Couldn't find a location with that name!",
        "SyntaxCommandTPSave": [
          "A Syntax Error Occurred!",
          "You can only use the /tpsave command as follows:",
          "/tpsave <location name> - Saves your current position as 'location name'."
        ],
        "AdminTPTargetCoordinatesTarget": "{admin} teleported you to {coordinates}!",
        "AdminTPPlayer": "El {admin} te ha TPado a: {player}!",
        "TPSettings": {
          "tpr": [
            "Info de los TPS",
            "Tiempo para el siguiente TP: {cooldown}",
            "TPS diarios: {limit}"
          ],
          "General": [
            "Please specify the module you want to view the settings of. ",
            "The available modules are: "
          ],
          "home": [
            "Info TP a tu home",
            "Tiempo para el siguiente TP: {cooldown}",
            "Limite de TPS: {limit}",
            "Casas guardadas: {amount}"
          ]
        },
        "AdminLocationListEmpty": "You haven't saved any locations!",
        "RequestTarget": "{player} requested to be teleported to you! Use '/tpa' to accept!",
        "AdminTPTargetCoordinates": "You teleported {player} to {coordinates}!",
        "MultiplePlayersFound": "Found multiple players with that name!",
        "SyntaxCommandSetHome": [
          "COMANDO ERRONEOOOO!!!!",
          "Utiliza el /sethome de esta forma:",
          "/sethome <Nombre de tu pedazo de KELI>"
        ],
        "NoPendingRequest": "No tienes TPS de nadie!",
        "AdminTPBack": "Te has TPado a la anterior localizacion",
        "SyntaxCommandListHomes": [
          "COMANDO MAL ESCRITO jijiji",
          "--------------------------",
          "/listhomes - Para ver todas tus mansiones"
        ],
        "Request": "Has solicitado TP a: -> {player}!",
        "PlayerNotFound": "Jugador no encontrado :/",
        "HomeRemove": "Tu casa: {home} ya no es tu casa..!",
        "AdminTPPlayerTarget": "{admin} ha tepeado a {player}a tu posicion!",
        "InvalidCharacter": "Has introducido caracteres invalido",
        "SyntaxCommandTPRemove": [
          "A Syntax Error Occurred!",
          "You can only use the /tpremove command as follows:",
          "/tpremove <location name> - Removes the location with the name 'location name'."
        ],
        "SyntaxCommandTPL": [
          "A Syntax Error Occurred!",
          "You can only use the /tpl command as follows:",
          "/tpl - Shows a list of saved locations.",
          "/tpl <location name> - Teleports you to a saved location."
        ],
        "SyntaxCommandRemoveHome": [
          "A Syntax Error Occurred!",
          "You can only use the /removehome command as follows:",
          "/removehome <home name> - Removes the home location with the name 'location name'."
        ],
        "InvalidHelpModule": "Invalid module supplied!",
        "HomeExistsNearby": "Ya existe una casa con este noombre {name} !",
        "HomeExists": "Este home ya existe!",
        "NoPreviousLocationSaved": "No has guardado una localizacion con este nombre!",
        "HomeMaxLocations": "Unable to set your home here, you have reached the maximum of {amount} homes!",
        "TeleportPendingTarget": "You can't request a teleport to someone who's about to teleport!",
        "TeleportPending": "You can't initiate another teleport while you have a teleport pending!",
        "AdminTPConsoleTPPlayer": "You were teleported to {player}",
        "AdminTPConsoleTP": "You were teleported to {destination}",
        "HomeTPCooldown": "Your teleport is currently on cooldown. You'll have to wait {time} for your next teleport.",
        "CantTeleportToSelf": "No te puedes hacer TP a ti mismo..!",
        "HomesListWiped": "You have wiped all the saved home locations!",
        "Interrupted": "TP Interrumpido!",
        "TPHelp": {
          "tpr": [
            "With these commands you can request to be teleported to a player or accept someone else's request:",
            "/tpr <player name> - para enviar una petición de teletransporte.",
            "/tpa - para aceptar la petición de teletransporte."
          ],
          "home": [
            "--------- COMANDOS PARA LA HOME -----------:",
            "/sethome <NOMBRE>.",
            "/listhomes",
            "/removehome <NOMBRE>",
            "/home <NOMBRE>"
          ],
          "General": [
            "Please specify the module you want to view the help of. ",
            "The available modules are: "
          ],
          "admintp": [
            "As an admin you have access to the following commands:",
            "/tp <targetplayer> - Teleports yourself to the target player.",
            "/tp <player> <targetplayer> - Teleports the player to the target player.",
            "/tp <x> <y> <z> - Teleports you to the set of coordinates.",
            "/tpl - Shows a list of saved locations.",
            "/tpl <location name> - Teleports you to a saved location.",
            "/tpsave <location name> - Saves your current position as the location name.",
            "/tpremove <location name> - Removes the location from your saved list.",
            "/tpb - Teleports you back to the place where you were before teleporting."
          ]
        },
        "HomeFoundationNotOwned": "Esta casa no es tuya, no puedes guardar aqui el HOME",
        "TPRLimitReached": "Has superado el limite de TPS Diarios: {limit}",
        "AcceptOnRoof": "Baja a un primer piso para aceptar un TP",
        "PendingRequestTarget": "Este jugador ya tiene un TP pendiente.",
        "AdminLocationList": "The following locations are available:",
        "AdminTPPlayers": "You teleported {player} to {target}!",
        "HomeListEmpty": "No tienes casas guardadas!",
        "SuccessTarget": "{player} se ha tepeado hasta tu posicion!",
        "AcceptTarget": "Has aceptado el TP a -> {player} <-",
        "CantTeleportPlayerToSelf": "No puedes TPearte a ti mismo",
        "HomeTPLimitReached": "You have reached the daily limit of {limit} teleports today!",
        "TargetDisconnected": "{player} se ha desconectado, TP Cancelado",
        "HomeSaveFoundationOnly": "Solo puedes establecer tu KELI en un FUNDATION!",
        "SyntaxCommandHome": [
          "ERROR DE ESCRITURA!",
          "Utiliza:",
          "/home <NOMBRE> - Para poder TPearte a tu casa!"
        ],
        "HomeList": "Homes Disponibles:",
        "AdminTPLocation": "Te has tpeado a: {location}!",
        "AdminTPBackSave": "Lugar guardado, utiliza /tpb para volver!!"
      },
      "Homes": {
        "UseFriendsAPI": true,
        "Cooldown": 0,
        "HomesLimit": 2,
        "Countdown": 10,
        "ForceOnTopOfFoundation": false,
        "LocationRadius": 2,
        "DailyLimit": 200,
        "CheckFoundationForOwner": true
      },
      "Settings": {
        "ConfigVersion": "1.4.5",
        "TPREnabled": true,
        "InterruptTPOnHurt": true,
        "ChatName": "TP",
        "HomesEnabled": true
      }
    }
     
  16. Looks okay, might have been caused by a player with special characters in his name. Is this happening frequently?
     
  17. rarely happens
     
  18. I guess it was caused by a player with a weird name then, as long as it doesn't happen a lot it you can ignore it for now. Once I finish rewriting this plugin in C# this should no longer be an issue.
     
  19. ok, thanks :D
     
  20. i was wondering if you could make it an option to make it so if youre in someone elses build/cupboard radius, you cant teleport home or to someone (unless youre an admin of course)

    otherwise people just raid a house and tp home from in the house or if someone sets a fall trap in the house you could just TP out of the trap instead of escaping or suicide out