Well, im sure that this isnt anything new to anyone. But every source I looked at either didnt have the packet added yet, or the member list was bugged. So I just decided to toggle with it until it was working flawlessly for me.
Then for the member string, I use:
Im not 100% sure if the new line char is necessary but I stuck it there anyways haha.
#Edit: This should work for any version.
PHP Code:
ushort PacketLength, Offset = 0
ushort PacketType, Offset = 2
uint GuildID, Offset = 4
byte Type, Offset = 8 //Value of 0xB for member list
byte Count, Offset = 9 //How many members are being listed
For Each Member:
byte MemberStringLength, Offset = 10 + Current Offset
string MemberString, Offset = 11 + Current Offset
PHP Code:
MemberName + " " + MemberLevel + " " + (byte)MemberOnline + "\n"
#Edit: This should work for any version.