As of yet no ones has a fix yet for 6.0.5.0 but i'm sure the RunUO Team will get this fixed.Rosetta;725667 said:I haven't patched up yet, but this question is to anyone that has, is there a resolution to this?
int packetLength = handler.Length;
// 6017 client support
if ( packetID == 0x08 )
{
packetLength = 15;
}
[COLOR="Red"]// 6050 client support[/COLOR]
[COLOR="Red"] if ( packetID == 0x48 )
{
packetLength = 6528;
length = 6528;
}
[/COLOR]
if ( packetLength <= 0 )
{
if ( length >= 3 )
Register( 0x47, 11, true, new OnPacketReceive( NewTerrain ) );
Register( 0x48, 0, false, new OnPacketReceive( [COLOR="Red"]AccountLoginNew[/COLOR] ) );[COLOR="Lime"]// was NewAnimData[/COLOR]
Register( 0x58, 106, true, new OnPacketReceive( NewRegion ) );
public static void AccountLoginNew( NetState state, PacketReader pvSrc )
{
if ( state.SentFirstPacket )
{
state.Dispose();
return;
}
state.SentFirstPacket = true;
pvSrc.ReadInt32();
pvSrc.ReadInt32();
pvSrc.ReadInt32();
pvSrc.ReadInt16();
pvSrc.ReadByte();
string username = pvSrc.ReadString(30);
string password = pvSrc.ReadString(30);
AccountLoginEventArgs e = new AccountLoginEventArgs( state, username, password );
EventSink.InvokeAccountLogin( e );
if ( e.Accepted )
AccountLogin_ReplyAck( state );
else
AccountLogin_ReplyRej( state, e.RejectReason );
}
public sealed class AccountLoginAck : Packet
{
public AccountLoginAck( ServerInfo[] info ) : base( 0xA8 )
{
this.EnsureCapacity( 6 + (info.Length * 40) );
m_Stream.Write( (byte) [COLOR="Red"]0x00[/COLOR] ); [COLOR="Lime"]// was Unknown 0x5D[/COLOR]
m_Stream.Write( (ushort) info.Length );
for ( int i = 0; i < info.Length; ++i )
{
ServerInfo si = info[i];
m_Stream.Write( (ushort) i );
m_Stream.WriteAsciiFixed( si.Name, 32 );
m_Stream.Write( (byte) si.FullPercent );
m_Stream.Write( (sbyte) si.TimeZone );
m_Stream.Write( (int) Utility.GetAddressValue( si.Address.Address ) );
}
}
}
MutatePacketLength( packetID, ns, ref packetLength );
if ( packetLength <= 0 )
{
if ( length >= 3 )
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
}
}
NerdyTerdy;725567 said:Could you send me old client?
I tried that, still gave the encryption message with No_Crypt_Client_2d.exe.Jeremy [The-Abyss];725757 said:Ok. MutatePacketLength if using SVNs.
I'am not using.
Oh, and use No_Crypt client (by uo_rice). Razor don't work.
You don't need new uo_rice for that.CEO;725773 said:I tried that, still gave the encryption message with No_Crypt_Client_2d.exe.
I searched for a newer uo_rice, but didn't find it. I'm not in a hurry, just thought it'd be nice to test your changes and see what they did to doom. I'm sure zippy will take care of Razor when he gets a chance.
CEO;725780 said:Yeah, like I said. I did that already. uo_rice produced a non ecrypted named exe, I change login.cfg to point to local server/port. Started the client without razor, and still got that encrypted client error on the runuo console, so I'm guessing uo_rice didn't do its thing.
David;725787 said:yep, I'm having the same results.
while ( length > 0 && ns.Running )
{
int packetID = buffer.GetPacketID();
if ( !ns.SentFirstPacket && packetID != 0xF1 && packetID != 0xCF && packetID != 0x80 && packetID != 0x91 && packetID != 0xA4 && packetID != 0xE4 && packetID != 0xFF && [COLOR="Red"]packetID != 0x48 [/COLOR])
{
Console.WriteLine( "Client: {0}: Encrypted client detected, disconnecting (packetID 0x{1:X2}).", ns, packetID );
ns.Dispose();
break;
}
Also Warning won't work with ConnectUO so both programs will have to get updated to support 6.0.5.0 but can connect thru client uo rice.Soul Rider;725836 said:For beginners:
RapidShare: 1-Click Webhosting
Clean SVN 265 RunUO 2.0 with required changes and compile.bat for compilation.
1. run compile.bat
2. move server.exe to your server directory
3. run server
3. use uorice from archive to remove crypt from client.exe (6.0.5.0)
4. connect with no_crypt_client_2d.exe to your server.
Warning: RAZOR WILL NOT WORK, DON'T USE IT