+
Skip to content

PZ "Players" command timeout when unsupported characters present #46

@SAPHROF

Description

@SAPHROF

When player names have invisible characters such as " ‎ ‎", which appears as "-ΓÇÄ ΓÇÄ ΓÇÄ" in the console, RCON will timeout with the following error on the server:

LOG : General , 1709045530266> 97.774.271> RCON: new connection Socket[addr=/127.0.0.1,port=55902,localport=] LOG : General , 1709045530267> 97.774.272> RCON: ID=0 Type=3 Body='' Socket[addr=/127.0.0.1,port=55902,localport=] ERROR: General , 1709045530370> 97.774.374> java.nio.BufferOverflowException ERROR: General , 1709045530370> 97.774.375> at java.base/java.nio.HeapByteBuffer.put(Unknown Source) ERROR: General , 1709045530370> 97.774.375> at java.base/java.nio.ByteBuffer.put(Unknown Source) ERROR: General , 1709045530370> 97.774.375> at zombie.network.RCONServer$ClientThread.handleResponse(RCONServer.java:280) ERROR: General , 1709045530370> 97.774.375> at zombie.network.RCONServer$ClientThread.handlePacket(RCONServer.java:213) ERROR: General , 1709045530370> 97.774.375> at zombie.network.RCONServer$ClientThread.runInner(RCONServer.java:165) ERROR: General , 1709045530370> 97.774.375> at zombie.network.RCONServer$ClientThread.run(RCONServer.java:121)

These player names are visible when running the "players" command directly on the server console itself, but throws this BufferOverflowException when done via RCON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载