New CraftBukkit 1.1 Recommended Build released!

Discussion in 'Bukkit News' started by EvilSeph, Jan 30, 2012.

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

    EvilSeph Retired Staff

    A new CraftBukkit Recommended Build (1.1-R3) that fixes bugs present in either Minecraft 1.1 or our previous Recommended Build is now available.

    Will plugins break with this build?
    Provided the developers of the plugins you are using are keeping up with the development of Bukkit, all your plugins should work fine.

    Important notice for game server providers and other plugins or individuals that are making use of our RB RSS feed:
    We're currently in the process of developing a new download site service to replace the unwieldy Jenkins setup we've been using since the project's inception. See our recent announcement here for more information on this initiative. As a result, anyone making use of our old RB RSS feed will need to update their systems accordingly when we have the new system ready. Until then, we're providing a grace period for people to switch over so consider this a heads up.

    Upgrading to this new Recommended Build is highly recommended as it contains numerous (critical) exploit and bug fixes. For those of you running an older 1.1 Recommended Build, please update immediately as we've addressed issues found in our previous Recommended Builds.

    For more detailed information on what is contained in this update, please see the Recommended Build announcement thread here:
    http://goo.gl/FBWDg

    Download CraftBukkit 1.1-R3 here
     
    Harcken, Cicadia, tombik and 17 others like this.
  2. Offline

    Musaddict

    nice, great job
     
    TheHox likes this.
  3. Offline

    HappyPikachu

    Awesome. Thanks for the quick fix!
     
    TheHox likes this.
  4. Offline

    Hazzabazza33

    Great, Thanks!
     
    TheHox likes this.
  5. Offline

    OrtwinS

    WOW, lucky me we havn't had any trouble. Good job with the fast response.

    I did notice some rather important looking change notes in the CI, didn't realize it was this critical.
    (glad CI is back up, I love reading about the step-by-step progress).
     
    TheHox likes this.
  6. Offline

    Juze

    Lovely updates, thanks again!
     
  7. Offline

    sylergcs

    so that explains the annoying double block placement. thx :)
     
  8. Offline

    5000 People

  9. Offline

    Squady

    Sweet :D
     
  10. Offline

    drewbzz

    Sweet Updated on my server now :p
     
  11. Offline

    MrMag518

    Thanks bukkit, Really appreciated.
     
  12. Offline

    Royalgamer06

    great job!
     
  13. Offline

    Slayer9x9

    Awesome show. Great job!
     
  14. Offline

    eleljrk

    I've had this problem since v1.1 R1 and it's still here in R3
    Code:
    16:41:20 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEvent to PropertyControl
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
        at net.minecraft.server.Packet15Place.handle(SourceFile:39)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
        ... 12 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    
    Short version: The system doesn't realize my PlayerInteractEvent is a PlayerInteractEvent. Why, and how to fix this?
    I've tried to add "event = PlayerInteractEvent.class", but this doesn't even seem possible to add in @EventHandler. Only priority seems to work.

    This is the code of my PlayerInteractEvent if that can help (I suppose not.. :3)
    Code:
        @EventHandler(priority = EventPriority.HIGH)
        public final void onPlayerInteract(final PlayerInteractEvent event) {
            if (!event.getPlayer().hasPermission("propertycontrol.create") || !check(event.getPlayer())) { return; }
            if (!(this.plugin.getSetting(null, event.getPlayer().getWorld().getName()) == null || this.plugin.getSetting(null, event.getPlayer().getWorld().getName()).getValue().equalsIgnoreCase("enable"))) { return; }
            if (this.plugin.getCreation(event.getPlayer()) == null) { this.plugin.getCreations().add(new Creation(this.plugin, this.plugin.getProperties().get(this.plugin.getProperties().size()-1).getID()+1, event.getPlayer())); }
            final Creation creation = this.plugin.getCreation(event.getPlayer());
            final Action action = event.getAction();
            final Location click = event.getClickedBlock().getLocation();
            if (action.equals(Action.RIGHT_CLICK_AIR)) {
                creation.remove();
                this.setTop = true;
                this.setFirst = true;
                event.getPlayer().sendMessage("§eProperty creation has been reset.");
            } else if (action.equals(Action.RIGHT_CLICK_BLOCK)) {
                final boolean first = this.setFirst || creation.getPoint(true) == null;
                creation.setPoint(click, first);
                event.getPlayer().sendMessage("§ePoint "+((first)?1:2)+" set to §3"+click.getBlockX()+"§e, §3"+click.getBlockZ()+"§e.");
                this.setFirst = !this.setFirst;
            } else if (action.equals(Action.LEFT_CLICK_BLOCK)) {
                final boolean top = (this.setTop && click.getBlockY() > creation.getHeight(false)) || click.getBlockY() > creation.getHeight(true);
                creation.setHeight(click.getBlockY(), top);
                event.getPlayer().sendMessage("§e"+((top)?"Top":"Bottom")+" set to §3"+click.getBlockY()+"§e.");
                this.setTop = !top;
            }
        }
    
    What really bothers me is that nobody even replied to my bug report here.
    I understand the possibility of this not being a bug, even so, why doesn't anyone seem to care? I see this as a potential breakdown of Bukkit, or lack of documentation of the new Event system.

    Here is the full listener: CreationListener.java - I also realize I've added at least two different listeners (if we think about the old system), but from what I understand, this shouldn't be a problem.

    Please correct me if I'm wrong, or say that this is going to be added/fixed.
    Thanks.
     
  15. Offline

    Juanan76

    Thank you!!
     
  16. Offline

    Jozeth

    What build is this? 1841
     
  17. Offline

    Zeerix

    You stopped just before the interesting part of the stack trace: Caused by: java.lang.ArrayIndexOutOfBoundsException
     
  18. Offline

    cnaude

    1846

    Here's a little script I wrote to help me check the versions from the jar files.
    Code:
    #!/bin/sh
     
    FILE=$1
    if [ -f "$FILE" ]; then
      VERSION=`unzip -p $FILE META-INF/MANIFEST.MF|grep Implementation-Version| sed 's/^.*-b//g'|sed 's/jnks//g'`
      echo "VERSION: $VERSION"
    else
      echo "Usage: $0 <JAR FILE>"
    fi
     
    $ ./chkcb-version.sh craftbukkit-1.1-R3.jar 
    VERSION: 1846
     
    
     
    NuclearW likes this.
  19. Offline

    RROD

    Plugin Developers can also find the latest version of Bukkit here.
     
  20. Offline

    TnT Retired Staff

    All support requests have been deleted. Future support requests in this thread will also be deleted.
     
  21. Offline

    i7vSa7vi7y

    What is your profile picture exactly, may I ask?
    Just curious >.> it bugs me not knowing
     
  22. Offline

    eleljrk

    Said the guy with the most obvious name.. :p Also, it's a skin as far as I can tell.

    No, that's where the error stops.
     
  23. Offline

    TnT Retired Staff

    i7vSa7vi7y
    He's correct, its a MC skin.
     
  24. Offline

    grichecth

    Also getting this. Any devs have info on this or have checked his bug report? https://bukkit.atlassian.net/browse/BUKKIT-652


    Edit: I also see this running the plugin 'jail'. Some people are jailed fine while others throw that error. Not asking anyone to fix that plugin as its out of date but just another example that this error started in 1.1 RB
     
  25. Offline

    ScottHill92

    Hey I'm having a problem with the download link above. Your link says "download -R3" but when i click on it it goes into trying to download "-R1" which I have already downloaded and my server says it is still out of date... My server has been down since the new Language update, because I don't know how to get the newer version of Bukkit, since the link won't take me to the right place.
     
  26. Offline

    kyle939

    R3?

    Why is the version I got an R4?
     
  27. Offline

    Deathfromace

    I don't seem to be getting any errors so all is working for me as far as I can tell.
     
  28. Offline

    TnT Retired Staff

    Use this link: http://repo.bukkit.org/content/groups/public/org/bukkit/craftbukkit/1.1-R3/
    You will find the craftbukkit-1.1-R3.jar there - this is the latest recommended build.
     
  29. Offline

    ScottHill92

  30. Offline

    chaseoes Retired Staff

    Could you not just use /version?
     
    i7vSa7vi7y likes this.
Thread Status:
Not open for further replies.

Share This Page