[TP]Sortal -- Sign Based TelePortation! -- v5.1[1.4.7 R1.0]

Discussion in 'Archived: Plugin Releases' started by Lolmen, Mar 10, 2011.

  1. Offline


    mrarroyo, efstajas, megabobi and 3 others like this.
  2. Offline


    I might do that. Yes.

    This one should do the job: http://dl.dropbox.com/u/7365249/Sortal Pre-release/Sortal.jar

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  3. Offline


    Any way to adapt over from MyWarp, without manually going through and changing all the warps?
  4. Offline


    Thanks for the fast response, but i don't see any difference to the previous version. Maybe i've missed something?
  5. Offline


    Delete the settings file and let it generate again.
  6. Offline


    thats exactly what i did in the first place. But i just got the same config again.

  7. Offline


    Hmm... Let me look @ the code for a bit.
  8. Offline


    Hey, for some reason, when I try to delete a warp point it says that it doesn't exist... bug?
  9. Offline


    Dunno. Might be. I will look at some code when I got time. Really busy with school.
  10. Offline


    I have this issue too.

    Also, there is seemingly a major problem with setting warp points. I always suffocate when teleporting to a warp. When you use the /sortal warp WARPNAME here command it selects the wrong block. I was standing on -48,65,88, made a warp and looked in the warps file and it put the warp at -49,64,88. This is a complete mystery to me and it's extremely annoying. It means I have to manually edit all my warp points.

    After fixing the coords it works perfectly though :)

    Also, I don't know if you can fix this, but if you're holding a placeable item (block, sign etc) and right-click a sortal sign and there is a space between you and the sign you will place the item on the space between and then be teleported.

    Another thing :)
    When the coordinates are, say, 10,20,30 you should actually be teleported to 10.5,20,30.5 because that will put the player in the middle of the square instead of on the corner of the square and it will prevent clipping issues if there are blocks a layer higher next to the warp point.

    BUT don't get me wrong, I really love this plugin. If I didn't think it was great I wouldn't bother going into so much detail for you :)
  11. Offline


    Well, Good that I know of these issues. The 2nd point should be an easy fix. At least, I know how to do it :p
    The first point, It seems that when you create a Warp, it gets somehow created in the middle of 4 blocks. Dunno why.
    Third point, Right. So X and Z + .5? Lolz. Should be easy fix aswell.
  12. Offline


    I haven't actually made any plugins for Minecraft, but can't you just read the location of the player directly?

    I've also experimented and the y coord of the player's position is actually the space where the player's head is. But when you teleport somewhere you need to define the y as where the players feet are going to go. So if the coord of the player is x, y, z the actual teleport needs to go to x, y-1, z.

    Also, I've discovered that when you create a warp point the x (in your position) gets changed to x-1. I don't know why that might be. The z stays correct.

    So when the players position is x, y, z your warp creation seems to do x - 1, y - 2, z and the ideal placement (as far as I can tell and combining everything above) would be x + .5 , y - 1 , z + .5

    Also, when doing /sortal warp NAME X,Y,Z I get told the warp is setup and then on the next line it says "An internal error occurred while attempting to perform this command."

    When creating a warp which has already been made putting an error on the screen telling you that it's already been made would be helpful.
  13. Offline


    For the /sortal warp name X,Y,Z, yes, It's a known bug which I forgot to add to the bug list.

    So actually, you are saying I should let ppl teleport to x+0.5, y-1 and z+0.5? If so, I will do that.
    Thnx for all the testing =D
  14. Offline


    Yeah I think that's right. Send me a PA with a link and I'll test it for you :)
  15. Offline


  16. Offline


    Uh oh, nothing happens at all when right-clicking a sign. No error and no teleport. It doesn't matter if it's a warp, coordinates or a warp which doesn't exist.

    I did manage to MAKE a warp though. I was standing at -1623, 68, 56 (using the here argument) and it made it at -1624,67,56, so the x coord is still off by one. The Y coord is correct :)
  17. Offline


    CB version? Error reports?
  18. Offline


    CD 670 (I haven't upgraded to any 1.5 stuff yet).

    2011-04-22 15:46:39 [SEVERE] Could not pass event PLAYER_INTERACT to Sortal
        at nl.lolmen.Sortal.SortalPlayerListener.getLine2(SortalPlayerListener.java:136)
        at nl.lolmen.Sortal.SortalPlayerListener.onPlayerInteract(SortalPlayerListener.java:162)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:477)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
  19. Offline


    Whats in your Config? You might have to reload it.
  20. Offline


    Do you mean the settings file?
    I deleted it and now it works. It seems you've added SecondLine=default to the file, what does that do?

    I see you've added message when you create a warp that has already been made. [cake]

    About positioning:
    It seems I was wrong about the y coordinate (this is what happens in testing :p ). It SHOULD be to the block where your head is (aka the y coord that the player is in) that you get teleported to. So if the player is on block x,y,z they should be teleported to x + .5, y, z + .5. So the warp in the warp file should be x,y,z (it seems the plugin adds the .5 to x and z after it reads the file). The x and z are working perfectly, taking me to the middle of the place where I set the warp. No clipping when surround by blocks. No console errors either. Good job :D

    Also, would it be possible to change it so you can write whatever you want on the top two lines? Then you can write something like "Teleport to the desert wasteland" or whatever and have it over the two two lines instead of the top and last line.

    Also, since I've been watching the console, I've noticed that there is no output when a player USES a sign. Perhaps add this as an option?

    This plugin has gone from kinda dodgy to extremely useful in just a day and a half :)
  21. Offline


    I will add if player uses sign to the config later.
    And for the positioning, yes, it adds the + a bit later, not to the file (saves like 1KB, if not less xD)
    For the change on top lines, I might do that, although I have almost no clue on how to check if it is the same as in the file (oh wait i just came up with an idea that might be working)
  22. Offline


    I have no idea how you implement the whole plugin (like how you know when a sign has [sortal] on it) but could you check for [sortal] on line 2 (or 3), and if it occurs then check line 3 (or 4) for the teleport info?
    That way existing signs will still work.

    It is good that you add the +.5 later because that means that users won't be confused when they go to edit the warps manually!
  23. Offline


    I could do that, yes. (first thing you said :p).
    I could even try and make it so that you don't even need [sortal] and a warp on it, just use a command on a sign. Though I'm not sure if that works.
  24. Offline


    You could make it so that they write the location on the 4th line with a : on either side. So this would be the sign layout:
    1. anything
    2. anything
    3. anything
    4. :x,y,z: or :WarpName:

    Perhaps something like that. Or maybe like
    4. ::x,y,z or ::WarpName

    I don't know how easy it is to implement these. It would sure be handy in the game though!
  25. Offline


    That would take quite a lot of time to implement, currently it checks the second line first for [Sortal] or if you have editted the config it also looks for the thing after the SecondLine:. I will just make it so that you can register a sign with a command or something.
  26. Offline


    Anyone know if this is friendly with 709-ish versions?
  27. Offline


    I use it myself @ 714, it seems to work fine.
  28. Offline


    The lack of commands is what makes it so good though! So if I turn SecondLine on the it will look on the 3rd line too?

    Also did you fix the y coordinate?
  29. Offline


    I will do when I'm home, Secondline is called secondline because you can change the second line :p So not the third xD I might just make it so that you can have [Sortal] on every line, but I will do that later.
  30. Offline

    Cody Howard

    When I use /sortal delwarp <WarpName> it returns That warp does not exist! ... However it does.....
  31. Offline


    Weird, I will look at it.

Share This Page