RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

New Patch Osi 6.0.5.0

Erica

Knight
New Patch Osi 6.0.5.0

Osi got a new patch 6.0.5.0 for those that didnt know they did some decorations in the gauntlet doom
 

Erica

Knight
Just a warning if you patch up to 6.0.5.0 wont let you log on on the server you see it saying Client Encryption Disconnected . so what i did was on my other computer i didnt patch and used the client 6.0.4.0 and that client lets you log on so osi did something again.
 

Erica

Knight
Rosetta;725667 said:
I haven't patched up yet, but this question is to anyone that has, is there a resolution to this?
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.
 
You need to do some changes in core.

MessagePump.cs:
Code:
					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 )

PacketHandlers.cs:
Code:
			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 ) );

Code:
		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 );
		}

Packets.cs:
Code:
	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 ) );
			}
		}
	}
 

CEO

Sorceror
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
				}
		}
 

David

Moderate
NerdyTerdy;725567 said:
Could you send me old client? :p

The UO client is a copyrighted program, it is not legal to share it and sharing it using these forums will result in permanent bans.
 

CEO

Sorceror
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.
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;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.
You don't need new uo_rice for that.
You need to change your core and patch official 6050 client by uo_rice (old uo_rice). Than change ip and port in login.cfg and connect (without Razor).
 

CEO

Sorceror
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.
 
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. :(

Oh, sorry men.
I forgot.
Code:
				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;
					}

But i don't know how it in SVN.
 

dr_no

Wanderer
i've maked all your changes but now i'm getting message:

Encrypted client detected, disconnecting (packetID 0x02)
 

dr_no

Wanderer
Soul Rider - i've readed link that u give and make all the changes listed there but still have an error (Encrypted client packet 0xd5) ..
 

Erica

Knight
Soul Rider if i was you i would put theses fixes on the core section and put what you did in those 2 script core and show it in red code for those 2 different core scripts that way no one keeps getting errors or confusion .
Or everybody can also wait till core svn gets updated with theses changes to work with client 6.0.5.0 its just a thought cause we can keep going on this subject forever.
 

Soul Rider

Sorceror
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
 

Erica

Knight
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
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.
 
Top