PHP Code:
public static byte[] BroadCast(BroadCastStruct BC, int PType, int Position)
{
PacketGen Packet = new PacketGen(new byte[270 + 8]key = 5165);
Packet.WriteUInt16(270);
Packet.WriteUInt16(2051);
Packet.WriteUInt32((uint)10);
Packet.WriteUInt16(0);
Packet.WriteUInt16(BC.BCUID);
Packet.WriteUInt16(PType);
Packet.WriteUInt16(Position);
Packet.WriteUInt32((uint)BC.BCUID);
Packet.WriteUInt32((uint)BC.EntID);
Packet.WriteString(BC.Name);
Packet.StepOver(17 - BC.Name.Length);
Packet.WriteUInt32((uint)BC.Cost);
Packet.WriteString(BC.Message);
Packet.WriteTQServer();
return Packet.Packet;
}
this is how the awaiting BreadCasts looks like
those green numbers in the top with no messages must be other ppl BreadCasts And ther message that is also awaiting to be sent just like the ones in the bottom of the BCBoard .
It must show how many message is waiting to be released but it dosent i can only see my own broad cast and its position an the upgrade option but all other awaiting BraodCasts are not showing up i though the packet might be missing something but im not sure
what im asking here is.
is that the right packet to be sent to the breadCaster and to other players at the same time and if yes did i miss any other info that need to be sent in that packet ?
if not than what do i need to do must be a good question
thanks everyone .