[Release] New character info packet

07/18/2011 16:55 12tails#1
Many of the ppl who are upgrading to the new crypto should be getting a fuck3d up screen after login...

so here goes the fix :

find you Character Info packet (Dunno where it is of course...)

and then update the values:

Code:
    public partial class Msg : Writer
    {
        public static byte[] Information(Character Client)
        {
            byte[] Buffer = new byte[114 + 8 + Client.Name.Length + Client.Spouse.Length];
            WriteUInt16((ushort)(Buffer.Length - 8), 0, Buffer);
            WriteUInt16(1006, 2, Buffer);
            WriteUInt32(Client.UID, 4, Buffer);
            WriteUInt32(Client.Lookface, 10, Buffer);
            WriteUInt16(Client.Hair, 14, Buffer);
            WriteUInt32(Client.Money, 16, Buffer);
            WriteUInt32(Client.E_Money, 20, Buffer);
            WriteUInt64(Client.Experience, 24, Buffer);
            WriteUInt16(Client.Force, 52, Buffer);
            WriteUInt16(Client.Speed, 54, Buffer);
            WriteUInt16(Client.Health, 56, Buffer);
            WriteUInt16(Client.Spirit, 58, Buffer);
            WriteUInt16(Client.Points, 60, Buffer);
            WriteUInt16((ushort)Client.Life, 62, Buffer);
            WriteUInt16((ushort)Client.Soul, 64, Buffer);
            WriteUInt16(Client.PkPoints, 66, Buffer);
            WriteByte(Client.Level, 68, Buffer);
            WriteByte(Client.Class, 69, Buffer);
            WriteByte(0, 70, Buffer);//First class
            WriteByte(0, 71, Buffer);//Second class
            WriteByte(3, 110, Buffer);
            WriteByte((byte)Client.Name.Length, 111, Buffer);
            WriteString(Client.Name, 112, Buffer);
            WriteByte((byte)Client.Spouse.Length, 113 + Client.Name.Length, Buffer);
            WriteString(Client.Spouse, 114 + Client.Name.Length, Buffer);
            WriteString(Constants.m_Key, (Buffer.Length - 8), Buffer);
            return Buffer;
        }
    }
cya ;P
07/18/2011 18:00 BaussHacker#2
Even I'm not using latest patch, still useful for peoples updating their source :)
07/18/2011 18:01 alanpk2009#3
hey i need you yahoo or mensseger or add my mensseger [Only registered and activated users can see links. Click Here To Register...]
07/18/2011 19:32 _DreadNought_#4
Still need to upgrade the Spawn Packet

but, Works good.
[Only registered and activated users can see links. Click Here To Register...]

Thanks!

#edit

That is me assuming the spawn packet is whats fucking up my name <3
07/18/2011 20:48 chickmagnet#5
thanx u sir
07/18/2011 22:04 12tails#6
Quote:
Originally Posted by _DreadNought_ View Post
That is me assuming the spawn packet is whats fucking up my name <3
jose will release the spawnpacket, also spawnpacket can't do that on your name... it shouldn't be sent to yourself....
07/18/2011 23:12 chickmagnet#7
Quote:
Originally Posted by _DreadNought_ View Post
Still need to upgrade the Spawn Packet

but, Works good.
[Only registered and activated users can see links. Click Here To Register...]

Thanks!

#edit

That is me assuming the spawn packet is whats fucking up my name <3
didn't qo had that issue 2 when they were up?
07/19/2011 17:24 _DreadNought_#8
Quote:
Originally Posted by 12tails View Post
jose will release the spawnpacket, also spawnpacket can't do that on your name... it shouldn't be sent to yourself....
Yeah he already gave it to me before he released it, So I assume that name problem has something todo with my updated Character Info Packet?
07/19/2011 17:33 12tails#9
no because i'm not getting it
07/19/2011 17:40 _DreadNought_#10
Nono, You mistunderstood, I meant upgrading my packet to yours.

#edit

Yeah, stupid error really, I forgot the add +8 to 114. Oh and btw, it's 122 :P
07/20/2011 01:09 { Angelius }#11
the packet is missing >>

//quiz points
//Enlighten points
//Enlighten today
//Bound Cps
//subclasses exp
//critical Status
//reborn's count
//Title

and a few more things that i dont know about ,
07/20/2011 02:32 12tails#12
sure... but you can send those infos after login with general data packets or the current system's packet ...
07/22/2011 02:04 hady#13
thank you for your release
07/22/2011 19:29 mlady272#14
good:D:pimp: