Magic Teleportation

Magical home/teleport system.

Total Downloads: 4,984 - First Release: Oct 28, 2015 - Last Update: Oct 27, 2017

5/5, 11 likes
  1. Haven't been able to replicate
     
  2. Thanks Norn! There seems to be a bug I was about to look into fixing where /t warp doesn't do anything if the player is on a cooldown. I'm using a custom alias to add /market to /t warp 1, and it seems that if a player has a warp cooldown and they type /market, nothing happens. Not sure if home and warp cooldowns are shared, so it could be caused when on a home cooldown too.

    I'll investigate more once I get my server updated with todays update, so I can give you some more reliable steps to replicate. I also periodically get those errors jjpalma posted, although I haven't updated to your latest version yet, still using the fixed version I posted a while back.

    EDIT: Separate bug, players get spammed with TeleportInterrupted messages when they go in the water. I just modified OnEntityTakeDamage to not give them the message or cancel their teleport unless they are actually in the teleport queue.

    Code:
                if(TELEPORT_QUEUE.ContainsKey(player.userID)) {
                    if (Config["GeneralMessages", "TeleportInterrupted"] != null) PrintToChatEx(player, Config["GeneralMessages", "TeleportInterrupted"].ToString());
                       CancelTeleport(player);
                }
    Fixed file is attached until Norn officially fixes it.
     

    Attached Files:

    Last edited by a moderator: Oct 21, 2016
  3. Thanks for reporting, appreciate it!
     
  4. [Oxide] 13:30 [Error] Failed to call hook 'cmdHome' on plugin 'MagicTeleportation v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 13:30 [Debug] at Oxide.Plugins.MagicTeleportation.cmdHome (.BasePlayer player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagicTeleportation.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. Yeah I also had problems with cmdHome outputting that error, I tried to debug it but couldn't find the cause (using a terrible text edit through my FTP, so it was difficult). Gave up in the end and resorted to a home plugin I'd been writing for my own server for a while. Mind you, this was with the version before Norn's latest update.
     
  6. I can't replicate it for the life of me, sounds like broken config to be honest?
     
  7. Hi.
    Here I put the configuration and the 'home' of my server as well as the 'plugin' I use, if I switch to the new version is when it gives the error.
     

    Attached Files:

  8. Use old version until wipe and then use new version, could be stuff that I've removed that is conflicting.
     
  9. So I want to use NTelportation so I can get the /tpr, can i use this plugin while also have that one?
     
  10. you can use both of them at the same time
     
  11. hello,

    / To create (create a public teleport) how its function because when i do / t create portal people can not get tp to the portal
     
  12. /t create name
    /t list name (to teleport to it)
     
  13. help me
    Code:
    Error while compiling MagicTeleportation.cs(880,12): error CS1061: Type `BasePla
    yer' does not contain a definition for `TransformChanged' and no extension metho
    d `TransformChanged' of type `BasePlayer' could be found. Are you missing an ass
    embly reference?
     
  14. Update
     
  15. Can you please separate beds and bags. So we can set one of them as home teleports n limit it, and allow user create any number of other. Like limit homes to 1, limited by counts of beds, but can use any number of bags at monuments n such as permitted by RUST.
     
  16. Hi,

    I'm trying to make a public teleport location. I have set one up but every time I try to teleport to it, it tells me it does not exist.