[TP] Wormhole X-Treme - Multi-World capable Stargates - Moved to BukkitDev!

Discussion in 'Inactive/Unsupported Plugins' started by lycano, Jul 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    lycano

    Wormhole X-Treme v1.016
    Multi-World capable Stargates for bukkit powered servers
    Craftbukkit 1846

    This project has been moved to BukkitDev
    Please visit the new project page on BukkitDev http://dev.bukkit.org/server-mods/wormhole_x-treme/

    Project moved to BukkitDev
     

    Attached Files:

    Last edited by a moderator: May 18, 2016
  2. Offline

    lycano

    @tharvoil im checking your shape file actually. First: it should throw an NPE while parsing the layout thats why it tells you "invalid shape" it doesnt find "\\[(.+?)\\]" in one line ... will check on first overview didnt saw any unclosed brackets.

    @Stardoc im checking this out.

    Notify:

    @Stardoc @~TraydenT~ i've contacted Afforess and notifed him about the change. He has already pushed a fix for it. Watch for a Minecart mania update. Should be out soon.

    And @~TraydenT~ you see there is no need to do stuff on your own. Just inform the author about an issue and youll probably get an answer or fix for it asap. I hope you understand what i mean.

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

    Andon

    Alright, so it looks like the fix you did works nicely - Except for one thing. Cycling the target via redstone doesn't actually change the target. It removes the sign, places a new one, but it's the same target. Activation and "Active" things still work, but not cycling. Not getting any response in the server log, either.
     
  4. Offline

    Stardoc

    Thank you verry much Iycano :) Fine work !
     
  5. Offline

    lycano

    @Andon just checked it. Works like a charm. The target is switched but you wont get any output as this isnt implemented.
     
  6. Offline

    ib1sty

    im getting some weird errors as i go around rebuilding these gates of mine. They are recreated but then when i travel from one to the other, i cannot travel back. its just water and will not port until i restart the server.

    20:41:16 [SEVERE] Could not pass event PLAYER_MOVE to WormholeXTreme
    java.lang.NullPointerException
    at de.luricos.bukkit.WormholeXTreme.Wormhole.listeners.WormholeXTremePla
    yerListener.onPlayerMove(WormholeXTremePlayerListener.java:399)
    at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.ja
    va:286)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:163)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  7. I use Stargates, but if I ever stop using that for whatever reason I'll definitely try this as a first alternative.
     
  8. Offline

    FireFreak111

    Just wondering does this have or will ever get MySQL support?
     
  9. Offline

    ib1sty

    I was using SG before we got this fantastic bukkit - it was an excellent plugin. Then i found this one and really loved the immersive aspect of it.
     
  10. Offline

    Andon

    @Lycano: It's not actually changing the target for me. It just goes to whatever the sign's pointed at. Can change manually with the sign, but the button doesn't do anything. I also can't seem to turn it OFF with the redstone, but that's not a BIG issue. Biggest was that the redstone was hanging and not letting me dial.

    Two further things - A suggestion and an issue.

    Suggestion: Allow a dial to a "Random" address. This would spawn a stargate at some coordinates somewhere, and then immediately dial that gate (Giving it an address like in the series - P3X-118 or whatever).

    Issue: This pertains to irises. On my friend's server, we were having issues with not being able to go through gates after a few trips. It seemed to be more or less random, and we gave up figuring out what it was after a while, since it required reloading the plugins to reset it. I figured it out later that it was the iris functionality - If someone attempted to go through a gate that had the iris closed on the far end, then they wouldn't be able to go through ANY further gates until the plugin was reloaded. Once I figured this out, I fired up my own server to double-check, and indeed it worked. I didn't get anything funky in my server log, but here's some easy steps to reproduce:

    1: Create a standard, non-sign Stargate (Sign dials don't have irises? Couldn't get one to put one up, but it's also almost 2 AM).
    2: Create another standard, non-sign gate.
    3: Turn ON the iris for Gate 1
    4: Dial Gate 1 from Gate 2
    5: Attempt to go through Gate 2. It says "Can't do that" because the iris is closed.
    6: Shut down the gate. Dial anywhere. Attempt to go through. Fail.
     
  11. Offline

    Elfsovereign

    On the topic of Minecart Mania, wow if this one is the culprit for it's death on my server. I mean it didn't just die, it burst into flames lol. I have a system where if I hit a button a cart will come shooting out and pick me up and take me to the destination, very automatic. On a lark I hit the button to see what would happen and see if any errors would pop up, and the server screen lit up like a christmas tree with error reports, and didn't stop until I broke the cart. I love my train system, but I love my gates more!
     
  12. Offline

    rad1game

    Omfg, dude, and how convert database? You idiot?
     
  13. Offline

    alfw

    if you deal whit IDC the plugin stop working. No error given
     
  14. Offline

    lycano

    Changes 0.907
    • stargateUsageManager is now more NPE friendly
    • added configureable option SHOW_GATE_WELCOME_MESSAGE true/false
    • added toggle command '/wormhole toggle_gwm' - toggles GATE_WELCOME_MESSAGE, default is true
    • added toggle command '/wormhole toggle_transport' - toggles USE_EVENT_OR_TP_TRANSPORT
    • added configureable option for transporting the player through the gate (USE_EVENT_OR_TP_TRANSPORT: true = EVENT, false = TELEPORT), default is true
      (this is useful if you have a plugin that canceles the event on a higher queue. in that case set this to false via /wormhole toggle_transport)
    • added alias for wormhole "wxt"
    • refactored Logging instance
    • added new command /wxreload (now); alias /wxre
    • added new command /wxstatus (all); alias /wxs

    Due to massive refactoring many random bugs are gone. But in case you got a problem you now have /wxre now command to get it working again. This will reset the plugin to its loaded state. Config will be saved and your gates will be pushed to db.

    As always please report any bugs that may occure. I may ask you to use the hidden command "/wxt debug FINE" sometime .. this will change the debugging output to server.log to a more finer grade. This shouldnt be set by choice only for debugging cause this will fill up your log quite fast. Default is INFO.
     
  15. Offline

    Andon

    Should this fix the iris issues?
     
  16. Offline

    lycano

    @Andon please try. There are too many changes done i cant tell and honnestly i worked about the whole night on it to get at least the basement done. Didnt checked it out so far.
     
  17. Offline

    ssechaud

    I am having a problem with this and minecart mania:

    Code:
    2011-07-03 18:38:59 [SEVERE] Could not pass event VEHICLE_MOVE to MinecartManiaAutocart
    java.lang.NoClassDefFoundError: com/wormhole_xtreme/wormhole/event/StargateMinecartTeleportEvent
    	at com.afforess.minecartmaniacore.event.MinecartManiaListener.onCustomEvent(MinecartManiaListener.java:206)
    	at com.afforess.minecartmaniacore.MinecartManiaCore.callEvent(MinecartManiaCore.java:249)
    	at com.afforess.minecartmaniacore.minecart.MinecartManiaMinecart.initialize(MinecartManiaMinecart.java:100)
    	at com.afforess.minecartmaniacore.minecart.MinecartManiaMinecart.<init>(MinecartManiaMinecart.java:73)
    	at com.afforess.minecartmaniacore.minecart.MinecartManiaStorageCart.<init>(MinecartManiaStorageCart.java:29)
    	at com.afforess.minecartmaniacore.world.MinecartManiaWorld.getMinecartManiaMinecart(MinecartManiaWorld.java:82)
    	at com.afforess.minecartmaniaautocart.AutocartListener.onVehicleMove(AutocartListener.java:21)
    	at org.bukkit.plugin.java.JavaPluginLoader$77.execute(JavaPluginLoader.java:783)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    	at net.minecraft.server.EntityMinecart.m_(EntityMinecart.java:564)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    	at net.minecraft.server.World.cleanUp(World.java:1102)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  18. Offline

    lycano

    @alfw this never happend on my testserver. I only get occasionally CraftState SignBlock errors that shouldnt do anything to the gate itself. Plus you can now reload the plugin if it should happen again.

    @ssechaud please read at least some post... this has already been adressed and the Minecart Mania author has been informed. There should be an update out there soon.

    @FireFreak111 yes, mysql support is in development. That was one of the reasons why i had to drop h2sql support. Main reason was stability.
     
  19. Offline

    Andon

    It looks like your download link's borked - Gives me a 404, and the "Latest" gives me version 905.
     
  20. Offline

    lycano

    @rad1game thanks for telling me that you just care for yourself and didn't thought about "how long i have spent to get this to work" for only a blink of an eye by just giving me the finger :D

    @Andon build failed :/ have to fix this. latest link points still to 905 fixed. didnt added new files to repo. thanks for keeping an eye on that i really have to sleep ^^

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

    rad1game

    Sorry for my agressive, but really, how convert DB?
     
  22. Offline

    Andon

    Alright, so it doesn't fix the Iris issues. It seems like a permissions thing - It takes away permissions if you try to walk through to an iris, but then you don't get them back.
     
  23. Offline

    lycano

    @rad1game afaik there is no way of converting a hsqldb from outside to sqlite directly. This would have been done via java but i didnt implemented it cause i would have to test every single step just for one single migration and i couldn't then drop support for it directly. So i had to make a choise.

    Sadly for ppl who want a converter for lets say lesser than 30 gates you may have finished work in that time. I would suggest recreating them. But ... lets say wait for tomorrow have to sleep at least for some hours. Maybe i will post a converter tomorrow.

    @Andon ill look into this issue. thanks for reporting.
     
  24. This gate shape aint working for me, anyone care to explain what wrong with it?

    Code:
    GateShape=
    
    Layer#1=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I:EM][I][I][I][I][I][I][I]
    [I][I][I][I][I][S:L#2][S][S:L#1][S][S:L#20][I][I][I][I][I]
    
    Layer#2=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][S:L#3][S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][S:L#19][I][I][I]
    
    Layer#3=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][I][I]
    
    Layer#4=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][S:L#4][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S:L#18][I]
    
    Layer#5=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][I]
    
    Layer#6=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [S:L#5][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S:L#17]
    
    Layer#7=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S]
    
    Layer#8=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [S:L#6][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1:EP][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S:L#16]
    
    Layer#9=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S]
    
    Layer#10=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [S:L#7][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S:L#15]
    
    Layer#11=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][I]
    
    Layer#12=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][S:L#8][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S:L#14][I]
    
    Layer#13=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][S][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][I][I]
    
    Layer#14=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][S:L#9][S:N][I:W#1][I:W#1][I:W#1][I:W#1][I:W#1][S][S:L#13][I][I][I]
    
    Layer#15=
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][I][I][I][I][I][I][I][I][I][I]
    [I][I][I][I][I][S:L#10][S:A][S:L#11:D][S][S:L#12:IA][I][I][I][I][I]
     
  25. Offline

    Elfsovereign

    I don't know if this is worth anything, but I'm having fun looking for my old gates again. A lot of them were quite well hidden. I've recovered about 2/3s of my old system, and my old DB is gone I think so it's not that much help to post a converter for me. Also how would that work, the gates are configured differently? The sign is on the lower left hand now, and not the top? Would it automatically convert them in game or something? If you could make something that would help you find old gates in game that would be helpful, but I can't even see how one would do such a thing.
     
  26. Offline

    alfw

    The problem happen when you /dial a IDC gate whit no password, then close / open the iris whit the button / lever. Then none gates work after that.
     
  27. Offline

    voidptr

    Ok, after some digging, here's the solution for migrating all your old gates into the new sqlite database. You need to do three things. (These instructions are for a Linux server with sqlite3 installed. These also assume you know a thing or two. Don't be stupid.)

    1. Open WormholeXTremeDB.script in your favorite text editor. The bulk of the file should be the SQL statements for inserting your gates into the Stargates table. In each INSERT statement, see the field that has a huge long hexadecimal number enclosed in quotes? Before the first quote of that number, insert an X. This tells sqlite that the number following is in Binary.

    2. Then, at the end of the statement, add a semi-colon.

    So, each INSERT statement should end up looking something like this:

    Code:
    INSERT INTO STARGATES VALUES(117,'spiderspawn',X'080000005f000000270000010c0000005f000000260000010c0000000000000000000000004057a0000000000040430000000000004070a8000000000000000000000000004057a0000000000000000000000000004070b80000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00ffffffffffffffff00000004574553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000050000005f000000270000010c0000005e000000250000010a0000005f000000270000010b0000005f000000260000010b0000005f000000260000010c000000020000005e000000270000010a0000005e000000260000010a0000000200000000000000010000005e000000250000010a0000000400000000000000010000005e000000260000010a000000010000005e000000270000010a000000010000005e000000280000010a','Public',-1850070600088680807,'world','NORMAL','null_ptr1','Minimal');
    
    3. Open the new WormholeXtremeDB sqlite database using sqlite3, and paste in each INSERT statement. You may have to hit enter, depending on how you pasted.

    Restart/reload the server plugins, do a /wxlist to make sure everything is in there, and you should be all set! :D
     
  28. Offline

    ~TraydenT~

    That's the post I was going to do :) With a little bit of vi(m), it's really easy to make the transition.

    I however still have a minecart teleportation issue :/ The minecart “vanishes” when going throu the gate …
     
  29. Offline

    Andon

    Another suggestion: Allow redstone dialing of non-signdial gates if they just have an activation button. You'd still have to type /dial whatever, but it'd be pretty handy.
     
  30. Offline

    ~TraydenT~

    My necessary packages :
    • sqlite3
    • vim
    Steps :
    1. Open script file with vim
    2. Save file : :saveas /tmp/sqldb
    3. Remove non-insert lines
    4. Replace Id column with NULL : :%s/([0-9]\+/(NULL/
    5. Insert X before data column : :%s/'08/X'08/
    6. Insert semicolon after each insert : :%s/$/;/
    7. Write the file : :w
    8. Exit vim : :q
    9. Run the script : sqlite3 plugins/WormholeXTreme/WormholeXTremeDB/WormholeXTremeDB < /tmp/sqldb
    10. Enjoy :)
    I provide no support on this method. The computer you're using has no brain, please use your own.

    Aside, I've problems with my gates : the plugin became a oneshot plugin, i.e. at the first teleport (which works), an error is thrown and the teleportation no more works. Here is the stacktrace :
    Code:
    00:07:26 [SEVERE] Could not pass event PLAYER_MOVE to WormholeXTreme
    java.lang.NullPointerException
            at de.luricos.bukkit.WormholeXTreme.Wormhole.listeners.WormholeXTremePlayerListener.onPlayerMove(WormholeXTremePlayerListener.java:414)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:163)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
    Mentioum likes this.
  31. Offline

    Mentioum


    Also having this error... crashes server after about 3 mins.

    oh also @lycano - I've got your back in the other thread. Problem likely averted.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
Thread Status:
Not open for further replies.

Share This Page