Inactive [FUN/TP/MECH]PortalStick v2.3.7 - Portal gun in minecraft [1.2]

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Apr 26, 2011.

  1. Offline

    matejdro

    PortalStick
    Authors: matejdro and oliverw92

    Have you ever wanted to have portal gun in minecraft? Have you ever wanted to make your own portal test chambers and make your friends solve it? Now you can do this!

    PortalStick is plugin that tries to emulate Portal Gun as close as possible in Minecraft without client mods.

    Demonstration video of the plugin:

    (map from the above video: CLICK)

    Shorter demonstration video created by user of the plugin (sorry, can't remember name right now.):


    See BukkitDev page for more information and download links: http://dev.bukkit.org/server-mods/portalstick/
    (you can use your minecraft forum username and password on BukkitDev)
     
  2. Offline

    matejdro

    Limit is actually 20 blocks - bug in 2.1.
     
  3. Offline

    whitemorn

    Downloaded the newest version, and only using the emancipation grills for now, on server stop/start or restart (mcmyadmin) the plugin does not load and the reeds are gone. The grills.yml still list the positions and any /portal command returns /portal help. if I restart again, the grills.yml is cleared and /portal is working again. I'm hoping to have the grills remain on restarts. Any ideas?

    thanks
     
  4. Offline

    Dubstein

    Alrighty, it all works now :) Thanks again

    Amazing plugin :D!!
     
  5. Offline

    Chillers

    Thanks i believe the server was updated and it now works!

    One problem i am having however is that currently the server has a global region e.g the region is global. However when i try to set up my own region the unique-Inventory flag set to false it still removes all items when i enter the region. So trying to develop in that region is impossible. Could this be because the region is within a region?
     
  6. Offline

    ViperKnows

    [SEVERE] Could not Pass Event PLAYER_QUIT to PortalStick
    Annoying error message I get every time someone leaves the game.
     
    TheAnyInbox and DeathBanes like this.
  7. Offline

    FishStik

    Using 2.1.0 (the most recent link), I'm still having this problem. In addition, the infinite-dispenser feature is not working. I've put an item (pink wool) in the center block but it only gives me one (after pressing a button).
     
  8. Offline

    matejdro

    Input redstone must be at the same height as dispenser to make this work.
     
  9. Offline

    Red Lightning

    Sorry if this is a stupid question, but what exactly is the proper format for disabling on multiple worlds? I've tried a bunch of different ways and they either give me errors or they put the worlds all on one line and portals are still enabled on all worlds. The wiki is kind of vague to me...
     
  10. Offline

    oliverw92

    Each world has its own line, like so:
    - world1
    - world2
    - pvp3
     
  11. Offline

    beatcomet

    Will there be an option to edit the uinique inventory?
     
  12. Offline

    matejdro

    Can you print out whole error message please?
     
  13. Offline

    Great Newtons

    Here, I get the same thing:

    Code:
    11:25:53 [SEVERE] Could not pass event PLAYER_QUIT to PortalStick
    java.lang.NullPointerException
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserManager.java:49)
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserManager.java:45)
            at com.matejdro.bukkit.portalstick.listeners.PortalStickPlayerListener.onPlayerQuit(PortalStickPlayerListener.java:319)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:238)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:115)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:581)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:200)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
    ViperKnows likes this.
  14. Offline

    matejdro

    @whitemorn do you get any error message? When you reload server, try walking through grills (or empty frames in your case) to see if items will clear.

    @Chillers regions in regions are not (yet?) supported.
     
    Hunt800 likes this.
  15. Offline

    whitemorn

    I have it working on my test server just fine, so I have to redo it on my live one. But the thing I notice the grills is they take about 5 to 10 seconds to activated after a reboot. So if the grill is being used to keep items in or out, players have a window to get though before it loads. Have you found this in your testing?
     
  16. Offline

    majorcyto

    I also get the same player_quit error message.
     
  17. Offline

    matejdro

    @whitemorn grills are working from the start, but reeds inside will appear after 5-10. That means that even when there is no reeds inside, your stuff will get deleted. Yes, i have found this in my testing and I'm not completely sure on how to fix this.

    @majorcyto it will be fixed in 2.2 (probably today)
     
  18. Offline

    TheRec

    Do you think the "unique-inventory: false not working" problem be solved in 2.2 ?

    I asked this few days ago but nobody seemd to have an answer, can you give it a look please ?
    Also, I remarked that, without any error in the log, sometimes the plugin stops working and seems to prevent other plugins to interact with blocks in the defined region. For instance, I use MagicCarpet which creates a glass carpet under yourself and moves it where you move and if I use it inside a region all the glass blocks that should be deleted when you move are not deleted anymore (MagicCarpet leave a "trail"). I would love to give you an error message you could work with, but I have absolutely no idea how/when it breaks exactly and there is nothing in the log :S
     
  19. Offline

    matejdro

    Oliverw92 is handling region stuff and he is currently absent. I will check some stuff,, but you will probably have to wait for 2.2.1 or something like that.

    Inventory fix is coming in 2.2 :)

    As for MagicCarpet issue, does this happens always or randomly? I have been playing around with carpet for some time now and have not seen issues. Can i also see your config for region that causes you problem?

    Updated.



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

    TheRec

    It does happen randomly and does not leave any error message in the log. I think it is caused when people quit inside the region with portals open but I have trouble to test this correctly. It happens eventually over time if people use the portals in the region... This happens with "main.delete-on-quit" at true or false ... so I'm not even sure if it's related to people disconnecting.
    Here's my config.yml:
    Code:
    messages:
        cannot-place-portal: '&cCannot place a portal there!'
        restricted-world: '&cYou cannot do that in this world!'
    main:
        restore-inventory-on-world-change: true
        compact-portal: false
        disabled-worlds: ''
        delete-on-quit: false
        portal-tool: 280
        region-tool: 284 
    and region.yml (placed it in a spoiler tag to avoid making the page scrolling tedious):
    Show Spoiler
    Code:
    regions:
        global:
            prevent-creating-portal-through-closed-door: true
            location: world:0,0,0:0,0,0
            enable-emancipation-grill: false
            all-blocks-allow-portals: false
            velocity-multiplier: 1.0
            enable-fall-damage-boots: false
            delete-portals-on-exitentrance: true
            fall-damage-boots: 313
            prevent-creating-portal-through-portal: false
            infinite-dispensers: false
            transparent-blocks:
            - 0
            - 8
            - 9
            - 10
            - 11
            - 20
            - 64
            - 71
            teleport-liquids: true
            grills-clear-inventory: false
            grills-clear-item-drops: true
            teleport-vehicles: true
            unique-inventory: false
            enable-portals: false
            emancipation-grill-material: '48'
            obey-worldguard-permissions: false
            portallable-blocks:
            - 42
        mainarea:
            prevent-creating-portal-through-closed-door: true
            location: world:184.0,1.0,-246.0:84.0,85.0,-147.0
            enable-emancipation-grill: true
            all-blocks-allow-portals: false
            velocity-multiplier: 1.0
            enable-fall-damage-boots: true
            delete-portals-on-exitentrance: true
            fall-damage-boots: 313
            prevent-creating-portal-through-portal: false
            infinite-dispensers: true
            transparent-blocks:
            - 0
            - 8
            - 9
            - 10
            - 11
            - 20
            - 64
            - 71
            teleport-liquids: true
            grills-clear-inventory: false
            grills-clear-item-drops: true
            teleport-vehicles: true
            unique-inventory: false
            enable-portals: true
            emancipation-grill-material: '48'
            obey-worldguard-permissions: false
            portallable-blocks:
            - 42
    

    There is only one region, which is pretty big in size but all my levels are in a big area where it's the only place people can place portals.

    I've tested the new 2.2.0 version from today. It's working better :) Thanks for your hard work :D


    To summarize, on [CB 766, PortalStick 2.2.0]:
    • PLAYER_QUIT error still present but now the portal gets deleted and plugin continues to work, before whenever this error happened the plugin stopped working for me (couldn't place any portal anywhere and portals we not deleted).
    • Portal shot through an open door from a long distance is working now.
    • Plugin not working after sometimes "randomly", specially when users disconnect/reconnect, the symptoms are : Essentials unlimited block (which refills the inventory each time you place a block) won't work anymore (other Essentials commands work), MagicCarpet leaves trails (which breaks my map :( ). Maybe a clue on this is the inventory thing, as when I reconnect I'm in the region "mainarea" (see region.yml) in my previous post... and the inventory reset doesn't seem to happen (when it does happen if I go out of the zone and re-enter... (when really it shouldn't happen at all since I disabled "unique-inventory"... but that might get fixed later I understood).
    If you need more info or if you want to do further testing just tell me what to try :)

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

    matejdro

    Whoa. I'm not sure what is that random stuff. AFAIK pluigns are not triggering bukkit events, so i don't know what could cause this. I think oliver needs a look on that.

    About player quit, can you paste whole error again, please?
     
  22. Offline

    TheRec

    Yeah, that random stuff is kinda making me using the plugin only when I'm around and removing it when I'm not... which is not very convenient for other people wanting to play with this great plugin ;D

    Here's the complete PLAYER_QUIT error :
    Code:
    21:51:09 [GRAVE] Could not pass event PLAYER_QUIT to PortalStick
    java.lang.NullPointerException
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserMa
    nager.java:49)
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserMa
    nager.java:45)
            at com.matejdro.bukkit.portalstick.listeners.PortalStickPlayerListener.o
    nPlayerQuit(PortalStickPlayerListener.java:319)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:238)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:289)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:115)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:581)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:200)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    It happens for any user disconnecting (on purpose or not)... wether they are inside the region or not.
     
  23. Offline

    matejdro

    Are you sure, you updated it properly? This looks like it's still 2.1.0 to me. If you used /reload, use it again or even better, restart server.
     
  24. Offline

    TheRec

    I'm using the version I've redownloaded about 5 minutes ago.. from the thread link. But you are right it advertise as 2.1.0...
    Code:
    >version PortalStick
    22:00:24 [INFO] PortalStick version 2.1.0
    Which is not a reference maybe, as last time the version was wrong too... tell me where to look. Anways the things I've mentioned are related to the PortalStick.jar which is 73'796bytes, MD5: ab5f420c97ae8bba79a11018f0181bf8
    (dunno how else to identify it)
     
  25. Offline

    matejdro

    Hm. I guess github does not handle file updates as well as dropbox do. It should work now.
     
  26. Offline

    TheRec

    Yay, better :) But PLAYER_QUIT is still there (portals do get removed and plugin continues to works) :
    Code:
    22:14:17 [INFO] TheRec lost connection: disconnect.quitting
    22:14:17 [INFO] Connection reset
    22:14:17 [GRAVE] Could not pass event PLAYER_QUIT to PortalStick
    java.lang.NullPointerException
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserMa
    nager.java:51)
            at com.matejdro.bukkit.portalstick.UserManager.deleteDroppedItems(UserMa
    nager.java:47)
            at com.matejdro.bukkit.portalstick.listeners.PortalStickPlayerListener.o
    nPlayerQuit(PortalStickPlayerListener.java:261)
            at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:238)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:289)
            at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:115)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:581)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:200)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Code:
    >version PortalStick
    22:14:27 [INFO] PortalStick version 2.2.0
    22:14:27 [INFO] Author: matejdro and oliverw92
    Will try to test the rest of stuff which were causing trouble for me too now ;)
     
  27. Offline

    matejdro

    This error makes much more sense than previous one :)

    Thanks.
     
  28. Offline

    TheRec

    • unique-inventory for my region is working.
    • Can't reproduce the random bug that causes the plugin not to work and the MagicCarpet (tried many disconnects, tired with placed portals, quitting from inside/outside the zone) for the moment. If it reappears I will report it...
    • Shooting portals through open door from long distance is still working.
    • One thing I thing that seems to have changed, now when I'm exiting a portal I seem to have a bit more momentum than in previous versions (2.1.0 and previous). This can be seen easily if you place two portals on the ground and just move inside one (without even jumping) the momentum is kinda raising without reason... and that's kinda not realistic... maybe I didn't notice it before and it's a feature, if so please ignore this last point ;)
    Also, thanks a lot for all these fixes and new features (some I still have to try but they look awesome in the video). This plugin is just the definition of AWESOME ! Kudos !

    **EDIT**
    About the random bug, I could reproduce it but it seems like it is not due to disconnect/reconnect (it appeard after some time... again, randomly without any error in the log/console). One thing that might be important, I remarked that the problem is located only on certain chunks that are inside the region, in those chunks plugins aren't working (as if they weren't loaded and event handlers couldn't work in them.. but that's a wild guess).
    For these chunks to work again, I have to disconnect and reconnect... then plugins start working again in them. I dunno if it's a client side bug, but I doubt it, because they do load and I can place blocks in them... it's only the plugins in this chunks that aren't working.

    What would be the settings values of these settings :
    Code:
            blue-gel-horizontal-velocity-multiplier: 1.5
            blue-gel-vertical-velocity-multiplier: 1.5
            blue-gel-vertical-bounce-velocity: 1.0
    for the blue get to behave like the one in Portal 2. Right now the velocity is multiplied and raises on every bounce when in Portal 2 it is kinda set on the first bounce (according to the momentum you have when you enter) and then is not raised by the velocity gained due to the blue gel itself. I thought setting "blue-gel-vertical-velocity-multiplier" to "1.0" would not multiply it, but it still bounce me a little higher on every bounce ;)

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

    majorcyto

    So even though i have portalstick set to use ONLY 1 map that is NOT my main map. The red and blue gel blocks still work on the main map <_<

    Can you please also add checks to the faith plates and gels to only work in the "enabled worlds" please >.<
     
  30. Offline

    matejdro

    @TheRec Yeah, new velocity is a feature. Just lower multiplier if it bugs you.

    Do these random bugs also happen if you delete PortalStick?

    Try using lower multiplier for blue gel. I think i have used around 0.7, but i can't really tell since I'm not at home right now.
     
  31. Offline

    TheRec

    @matejdro: When I am not using PortalStick (removed PortalStick.jar from the plugin directory), I've never experienced this problems. This server is running for 2 months and this issue only raised after I installed PortalStick and it never occurs when the plugin is not installed. Also, it seems to happen only in the chunks that are either completely or partially in the PortalStick region. I did enable the plugin and played for the same time in other places of the map (far from the PortalStick region) and never experienced this problem in those areas. So it seems related to the way region and chunk are loaded :S

    Thanks for the information about the multiplier... I thought it was only a multiplication, so velocity*1 would mean "neutral", my bad :)
     

Share This Page