Fixes chat (#265)

- [X] Fixes crash from chat and newer clients
- [X] Fixes issue with fake names being used
- [X] Fixes potential issue with RawName being null
- [X] Adds chat to modernuo.json settings
- [X] Removes old chat
- [X] Removes chat event sink since it probably isn't needed.

Bumps release version
This commit is contained in:
Kamron Batman 2020-09-26 18:22:23 -07:00 committed by GitHub
parent 160e9a33bc
commit ddc58ec707
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 47 additions and 149 deletions

View file

@ -95,7 +95,6 @@ namespace Server.Network
Register(0xA7, 4, true, RequestScrollWindow);
Register(0xAD, 0, true, UnicodeSpeech);
Register(0xB1, 0, true, DisplayGumpResponse);
Register(0xB5, 64, true, ChatRequest);
Register(0xB6, 9, true, ObjectHelpRequest);
Register(0xB8, 0, true, ProfileReq);
Register(0xBB, 9, false, AccountID);
@ -437,11 +436,6 @@ namespace Server.Network
}
}
public static void ChatRequest(NetState state, PacketReader pvSrc)
{
EventSink.InvokeChatRequest(state.Mobile);
}
public static void SecureTrade(NetState state, PacketReader pvSrc)
{
switch (pvSrc.ReadByte())