Bom galera naum sei si tem mais estou postando ake =D
Creditos: TheLeGend209 (elitepvp)
- Código:
public static byte[] FlowerPacket(string Flowers,bool CreateInstance)
{// all in order of what they would be on the game from top to bttom never added in client to have them indivudaly yet
//The Flower should be in that order
//AllRedRoses TodayRedRoses AllLilies 2DayLilies AllOrchades 2DayOrchades AllTulips 2day Tulipes
PacketBuilder P = new PacketBuilder(1150, 21 + Flowers.Length);
if (CreateInstance)
{
P.Long(1);
P.Long(0);
P.Long(0);
P.Int(1);
P.Text(Flowers);
P.Long(0);
}
return P.getFinal();
}
public static byte[] TryFlower(string Flowers,int Rank)
{// all in order of what they would be on the game from top to bttom never added in client to have them indivudaly yet
//The Flower should be in that order
//AllRedRoses TodayRedRoses AllLilies 2DayLilies AllOrchades 2DayOrchades AllTulips 2day Tulipes
PacketBuilder P = new PacketBuilder(1150, 21 + Flowers.Length);
P.Long(2);
P.Long(Rank);
P.Long(0);
P.Int(1);
P.Text(Flowers);
P.Long(0);
return P.getFinal();
}
public static byte[] Flower2(int Id,int Type,int Rank,int RoseType)
{
string Flowers = Id.ToString();
PacketBuilder P = new PacketBuilder(1151, 21 + Flowers.Length);
P.Long(Type);
P.Long(Rank);
P.Long(RoseType);
P.Int(1);
P.Text(Flowers);
P.Long(0);
return P.getFinal();
}
public static byte[] SendFlowerScreen(int Id)
{
PacketBuilder Packet = new PacketBuilder(0x3f2, 28);
Packet.Long(0);
Packet.Long(Id);
Packet.Short(0x4e0);
Packet.Short(0);
Packet.Short(0);
Packet.Short(0);
Packet.Short(0);
Packet.Short(0x74);
Packet.Long(0);
return Packet.getFinal();
}
Creditos: TheLeGend209 (elitepvp)