Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Network Modifications

Network Modifications This forum is for modifications to the networking code of RunUO

Reply
 
Thread Tools Display Modes
Old 07-20-2007, 03:09 PM   #1 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default Support for 6.0.1.7 Client

Name: Support for 6.0.1.7 UOML 2D Client
Coder: Kamron

Updates:
- As of SVN193 this is no longer supported
- Removed typo fix in BuffIcon.cs
- Removed a typo fix.
- Fixed the bug where I forgot to include the modified BaseVendor.cs
- Fixed the bug where I forgot to include a modified packet :P
- Fixed the bug with ClientVerification and older clients
- Fixed the "paperdoll" and "0xFF" bug
- Fixed the bug with sending the packet length twice
- Added script changes, and compiled server.exe
- If you have not edited the core, you can use the updated files included.

Notes:
- This seems to work for UOML 6.0.1.9 as well.
- Looking for the newest updates to this system? Go HERE

Special Thanks:
- pmouse for helping me find my errors
- Casiopia staff for testing this

Last Updated: - August 10, 2007 - 11:22AM (PT)

Last edited by Kamron; 08-10-2007 at 03:24 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:14 PM   #2 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

Before using this.. I have to edit a few things to send the client version to the packet class.

This will take a few minutes.
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:16 PM   #3 (permalink)
Newbie
 
dr_no's Avatar
 
Join Date: Sep 2006
Location: Poland
Age: 22
Posts: 47
Default

love you man

great submission
dr_no is offline   Reply With Quote
Old 07-20-2007, 03:19 PM   #4 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

Okay its all better again... it works

Oops, I forgot to post the updates to Mobile.cs and Container.cs... a few more minutes again, sorry.

Last edited by Kamron; 07-20-2007 at 03:30 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:33 PM   #5 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

Okay I added the updates to Mobile.cs and Container.cs. - That should be everything.
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:40 PM   #6 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

There is a slight problem with releasing the packets... I will be making updates to ProcessDelta function to correct this. Sorry for the inconvenience.
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:47 PM   #7 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

Okay fixed that problem... Only updates: ProcessDelta function
Kamron is offline   Reply With Quote
Old 07-20-2007, 03:56 PM   #8 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 45
Posts: 4,372
Default

You ROCK!!!!!!
__________________
HellRazor is offline   Reply With Quote
Old 07-20-2007, 04:40 PM   #9 (permalink)
Forum Expert
 
Asmir3's Avatar
 
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
Default

Kamron u rox my socks .
__________________

Now open - uo15.net - The best in Publish 15 emulation
Asmir3 is offline   Reply With Quote
Old 07-20-2007, 05:13 PM   #10 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

may be need
Code:
				if ( !contains )
				{
					if ( m_Openers == null )
						m_Openers = new List<Mobile>( 4 );

					m_Openers.Add( to );
				}
				else if ( m_Openers != null && m_Openers.Count == 0 )
				{
					m_Openers = null;
				}
			}

			to.Send( new ContainerDisplay( this ) );
			//to.Send( new ContainerContent( to, this ) );
			SendContentTo( to.NetState );

			if ( ObjectPropertyList.Enabled )
?

or for what u create SendContentTo function?
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 05:14 PM   #11 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

The SendContentTo function was added to fix an issue related to Hair/Facial Hair being removed when you open a corpse.

I can include that update as well if anyone needs it.

I already updated the thread to reflect the default RUO 187 SVN. Thanks for pointing that out though.

Last edited by Kamron; 07-20-2007 at 05:17 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 05:25 PM   #12 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

Spellbook.cs
Code:
		public void DisplayTo( Mobile to )
		{
			// The client must know about the spellbook or it will crash!

			if ( Parent == null )
			{
				to.Send( this.WorldPacket );
			}
			else if ( Parent is Item )
			{
				// What will happen if the client doesn't know about our parent?
				to.Send( new ContainerContentUpdate( this, to.NetState.Version ) );
			}
BulletinBoards.cs
Code:
		public override void OnDoubleClick( Mobile from )
		{
			if ( CheckRange( from ) )
			{
				Cleanup();
				from.Send( new BBDisplayBoard( this ) );
				from.Send( new ContainerContent( from, this, from.NetState.Version ) );
			}
			else
			{
				from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 1019045 ); // I can't reach that.
			}
		}
that's all.

ты не русский случаем? )
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 05:29 PM   #13 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

