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

Connected user names randomly truncated #33

Closed
RecursiveGreen opened this issue Jun 28, 2012 · 6 comments
Closed

Connected user names randomly truncated #33

RecursiveGreen opened this issue Jun 28, 2012 · 6 comments
Assignees
Labels

Comments

@RecursiveGreen
Copy link

When I run the command to list all online players for a server, sometimes they are randomly truncated. Recent example:

root@box:~# msm survival connected
server: survival
server: creative
Kekembas17, Delvanix, Neotanger

"Neotanger" should be "Neotangerine". I've also seen it truncate other users--mainly "Kekembas17" there.

I'm currently using 0.3.1 beta, but this has also occurred with previous version 0.2.15 before I upgraded.

Also, the two server listings are related to issue #32 that I just posted.

Thanks!

@ghost ghost assigned marcuswhybrow Jun 28, 2012
@marcuswhybrow
Copy link

I have fixed issue #32 so that deals with the server listing.

Does the truncation happen only at the end of a printed line (and never in the middle of a line)? This would indicate a particular point in the code to debug. Also what version of Minecraft/Bukkit are you running?

@RecursiveGreen
Copy link
Author

I am pretty certain it has only been truncating the end of the line. I'll keep an eye on it though.

I'm running the latest stable version of Minecraft Server (1.2.5):

root@box:~# msm jargroup list
server: survival
server: creative
minecraft
    2012-06-26-21-05-02-minecraft_server.jar

Also, if needed, I'm running Ubuntu 12.04 LTS. The only reason you're seeing me at a root prompt is because I cheat and use "sudo -i". ; )

@marcuswhybrow
Copy link

After a bit of snooping it seems that some log files have the ^[[m characters at the end of most lines (which is three characters a ^[, a [ and an m) and others do not. I think this is to reset any text colouring applied via other similar control characters by some Bukkit plugins.

I will modify MSM to try and work in all circumstances, and release a version maybe later today. It is also worth (me) remembering that any Bukkit plugin can change the text output of all log lines. This could possibly undermine all of the log watching MSM does in order to be speedy. I will have a think about it.

@RecursiveGreen
Copy link
Author

Sounds good. I'll give it a try when the new version is posted.

@marcuswhybrow
Copy link

Version 0.3.3 should solve all your problems, you can update using wget (the same as specified in the installation docs):

sudo wget https://raw.github.com/marcuswhybrow/minecraft-server-manager/latest/init/msm -O /etc/init.d/msm

Let me know if it works out for you.

@RecursiveGreen
Copy link
Author

Looks good on my end. Thanks again!

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

No branches or pull requests

2 participants