new lines
The output does not know how to handle 'new line' characters. It displays all output on a single line. Same on windows and linux. I don't know C that well, but I think line 713 might be the problem.
Hi!
What version of minecraft server you are using?
It's a FTB DW20, but that's not the problem, because if I go to the server console the output from there it's just fine. But when I use the mcrcon, the output comes in only 1 line event if the raw output is on multiple lines. I can give you a screenshot if that would help you.
Some servers (vanilla for example) does not send newlines at all so this might be tricky to fix on the clientside.
Obvious fix would be to fix this on the serverside. Any other suggestions?
1.6.4 On 26 Jul 2014 03:52, "Tiiffi" [email protected] wrote:
Hi!
What version of minecraft server you are using?
— Reply to this email directly or view it on GitHub https://github.com/Tiiffi/mcrcon/issues/1#issuecomment-50218446.
Well, the client doesn't seem to have that problem :) On 13 Jan 2015 18:31, "Tiiffi" [email protected] wrote:
Some servers do not send newlines at all so this might be tricky to fix on the clientside.
Obvious fix would be to fix this on the serverside. Any other suggestions?
— Reply to this email directly or view it on GitHub https://github.com/Tiiffi/mcrcon/issues/1#issuecomment-69772972.
This is known bug in minecraft vanilla server: https://bugs.mojang.com/browse/MC-7569
I could try to write some workaround hacks (if even possible) but I rather wait for proper fix on serverside before doing that.
@Tiiffi could you please add a command-line option to force new-line insertion in RCON. Vanilla MC server has this bug since 2013 and it seems it will never be fixed. So I know that it's better to fix it on serverside but we don't have such option. I believe this should be a simple change. No need to do any tricks to detect is RCON contains new-line or not. End user will specify it in command-line.
@Tiiffi could you please add a command-line option to force new-line insertion in RCON.
I am not sure how to do that.
Minecraft server is pushing out one big block of data without any new line markers. As far as I know it's impossible to detect where new lines should be.
Only thing I can do is to add workarounds for some command responses (like add newline before every '/' character when invoking "help" command).