Code:
				else if ( m_Openers != null && m_Openers.Count == 0 )
				{
					m_Openers = null;
				}
			}

			to.Send( new ContainerDisplay( this ) );
			to.Send( new ContainerContent( to, this, to.NetState.Version ) );

			if ( ObjectPropertyList.Enabled )
			{
				List<Item> items = this.Items;

				for ( int i = 0; i < items.Count; ++i )
					to.Send( items[i].OPLPacket );
			}
		}
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 05:32 PM   #14 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

Crap... I knew I forgot to post something :\

Thanks

btw: No I am not Russian.

Last edited by Kamron; 07-20-2007 at 05:40 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 05:43 PM   #15 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

i have some problems..

Code:
[21:07:2007 00:37:53.3]: RECEIVED PACKET: 0x08.
// after i try to drop deed
[21:07:2007 00:37:53.4]: UOSeed: 0xD6 - 0x00 - 0x07 //this is 0xFF 0xD6 0x00 0x07 packet buff
[21:07:2007 00:37:53.4]: RECEIVED PACKET: 0xFF.
[21:07:2007 00:37:53.8]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x78.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x78.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0xC1.
[21:07:2007 00:37:54.0]: RECEIVED PACKET: 0x09.
[21:07:2007 00:37:54.0]: SENDING PACKET: 0xC1.
[21:07:2007 00:37:54.0]: RECEIVED PACKET: 0x09.
[21:07:2007 00:37:54.1]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:54.1]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:54.1]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:54.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0x54.
[21:07:2007 00:37:55.5]: RECEIVED PACKET: 0x07.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0x11.
[21:07:2007 00:37:55.5]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:55.6]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:55.6]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:55.6]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:56.0]: RECEIVED PACKET: 0x08.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x11.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x25.
[21:07:2007 00:37:56.0]: Packet: 0x25: Bad packet length! (+1 bytes)
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x29.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.0]: SENDING PACKET: 0x77.
[21:07:2007 00:37:56.1]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:56.1]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:56.1]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:56.4]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:56.5]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:37:56.9]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0x54.
[21:07:2007 00:37:57.0]: RECEIVED PACKET: 0x07.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0x11.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:57.0]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:57.0]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:57.2]: RECEIVED PACKET: 0x08.
[21:07:2007 00:37:57.2]: SENDING PACKET: 0x11.
[21:07:2007 00:37:57.2]: SENDING PACKET: 0x25.
[21:07:2007 00:37:57.2]: Packet: 0x25: Bad packet length! (+1 bytes)
[21:07:2007 00:37:57.2]: SENDING PACKET: 0x29.
[21:07:2007 00:37:57.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:57.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:57.4]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:57.5]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:57.5]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:57.5]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0x77.
[21:07:2007 00:37:58.1]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0xAE.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0x1D.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0x54.
[21:07:2007 00:37:58.9]: RECEIVED PACKET: 0x07.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0x11.
[21:07:2007 00:37:58.9]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:59.0]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:59.0]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:59.0]: SENDING PACKET: 0xA3.
[21:07:2007 00:37:59.2]: RECEIVED PACKET: 0x08.
[21:07:2007 00:37:59.2]: SENDING PACKET: 0x11.
[21:07:2007 00:37:59.2]: SENDING PACKET: 0x25.
[21:07:2007 00:37:59.2]: Packet: 0x25: Bad packet length! (+1 bytes)
[21:07:2007 00:37:59.2]: SENDING PACKET: 0x29.
[21:07:2007 00:37:59.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:59.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:37:59.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:59.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:37:59.3]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:37:59.7]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:37:59.9]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0x54.
[21:07:2007 00:38:00.0]: RECEIVED PACKET: 0x07.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0x11.
[21:07:2007 00:38:00.0]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:00.1]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:00.1]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x78.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:00.2]: RECEIVED PACKET: 0x09.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:00.2]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:00.2]: RECEIVED PACKET: 0x08.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x11.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x25.
[21:07:2007 00:38:00.2]: Packet: 0x25: Bad packet length! (+1 bytes)
[21:07:2007 00:38:00.2]: SENDING PACKET: 0x29.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:00.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:00.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:00.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:00.3]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:00.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0x54.
[21:07:2007 00:38:01.2]: RECEIVED PACKET: 0x07.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0x11.
[21:07:2007 00:38:01.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:01.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:01.3]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:01.6]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:01.8]: RECEIVED PACKET: 0x08.
[21:07:2007 00:38:01.8]: SENDING PACKET: 0x11.
[21:07:2007 00:38:01.8]: SENDING PACKET: 0x25.
[21:07:2007 00:38:01.8]: Packet: 0x25: Bad packet length! (+1 bytes)
[21:07:2007 00:38:01.8]: SENDING PACKET: 0x29.
[21:07:2007 00:38:01.8]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:01.8]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:01.9]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:01.9]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:01.9]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x78.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x78.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0x77.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:02.2]: RECEIVED PACKET: 0x09.
[21:07:2007 00:38:02.2]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:02.2]: RECEIVED PACKET: 0x09.
[21:07:2007 00:38:02.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:02.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:02.3]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:02.5]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:03.0]: SENDING PACKET: 0xBF.
[21:07:2007 00:38:03.0]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:03.3]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:03.3]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:04.2]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:04.2]: SENDING PACKET: 0xC2.
[21:07:2007 00:38:04.2]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:04.2]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:04.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:05.1]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:06.0]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x78.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:06.4]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:06.4]: RECEIVED PACKET: 0x09.
[21:07:2007 00:38:06.4]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:06.4]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:06.5]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:06.5]: RECEIVED PACKET: 0xC2.
[21:07:2007 00:38:06.5]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:06.5]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:06.5]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:06.7]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:06.9]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:07.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:08.3]: SENDING PACKET: 0x77.
[21:07:2007 00:38:08.6]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:09.5]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0x54.
[21:07:2007 00:38:10.3]: RECEIVED PACKET: 0x07.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:10.3]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:10.4]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:10.4]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:10.4]: SENDING PACKET: 0x77.
[21:07:2007 00:38:11.2]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:11.5]: SENDING PACKET: 0x1A.
[21:07:2007 00:38:11.5]: SENDING PACKET: 0x29.
[21:07:2007 00:38:11.5]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:11.5]: SENDING PACKET: 0x54.
[21:07:2007 00:38:11.5]: RECEIVED PACKET: 0x08.
[21:07:2007 00:38:11.5]: UOSeed: 0xD6 - 0x00 - 0x07
[21:07:2007 00:38:11.5]: RECEIVED PACKET: 0xFF.
[21:07:2007 00:38:12.1]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:12.7]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:12.7]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:12.7]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:12.7]: SENDING PACKET: 0x54.
[21:07:2007 00:38:12.7]: RECEIVED PACKET: 0x07.
[21:07:2007 00:38:12.9]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:13.2]: SENDING PACKET: 0x1A.
[21:07:2007 00:38:13.2]: SENDING PACKET: 0x29.
[21:07:2007 00:38:13.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:13.2]: RECEIVED PACKET: 0x08.
[21:07:2007 00:38:13.3]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:13.3]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:13.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:13.9]: RECEIVED PACKET: 0xBF.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x78.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0xC1.
[21:07:2007 00:38:14.5]: RECEIVED PACKET: 0x09.
[21:07:2007 00:38:14.5]: SENDING PACKET: 0xD6.
[21:07:2007 00:38:14.5]: RECEIVED PACKET: 0xD6.
[21:07:2007 00:38:14.6]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:14.6]: SENDING PACKET: 0xAE.
[21:07:2007 00:38:14.6]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:14.6]: SENDING PACKET: 0x54.
[21:07:2007 00:38:14.6]: RECEIVED PACKET: 0x07.
[21:07:2007 00:38:14.6]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:15.2]: SENDING PACKET: 0x1A.
[21:07:2007 00:38:15.2]: SENDING PACKET: 0x29.
[21:07:2007 00:38:15.2]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:15.2]: RECEIVED PACKET: 0x08.
[21:07:2007 00:38:15.3]: RECEIVED PACKET: 0x01.
[21:07:2007 00:38:15.5]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:16.3]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:16.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:16.5]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:16.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:17.2]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:18.1]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:18.5]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:18.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:19.0]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:19.8]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:20.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:20.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:20.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:20.5]: SENDING PACKET: 0x77.
[21:07:2007 00:38:20.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:21.5]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:22.4]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:22.6]: SENDING PACKET: 0x77.
[21:07:2007 00:38:22.6]: SENDING PACKET: 0x77.
[21:07:2007 00:38:22.6]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:22.6]: SENDING PACKET: 0x77.
[21:07:2007 00:38:22.6]: SENDING PACKET: 0x77.
[21:07:2007 00:38:23.3]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:24.2]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:25.0]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:25.9]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:26.7]: SENDING PACKET: 0x1D.
[21:07:2007 00:38:26.7]: SENDING PACKET: 0x77.
[21:07:2007 00:38:26.8]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:27.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:33.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:33.8]: SENDING PACKET: 0x77.
[21:07:2007 00:38:33.8]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:33.8]: SENDING PACKET: 0x77.
[21:07:2007 00:38:33.8]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:34.6]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:35.5]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:35.8]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:36.3]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:37.2]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:37.8]: SENDING PACKET: 0x78.
[21:07:2007 00:38:37.8]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:37.8]: SENDING PACKET: 0x77.
[21:07:2007 00:38:37.8]: SENDING PACKET: 0x6E.
[21:07:2007 00:38:37.8]: SENDING PACKET: 0x77.
[21:07:2007 00:38:38.1]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:39.0]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x77.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x78.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x77.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x78.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0xDC.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x77.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x77.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0x77.
[21:07:2007 00:38:39.9]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:40.7]: SENDING PACKET: 0xA3.
[21:07:2007 00:38:40.7]: RECEIVED PACKET: 0x00. // disconnected..

