View Single Post
  #138  
Old 04-30-2016, 05:10 AM
Tyen05
Discordant
 
Join Date: Mar 2009
Location: eqbrowser.com
Posts: 309
Default

Easy fix, this advice solved it.

Quote:
[05:37] <image> I would just subtract the rest of the packet
lines in green

Code:
		public void HandleWorldMessage_ChannelMessage(byte[] data, int datasize)
		{
		int position = 0;
		string ChannelTargetName = ReadFixedLengthString(data, ref position, 64);
		string ChannelSender = ReadFixedLengthString(data, ref position, 64);
		Int32 ChannelLanguage = ReadInt32(data, ref position);
		Int32 ChannelNumber = ReadInt32(data, ref position);
		Int32 ChannelSkill = ReadInt32(data, ref position);
		Int32 ChannelVarLength = datasize - position;
		string ChannelMessage = ReadFixedLengthString(data, ref position, ChannelVarLength);
		}
__________________
Browser based EQ project
Reply With Quote