ChatPacket!!!

08/01/2011 23:07 Mr_PoP#1
is it me or this damn packet does not contain the fkin lookface (mesh) it was working and now am keep getting that mesh of that Chinese Picture!!=0

Code:
3D 00 EC 03 FF FF FF FF D1 07 00 00 9C 08 00 00 00 00 00 00 00 00 00 00 06 0A 4D
 72 5F 50 6F 50 5B 50 4D 5D 0D 50 72 6F 66 65 73 73 6F 72 5B 50 4D 5D 00 04 66 7
5 63 6B 00 00 00 00 00
is not should be the Mesh on location 20 :mad:
08/01/2011 23:17 CptSky#2
By memory, you need to include the mesh yourself, before broadcasting the packet.
08/01/2011 23:18 Mr_PoP#3
Quote:
Originally Posted by CptSky View Post
By memory, you need to include the mesh yourself, before broadcasting the packet.
i was geting it from the packet it's self before that 0.0!

Edit:
including manually it works but , i wonder how it was working before 0.0
08/02/2011 00:09 CptSky#4
Code:
MsgID: 1004 MsgLength: 51 Direction: Client -> Server
33 00 EC 03 FF FF FF 00 D1 07 00 00 07 06 00 00             3...............
00 00 00 00 00 00 00 00 04 06 7E 4B 21 72 61 7E             ..........~K!ra~
06 59 6F 75 70 69 21 00 07 79 6F 75 70 69 75 21             .Youpi!..youpiu!
00 00 00 54 51 43 6C 69 65 6E 74                            ...TQClient
An old dump from a 5065 client. The look/model isn't present in the packet...
08/02/2011 00:19 pro4never#5
@ cpt I thought it only started including it back in 5165 or whenever the chat windows were included. Without those there's no need for the mesh to be part of the packet.


@thread: I've always just re-set the mesh in the packet before forwarding it on and never found much of an issue.

Code:
 case ChatType.Whisper:
                                        {
                                            foreach (Player role in Kernel.Clients.Values)
                                                if (role.Name.ToLower() == received.Hearer.ToLower())
                                                {
                                                    received.HearerLookface = role.Mesh;
                                                    received.SpeakerLookface = user.Mesh;
                                                    role.Send(received);
                                                    break;
                                                }
                                            break;
                                        }
The tolower is kinda pointless but I like being able to be lazy when typing ppls names and still get to whisper them :D
08/02/2011 00:45 CptSky#6
Quote:
Originally Posted by pro4never View Post
@ cpt I thought it only started including it back in 5165 or whenever the chat windows were included. Without those there's no need for the mesh to be part of the packet.[...]
The meshes are in the packet since the apparition of the chat window and it's something around or before 5017. Maybe new client send the meshes, but older one don't send it for sure. You need to add them to the packet.