Last edited by Konstantin Andry; 07-20-2007 at 05:46 PM.
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 05:50 PM   #16 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

Code:
		public ContainerContentUpdate( Item item, ClientVersion version ) : base( 0x25, IsUOKRPacket( version ) ? 21 : 20 )
?
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 05:53 PM   #17 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

I was updating the packet length to include the extra 1byte.
Kamron is offline   Reply With Quote
Old 07-20-2007, 05:58 PM   #18 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

if i drop anuthing i recieve 0xFF packet

and i can't add any item to backpack and can't change location of any item in backpack. only drop out from
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 06:01 PM   #19 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

Quote:
Originally Posted by Kamron View Post
I was updating the packet length to include the extra 1byte.
public ContainerContentUpdate( Item item, ClientVersion version ) : base( 0x25, IsUOKRPacket( version ) ? 20 : 21 )

You erred when wrote

public ContainerContentUpdate( Item item, ClientVersion version ) : base( 0x25, IsUOKRPacket( version ) ? 21 : 20 )
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 06:03 PM   #20 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

I modified how it works... look at what I wrote now.
This way it is not confusing.

Does it work now?
Kamron is offline   Reply With Quote
Old 07-20-2007, 06:08 PM   #21 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

That could not work 'cose you send a packet with a width of 2 times

