Inactive [TP] Server Port - v389 - Teleport between servers [1.2.3]

Discussion in 'Inactive/Unsupported Plugins' started by Raphfrk, Jan 16, 2011.

     
  1. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ServerPort - Plugin to Teleport between Servers
    Version: v389

    This plugin is no longer maintained

    This plugin allows teleporting between servers.

    Request

    Please "like" this Get Satisfaction ticket.

    It is a necessary feature so that the proxy can handle sky colour changes between worlds.

    Features:
    • Server to Server teleporting
    • Automatic reconnect to other server (requires client mod)
    • new proxy server to eliminate the need for the client mod
    • Local server fixed teleporting
    • Short range cart teleporting
    • Server to server chat link up
    • Bind stones that work between servers
    • Can prevent players from "manually" going back to their previous server
    • Automatic creation of exit portals
    • Nether expansion factors
    • Custom gate shapes (implementation of the system from the Stargate mod)
    • 3d gate shapes supported
    • Portal type create/destroy/use permissions
    • /drawgate command to instantly create a gate
    • Inventory transfer
    • Player health transfer
    • Banned items for inventory transfer
    • "Time to Live" for player forwarding, so that a player doesn't get locked in a loop
    • Server polling function for chat, so that it doesn't spam offline servers
    Latest Download


    Plugin
    Client Patcher

    Proxy Server-Liter (1.5)

    NOTE:
    you must turn OFF bridging to use the proxy with serverport
    This is turned on by default for the plugin

    Issues

    Github

    Source
    Previous Releases (from 166 onwards)

    Instructions

    Wiki (in progress)

    NOTE: you must add admin names to /serverport/admin_list.txt, otherwise the commands won't work.

    Permissions Nodes


    Admin Status (Ops get this automatically)
    'serverport.admins.*'

    ServerPort main command
    'serverport.serverport.*'

    Create Gates
    'serverport.create_gate_type.*'

    Create Gates with Flint
    - 'serverport.create_fire_gate_type.*'

    Use Gates
    'serverport.use_gate_type.*'

    Destroy Gates
    'serverport.destroy_gate.*'

    Draw gate command
    'serverport.draw_gate.*'

    Cancel redirect command
    'serverport.cancel_redirect.*'

    Release command
    'serverport.release.*'

    Regen gates command
    'serverport.regen_gates.*'

    Op Teleport command
    'serverport.opteleport.*'


    Internal Permission System


    - add one player (exact name required) per line
    - /plugins/serverport/use_list.txt -> players that can use gates
    - /plugins/serverport/create_list.txt -> players with create permission
    - /plugins/serverport/admin_list.txt -> players with full permissions
    - /plugins/serverport/destroy_list.txt -> players can destroy gates (break signs)
    - /plugins/serverport/redirect_list.txt -> players can use "/cancelredirect" command
    - /plugins/serverport/other_list.txt -> players can use all the other commands


    More info

    /serverport help <number>

    will give you page 1 of the settings list. There are a fair few.

    Commands

    Everyone can use
    /getinv - gets inventory from limbostore - used with logininv parameter

    other_list.txt
    /release - player will release to bind
    /drawgate - builds a gate where the player is standing
    /regengates <distance> - regenerates all gates within <distance>
    /circleload <distance> - loads all chunks within <distance>
    /stopcircle - stops circle load if one is in progress
    /serverport - this is the main command for the plugin

    redirect_list.txt
    /cancelredirect - cancels redirecting of the player when they move

    Note: the info in the link is from the hey0 version.

    You tube videos and more info can be found here

    Change Log

    Version 367
    • Fixed bug where gates some gates were indestructible (was a permissions error)
    Version 368
    • Added support for Permissions
    Version 369
    • Corrupt file copy
    Version 370
    • Fixed admins for permissions
    Version 371
    • Made portals immune to explosions
    Version 373
    • Previous update didn't interact well with other plugins
    Version 376
    • Hardened move change detection
    Version 377
    • Chat should be properly coloured
    Version 379
    • CB 1060 compatibility
    Version 380
    • Reliability improvement
    Version 381
    • Patcher update
    Version 382
    • Chat decode infinite loop removal (for special unicode characters)
    Version 385
    • Updated the event system
    • Note: this is still just functional, it isn't being updated
    Version 386
    • Players now "appear" 0.5 blocks above exit location
    • This should reduce the change of players "falling" out of and then back into the portal when CraftProxy changes server (causing the portal to activate again immediately)
    Version 387
    • Made entering portal detection code less sensitive when logging in
    Version 388
    • Added a 10 second timeout after login before you can teleport again
    Version 389
    • Added "replacelocal" parameter. Setting this to false prevents local clients being forced to use localhost

    This post has been edited 12 times. It was last edited by Raphfrk Jan 27, 2013.
  2.  
  3. Offline

    stevo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to set only the nether server to have the red sky with both servers on the same computer?
  4. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    OK, maybe I missed something but once it says I can build gates, i make gates on both servers put up the signs then hit them to activate. So, they make new exits and I have 2 portals in each world?
  5. Offline

    monotonehell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think you need to edit autocreate=false in server.txt or issue the equivalent /command in game. (/autocreate maybe? Use the help list to check.)
  6. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Tried that, now it just says the admin on the other server has banned automatic portal creative when i hit the sign on each server
  7. Offline

    monotonehell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Now I got into the same issue when I moved my mc servers to a new box... trying to remember how I solved it now lol.

    Are you using all three lines on a sign? or are you trying with the flint&iron? I specified everything with the signs on both sides first before coming back and giving them a wack.
  8. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nah. just used the 2 middle lines, Everytime I put a sign and try name the gate itself it changes it to the server friendly name.
    --- merged: Feb 6, 2011 12:03 PM ---
    OK I got it. I had to go into the serverport folder and delete the line that was in the server txt then I broke the gates that I already had previously activated on accident then reset both servers. Then I redid the handshakes, added the block where I broke the gates, and put all 3 lines on each sign then hit them. Worked!
  9. Offline

    monotonehell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think that's what I ended up doing, now that you mention it. :D
  10. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Next problem I'm having is with the patcher. I don't see the message that my client has been patched, but I do see where it created a backup. And it still logs me out and makes me log in the other server. I have tried to run it several times with same results.

    I was trying the proxy again for kicks and the new proxy gives me java errors :(
  11. Offline

    Penguinwiz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to set the extra bits for mist blocks? I'm trying to create the Super Mario 64-style painting portals, but I can't get the paintings to actually show up when the portals activate. I've tested the custom diagram with water blocks, and it works fine.
  12. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That is a Notch (random) bug. It doesn't always happen.

    You could try deleting the Nether world (assuming it isn't already been used for stuff).
  13. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  14. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, I saw on Twitter earlier that they would be implimenting the Nether. Just great after I get 2 servers going. Oh well more playing space I guess, but I think serverport will still have it's place as my players would like to have say a creative world, a normal world, maybe a pvp world.
  15. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    All that is supported with Bukkit.. The only reason server port will have its use is for multi physical machines.
  16. Offline

    DDRKhat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Which, to be frank Kane, in terms of performance, could still be the smarter choice. Yes, Bukkit is adding native server portal ability but at the cost of how much performance? How much system is it gonna consume? Will having a (seemingly 100% legit?) nether world in my SMP cost me the amount of power 2 servers could provide? If so, I would use this over Bukkit's implementation, just to split the workload.
  17. Offline

    den

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I would rather look at this optimistically. Raph can use what the bukkit team is implementing to do certain things better within his plugin. If nothing else it makes dual worlds on one physical machine simpler, and server port can focus on multi-machine.

    So if you want one overworld and one nether, bukkit could do that. But if you have a server community like mine with 3 overworld servers on multiple machines + one nether server port will still make it all possible.
  18. Offline

    chill1977

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  19. Offline

    Rask

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ports are forwarded, gates are linked up fine, but it keeps saying connection refused:connect.
  20. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, only for those people who use it for simulating a Nether ... which can't be more than 95% of users :).

    Also, you will still need some way to actually trigger the teleport. You can still use ServerPort for that function, but plugins like Wormhole X-treme, will be able to do Nether transfers now, so more competition.

    Also, it has the same problem as the proxy version, the sky is not red in the Nether. However, most people preferred the proxy version anyway, so obviously not a big issue for most people.

    Server Port will still be required if you want 2 servers on a LAN (though (ahem), I would need to make that work better.)

    Yeah, I am planning to update Server Port to use the version that was committed this evening.

    They will probably have some kind of support for that.

    Actually, that is a good question though, you may not be able to have different settings per world. However, if they don't allow that in the initial multi-world release, I am sure they would add it later.

    Another issue is that there is only 1 inventory for a multiworld server. In IRC Dinnerbone was saying that he is moving it around. I think it will be:

    /player -> all inventories
    /world1
    /world2
    (etc.)

    I think the big advantage is ease of setup for people who are planning to run all servers on one physical machine.

    Btw, I will have to add a world field to my gates info files. In theory, you could have

    Machine 1
    Normal 1
    Normal 2

    Machine 2
    Nether

    or something.
    --- merged: Feb 7, 2011 10:04 AM ---
    What setup are you using?
  21. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I would love to use a light version of server port for porting for local server multi worlds. But I found after running server port no proxy just modded bukkit + plugin that I did in fact get many random crashes here and there from it. As much as I like it I don't think I could stand the crashes.

    Maybe it's just bad luck maybe one my users found something to exploit.
  22. Offline

    Rask

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm using the single computer one. I have two servers hosted on separate ports.
  23. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Dunno. I agree it has gotten extensive. I was planning to break it down into multiple plugins, but the scheduler and debugging the proxy took all my time.

    Also, porting to bukkit was probably not handled very efficiently.

    Was there any crash message or exceptions?

    You should at least be able to connect to the 2 servers. Are you using the proxy?
  24. Offline

    Rask

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No proxy, the servers are connecting to each other. It's just the player transfer doesn't happen.
  25. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It could be the global hostname, something like

    /serverport globalhostname mysever.com:25565

    myserver.com:25565 should be what a player uses to connect to that server.

    Btw, if you manually reconnect does your inventory transfer?
  26. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME




    Hmm might not be you might be that damn bug people refuse with the pathing.


    Code:
    2011-02-05 16:46:27 [SEVERE] Unexpected exception
    java.lang.ArrayIndexOutOfBoundsException: -1
        at net.minecraft.server.ChunkCache.getTypeId(SourceFile:38)
        at net.minecraft.server.ChunkCache.getMaterial(SourceFile:103)
        at net.minecraft.server.Pathfinder.a(SourceFile:158)
        at net.minecraft.server.Pathfinder.a(SourceFile:120)
        at net.minecraft.server.Pathfinder.b(SourceFile:94)
        at net.minecraft.server.Pathfinder.a(SourceFile:64)
        at net.minecraft.server.Pathfinder.a(SourceFile:37)
        at net.minecraft.server.Pathfinder.a(SourceFile:22)
        at net.minecraft.server.World.a(SourceFile:1707)
        at net.minecraft.server.EntityCreature.d(EntityCreature.java:69)
        at net.minecraft.server.EntityLiving.o(EntityLiving.java:641)
        at net.minecraft.server.EntityMonster.o(EntityMonster.java:30)
        at net.minecraft.server.EntityLiving.b_(EntityLiving.java:226)
        at net.minecraft.server.EntityMonster.b_(EntityMonster.java:34)
        at net.minecraft.server.World.a(SourceFile:1116)
        at net.minecraft.server.WorldServer.a(WorldServer.java:60)
        at net.minecraft.server.World.f(SourceFile:1092)
        at net.minecraft.server.World.c(SourceFile:1071)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:282)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-05 16:52:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:50 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 16:52:50 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    
    THIS GOES ON FOR 1000's of LINES LOL
    
    
    2011-02-05 18:57:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 18:57:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 18:57:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 18:57:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 18:57:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-05 21:50:59 [INFO] [ServerPort] Command received: GATETEST:hellgate,75.66.9.128
    2011-02-05 21:51:36 [INFO] [ServerPort] Command received: GATETEST:hellgate,75.66.9.128
    2011-02-05 23:42:24 [INFO] Unknown console command. Type "help" for help.
    2011-02-05 23:42:29 [INFO] Unknown console command. Type "help" for help.
    2011-02-05 23:42:32 [INFO] CONSOLE: Stopping the server..
    2011-02-05 23:42:32 [INFO] Stopping server
    2011-02-05 23:42:32 [INFO] Stopping map renderer...
    2011-02-05 23:42:33 [INFO] Map renderer has stopped.
    2011-02-05 23:42:33 [INFO] map WebServer.run() stops with IOException
    2011-02-05 23:42:33 [INFO] map WebServer run() exiting
    2011-02-05 23:42:33 [INFO] [Serverport] Closing server listener on port 4111
    2011-02-05 23:42:33 [INFO] [WarpGate] version [1.4] (Polarized) disabled
    2011-02-05 23:42:33 [INFO] Saving chunks



    Code:
    2011-02-06 06:17:38 [SEVERE] Unexpected exception
    
    java.lang.ArrayIndexOutOfBoundsException: -1
    
        at net.minecraft.server.ChunkCache.getTypeId(SourceFile:38)
    
        at net.minecraft.server.ChunkCache.getMaterial(SourceFile:103)
    
        at net.minecraft.server.Pathfinder.a(SourceFile:158)
    
        at net.minecraft.server.Pathfinder.a(SourceFile:120)
    
        at net.minecraft.server.Pathfinder.b(SourceFile:96)
    
        at net.minecraft.server.Pathfinder.a(SourceFile:64)
    
        at net.minecraft.server.Pathfinder.a(SourceFile:37)
    
        at net.minecraft.server.Pathfinder.a(SourceFile:22)
    
        at net.minecraft.server.World.a(SourceFile:1707)
    
        at net.minecraft.server.EntityCreature.d(EntityCreature.java:69)
    
        at net.minecraft.server.EntityLiving.o(EntityLiving.java:641)
    
        at net.minecraft.server.EntityMonster.o(EntityMonster.java:30)
    
        at net.minecraft.server.EntitySkeleton.o(EntitySkeleton.java:54)
    
        at net.minecraft.server.EntityLiving.b_(EntityLiving.java:226)
    
        at net.minecraft.server.EntityMonster.b_(EntityMonster.java:34)
    
        at net.minecraft.server.World.a(SourceFile:1116)
    
        at net.minecraft.server.WorldServer.a(WorldServer.java:60)
    
        at net.minecraft.server.World.f(SourceFile:1092)
    
        at net.minecraft.server.World.c(SourceFile:1071)
    
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:282)
    
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
    
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    2011-02-06 06:29:38 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:29:39 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:08 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:09 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:09 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:10 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:10 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:10 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:11 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:12 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:12 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:13 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:13 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:13 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:14 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:15 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:15 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:15 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:16 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:16 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:16 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    2011-02-06 06:30:17 [INFO] [ServerPort] Command received: FORWARD:robot101,9
    
    
    THIS GOES ON FOR 1000's of LINES LOL
    
    
    2011-02-06 12:33:33 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:33 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:34 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:35 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:35 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:36 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:36 [INFO] [ServerPort] Command received: FORWARD:KingSizeCake,9
    
    2011-02-06 12:33:36 [INFO] [ServerPort] Server I/O exception error
    
    2011-02-06 15:32:35 [INFO] Unknown console command. Type "help" for help.
    
    2011-02-06 15:32:36 [INFO] Unknown console command. Type "help" for help.
    
    2011-02-06 15:32:36 [INFO] Unknown console command. Type "help" for help.
    
    2011-02-06 15:32:40 [INFO] CONSOLE: Stopping the server..
    
    2011-02-06 15:32:40 [INFO] Stopping server
    
    2011-02-06 15:32:40 [INFO] Stopping map renderer...
    
    2011-02-06 15:32:40 [INFO] Map renderer has stopped.
    
    2011-02-06 15:32:40 [INFO] map WebServer.run() stops with IOException
    
    2011-02-06 15:32:40 [INFO] map WebServer run() exiting
    
    2011-02-06 15:32:40 [INFO] [ServerPort] Unable to establish localhost connection to disable server
    
    2011-02-06 15:32:40 [INFO] [WarpGate] version [1.4] (Polarized) disabled
    
    2011-02-06 15:32:40 [INFO] Saving chunks


    Code:
    2011-02-06 18:40:59 [SEVERE] Unexpected exception
    java.lang.ArrayIndexOutOfBoundsException: -1
        at net.minecraft.server.ChunkCache.getTypeId(SourceFile:38)
        at net.minecraft.server.ChunkCache.getMaterial(SourceFile:103)
        at net.minecraft.server.Pathfinder.a(SourceFile:158)
        at net.minecraft.server.Pathfinder.a(SourceFile:120)
        at net.minecraft.server.Pathfinder.b(SourceFile:96)
        at net.minecraft.server.Pathfinder.a(SourceFile:64)
        at net.minecraft.server.Pathfinder.a(SourceFile:37)
        at net.minecraft.server.Pathfinder.a(SourceFile:22)
        at net.minecraft.server.World.a(SourceFile:1707)
        at net.minecraft.server.EntityCreature.d(EntityCreature.java:45)
        at net.minecraft.server.EntityLiving.o(EntityLiving.java:641)
        at net.minecraft.server.EntityMonster.o(EntityMonster.java:30)
        at net.minecraft.server.EntityLiving.b_(EntityLiving.java:226)
        at net.minecraft.server.EntityMonster.b_(EntityMonster.java:34)
        at net.minecraft.server.World.a(SourceFile:1116)
        at net.minecraft.server.WorldServer.a(WorldServer.java:60)
        at net.minecraft.server.World.f(SourceFile:1092)
        at net.minecraft.server.World.c(SourceFile:1071)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:282)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-06 18:56:29 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:32 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:32 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:34 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:34 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:34 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:38 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:38 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:39 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:40 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:40 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:40 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:41 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:47 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:48 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:49 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:50 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:50 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:50 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:51 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:51 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:51 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:52 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:53 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:53 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:54 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:55 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:55 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:55 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:55 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:56 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:56 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:56 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:56 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:57 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:57 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:57 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:58 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:58 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:58 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:58 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:59 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:59 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:56:59 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:00 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:01 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:02 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:02 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:03 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:04 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:04 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:05 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:05 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:06 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:06 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:06 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:07 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:07 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:07 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:08 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:08 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:08 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:11 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:11 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:12 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    2011-02-06 18:57:12 [INFO] [ServerPort] Command received: FORWARD:hudter,9
    
    
    
    THIS GOES ON FOR 1000's of LINES LOL
    
    
    
    2011-02-06 21:38:56 [INFO] [ServerPort] Server I/O exception error
    2011-02-07 00:20:55 [INFO] map WebServer.run() stops with IOException
    2011-02-07 00:20:55 [INFO] map WebServer run() exiting





    After looking it's that FUCKING pathfinder bug that ruins everything for me =( Sorry for thinking was server port I included everything to show you why I thought it was server port.


    More info on this bug that no ones even dared to come up with a hacked fixed:


    http://forums.bukkit.org/threads/se...ion-arrayindexoutofboundsexception-1-fix.294/
  27. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Kane

    Actually, I guess there is still partially a problem with ServerPort.

    What is happening is that you are logging into the "wrong" server and it is trying to send you to the other server. However, the other server is not online, so each pace you take counts as "moving" and it tries to forward you again.

    I need to change it so that it only tries to forward a player once.
    --- merged: Feb 7, 2011 10:52 AM ---
    Actually, that is a log from the receiving server, but same principle.

    1) server crashes

    2) hudter logs onto the functioning server (but is supposed to be on crashed server)

    3) hudter moves around

    4) functioning server sends the crashed server a forward request

    5) logged server receives the request and sends it to the main thread for processing
    - prints command received
    - main thread is dead, so nothing happens

    6) goto 3)
  28. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Raphfrk well now I know ServerPort stable with you adding multiworld support it might be actually wicked idea to sort of check with WorldPort before going right to the server aka if its crashed or half crashed like that it picks world 1 or 2 or 3 whatever you have set.

    I do feel bad I did think it was WorldPort at fault I just saw the mess at the end never looked at the start.

    But man now I'm excited to see Multiworld support. But you might consider making a new plugin just saying because it might be just to much code there to change around.

    Thing like the chat system and such all the networked stuff for just multiworld might be a little to much I could be wrong maybe if multiworld is only selected it would hardly do much..

    Personaly I would like to see something like this:
    http://forums.bukkit.org/threads/warpgate-v1-5-linked-portals-gates.288/

    With whitelist, blacklist features and gate destroy and create permissions.

    Then when you create gate you be like /gate worldcreate abcdef and if abcdef folder is already there it uses it if not it creates it.

    But your the expert you know what is good for performance and such.
  29. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Kane

    Well, if you haven't linked to any other servers, then chat does nothing.

    It looks like there is just a simple

    createworld("Name of world", hell/normal)

    function being added to Bukkit.

    Don't know if they are planning to add some kind of setup file. It means that you might need a plugin to even create other worlds, not to mind actually getting there.

    Not sure how best to handle multi-worlds. The intra-server teleport system could be used for inter-world teleporting. There is no difference between that and actually just teleporting.

    However, all locations need to be updated to handle worlds. My IntLocation class will need an additional field (looks like the world class can't be used in a hash function which is a little annoying).

    However, at the moment, intra-server gates require that you build the receiving gate.

    I think I will probably still go with every server having just 1 name. Gates on a particular server would need to be unique no matter what world they are part of.

    This means that each gate is still identified with

    server name -> gate name

    However, that causes some issues with auto-gate creation.

    If the "server name" matches a world name on the current server, then you get sent there instead.
  30. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Raphfrk

    ahh then that is good news for the chat system.

    Though I still think be nice to limit it some how since I know a lot of people will not want to mix the 2 around. I still plan on doing 3 worlds. PVP/PVE World, Nether World, and the Build World. Since Minecraft has never crashed besides at world level do to that pathing bug I think I will just stick for now to multi-world support of things. Though if Godcraft ever does pickup again I might rent another server.

    One thing I learned today with Bukkit is that it has multi threading where hmod hindered that and I always thought that was SMP period and would never have the ability to use more then 1 core on my server. As far as what I learned today I can use all 4 cores. This is great news since I have 4 cores 4 virtual so I might as well use them right!


    My only personal and yes you support most if not all I'm just saying it as it's almost 7am and going bed after this haha.

    Multi-world support features:
    1) still some way to allow disallow chat from multi-worlds
    2) black list of items per gate
    3) linked gates just how you have it now I dislike anything like single player
    4) permissions on create and distroy
    5) whitelist I think you got this * for anyone or names per person you want.
    6) Some kind of maybe even impossible but some way to disable and enable certain plugins per world level. I know this might be impossible but if you have a pvp mod you might not want it to work on your pve server and so forth. That might be the biggest issue.
    7) Spawns and pvp rules server.pro I don't even know how this works yet but I'm already worried if you have spawns on one they are on both. This is the case it would be really bad. It needs to be separated unless there is no way not sure how it is right now but damn that suck if you want no pve/pvp world like my build world..



    My plans:

    World 0 = Guest, PVP, PVE, Chaos world but spawn that will be a massive 1000x1000 nice city hand made from our players that will be protected and use mainly in the future to make it a city for trade and maybe npc quests and such once that is more supported.

    World 1 = Nether world that will also be PVP, PVE with a small spawn and might have to be reset regularly not sure and will also be open to guests "MAYBE"

    World 2 = Is the current Godcraft 1.1 server the 16000x16000 map that will have no pve/pvp and 100% whitelisted. This where our donating members go and play and I think we would want to separate the chat from world 0 and world 1.


    I think I would have World 0 connected to World 1 and 2 for the gate system and I think I will keep them both at spawn on the PVP server to make it sort the hub so my players go there often too.


    Anyways you know what I like to see not sure how it all will work out. I just hope there is some kind sensor system if a world goes down we can go to the next one.


    OHHH PS: I'm not sure but if you do multi-world support I think be best to stick with world 0 player save folder and not use the current method. I think be just a tad more stable in my openion and less chance of a bug and glitch if you get what I mean.


    Anyways good luck with the coming updates and will be in in about 7 hours if there is anything new then if not I'm off all week anyways hehe.

    Thanks again for making wonderful PLUGIN!
  31. Offline

    Raphfrk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    There is 1 main thread and then lots of support threads. Most of the load is placed on 1 CPU.

    Ideally, they would split worlds between multiple threads. However, then there are issues with intra-thread API function calls.

    For example, if you hit a button on 1 gate and it opens a gate on the other server, then that would need to have some kind of sync operation.

    This is the code from the latest commit

    Code:
          ((CraftScheduler) server.getScheduler()).mainThreadHeartbeat(this.h);
            
            for (WorldServer world : worlds) {
                world.f();
    
                while (world.d()) {
                    ;
                }
                
                world.c();
            }
    
    This piece of code is executed once every 50 ms. The "heartbeat" is for the scheduler (glad that was committed before Dinnerbone did the update :) ).

    The for loop then executes a world tick for each world in turn.

    There is a chat parameter when you set what servers to send chat to. It defaults to "all".

    Actually, re-reading,while it does support that now, it wouldn't automatically support it with multi-worlds. You want a way to cancel chat from other worlds. That is a little more complex, since all chat would need to be manually sent to just players on particular servers.

    This is a global thing at the moment. Also, I think it is ignored for intra-server teleports.

    I am not sure how best to handle it. One option would be to just give an error like "You <item name> is causing the portal to destabilise".

    At least when traveling inter server, it had a second inventory for teleport handled by the "LimboStore" class.

    Already done as a list.

    However, it isn't on a per gate basis. Anyone not on the list just can't teleport, it doesn't block incoming teleports.

    Should be doable, but it would have to be handled by the other plugin.

    I think there is currently one spawn per world. You are sent to the spawn of the world you die on.

    The folder thing is being decided by Bukkit. The plan is to have 1 inv per server.
  32. Offline

    DiddiZ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I prefer Server Port even on the same machine:
    I like servers with very different plugins and configurations, Server Port is much more efficient as adding configs per world to every plugin

Share This Page