How are you logging in after these mods? Logging with Razor I get:
Client: 127.0.0.1: Connected. [1 Online]
Client: 127.0.0.1: Encrypted client detected, disconnecting
Client: 127.0.0.1: Disconnected. [0 Online]
So I'm guessing Razor still needs to do a few things to the client. Doesn't matter whether I check or uncheck encryption options.
Also, I'd recommend for those using latest SVN to use MutatePacketLength in MessagePump.cs, it's obviously setup to easily incorporate additional packet changes like this.
Code:
MutatePacketLength( packetID, ns, ref packetLength );
if ( packetLength <= 0 )
{
if ( length >= 3 )
then:
Code:
public static void MutatePacketLength( int packet, NetState state, ref int length )
{
//This is only for static size packets
if ( Packet.IsUOKRPacket( state.Version ) )
switch ( packet )
{
case 0x08: length = 15; break; // 6.0.1.7
case 0x48: length = 6528; break; // 6.0.5.0
}
}