Code:
	public sealed class ContainerContentUpdate : Packet
	{
		public ContainerContentUpdate( Item item, ClientVersion version ) : base( 0x25, IsUOKRPacket( version ) ? 21 : 20 )
		{
			Serial parentSerial;

			if ( item.Parent is Item )
			{
				parentSerial = ((Item)item.Parent).Serial;
			}
			else
			{
				Console.WriteLine( "Warning: ContainerContentUpdate on item with !(parent is Item)" );
				parentSerial = Serial.Zero;
			}

			ushort cid = (ushort) item.ItemID;

			if ( cid > 0x3FFF )
				cid = 0x9D7;

			m_Stream.Write( (int) item.Serial );
			m_Stream.Write( (short) cid );
			m_Stream.Write( (byte) 0 ); // signed, itemID offset
			m_Stream.Write( (ushort) item.Amount );
			m_Stream.Write( (short) item.X );
			m_Stream.Write( (short) item.Y );
			if ( IsUOKRPacket( version ) )
				m_Stream.Write( (byte) item.GridLocation );
			m_Stream.Write( (int) parentSerial );
			m_Stream.Write( (ushort) item.Hue );
		}
	}
it's work

but problems with backpack still valid

Last edited by Konstantin Andry; 07-20-2007 at 06:11 PM.
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 06:10 PM   #22 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

EDIT: I see what you mean, i am modifying it.

Last edited by Kamron; 07-20-2007 at 06:14 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 06:18 PM   #23 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

There I updated it... But why doesn't it work?

EDIT: I think I still have more packets to update... If anyone has any ideas, please tell me.

Last edited by Kamron; 07-20-2007 at 06:21 PM.
Kamron is offline   Reply With Quote
Old 07-20-2007, 06:25 PM   #24 (permalink)
Account Terminated
 
Join Date: May 2007
Age: 32
Posts: 41
Default

Agreed. I am particularly concerned about the package 0xFF used to UOKR identification, and now it is sent if you drop item. If you have account on OSI, permits me - I will see what packets they added.
Konstantin Andry is offline   Reply With Quote
Old 07-20-2007, 06:33 PM   #25 (permalink)
Newbie
 
Join Date: Jun 2006
Posts: 94
Default

I don't have an OSI account...:\
Kamron is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)