CraftBukkit 1.2.5-R2.0 is now available!

Discussion in 'Bukkit News' started by EvilSeph, May 17, 2012.

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

    kyle1264

    "11:56:05 [INFO] ←[34;1mThere are ←[31;1m1←[34;1m out of maximum ←[31;1m20←[34;1m
    players online.←[m
    11:56:05 [INFO] Connected players:←[37m[←[36mSemiMember←[37m]←[33;1mKyle1264←[
    37;1m←[37;1m←[m"

    When i do '/who' in the console, i get that, whats with all the [31;1m] and all that?
     
  2. Offline

    hawkfalcon

    Good, except every time somone logs out it gives me this error:

    Code:
    12:48:02 [INFO] Connection reset
    [WARN] Failed to query stty columnsjava.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.UNIXProcess.waitFor(UNIXProcess.java:115)
        at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196)
        at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170)
        at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165)
        at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69)
        at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89)
        at jline.UnixTerminal.getWidth(UnixTerminal.java:75)
        at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610)
        at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629)
        at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357)
        at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:89)
        at java.util.logging.Logger.log(Logger.java:478)
        at java.util.logging.Logger.doLog(Logger.java:500)
        at java.util.logging.Logger.logp(Logger.java:616)
        at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27)
        at java.io.PrintStream.write(PrintStream.java:432)
        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
        at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85)
        at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168)
        at java.io.PrintStream.write(PrintStream.java:477)
        at java.io.PrintStream.print(PrintStream.java:619)
        at java.io.PrintStream.println(PrintStream.java:756)
        at net.minecraft.server.Packet.a(Packet.java:96)
        at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
        at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
        at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
     
    12:48:02 [INFO] killerc0de lost connection: disconnect.quitting
    
    Im on a Mac.
    Anyone know why? Or should I disable jline?
     
  3. Offline

    _Alf

    hawkfalcon: Check your plugins, some might be outdated now (plugins for 1.2.5-r01 are potentially causing errors with 1.2.5-r02).

    Edit: Argh... i just realized that i have the same Problem, it only can be Essentials, since i only have this one installed on that specific server - i'm going to test naked bukkit.

    OK, it seem to be bukkit, no plugin running on debian squeeze.

    Code:
    [INFO] _Alf lost connection: disconnect.quitting
    22:42:38 [INFO] Connection reset
    [WARN] Failed to query stty columnsjava.lang.InterruptedException
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.lang.UNIXProcess.waitFor(UNIXProcess.java:165)
            at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196)
            at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170)
            at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165)
            at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69)
            at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89)
            at jline.UnixTerminal.getWidth(UnixTerminal.java:75)
            at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610)
            at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629)
            at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357)
            at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26)
            at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:89)
            at java.util.logging.Logger.log(Logger.java:481)
            at java.util.logging.Logger.doLog(Logger.java:503)
            at java.util.logging.Logger.logp(Logger.java:619)
            at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27)
            at java.io.PrintStream.write(PrintStream.java:432)
            at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
            at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
            at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85)
            at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168)
            at java.io.PrintStream.write(PrintStream.java:477)
            at java.io.PrintStream.print(PrintStream.java:619)
            at java.io.PrintStream.println(PrintStream.java:756)
            at net.minecraft.server.Packet.a(Packet.java:96)
            at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
            at net.minecraft.server.NetworkManager.c(NetworkManager.java:268)
            at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
    
    1 more thing, these errors have not been logged :eek:
     
  4. Offline

    hawkfalcon

    _Alf you think its essentials? ;0
     
  5. it's not.
    please, read page 1 ...
     
  6. Offline

    Amaranth

    It's a problem with using System.setOut, jline 2, and screen/tmux, as far as I can tell. It's not actually an error though, when it fails to query stty it assumes sane defaults and continues. It's just a bit spammy.
     
  7. Offline

    _Alf

    At last, i didn't.
     
  8. Offline

    ChemicallyGodly

    i added --nojline on linux and now i get no console colors except for ones passed by CommandHelper
     
  9. Offline

    matex11

    I just downloaded the new reccomended build and found a bug when using pistons. In the last recommended build I built the hidden piston staircase featured in this video . However, when I tried to use this staircase, the pistons that push up stayed retracted. I checked that all the wireing was correct many times.
     
  10. Offline

    Steven Stanton

    I'm getting a double chat of plugin broadcasts and some player chat once and a while, I tried removing all plugins and still got it. Is this happening to anyone else?
     
  11. Offline

    chas13

    i have a little problem some players can connect after up to r2 but some players told me that they get internal server error,in console i only get lost conection no other eror.
    http://postimage.org/image/r0p8hut87/
    Any ideea? please.
     
  12. Offline

    hatstand

    That is what --nojline does, disables the jLine, which handles the colouring.
     
  13. Offline

    Chikyuno

    Yeah, it's a good alternative to use this now. In my opinion - since I don't need any color in console or log.
    Before this build it was a problem to disable jline but now it's really an option to me, well done Bukkit team. ;)

    And by the way. I would make --log-strip-color defaulting to true since color codes in log are a bit strange, or am I wrong? I don't know, it's just my opinion that color formatting doesn't belong to a log file.
     
  14. Offline

    chas13

    should i use r2.1 ? and any ideea what could cause this http://postimage.org/image/r0p8hut87/ maybe a plugin that is for r1 ?

    and about nojline it do anything to colors in game or only in console?
     
  15. Offline

    ChemicallyGodly

    then how do i get colors back with no errors?
     
  16. Offline

    Chikyuno

    --nojline
    disables colors in console and log

    --log-strip-color true
    disables colors in log
     
  17. Offline

    gencreeper

    Weird i upgraded and it crashed minecraft (but not the server) when i joined i downgraded and it was fine
     
  18. Offline

    FooBarFooBar

    Nice :D Keep these things coming crew.

    Read his post mate it has nothing to do with buying the game

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

    chas13

    why should i disable colors in console then? rofl
    ps: should i use r2.1 dev?
     
  20. Offline

    Chikyuno

    I never said that.

    You can disable them for example when your console isn't able to display color codes properly.
     
  21. Offline

    ZachBora

    Then you should report it on the ticket system https://bukkit.atlassian.net/secure/Dashboard.jspa
     
  22. Offline

    Fishman_z

    Um... all text that isthan one line long gets formatted incorrectly

    Ie:

    I type: Hello people how is it going here folks i am testing something

    It shows up in the chat as:

    Hello people how is it going here folks i am testing something
    Hello people how is it going here folks i am testing som

    Yeah. It is a little annoying. please fix this
     
  23. Offline

    travja

    Thanks for the awesome update!! Now I can host both of my servers at once without my computer lagging! Although.... I'm not a huge fan of the new formatting. I don't like the color codes showing up in the console(I used --nojline to get rid of them) and it used to be that when I was typing something in the console and something popped up it would just show the end of my message on the end of theirs, now however, when I am typing it shows the first half of my message before their message and the 2nd half after. Their message is put after the first half so it looks something like this:
    say Hello guys, ho2012-05-21 18:00:00 [INFO] <RandomPerson> Blah
    w are you guys doing?//enter
    2012-05-21 18:00:03 [INFO] <*Console> Hello guys, how are you guys doing?

    Another thing I noticed is there isn't a > symbol when typing anymore... it's straight to the edge of the cmd.

    Thanks guys!
     
  24. Offline

    Adkit

    Yup, we need a fix or at least someone to direct us to a fix because I can't find any...
     
  25. Offline

    spydercanopus

    What is the proper way to see these colors? Command prompt won't do it.

    I can't seem to get this color codes to disappear in command prompt. What other method of viewing the live log is there where I can see the chat colors? Currently I'm using a batch file to load the game with something like this:

    Code:
    @echo off
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xms2G -Xmx4g -jar craftbukkit-1.2.5-R1.3.jar nogui
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  26. Offline

    Chikyuno

    My batch looks like this:
    Code:
    START /B /ABOVENORMAL /WAIT java -jar -server -Xmx10G -Xms10G -XX:+UseParallelOldGC craftbukkit.jar --nojline
    The nojline is an option for the jar, not for java and not for the batch unless you implemented it.
    To see colors in Windows you need to install ansicon or something else which is able to show you the colors.
     
    spydercanopus likes this.
  27. Offline

    paalbra

    I've now read through this thread and there are many posts about jline here, but no real confirmation on what the actual bug is.

    On a clean(No plugins) CraftBukkit version git-Bukkit-1.2.5-R1.3-13-g7ab0391-b2190jnks (MC: 1.2.5) (Implementing API version 1.2.5-R2.0) i'm getting the [WARN] Failed to query stty columnsjava.lang.InterruptedException error(Not full trace) that seem to be caused by jline.

    Is this caused by the updated jline dependencies in craftbukkit, and therefore a craftbukkit bug, or is my java somehow outdated? I am aware that the -nojline argument makes the error go away, but i'd like both color and no errors. For me this doesn't seem to happen all the time. About 50ish% of the time I'll get the error when players disconnect and on the other half-ish i don't. I find this odd.

    The issue is posted e.g here: https://bukkit.atlassian.net/browse/BUKKIT-1695

    Other than that: Great work :)

    Specs and command:
    Code:
    java -Xincgc -Xmx2G -jar craftbukkit-1.2.5-R2.0.jar
    CraftBukkit version git-Bukkit-1.2.5-R1.3-13-g7ab0391-b2190jnks (MC: 1.2.5) (Implementing API version 1.2.5-R2.0)
    Linux 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 15:27:15 UTC 2011 i686 GNU/Linux
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode)
     
  28. Offline

    curley

    Having the same issue as paalbra above, the "[WARN] Failed to query stty columnsjava.lang.InterruptedException error(Not full trace)" issue. I've seen it brought up a couple times here and in the bug tracker but it seems to be getting mixed in with people needing to update their terminals as outlined in the original post. I just wanted to chime in and give my input if it helps.

    I run my minecraft server from a dedicated ubuntu 11.04 box that i ssh into via puTTy from a win 7 system. with the newest update every few seconds after someone logs off the terminal window poops out the error line above with a page or so of other classes that failed due to the exception. This has cause no noticable problems or performance issues (the servers been up since the update came out without problem) just a little obnoxious to me.

    now for giggles I tried the -nojline flag and that stopped the errors but as stated from others, I lose the coloring (which I have had for as long as i have been running this server) and you also lose some of the niftier features like pressing up to bring up the last line typed.

    Fun extra note is that the error that poops out in the console, the [WARN] Failed to query stty columnsjava.lang.InterruptedException error(Not full trace) and following errors doesn't actually show up in the server.log. And of course I also tested with the same server dropping back down to the previous RB and everything works as it did before without the errors (the newest RB is just too good to live without otherwise i'd stay at that one ^_^)

    I'm wondering if there's something I can update on the Ubuntu server that would be an equivalent to what people have suggested for the windows kids or maybe a different ssh program i can connect with from here (already tried updating putty).
     
  29. Offline

    Salamoney


    I Have the same problem :(. Im kinda glad to know that its not only me tho.
     
  30. Offline

    FuRiouSOne

    Everything is good with this update except mob spawning limit change. Upgraded to R2 without making any changes and now all of a sudden mob spawning has cut in half if not more. I have always had my server set on hard and always plenty of mobs around to fight.

    Now my members are complaining there arnt as many mobs on either of my servers after the update. Only thing i can think of is the new spawn limit change in R2, i have even tried to increase the limits in the bukkit.yml but it doesnt do anything no matter what numbers i put in there.

    Someone please explain this? Before asking what plugins i have dont bother, i have done 2 clean installs of bukkit with NO plugins one with a start.BAT file other using mcmyadmin to start bukkit both clean installs return the same effect as my current servers.

    If i should revert back to R1 everything seems to go back to normal (plenty of mobs spawning). Using F3 in game and looking at the E (entity) line in R1 it always shows #/100+ meaning there are # amount of entities in view/100+ entities spawned total in area.

    When using R2 any where i go in the world i rarely see more then #/30 meaning a max of 30 entities are spawned around me (30 mobs/animals? really?).
     
Thread Status:
Not open for further replies.

Share This Page