[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

    Lolmewn Retired Staff

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

    c_dric

    Working.
    Thx for the update :)
     
  3. Offline

    Lolmewn Retired Staff

    Working on adding money stuff for the making warp now.
     
  4. Offline

    Luong

    Ok, I did alot of testing to make sure I am duplicating the error all the time. I am op, I also have my group permissions to '*'. Avoid constantly restarting my remote server, I ran another server on my local machine.

    I deleted the server log and restarted the server with minimum plugins, and this is the error I got.
    Code:
    2011-04-08 20:49:42 [INFO] Starting minecraft server version Beta 1.4
    2011-04-08 20:49:42 [INFO] Loading properties
    2011-04-08 20:49:42 [INFO] Starting Minecraft server on *:25565
    2011-04-08 20:49:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-646-gb61ef8c-b670jnks (MC: 1.4)
    2011-04-08 20:49:42 [INFO] Preparing level "RPG-World"
    2011-04-08 20:49:42 [INFO] Preparing start region
    2011-04-08 20:49:42 [INFO] 144 recipes
    2011-04-08 20:49:43 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-08 20:49:43 [INFO] iChat (v2.2.2) enabled
    2011-04-08 20:49:43 [INFO] Lockette version 1.3.4 is being enabled!  Yay!
    2011-04-08 20:49:43 [INFO] Lockette: Detected craftbukkit build [670] ok.
    2011-04-08 20:49:43 [INFO] [Permissions] version [2.6] (Phoenix)  loaded
    2011-04-08 20:49:43 [INFO] [iChat] Found Permissions (v2.6)
    2011-04-08 20:49:43 [INFO] Lockette: Linked to Permissions plugin version 2.6
    2011-04-08 20:49:43 [INFO] Lockette: Ready to protect your containers.
    2011-04-08 20:49:43 [INFO] npcx : load settings (0.455) begun
    2011-04-08 20:49:43 [INFO] jdbc:mysql://localhost:3306/npcx?autoReconnect=true
    2011-04-08 20:49:43 [INFO] npcx : initialising database connection
    2011-04-08 20:49:43 [INFO] npcx : loadsettings() ended
    2011-04-08 20:49:43 [INFO] npcx : registering monitored events
    2011-04-08 20:49:43 [INFO] npcx : Checking for DB Updates from DBVersion:1.09
    2011-04-08 20:49:43 [INFO] npcx : loading player factions
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 player factions.
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 research.
    2011-04-08 20:49:43 [INFO] npcx : loading zones
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 zones with 0 zone_members.
    2011-04-08 20:49:43 [INFO] npcx : loading Merchants
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 Merchant with (0) entries.
    2011-04-08 20:49:43 [INFO] npcx : loading factions
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 factions.
    2011-04-08 20:49:43 [INFO] npcx : loading faction entries
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 faction entries.
    2011-04-08 20:49:43 [INFO] npcx : loading pathgroups
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 pathgroup.
    2011-04-08 20:49:43 [INFO] npcx : loading loottables
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 loottables.
    2011-04-08 20:49:43 [INFO] npcx : loading spawngroups
    2011-04-08 20:49:43 [INFO] 1 spawngroups loaded
    2011-04-08 20:49:43 [INFO] npcx : loading players
    2011-04-08 20:49:43 [INFO] npcx : Loaded 0 players.
    2011-04-08 20:49:43 [INFO] npcx: Matching players
    2011-04-08 20:49:43 [INFO] npcx version 0.455 enabled.
    2011-04-08 20:49:43 [INFO] [Sortal] version 2.1 is enabled!
    2011-04-08 20:49:43 [INFO] Done (0.134s)! For help, type "help" or "?"
    2011-04-08 20:49:55 [INFO] LazyLuong [/127.0.0.1:50225] logged in with entity id 43
    2011-04-08 20:50:33 [INFO] Loaded world: RPG-World
    2011-04-08 20:50:33 [SEVERE] Could not pass event PLAYER_INTERACT to Sortal
    java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at nl.lolmen.Sortal.SortalPlayerListener.getPrice(SortalPlayerListener.java:54)
        at nl.lolmen.Sortal.SortalPlayerListener.onPlayerInteract(SortalPlayerListener.java:135)
        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:447)
        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)
    2011-04-08 20:50:37 [INFO] LazyLuong lost connection: disconnect.quitting
    2011-04-08 20:50:37 [INFO] Connection reset
    
     
  5. Offline

    Lolmewn Retired Staff

    You reloaded the config file? I mean like, deleted and let it regenerate?
     
  6. Offline

    Luong

    yea, I did, still seem to get the same error. Had to replace the warp temporary with a command line base warp, which I think makes it too easy for the community, lol =/
     
  7. Offline

    Lolmewn Retired Staff

    I'll look into it. I don't have time now, but I will asap.
     
  8. Offline

    _LB

    How can this be made to support multiple worlds?
     
  9. Offline

    Lolmewn Retired Staff

    Im not quite sure how that works, Ill see if I can add some support for that.
     
  10. Offline

    _LB

    OK. If you can't, that's fine, I can use MultiVerse's built-in portals to go to another world with more signs there. This is a great plugin :)
     
  11. Offline

    Lolmewn Retired Staff

    Do you mean like going with a sign in world 1 to a place in world 2? Cuz thats really difficult I guess.
     
  12. Offline

    _LB

    Well yeah, like from wherever the sign is to (X,Y,Z,World). Like I said, it's OK if you can't, it works great currently.
     
  13. Offline

    Lolmewn Retired Staff

    Im working on the different costs right now, I've come this far:
    You can give a command with the price, you can click the sign, and it should save the price.
    The only thing left to implement is that he also checks if there is something behind the X,Y,Z
    And this will only work for warps, since they are stored in a file and X,Y,Z aren't.
     
  14. Offline

    stickynote

    i cant get it to work
    ive typed /sortal warp Gym here
    and it didnt work help please
     
  15. Offline

    Sergeant

    It appears /sortal is now broken with the new Bukkit version and all that. Needs updating, getting the following error:

    Code:
    16:11:30 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 0
    16:11:30 [SEVERE]       at nl.lolmen.Sortal.Sortal.onCommand(Sortal.java:246)
    16:11:30 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    16:11:30 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    16:11:30 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    16:11:30 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    16:11:30 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    16:11:30 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    16:11:30 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    16:11:30 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    16:11:30 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    16:11:30 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    16:11:30 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    16:11:30 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    16:11:30 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  16. Offline

    stickynote

    i dont get that it just say a error corrupt in game
     
  17. Offline

    Lolmewn Retired Staff

    I'm working on it, although it seems I can't produce any of those errors. What CB are you using?

    Well, I've got the biggest part to work with different costs. One thing you should know: ALL SIGNS THAT GO TO THAT WARP have that cost. Or I would have to save every single file, but that would kinda suck.

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

    Epidemic

    Hi....
    The same error as Sergeant had goes for me, too.
    I'm using RB 670.

    Greets
     
  19. Offline

    Lolmewn Retired Staff

    I have almost finished it. I can give you a pre-release which works, just ignore the error you get in the console (It does work in the end, it doesn't cost anything however.) It is here: http://dl.dropbox.com/u/7365249/Sortal Pre-release/Sortal.jar

    Aaand 2.2 is a go! Go download it now, there are big fixes in it! :p

    Kinda stupid, it was trying to get the price from the Warps file, I fixed it ;)

    Any bugs found till so far?

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

    Sergeant

    Unfortunately yes. Installed what I'm assuming is an update and reloaded everything. Getting this now:
    Code:
    17:04:43 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 0
    17:04:43 [SEVERE]       at nl.lolmen.Sortal.Sortal.onCommand(Sortal.java:218)
    17:04:43 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    17:04:43 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    17:04:43 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    17:04:43 [SEVERE]       at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    17:04:43 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    17:04:43 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    17:04:43 [SEVERE]       at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    17:04:43 [SEVERE]       at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    17:04:43 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    17:04:43 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    17:04:43 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    17:04:43 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    17:04:43 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    Edit: I think I found the problem. It happens when you type /sortal by itself and no parameters.

    Please forgive the sudden flood of requests here, but this being a great plugin I thought I might make a few suggestions.

    For one, I thought perhaps a different way of setting up the signs might be that I could simply look at a sign and type
    /sortal setwarp [name]/[coordinates]

    This method would allow me to put anything on the sign itself and still retain functionality. Additionally, one might have to put [Warp] or [Portal] or something on the very top line (and would show up as a different color) so the sign would actually be active as a warp sign. It would prevent griefing where someone accidentally right-clicking say a town sign just snatches them into a lava pit.

    Additionally, only the sign owner or an admin could use setwarp on a sign.

    And last, in addition to the above [Warp] and [Portal] tags, allow those to be customizable via the settings file?

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

    stickynote

    I Dont get what this means


    (But before you can go to your warp, you must set it. Check how at the Commands.)

    Nervermind i got it to work
    Nice job on the plugin. :D

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

    Lolmewn Retired Staff

    First thing, I have got nu clue what you mean. You mean like that /sortal warp should also work with /sortal setwarp?
    Secondly, nah. There are enough permissions for the signs to get a warp created/even place the sign itself. This will pervent griefing enough.
     
  23. Offline

    Sergeant

    What I mean is instead of having to write a bunch of ugly gobbledegook all over the sign just to set it as a warp point, you could just point your crosshairs at a sign (so the little black selection box appears) and type that command. Poof, the sign is now set up as a warp point to the destination you specify and you can write anything you want on the sign.
     
  24. Offline

    Lolmewn Retired Staff

    Oh like that. That would be extremely difficult, I might try that when I have vacation or something.
     
  25. Offline

    Lolmewn Retired Staff

    Any bugs spotted yet?
    I am working on some Name system now, traveling through name signs will be posible soon!
     
  26. Offline

    Manji

    well, somehow i see some error messages in the console window, but my players tell me everything works fine.
    i'll try to hunt it down once it happens again (not sure if it happens at right clicking or setting the sign).
    i'm using b670, sortal 2.2 and a couple more plugins.
    the only other plugin "using" signs as well is "RedstoneMobSpawn 1.1".
    remember the old "deathchest" plugin placed signs automatically, not sure if the tombstone plugin does that as well ^^ we hardly die xD
    more infos: i don't run a permission plugin and also no economy plugin.
     
  27. Offline

    Lolmewn Retired Staff

    Tell me what you find.
     
  28. Offline

    Manji

    very strange, just tried it by myself. no errors when placing, using or removing.
    i'll watch it.
     
  29. Offline

    Lily

    it doesn't prevent the creation of warps, or teleporting to them, but when I do '/sortal warp name here' I get this error on the console


    Code:
    15:15:15 [INFO] Warp name created by CraftPlayer{name=Greys0}!
    15:15:15 [SEVERE] java.lang.NumberFormatException: null
    15:15:15 [SEVERE]     at java.lang.Integer.parseInt(Integer.java:443)
    15:15:15 [SEVERE]     at java.lang.Integer.parseInt(Integer.java:514)
    15:15:15 [SEVERE]     at nl.lolmen.Sortal.Sortal.getCreate(Sortal.java:203)
    15:15:15 [SEVERE]     at nl.lolmen.Sortal.Sortal.onCommand(Sortal.java:242)
    15:15:15 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    15:15:15 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    15:15:15 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    15:15:15 [SEVERE]     at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:626)
    15:15:15 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:589)
    15:15:15 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
    15:15:15 [SEVERE]     at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    15:15:15 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    15:15:15 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    15:15:15 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    15:15:15 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    15:15:15 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    15:15:15 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    No error when I create or use a sign, so everything on the surface functions

    edit: Then just an question/suggestion
    Back on hMod I used a plugin called SignsPrintf which offered a similar set of features, plus a bunch of information outputs, but the important thing was that when you created a sign with a warp/teleport in it, the actual text of it would disappear, so you only see the useless text you put in with it, would it be possible to add that in, so things look cleaner, less technical; perhaps with warps it leaves the name of the warp if there's no other text?
     
  30. Offline

    Lolmewn Retired Staff

    I have got no clue if I can implement that.
    And for the error, I will look into it.
     
  31. Offline

    Ratte

    would it be possible to change the required field in the second line to [portal] or [warp]? maybe per config? I'm looking into using this plugin as a replace for /tp commands, but i think many people will get confused about the word sortal.
     

Share This Page