need help'

01/16/2010 01:30 felipeboladao#1
hi, i need of transfomation of 5195 code to 5165..

here code

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();
}

thanks for alls'
01/16/2010 01:52 spare2#2
Transformation?
You mean you want those features in 5165?
You need to be more specific.
01/16/2010 01:53 baothai#3
More specific please
01/16/2010 02:17 felipeboladao#4
to modify the packts and I'm not getting .. wanted help to modify it pra 5165 ...
01/16/2010 03:49 .Ryu#5
Quote:
Originally Posted by felipeboladao View Post
to modify the packts and I'm not getting .. wanted help to modify it pra 5165 ...
Do you mean you wanna convert it to work on he 5165?
01/16/2010 05:16 felipeboladao#6
yes.,..