Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new lines #1

Open
dustfeather opened this issue Jul 18, 2014 · 8 comments
Open

new lines #1

dustfeather opened this issue Jul 18, 2014 · 8 comments
Assignees

Comments

@dustfeather
Copy link

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.

@Tiiffi
Copy link
Owner

Tiiffi commented Jul 26, 2014

Hi!

What version of minecraft server you are using?

@dustfeather
Copy link
Author

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.

@Tiiffi Tiiffi self-assigned this Jul 31, 2014
@Tiiffi
Copy link
Owner

Tiiffi commented Jan 13, 2015

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?

@dustfeather
Copy link
Author

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
#1 (comment).

@dustfeather
Copy link
Author

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
#1 (comment).

@Tiiffi
Copy link
Owner

Tiiffi commented Jan 13, 2015

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.

@MaxMelehov
Copy link

MaxMelehov commented Jul 30, 2020

@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
Copy link
Owner

Tiiffi commented Sep 2, 2020

@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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants