Inactive [MECH] MagnetBlock v0.4.7 - Movable Structures controlled by Redstone [1060]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Mar 2, 2011.

  1. Offline

    narrowtux

    I didn't try Elevators but I'll definitely try and try to fix it. ;)
     
  2. Offline

    xibit1987

    also you might want to add how fast it moves, for now if you use 1 layer floor as elevator up/down, when moving up you will move right through the floor and plumm to the ground :)
    --- merged: Mar 7, 2011 2:09 PM ---
    like a config file :)

    also my floor for my elevator is 3x3
     
  3. Offline

    blodyblack

    if i want a plane that flies in sky do i have magnet block on the ground or can i have it floating? and how far will it go?
     
  4. Offline

    narrowtux

    The Magnetblocks can technically be everywhere. If you want your structure to be flying, you have to place one magnetblock in the air (I know this looks ugly)
    --- merged: Mar 7, 2011 2:57 PM ---
    There I fixed it! Optimized the structure animation a bit as well to reduce some CPU usage!
     
  5. Offline

    xibit1987

    Nice mate :) and it just works perfect :) thx for the fast fix, not every one do that :)
    --- merged: Mar 7, 2011 4:27 PM ---
    hmm got some info that you can work with, got this error from server log:
    Code:
    17:24:21 [INFO] onPlayerItem
    17:24:21 [SEVERE] Could not pass event PLAYER_ITEM to MagnetBlock
    java.lang.NullPointerException
            at com.narrowtux.MagnetBlock.MagnetPlayerListener.onPlayerItem(MagnetPla
    yerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:165)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:448)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:24:22 [INFO] onPlayerItem
    17:24:22 [SEVERE] Could not pass event PLAYER_ITEM to MagnetBlock
    java.lang.NullPointerException
            at com.narrowtux.MagnetBlock.MagnetPlayerListener.onPlayerItem(MagnetPla
    yerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:165)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:448)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:24:22 [INFO] onPlayerItem
    17:24:22 [SEVERE] Could not pass event PLAYER_ITEM to MagnetBlock
    java.lang.NullPointerException
            at com.narrowtux.MagnetBlock.MagnetPlayerListener.onPlayerItem(MagnetPla
    yerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:165)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:448)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:24:24 [INFO] onPlayerItem
    17:24:24 [SEVERE] Could not pass event PLAYER_ITEM to MagnetBlock
    java.lang.NullPointerException
            at com.narrowtux.MagnetBlock.MagnetPlayerListener.onPlayerItem(MagnetPla
    yerListener.java:16)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.ja
    va:165)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:448)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    17:24:25 [INFO] EditStructure
    17:24:25 [INFO] onPlayerItem
    17:24:25 [INFO] EditStructure
     
  6. Offline

    narrowtux

    Ups, I accidentally included source that I've been working on but thats not finished :D. It's not breaking anything, because this code is an additional feature that doesn't work
     
  7. Offline

    xibit1987

    ah ok thx for the info :) i'm about to do a writeup on a plugin idear (a very simple and small one). it's about redstone wire could you be interested?
     
  8. Offline

    narrowtux

    PM me about that ;)
     
  9. Offline

    xibit1987

    Just PM'ed you :) But just to keep this thread on track, theres is a new issue that needs to be adressed. if you put a lever, button, pressureplate, redstone torch or normal torch on your structure it stays on an levers and torches is in the same state if you move it, but all these parts are "dropped/spawned" on the ground to pick up every time you move it 1 block. and redstonedust you have on the structure is removed+dropped on the ground.
     
  10. Offline

    narrowtux

    I know, and I'm on it fixing this. Then, redstone circuits embedded in a structure should work (which would be great).
     
  11. Offline

    xibit1987

    also your cool plugin is generating alot of text in server console for no reason.
    Getting:
    21:38:03 [INFO] is Block
    21:38:03 [INFO] onPlayerItem

    Every time i right click on anything with anything in my hand :/
    You might want to add a command to enable/disable feather + stick tool. so it dosent check ever time :)
     
  12. Offline

    narrowtux

    Sorry, this are debug messages for me. I'm still testing new features and this is still a beta version so this is allowed :D
    I'll try to hide them in the next release
     
  13. Offline

    xibit1987

    ah okay ;)
     
  14. Offline

    Alexf

    Would you to be able to fix stuff like ladders, rails, doors, torches, redstone torches falling when you move a craft?

    ALSO. THis thing is eating my creations. They glitch up and the entire moving piece of the thing dissappears into oblivion.
     
  15. Offline

    narrowtux

    this happens sometimes, but this effect is only visible to the user, the blocks are still there. A Minecraft server bug ;)
     
  16. Offline

    Loose Nut

    yes if the structure hit something, it will just disappear :( (im sure you know that already )
    any chance of something like /mbbb [structure]
    where bb "bring back" reloads the named structure

    p.s i loved the "Hello" when i broke something on the structure.
    first time I seen it I was alone on my server and I was like "who da hell was that ???"
     
  17. Offline

    narrowtux

    :D that also was a debug message from me, I forgot to remove it

    you can try the /mbmove function but be careful with it!:
    /mbmove structurename x y z
    y goes from bottom to top in Minecraft!
     
  18. Offline

    Alexf

    The structure sometimes stops responding; like the chat spam wont even show up. Adding a block doesnt help either.

    The structures I build likes to stop moving randomly. It says it is colliding with another block, but that block is no where BUT the actual moving thing itself. I think it's hitting itself...

    Hm...on further investigation, there seems to be left behind blocks? or something.
     
  19. Offline

    narrowtux

    This happens when you remove a block from a structure while in edit-mode. Reloading the server helps in this case.
    I'll have to investigate why it does this.
    [MERGETIME="1299573190"][/MERGETIME]
    Released Quickfix 0.1.3, didn't test it but should work!
     
  20. Offline

    J. D.

    It is actually a rather simple design that I currently don't feel like trying to replicate (the issue I mean). Imagine an structure that is 11 blocks high, one block thick, and 9 blocks wide. That's pretty much all it is.
     
  21. Offline

    narrowtux

    I've also seen that structures would hide but they don't disappear they are just invisible. If you hover the blocks with the mouse, the border should appear.
     
  22. Offline

    Alexf

    Awesome, it works (at least for now) :p

    I was wondering if this could support a multi-collab function.

    Basically, you turn on co-op mode and if people want to help build, they type something like /mbjoin <structure>. However, when one person types /mbfs it stops the building for everyone.

    Urgh, It's eating my structures again. How should I make the blocks un-invisible?
     
  23. Offline

    VGLordR2

    Could you add a feature to make magnets repel instead of attract? That would be really helpful.
     
  24. Offline

    Eddie plays mc

    Hey I love the plugin but when making a platform that moves across a chunk it will dissapear one row at a time.
     
  25. Offline

    David McCahon

    download=fail doesnt even have a valid link
     
  26. Offline

    narrowtux

    Download works here, you may want to try again.
    [MERGETIME="1299667004"][/MERGETIME]
    Which version of Craftbukkit do you have? type /version if you are unsure.
    [MERGETIME="1299687796"][/MERGETIME]
    That does already work.
    Lets say, you just created a structure by typing
    /mbcs test
    Then other players can join the building party by typing
    /mbes test
    They are in the same mode like you and can build until they finish with /mbfs but every player has to do this.
     
  27. Offline

    Eddie plays mc

    Hey where running 493, do you know what causes it to dissapear?
     
  28. Offline

    narrowtux

    No I think it's a minecraft-bug which is resulting of too much block updates for the client. (just my assume, could have another reason).
     
  29. Offline

    Vanoi

    Can you seperate X/Y Axis from the Z Axis with the magnets... trying to make a Drawbridge ain't working when the entire bridges wants to move back and forth.

    Maybe Iron for X/Y and Gold for Z?
     
  30. Offline

    Alexf

    Cool! Also, something weird.

    Sometime, the Place your blocks and ____ has been added to structure messages dont appear; only the errors appear like /___________ Name

    Some stuff is hitting itself....again.

    Also, how to make eaten blocks visible again D:
     

Share This Page