Inactive [TP] Wormhole X-Treme - Multi-World Capable Stargates v0.854 [766]

Discussion in 'Inactive/Unsupported Plugins' started by Ben Echols, Jan 24, 2011.

  1. Offline

    Lologarithm

    This is now inactive - http://forums.bukkit.org/threads/tp-wormhole-x-treme-multi-world-capable-stargates-v1-011-953.23973/ is where you can find the currently active developed version.




    Release v0.854 contains the fix to stop the IndexOutOfBoundsException that happens when 3d shapes have no light blocks. Also contains the fix for 2d gate iris levers (they get added properly again). The Wormhole X-Treme Worlds support is for a version of WXW that is still under development, expect things to break badly if you enable it without the proper version of WXW (0.5, which is not released as of yet).

    If this is your first time downloading this please download the zip, it contains the database software we depend upon.
    You are also encouraged to read the changelog and readme. Especially the readme.
    Basic instruction for use and configuration can be found below.

    Major Features:
    • Player teleportation!
    • Multi-world support
    • Permissions integration (As well as some basic built-in permissions)
    • Custom 3d & 2d gate shapes
    • Iris password protection
    • Minecart teleportation
    • Help plugin integration
    About Wormhole Xtreme:

    Get the Source
    Donate to my coffee fund (It helps me code faster!)

    When I first heard about bukkit I knew I wanted to write a plugin. As I always wanted a way to teleport around I thought it would be fun to write a mod that could do this. I thought writing one like the Stargates from Stargate would be cool.

    So I decided I would make my own portal plugin as my first try at bukkit (and really first mod for Minecraft so far).

    So here is my release of Wormhole X-Treme!

    video (open)

    Samkio made a usage video here, it is a touch out of date but the general idea still works:


    Changelog with important entries in bold (open)

    Changes 0.854
    • Updated chunk (un)loading to happen when gate (de)activates and when dial lever state changes happen.
    • Fixed iris levers not being added properly with 2d gates. (Oops, guess that code WAS needed)
    • Fixed IndexOutOfBoundsException on 3d gate shapes without lighting blocks.
    • Hamfisted fix for signs not updating. Now we nuke the sign and build it from scratch every time a gate sign is toggled. Causes a flash, but... who cares. It works EVERY time now.
    Changes 0.853:
    • Fix for /dial gates breaking when a user who doesn't have dialer permission hit the lever.
    • Switched to getTypeId() from getType(), hopefully this works around the getType() == Air bug that might be lingering.
    Changes 0.852:
    • Added support for upcoming Permissions 3.0.x release.
    • Fixed a NPE in 2d shape code dealing with light block positions.
    • Added soft dependencies to plugin.yml.
    • Minor log format changes for readability.
    Changes 0.851:
    • Complete revamp of how we handle permissions checks. Lots more case statements, lots less if/else if. Much better. This is what enums are for.
    • Added new gate use cooldowns. This feature will only work on complex permissions enabled servers. There are three groups you can assign a player to; 'wormhole.cooldown.groupone', 'wormhole.cooldown.grouptwo', and 'wormhole.cooldown.groupthree'. If you have an '*' on any user/group, remember to '-wormhole.cooldown.groupone' etc. There is a new command to enable, disable, and modify cooldowns; 'wormhole cooldown [true|false|group] <time>', valid groups being 'one', 'two', and 'three', valid time being between 15 and 3600 seconds. There are also Settings.txt options for all of these new settings. Cooldowns are set when a player enters a stargate, not when they /dial. Cooldowns are removed via timer events, and even if the timer event fails, we do a fall back calculation when a player enters a stargate, and gets denied access.
    • Added new gate build count restrictions. This feature will only work on complex permissions enabled servers. There are three groups you can assign a player to; 'wormhole.build.groupone', 'wormhole.build.grouptwo', and 'wormhole.build.groupthree'. If you have an '*' on any user/group, remember to '-wormhole.build.groupone' etc. There is a new command to enable, disable, and modify build count restrictions; 'wormhole restrict [true|false|group] <count>', valid groups being 'one', 'two', and 'three', valid count being between 1 and 200. There are also Settings.txt options for all of these new settings.
    • Updated the stargate sign dial sign reset code to be more reliable at causing the client to notice update changes.
    • Added a thrown exception during stargate 3d shape parsing if the shape doesn't have an exit point. We depend on this location for pretty much everything. If it isn't there, really bad bad bad things happen.
    • Now we have more than just Standard as our default shape. We extract Standard, StandardSignDial, Minimal, and MinimalSignDial to the gateShape folder if it is missing shapes.
    • Now we don't toggle stargate signs when we start.
    Changes 0.850:
    • iConomy support removed. I will not depend on plugins that decide to change their package name 5 major versions in and basically give everyone who depended on the package location the middle finger.
    • 3d Gate shapes now implemented.
    • Custom gate settings now in place (read: per gate material settings). This included the re-addition of the portalmaterial and irismaterial commands. lightmaterial, redstone, wooshdepth, and custom commands newly added.
    • Massive internal overhaul, refactorings, cleanups, general goodness and bugfixes.
    • Added support for Wormhole X-Treme Worlds. This allows Wormhole X-Treme to offload its chunk loading and world loading to WXW, for worlds that exist in WXW. Requires user to change Settings.txt option WORLDS_SUPPORT_ENABLED from false to true. This option requires Wormhole X-Treme Worlds v0.5 to be installed, and preferably configured for every existing world populated with stargates. If this option is set to true but WXW is not v0.5 (or not installed), WX will not load its stargates from its database.
    • Removed many superfluous chunk load requests. Added graceful chunk unload queue when we are done with a chunk.
    • Bumped supported version of permissions to include the 2.7 tree.
    • Updated help text for new/modified commands.
    • Added backwards compatibility, for those users who just don't want to upgrade to 3d shapes.
    • Added loads of failsafe settings, for when users don't have any shapes installed, but have stargates already.
    • wxidc now only works on non-sign powered gates which have iris activation blocks set.
    Changes 0.833:
    • Fixed iConomy double(or many many more) charging issue. Tried to do something awesome, turned out to be a bad idea. We'll revisit these kind of changes when 3d shapes are in and I can do some major refactoring and method merges/splits.
    • Bumped supported version of permissions to include the 2.6 tree.
    • Merged some of the sign click schedule related methods. Should make sign click messages more reliable.
    Changes in v0.832:
    • Fixed a NPE in new database initialization. Whoops, missing null-check, added.
    Changes in v0.831:
    • Fixed erroneous messages sent when a plugin is attached to already and WXT receives a plugin event for it. Cosmetic bug, fixed.
    Changes in v0.830:
    • Water now will not flow over Stargate anythings. No more broken levers and magic blocks of water floating in their place.
    • Buckets now will no longer work with stargate anythings. No free water and lava.
    • Minor optimizations and code cleanups.
    • PORTAL_MATERIAL, IRIS_MATERIAL, STARGATE_MATERIAL, ACTIVE_MATERIAL are all part of gate shape now.
      • All configuration values associated with these are gone now.
      • Gate shapes without these default to
        • PORTAL_MATERIAL = STATIONARY_WATER
        • IRIS_MATERIAL = STONE
        • STARGATE_MATERIAL = OBSIDIAN
        • ACTIVE_MATERIAL = GLOWSTONE
    • Updated default gate shapes that come in the zip to include these new values.
      • See gate shape files for more details
    • Removed version 1 DB conversion because new design doesn't allow for it anymore.
      • For users this means if you are upgrading from version 0.3 or less to this version you will need to remake your gates.
    • Fixed NPE in onPlayerInteract caused by event not reporting the block the interact event was associated with.
    • Logic tweak in the find safe teleport code. Should be *safererer*
    • Sign powered stargates now can only target other sign powered stargates.
    • Fixed so that when coming from a lava portal stargate to a non-lava portal stargate fire damage is canceled still. No more nasty fire after a teleport.
    • Added the logic back in to stop people from randomly teleporting when next to the lever of an active gate. The side effect is, when block.getType() fails, gates don't work. Its one or the other.
    • Fixed /wxcomplete permission deny issue with stargates on public networks.
    • Added ICONOMY_OWNER_EXEMPT option to Settings.txt with a default value of true. When true this option disables the charging of gate owners for using their own gates.
    Changed in v0.821:
    • Update version of iConomy we build against and test for.
    • Fix NPE in old non-shape based gates.
    • Added custom StargateTeleportEvent for MinecartMania as we nuke the minecarts before we teleport the player and put them back in the minecart.
    • Refactored package to com.wormhole_xtreme.wormhole in anticipation of adding more stargate related projects.
    Changed in v0.820:
    • Initial support for CraftBukkit Build 600.
    • Got rid of the stupid double error that people got by not reading the readme. Now when we parse settings.txt, if the value is integer for the iconomy settings, we change it to a double by simply dropping a .0 at the end of it. Problem solved.
    • Lots of optimizations to the distance finding method we were using. Also fixes to the gate shape parsing code. (Thanks lirelent)
    • Overhaul of the way we handle permissions internally. More unified approach to the actual permissions checks.
    • Gate block protection should now be compatible with plugins like mcMMO. "Should" being the operating word.
    • Levers now properly move when used and toggle on and off when stargate and iris are activated.
    • All Permissions deny events now log at Level.FINE. Got permissions problems with WXT? Now see what is happening.
    • Optimized fire protection. Now we use timer events that go off 2 seconds after gates close. This way we don't have to listen for fire type events 24/7. :)
    • Fixed teleportation dropping people into very unsafe locations. Now we scan for safe place to drop people, if we can't find one we drop the player in front of the DHD. This will also FIX wormholes by setting the stored teleport location to the new clean and safe location.
    • We now support using the help plugin along with WXT.
    • We now have settings.txt options to hard disable support of iConomy, Permissions, and the help plugin. No longer do we log a warning when unable to find the plugin we depend on. We log at INFO. :p
    • Buttons are no longer really used. If a button exists on a stargate, it will be replaced with a shiny new lever on the first use.
    • Lava stargates are *really* safe to use now. For trees even. Not minecarts though.
    • A whole host of debugging information has been added at Level.FINE. If you can trigger a bug reliably, set yourself to fine and provide the server.log details surrounding the bug. Not recommended for production servers as well... its exceissive.
    • The '/wormhole regenerate' command is partially added. Will regenerate missing activation and iris levers.
    • Minecarts work across chunks and worlds now! If you run into a location where it doesn't work, use the wormhole in both directions to correct the wormhole, then try again. :)
    Changed in v0.812:
    - /wxgo now works properly when traversing world bounderies. First we quickly pop into the default spawn location for the target world, then from there we go to our final destination. It is a hack, but it is a working hack. :)
    - methodized the code to find closest stargates, and find distance from closest stargate blocks as well as the math to find distance.
    - Updated block ignition events to only use proximity style checks. Block ignition event cancellation radius increased to active stargate woosh depth or 4 blocks, which ever is further.
    - Updated '/wxcompass' to use new FindClosestStargate method.
    - Updated onEntityDamage to use only proximity style checks. On active gates a bubble of no fire damage of either woosh_depth or 4 blocks, which ever is larger, is created. On closed gates a bubble of 2 blocks is created to stop fire ticks occuring right as a gate closes. Stopped caring about potential drowning in stargate. If user decides they want to stand in the wrong side of a gate till they drown, that is their choice.
    - Re-added missing CONSTRUCT_NAME_TAKEN error string in ConfigManager. This stops an NPE in 'wxcomplete'.
    - Added support for tkelly's Help plugin. Will generate proper config based on permissions type (simple or complex) or lack of permissions plugin altogether.
    - Refactored the heck out of iConomy and Permissions support. Own classes in a new package to go along with the Help support. Methodized a bunch of useful functions. Less duplicated code.
    - Added some log output for 'wxforce'. Should help combat abuse.
    - Ops are now always able to use 'wxremove'.
    - The '/wormhole simple' command now refreshes Help entries to the proper permissions after being set.

    Changes in v0.811:
    - Came up with a proximity based check for stargates in the lava & fire event
    cancellation code. Now only 3 block radius around active lava portals
    gets its lava & fire events cancelled. STATIONARY_LAVA is safe for players
    to use in portals now. For reals.
    - Version 4.5 of iConomy is now supported and verified as working.
    - Now we actually check for Iris on gate use while in minecart...
    - Back to the good ol kick the player out of the cart and stuff them through
    the stargate method. Doing a bit of a hackish teleport when going between
    worlds as well. We tp to spawn, then instantly to destination. This is only
    when starting the tp while in minecart. If minecart is empty and passing
    into a stargate that will traverse worlds, we kick the minecart back. Otherwise
    it will dissapear into the void.
    - Now we cancel block ignite events on a proximity basis, same way we cancel
    fire and lava events on player. No more trees bursting into flames near a stargate.

    Changes in v0.810:
    - Broke '/wxcompass' out into its own class. Removed '/wormhole compass'.
    - Broke '/wxcomplete' out into its own class. Removed '/wormhole complete'.
    - Broke '/wxidc' out into its own class.
    - Broke '/wxremove' out into its own class. Removed '/wormhole remove'. Fixed so it toggles iris to off state before removing gates with iris active.
    - Broke '/wxlist' out into its own class. Added no permissions error message. Removed from '/wormhole' command.
    - Added command '/wxgo' and broke it out into its own class. Added no permissions error message.Removed from '/wormhole' command.
    - Broke '/dial' out into its own class.
    - Broke '/wxbuild' out into its own class.
    - Broke '/wormhole' out into its own class.
    - Added another message for active gates. Now it will say either remote activated, or activated by someone else already.
    - Added SIMPLE_PERMISSIONS config option. The default value of 'false' makes permissions node settings use complex mode. While the setting of true sets the plugin to check for extremely simplified permissions. Permission node details can be found in the README.
    - Refactored the WXForce class to Force. Hopefully this shuts MSSE up. ^^;
    - Moved a bunch of the initial loading out of onEnable and into onLoad. Now we use onEnable only for events that should only happen at plugin Enable.
    - Updated '/wormhole' command to have more descriptive errors and built in help. Updated help information for this command as well. Command now has unified messaging string headers. Added new 'simple' option to enabling simple permissions while the game is live. Requires the user to have proper permissions node for configuration in target mode. Removed a bunch of duplicated permissions checks. Only one check is needed at beginning of command call now.
    - Revamped readme to reflect important recent plugin package changes.
    - Fire damage, combustion damage, and drown events now canceled in stargate. Now LAVA is really a valid portal material.
    - Creeper explosions are now canceled when they would cause damage to stargates. This will stop signs and buttons from being destroyed during that mad dash to/from a stargate. ^^

    Plugin Commands (open)

    dial:
    description: Dial a remote Stargate, unlock IDC with optional password
    usage: /dial <StarGate> [IDC]
    <stargate> The StarGate to dial.
    [IDC] Use optional password to open remote Iris.

    wormhole:
    description: Wormhole administration and configuration commands.
    usage: /wormhole <commandtype> [ARG1] [ARG2]
    Valid Commands - 'owner', 'perms', 'portalmaterial', 'irismaterial', 'lightmaterial', 'shutdown_timeout', 'activate_timeout', 'simple', 'regenerate', 'redstone', 'wooshdepth', 'cooldown', 'restrict', & 'custom'.

    wxlist:
    description: List all Stargates.
    usage: /wxlist - List all Stargates.

    wxbuild:
    description: Automatically Build Stargate.
    usage: /wxbuild <GateShape>
    <GateShape> The GateShape to build.
    After placing a DHD with a button (and sign if wanted) running this command then pressing the button will cause the specified <GateShape> to be built.

    wxremove:
    description: Remove a stargate, optionally destroy its blocks.
    usage: /wxremove <GateName> [-all]
    <GateName> The GateName to remove.
    [-all] destroys gate blocks too.

    wxcompass:
    description: Point compass needle at nearest Stargate.
    usage: /wxcompass - Point compass needle at nearest Stargate.

    wxcomplete:
    description: Complete StarGate construction.
    usage: /wxcomplete <GateName> idc=[IDC] net=[Net]
    <GateName> The name to give new Stargate.
    [IDC] Optional password to give Stargate.
    [Net] Optional network for Stargate.

    wxidc:
    description: Gets or sets a gates IDC.
    usage: /wxidc <GateName> <optional_set_idc>
    Requires being either owner or have wormhole.config
    set -clear to remove the IDC

    wxforce:
    description: Forcefully shut down all gates and/or open all iris
    usage: /wxforce <close|drop>

    wxgo:
    description: Teleport to specified wormhole.
    usage: /wxgo <GateName>

    Install directions (open)

    New Install:
    1. Download the zip.
    2. Unzip file into same directory that your craftbukkit.jar exists in. This should put the hsqldb.jar into the lib/ folder, the WormholeXTreme.jar into the plugins/ folder, and the latest versions of GateShapes into the plugins/WormholeXTreme/GateShapes/ folder.
    3. Start server
    4. (Optional) Stop the server and edit the newly generated /plugins/WormholeXTreme/settings.txt file as needed.
    5. (Optional) Edit gate shapes in /plugins/WormholeXTreme/GateShapes/
    6. (Optional) If using the Permissions plugin based plugin, set up the appropriate permissions. If using SIMPLE_PERMISSIONS = true remember to use permissions from the Simple Mode list, otherwise use nodes from Complex Node.
    7. (Optional) Start Server again

    Basic use instructions (open)

    Basic Use:
    First off you need to make a stargate. I you can see the design design below - you need the Gate, a Dial Home Device (DHD), and a stone button or lever facing away from the gate on the DHD. The purple blocks are Obsidian, and the Blue has to be air, but will turn to water when the gate is activated.
    basic_stargate_and_dhd.png

    A real example of a constructed gate:
    2011-01-24_01.53.11.png

    You MUST make the gate exactly as it is in the picture.

    Once it is assembled hit the button ( You need to stand at least one block away from the button for the event to trigger. ) and the system will confirm that the stargate is properly made. If you don't see a "wormhole design valid" message you did not create the gate properly.
    If you did see the message, you simply type /wormhole complete <name> to finish and name the gate. A name sign with the gates name should appear on the gate. You can optionally type /wxcomplete <name> <idc=[IDC]> (idc = iris deactivation code, or the code needed to use the gate) - this will make your gate password protected.

    Now if you hit the button again it will "activate" the gate to be dialed.

    To Dial (after hitting the button) you type "/dial <remote_gate_name>" and the gate will open and fill with water! (You can change the portal material by using /wormhole material) The gates currently don't by default timeout after dialing. If the remote gate has an iris code you will need to type "/dial <name> <idc>" to activate the remote gate.

    Hitting the button again from the gate that dialed out will deactivate the gate. Pressing the button on a gate that has been dialed in to will do nothing because you can't activate a gate that is remotely activated. (Tried to keep it just like the show haha).

    Name Sign Dialing (Public Gate System):
    • NOTE: This is an alternate way to BUILD a gate. Currently existing gates will not work by simple placing a sign next to the activation button. You will need to /wormhole remove first and then re-complete the gate using this system.
    • Place a second obsidian "pillar" next to the main DHD and place a sign on it. Put the name of the gate on the top line.
    • Gates with this sign can only be dialed via the sign now. You will only see other gates that have a sign.
    • Gate without a sign can dial IN to a sign gate.
    • AGAIN : If you make a gate without a sign it will NOT be on the list of gates.
    • To cycle through possible gates use right click - Sometimes it takes a click or two for it to work :)
    • See here for sign dialer gate example:
    • 2011-01-25_02.15.31.png
    • Note - unless you have STARGATE_FULL_ACCESS or "wormhole.remove" you will be unable to destroy any blocks that are part of the gate.
    • Networks!
      • If you put any text on the second line of the sign, it will be the "network" the gate is on.
      • You will only be able to dial other gates on the same network as you
      • Currently you cannot change the network, so make sure you type it correctly!
      • By default (if nothing is put on the second line) a gate will be part of the "Public" network.

    Basic configuration settings (open)

    Configuration:
    • All configuration is now stored in a file /plugins/WormholeXTreme/Settings.txt
      • All descriptions of the settings will be found in that file with the settings.
    • You can change some options while the server is running:
      • /wormhole activate_timeout <optional_timeout>
        • This is the length of time after activating but before dialing that the gate deactivates.
        • This does not affect sign dialed gates.
      • /wormhole shutdown_timeout<optional_timeout>
        • Setting to 0 means portal only closes after something goes through, and then immediately closes.
        • This setting is how long after a player dials a gate before the gate shuts down.

    Permissions plugin settings (open)

    Permissions:
    • This plugin works with the Permissions plugin. (Currently 2.5+ Only)
      • Changing the built in permissions will not change the Permissions plugin at all.
    • Without the Permissions plugin you can use the built-in permissions (disabled by default)
    • /wormhole perms - for more information
    • to enable/disable default perms /wormhole perms active <true|false>
    • When built-in permissions are active:
      • Default OPs get all access
      • Default all other users get USE only
    Permissions Plugin Nodes: (Controlled by settings.txt - SIMPLE_PERMISSIONS)
    SIMPLE_PERMISSIONS = false
    Complex Mode:
    wormhole.use.sign - lets a user use sign gates.
    wormhole.use.dialer - lets a user use '/dial' gates
    wormhole.use.compass - lets a user use '/wxcompass' command.
    wormhole.remove.own - lets a user remove a gate that they own
    wormhole.remove.all - lets a user remove any gate
    wormhole.build - Able to build new wormholes
    wormhole.config - Able to configure settings like material and timeout
    wormhole.list - Able to use '/wxlist' command to list wormholes
    wormhole.network.use.NETWORKNAME - Able to use wormholes on NETWORKNAME
    wormhole.network.build.NETWORKNAME - Able to build wormholes on NETWORKNAME
    wormhole.go - allows user to use '/wxgo' command.
    wormhole.build.groupone - Part of build restriction group one.
    wormhole.build.grouptwo - Part of build restriction group two.
    wormhole.build.groupthree - Part of build restriction group three.
    wormhole.cooldown.groupone - Part of wormhole use cooldown group one.
    wormhole.cooldown.grouptwo - Part of wormhole use cooldown group two.
    wormhole.cooldown.groupthree - Part of wormhole use cooldown group three.

    SIMPLE_PERMISSIONS = true
    Simple Mode:
    wormhole.simple.use - Lets a user use wormholes.
    wormhole.simple.build - Lets a user build wormholes.
    wormhole.simple.remove - Lets a user remove wormholes.
    wormhole.simple.config - Lets a user configure WormholeXTreme settings

    Help plugin settings (open)

    Help:
    • Currently there are no configuration options for Help the help plugin. It is just plug and play. If you want to change the help text, you are able to do such via the Help plugin override build into the Help plugin.

    As always please let us know of any bugs! Just remember, some bugs are in vanilla and craftbukkit itself, so we may not be able to address them easily.


    Devs: Lologarithm & alron
     

    Attached Files:

  2. Offline

    CaptainArcain


    Yeah, that's a good point. Can't there be a hook something to the effect of:

    If teleport = yes then reload skin

    just as a default? I haven't looked at the code, so I don't know how feasible that would be or if it would jam up bandwidth. Maybe it could cache skins on login per-player and then wipe them after a certain amount of time after disconnect or something...?
     
  3. Offline

    NightKev

    Still having this problem, one gate dies after someone goes through it (but before that, acts completely normal and as expected), but the other one works regardless of usage and can still dial out to the broken gate (the broken gate simply can't dial out itself). The hsqldb.jar is where it belongs, no strange error messages in the log files.
    Restarting the server fixes it for one use.
    Other plugins in use on the server have changed, but the problem is still the same.
     
  4. Offline

    polraudio

    Cant wait till 740 comes out. Been using it as my only transportation between 4 worlds.
    I love this plugin so much.:)
     
  5. Offline

    alron

    Sadly this is a bug in bukkit/vanilla. If we are lucky 1.6 will address this.

    Yah, known bug(s). I *think* I've got them fixed in v0.850. They were not terribly fun to track down. They were masked by bugs in bukkit/craftbukkit.

    I've been trying to get v0.850 finished so we can address them, but I had selected v0.850 to be a major internal overhaul and with all the new functionality I wanted to make sure everything was stable before release... thus the delay getting a fix out for everyone. :|

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  6. Offline

    CaptainArcain

    Ahhhh, I'll keep my fingers crossed then ;)
     
  7. Offline

    NightKev

    Ah, okay. Well, I seem to be able to dance around the issue by adding more gates into the network and going through them in a certain order, so I guess this'll hold out until the next release. Thank you for all your awesome work! :)
     
  8. Offline

    WaferMouse

    I suspected those are the only security options. I was looking for something that was more temporary than one player permanently revealing their IDC.

    Any possibility of an IDC reset option on server start/owner disconnect that gets sent to the owner on connection? Heavy stuff, I'm guessing :/

    Aah! I just set an IDC on a gate, didn't realise it gave a second lever to lock! Is it possible to have that feature without the IDC? That'd be ideal :)
     
  9. Offline

    alron

    Not at the moment. Not sure if this is something that will get added any time soon either.
     
  10. Offline

    n4Ghost

    IConomy 5:

    Code:
     [SEVERE] com/nijiko/coelho/iConomy/iConomy loading WormholeXTreme v0.833 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
            at com.wormhole_xtreme.wormhole.plugin.IConomySupport.enableIconomy(IConomySupport.java:53)
            at com.wormhole_xtreme.wormhole.WormholeXTreme.onEnable(WormholeXTreme.java:128)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.coelho.iConomy.iConomy
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
     
  11. Offline

    alron

    Not supported. They did a major change and were awesome enough (HAHAHAHAHA) to not keep the old interfaces.
    So, if you want to use iConomy with wormhole x-treme, use 4.6.x of iConomy.

    I'm actually somewhat tempted to drop iConomy support with the next release. I don't like having to force people to update their support libraries to use my latest version because some twit decided he wanted to change his package name after many releases.

    EDIT:

    If you still require iConomy 5, set the ICONOMY_SUPPORT_DISABLE to true in Settings.txt. This will cause WXT to ignore iConomy all together.
     
  12. Offline

    bluejack404

    Thanks for the quick responses. This is honestly my favorite plugin. :)
     
  13. Offline

    alron

    Ok, got the backwards compatibility back in for 2d based gates (that missing logic I spoke of).
    Working on getting a proper upgrade path worked out. Upgrading from 0.833 to 0.850 is going to require people to read the upgrade docs. Especially if they want to keep their existing 2d gates with their current material settings and woosh settings and the likes.

    It is going to be something along the lines of install the new WXT, minus the 3d shape files. Start the server up, set all the gates that you care to keep with 2d style to 'custom' mode (which stores all the important shape settings in the actual stargate instance), shut down, put the 3d shapes in the shapes directory, then start up again.

    If you don't care about the old 2d gates, and plan to replace them all with 3d gates, it will be as simple as installing the new plugin, new shape files, and starting up.

    Getting really close now.
     
  14. Offline

    Redyugi

    I can already see the incoming storm of "WHY ISN'T MY THING WORKING!! ALL I DID WAS UPDATE!!!!"

    I can't wait for 3d shapes. It'll be epic. Thank you both for creating (and maintaining) this wonderful plugin.
     
  15. Offline

    alron

    I know, right? Is why I'm adding all of the backwards compatibilities. I can live with people crying about their gates not looking right or acting somewhat different after upgrading without reading the docs. I can not abide by NPE though.

    I've got it so that if the shape that a gate is based on goes missing the gate will continue to work, using some reasonable default values for everything. Though after a server shutdown that gate will potentially start acting weird (it gets its shape dependency set to Standard, so when the standard shape is added back... the old gates inherit its woosh settings and the likes... ).

    I'm going to be making a small change to the command I made for storing the gate with a VALID shape as a "custom" gate... that change? -all. As in store all gates as custom. :)

    They are pretty neat. That is for sure. :)
     
  16. Offline

    EcoMaster21

    This whole 3D gate thing is going to be great. I've been looking forward to it since it was picked up as a future feature, and I'm very eager to test it all out!

    Now if only they'd fix that dang chunk loading error...
     
  17. Offline

    alron

    So, v0.850 will no longer have iConomy support, I just got done tearing it out. I may add it again in the future. Not sure.
     
  18. Offline

    MikeKoder

    Hey,

    So I've encountered a problem. When I created my home gate (aptly named SGC) I added an idc so that only the people I want to come through can. However, when I dial from another gate and just put /dial SGC without the idc, the iris of the SGC gate doesn't automatically close allowing "unauthorized" people to come through? It did work previously the first time I tested it, but now its not working. Any ideas why and how to fix this?
     
  19. Offline

    Psycho Robot

    There should be two levers on your DHD now that you've applied an IDC to it. Toggle the lower level to open and close the iris. The IDC is only required to access the gate when the iris is closed. When the iris is closed, you can dial out and it will stay closed. When you dial in with the IDC, it'll open to let you through then automatically close again.
     
  20. Offline

    MikeKoder

    OK Thank you!

    Hey,

    New problem. Sometimes when I go through a gate and then try and activate the gate I just came through nothing happens. The lever switches but nothing else happens. It doesn't light up, it doesn't ask for you to dial. Nothing. The game still reports the gate as still being there and you can still dial to that gate, but you can't activate the gate locally.

    Any reasons why this is occurring and how to fix?

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

    denace

    Yeah good idea, but it isnt working for me, because WXT creates a new "settings.txt" at every server start.
     
  22. Offline

    alron

    Tried editing your config file while the server isn't running? We blindly overwrite the settings.txt at shutdown with the current running config values.

    Ok. I'm thinking of pushing the first test build of WX v0.850. Anyone interested in doing some testing?

    I'm sure there are bugs that I missed in my internal testing... but I need eyeballs to help me find them.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  23. Offline

    Redyugi

    I definitely will :)
     
  24. Offline

    alron

    Ok. Test build of Wormhole X-Treme v0.850.

    This is the one with the 3D Gate Shapes.
    This is a major change. Large portions of the code were updated or replaced.
    Things might work a little different for old gates because of this.

    Don't run this on production servers unless you are willing to risk world shattering bugs.
    Make a backup of your world and your wormholextreme plugin folder.

    If you are doing a fresh install, you should be safe with following the install directions. Otherwise...
    DON'T INSTALL WITHOUT READING THE UPDATE SECTION. IT IS IMPORTANT.

    Here is the README for the test build of v0.850. READ IT. Especially the stuff about upgrading.

    Here is the CHANGELOG for the test build of v0.850. Probably also worth reading, at least for the 0.850 details.

    DON'T INSTALL WITHOUT READING THE UPDATE SECTION. IT IS IMPORTANT.
    Here is the link to download the test build of v0.850. This build has been verified as working with CB759, but should work with CB740. But really, you want the bug fixes that 759 has. Lots of teleport and chunk load bugs squashed.
    DON'T INSTALL WITHOUT READING THE UPDATE SECTION. IT IS IMPORTANT.

    Let me know what problems you run into.

    Don't ask for features.

    Just tell me of the bugs you find. I am especially interested in knowing if the chunk issue is still alive and kicking.

    iConomy support is gone. Don't complain. I don't care about how much you may or may not have liked that feature. The top entry in the changelog explains it all.

    Don't enable the Wormhole X-Treme Worlds support, it requires a version of Worlds that is NOT released yet.
     
  25. Offline

    Redyugi

    My server log after building 2 new gates on a new server.
    Code:
    2011-05-05 20:27:17 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-05 20:27:17 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-05 20:27:17 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-05 20:27:17 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-05 20:27:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-723-g507c288-b759jnks (MC: 1.5_02)
    2011-05-05 20:27:17 [INFO] Preparing level "City"
    2011-05-05 20:27:17 [INFO] Preparing start region
    2011-05-05 20:27:18 [INFO] Preparing spawn area: 69%
    2011-05-05 20:27:19 [INFO] [WormholeXTreme][v0.85][By Lologarithm & alron]Load Beginning.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme][v0.85]Wormhole Worlds support disabled in settings.txt, loading stargates and worlds ourself.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme]5 Wormholes loaded from WormholeDB.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme][v0.85]Load Completed.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds][v0.2.1][By alron]Load Beginning.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds]Config Loaded
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds][v0.2.1]Load Completed.
    2011-05-05 20:27:20 [INFO] [AdminCmd] (version 4.5) Enables without Permissions.
    2011-05-05 20:27:20 [INFO] [AdminCmd] Instead of Permissions, check if the user is OP.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme][v0.85]Enable Beginning.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme]Permission Plugin not yet available. Defaulting to built-in permissions until Permissions is loaded.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme]Help Plugin not yet available - there will be no Help integration until loaded.
    2011-05-05 20:27:20 [INFO] [WormholeXTreme][v0.85]Enable Completed.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds][v0.2.1]Enable Beginning.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds]Permission Plugin not yet available.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds]Help plugin is not yet available; there will be no Help integration until it is loaded.
    2011-05-05 20:27:20 [INFO] [WormholeXTremeWorlds][v0.2.1]Enable Completed.
    2011-05-05 20:27:20 [INFO] Done (0.260s)! For help, type "help" or "?"
    2011-05-05 20:27:24 [INFO] Redyugi [/127.0.0.1:64586] logged in with entity id 1
    2011-05-05 20:28:25 [INFO] Redyugi issued server command: wxwcreate world
    2011-05-05 20:29:07 [INFO] Preparing spawn area for world, 73%
    2011-05-05 20:30:21 [INFO] [WormholeXTreme]Player: Redyugi completed a wormhole: Test
    2011-05-05 20:31:05 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-05-05 20:32:28 [INFO] [WormholeXTreme]Player: Redyugi completed a wormhole: Monkey
    2011-05-05 20:32:36 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:32:38 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:32:40 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:32:58 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:32:59 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:32:59 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:33:16 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:33:17 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:33:17 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 20:33:18 [SEVERE] Could not pass event PLAYER_INTERACT to WormholeXTreme
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
        at com.wormhole_xtreme.wormhole.config.Setting.getIntValue(Setting.java:104)
        at com.wormhole_xtreme.wormhole.config.ConfigManager.getTimeoutShutdown(ConfigManager.java:300)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:411)
        at com.wormhole_xtreme.wormhole.model.Stargate.dialStargate(Stargate.java:470)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handleGateActivationSwitch(WormholeXTremePlayerListener.java:252)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.buttonLeverHit(WormholeXTremePlayerListener.java:73)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.handlePlayerInteractEvent(WormholeXTremePlayerListener.java:303)
        at com.wormhole_xtreme.wormhole.WormholeXTremePlayerListener.onPlayerInteract(WormholeXTremePlayerListener.java:439)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:274)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:521)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  26. Offline

    alron

    Um, hrm. Can you pastebin your Settings.txt? This error is it saying that it is getting a double (0.0, 1.5, 45.9123) when it is expecting a int (0,1,46).

    EDIT:
    Never mind, I can trigger it myself.
    Fixing.

    EDIT 2:
    Fixed. Redownload the zip. Edit your settings.txt and remove the ".0" that got added to your activate_timeout and your shutdown_timeout.

    I accidentialy ripped out some needed code when I was removing the iConomy support. ^^;
     
  27. Offline

    Redyugi

    They work now. Thanks.
    Now I'll start testing them :)
     
  28. Offline

    Psycho Robot

    I used iconomy gate creation charges as a way of limiting the creation of gates. With that gone, is there any possibility of implementing a per-user gate limit? Because right now, there's no real way to slow down or limit a person's ability to put gates up. Or am I missing something?
     
  29. Offline

    alron

    Just so you know, there is a potential issue with gate shapes selection when building by hand. You may not get the shape you expected if there are more than 1 shape with the exact same blocks (or really close).

    I have yet to decide how to really deal with that issue. I've been considering having it test the gate build starting with the shapes with the most blocks in them ending with the shapes with the least blocks. But that is still kind of hit and miss. That and I have yet to modify /wxbuild to accept gateName, IDC, and Network so you can instant-build /dial gates of specific shape, more or less the same way you instant-build sign gates.

    I'll work on getting per user gate limits in for v0.851 (or whatever the next feature release is, maybe sooner if it becomes a big issue). Until then, if you're worried about users making too many gates, remove their build permission. Or limit it only to mods and above, or what have you.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  30. Offline

    MikeKoder

    Reposting this because I'm not sure it posted properly before:

    Hey,

    New problem. Sometimes when I go through a gate and then try and activate the gate I just came through nothing happens. The lever switches but nothing else happens. It doesn't light up, it doesn't ask for you to dial. Nothing. The game still reports the gate as still being there and you can still dial to that gate, but you can't activate the gate locally.

    Any reasons why this is occurring and how to fix?
     
  31. Offline

    alron

    That is a known bug in v0.833. v0.850 Should have the fixes for it, but is not "production safe" at the moment (meaning, it hasn't been fully tested, thus the testing release post a few posts ago).

    How does a pair of permissions and a couple of settings.txt values sound?

    Something like 'wormhole.build.few' and 'wormhole.build.many' for the permissions.
    And something like WORMHOLE_BUILD_LIMIT_FEW and WORMHOLE_BUILD_LIMIT_MANY taking integers between 1 and 100 or something similar.

    Then for those players you don't want to limit gate build count on, you keep the wormhole.build permission, but for those you want to limit you set either the 'wormhole.build.few' or 'wormhole.build.many' permission on instead.

    I could probably also do the same type of setup for setting player cool downs on wormhole use.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016

Share This Page