Closed th3-z closed 4 years ago
Examples so far: https://steamidfinder.com/lookup/76561198800253299/ https://steamidfinder.com/lookup/76561198364535361/ https://steamidfinder.com/lookup/76561198074358300/ https://steamidfinder.com/lookup/76561198253109260/ https://steamidfinder.com/lookup/76561198349593300/ https://steamid.io/lookup/76561198399141515
Reproduced one of the reported crashes. It isn't an encoding issue, it is caused by name collisions. I think the logger encoding needs changing for the exception above.
import logging
import logging.handlers
logger = logging.getLogger()
handler = logging.handlers.WatchedFileHandler(
"./log.log", encoding="cp1252"
)
formatter = logging.Formatter(
"[%(asctime)s %(levelname)s] %(message)s",
"%Y-%m-%d %H:%M:%S"
)
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)
logger.info(u"\u0086")
fixed in branch 0.1.6
Describe the bug There is a crash seemingly related to players with unusual character in their name. Unconfirmed in survival mode. This is known to occur in the following situations.
This is a confirmed issue that I have been unable to reproduce, information and crash reports needed.
Server
Logs Example of the logger error follows. Greeter error missing.
\86
is https://www.fileformat.info/info/unicode/char/0086/index.htm Example: