kharidiron / StarryPy3k

StarryPy on Python3k
Other
5 stars 3 forks source link

Error in chat #56

Closed ren-kun closed 7 years ago

ren-kun commented 8 years ago

2016-09-20 19:03:34 - WARNING - starrypy.plugin.chat_enhancements # Sender [user] is sending a message that the wrapper isn't handling correctly

GermaniumSystem commented 7 years ago

I've been seeing this as well. It appears to happen whenever an existing player who renamed their character sends a chat message. It can be easily reproduced with these steps:

  1. Create a new character and join the server for a moment.
  2. Use a program like starcheat to change the character's name.
  3. Join the server again as the character with the changed name.
  4. Send a chat message.

Here's a log excerpt:

2016-09-22 04:45:32 - INFO - starrypy # Received connection from 192.168.1.200
2016-09-22 04:45:32 - DEBUG - starrypy # New connection established.
2016-09-22 04:45:32 - INFO - starrypy.plugin.player_manager # Adding new player to database: original_name (UUID:c087b1b6138cd3aca34c831439435e87)
2016-09-22 04:45:32 - INFO - starrypy.plugin.player_manager # Player original_name is now at location: original_name's ship
2016-09-22 04:45:59 - INFO - starrypy.plugin.chat_logger # original_name: Global message.
2016-09-22 04:46:05 - INFO - starrypy.plugin.chat_logger # original_name: Local message.
2016-09-22 04:46:39 - INFO - starrypy.plugin.chat_logger # original_name: /u Global-global message.
2016-09-22 04:46:48 - INFO - starrypy.plugin.chat_logger # original_name: /l Global-local message.  
2016-09-22 04:46:59 - INFO - starrypy.plugin.chat_logger # original_name: /u Local-global message.
2016-09-22 04:47:06 - INFO - starrypy.plugin.chat_logger # original_name: /l Local-local message.
2016-09-22 04:47:14 - INFO - starrypy # Removing player original_name.
2016-09-22 04:49:04 - DEBUG - starrypy # Initializing connection. 
2016-09-22 04:49:04 - INFO - starrypy # Received connection from 192.168.1.200
2016-09-22 04:49:04 - DEBUG - starrypy # New connection established.
2016-09-22 04:49:05 - INFO - starrypy.plugin.player_manager # Known player is attempting to log in: changed_name
2016-09-22 04:49:05 - INFO - starrypy.plugin.player_manager # Player original_name is now at location: original_name's ship
2016-09-22 04:49:25 - INFO - starrypy.plugin.chat_logger # original_name: Global message.
2016-09-22 04:49:25 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:49:32 - INFO - starrypy.plugin.chat_logger # original_name: Local message.
2016-09-22 04:49:32 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:49:41 - INFO - starrypy.plugin.chat_logger # original_name: /u Global-global message.
2016-09-22 04:49:41 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:49:50 - INFO - starrypy.plugin.chat_logger # original_name: /l Global-local message.   
2016-09-22 04:49:50 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:50:02 - INFO - starrypy.plugin.chat_logger # original_name: /u Local-global message.
2016-09-22 04:50:02 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:50:07 - INFO - starrypy.plugin.chat_logger # original_name: /l Local-local message.
2016-09-22 04:50:07 - WARNING - starrypy.plugin.chat_enhancements # Sender changed_name is sending a message that the wrapper isn't handling correctly
2016-09-22 04:50:29 - INFO - starrypy # Removing player original_name.
kharidiron commented 7 years ago

This issue was moved to StarryPy/StarryPy3k#32