mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Update to 2.6.0 & Implement Rogue Magic
This commit is contained in:
@@ -79,7 +79,7 @@ public class Connection(KcpConversation conversation, IPEndPoint remote) : Danhe
|
||||
{
|
||||
var gamePacket = data.ToArray();
|
||||
if (ConfigManager.Config.GameServer.UsePacketEncryption)
|
||||
Crypto.Xor(gamePacket, XorKey);
|
||||
Crypto.Xor(gamePacket, XorKey!);
|
||||
|
||||
await using MemoryStream ms = new(gamePacket);
|
||||
using BinaryReader br = new(ms);
|
||||
|
||||
Reference in New Issue
Block a user