Exemplo n.º 1
0
        public static void setCharacterFame(Character chr, int fameAmount)
        {
            OutPacket p = new OutPacket(192);
            p.WriteInt(192);
            p.WriteShort(0x04);
            p.WriteShort(0x64);
            p.WriteInt(1);
            p.WriteInt(chr.getuID());
            p.WriteShort(0x05);
            p.WriteShort(0x05);
            p.WriteInt(0x0F);
            p.WriteInt(fameAmount);

            chr.setFame(fameAmount);
            chr.getAccount().mClient.WriteRawPacket(p.ToArray());
        }