Uhm i tried to enter a non existant character and it crashed instead of showing me the RedSystemMessage.
Code:
{ "givepoints", 'z', &ChatHandler::HandleGivePointsCommand, "", NULL, 0, 0, 0 },
bool HandleGivePointsCommand(const char * args, WorldSession * m_session);
Code:
{CLIENT} Packet: (0x0095) CMSG_MESSAGECHAT PacketSize = 35 stamp = 21408656 accountid = 1
|------------------------------------------------|----------------|
|00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |0123456789ABCDEF|
|------------------------------------------------|----------------|
|01 00 00 00 07 00 00 00 2E 63 68 61 72 61 63 74 |.........charact|
|65 72 20 67 69 76 65 70 6F 69 6E 74 73 20 64 61 |er givepoints nonexistant|
|20 31 00 | 1. |
-------------------------------------------------------------------