Jump to content
  • 0

H> [Warning]: clif_process_message: Player


Sallycantdance

Question


  • Group:  Members
  • Topic Count:  232
  • Topics Per Day:  0.14
  • Content Count:  812
  • Reputation:   12
  • Joined:  12/04/20
  • Last Seen:  

hello im having this warning message, anyone knows how to fix this? thank you

 

Quote

[Warning]: clif_process_message: Player 'PLAYER IGN' sent a message too long ('ONE TIME I WAS MASTURBATING OUTSIDE A BAR IN CAPITOLA. A POLICE OFFICER SHINED HIS LIGHT INTO THE ALLEY AND FOUND ME WITH MY PANTS DOWN. I EXPLAINED THAT I WAS TAKING A LEAK. FOR MY TROUBLES, THE OFFICER GAVE ME A LECTURE ABOUT HOW I COULD BE CHARGED WITH')!

 

Screenshot 2025-05-24 221428.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  249
  • Reputation:   111
  • Joined:  06/02/12
  • Last Seen:  

\src\map\clif.cpp

	// messages mustn't be too long
	if( messageLength > CHAT_SIZE_MAX-1 ) {
		// Normally you can only enter CHATBOX_SIZE-1 letters into the chat box, but Frost Joke / Dazzler's text can be longer.
		// Also, the physical size of strings that use multibyte encoding can go multiple times over the chatbox capacity.
		// Neither the official client nor server place any restriction on the length of the data in the packet,
		// but we'll only allow reasonably long strings here. This also makes sure that they fit into the `chatlog` table.
		ShowWarning("clif_process_message: Player '%s' sent a message too long ('%.*s')!\n", sd->status.name, CHAT_SIZE_MAX-1, message);
		return false;
	}

Check your ba_frostjoke / dc_scream  files on data folder/grf. Too long messages can trigger the error.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...