Erica
Knight
Fix for 6.0.14.2 and older clients will work
Core Modification Donot change core if you dont know how to just a warning.
Ok heres a fix for latest client and this fix will work for older client as well.
Open Mobile.cs
change this around line 6779
To this
then around line 8827
change this
To this
Then open NetState.cs
And around line 207 add this
Then around line 227 add this
Now Open PacketHandlers.cs
change this around line 1955
To this
And around line 1972 change this
to this
And line 2204 change this
To this
Now open Packets.cs
Around Line 2502 change this
To this
Then around line 2522 change this
To this
And now Complie your changes and you should be good to go.
I tested it with razor and can log on old clients and the new Client 6.0.14.2
If RunUO Team has a better solution then they will add the fix when there ready but i did test it on razor with old client and latest client and can log on with no problems.
Core Modification Donot change core if you dont know how to just a warning.
Ok heres a fix for latest client and this fix will work for older client as well.
Open Mobile.cs
change this around line 6779
Code:
Send( SupportedFeatures.Instantiate( ns.Account ) );
To this
Code:
Send( SupportedFeatures.Instantiate( ns ) );
then around line 8827
change this
Code:
Send( SupportedFeatures.Instantiate( ns.Account ) );
To this
Code:
Send( SupportedFeatures.Instantiate( ns ) );
Then open NetState.cs
And around line 207 add this
Code:
m_ExtendedSupportedFeatures = value >= m_Version60142;
Then around line 227 add this
Code:
private static ClientVersion m_Version60142 = new ClientVersion( "6.0.14.2" );
private bool m_ExtendedSupportedFeatures;
public bool ExtendedSupportedFeatures
{
get
{
return m_ExtendedSupportedFeatures;
}
}
Now Open PacketHandlers.cs
change this around line 1955
Code:
state.Send( SupportedFeatures.Instantiate( state.Account ) );
To this
Code:
state.Send( SupportedFeatures.Instantiate( state ) );
And around line 1972 change this
Code:
state.Send( SupportedFeatures.Instantiate( state.Account ) );
to this
Code:
state.Send( SupportedFeatures.Instantiate( state ) );
And line 2204 change this
Code:
state.Send( SupportedFeatures.Instantiate( state.Account ) );
To this
Code:
state.Send( SupportedFeatures.Instantiate( state ) );
Now open Packets.cs
Around Line 2502 change this
Code:
public static SupportedFeatures Instantiate( IAccount account )
{
return new SupportedFeatures( account );
}
public SupportedFeatures( IAccount acct ) : base( 0xB9, 5 )
To this
Code:
public static SupportedFeatures Instantiate( NetState state )
{
return new SupportedFeatures( state );
}
public SupportedFeatures( NetState state ) : base( 0xB9, state.ExtendedSupportedFeatures ? 5 : 3 )
Then around line 2522 change this
Code:
if ( acct != null && acct.Limit >= 6 )
{
flags |= 0x8020;
flags &= ~0x004;
}
m_Stream.Write( (ushort) flags );
To this
Code:
if ( state.Account != null && state.Account.Limit >= 6 )
{
flags |= 0x8020;
flags &= ~0x004;
}
m_Stream.Write( (ushort) flags );
And now Complie your changes and you should be good to go.
I tested it with razor and can log on old clients and the new Client 6.0.14.2
If RunUO Team has a better solution then they will add the fix when there ready but i did test it on razor with old client and latest client and can log on with no problems.