Wichard, change your damn attitude.
Wichard, change your damn attitude.
I agree with Near, stop thinking you're the best. We all know I am. (I'm kidding about that part)
sorry man, I thought they were trying to get me fail.
Posted via Mobile Device
Something like this:
I am going to make the Static Composers Dynamic, so they are usable.Code:public bool TryGetInfo(ref byte[] Bytes, int Pointer, BinaryReader ReadStream, out int Length) { var Remaining = (Bytes.Length - Pointer); if (Remaining >= 5) // Length (3) + Header (2) { Length = Base64Encoding.DecodeInt32(ReadStream.ReadBytes(3)); Id = (short)Base64Encoding.DecodeInt32(ReadStream.ReadBytes(2)); if (Length > (Remaining - 3)) { Length = (Remaining - 3); } if (Length > 0) { Content = ReadStream.ReadBytes(Length - 2); } else Content = new byte[] { }; this.Pointer = 0; } else Length = 0; if (Length > 0) { Length += 3; } return Length > 0; }
![]()
Last edited by Mextur; 31-03-12 at 02:11 PM.
Start Streaming please.
https://join.me/962-896-885
https://join.me/111-362-673 :)
FOR THE LOVE OF GOD, STOP FLOODING FUCKING NOOB. (George2500)
Let's stop this potential flame work before I have to take out my Mod Tools. George if you have a problem talk to a Super Moderator. For now let's get back on topic and keep Wichard's thread clean.
Broadcast: https://join.me/252-165-356
Joshua, don't poke me again.
Created an new logo pack:
Posted via Mobile Device
I took a rapid look at the latest sources, and I've a question:
Why the hell do you cast the player in a room during the "GetUserNotifications" message event? XD
And that one is for the notifications, instead -.-
If you check the Habbo's protocol xml file, you'll notify that the event you are referring to is contained in the "user" category, while the one I'm talking abount, is instead in the "Room.Engine" category...
I think it's quite a bit more appropriate...