Here is something that i got going after a while. Nothing great and it does make it so people have very little privacy in-game but basically what it does is when someone types text in-game which doesn't contain an exclamation mark at the beginning or isn't in whispers.
Open players.cpp.
Go to the bottom of the below code:
Add the below code above the last curly bracketCode:void Players::chatHandler(Player* player, unsigned char* packet){
So it looks something like this:Code:printf (player->getName(), chat); printf (" says: "); printf (chat, chat); printf ("\n");
Code:else{ Server::disableScrollingHeader(); printf ("GM_%s has changed the Header.\n", player->getName()); } } return; } PlayersPacket::showChat(player, Maps::info[player->getMap()].Players, chat); Players::Log(player->getName(), chat); printf (player->getName(), chat); printf (" says: "); printf (chat, chat); printf ("\n"); }






