Thread: /who all friend
View Single Post
  #4  
Old 09-22-2008, 05:11 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by AndMetal View Post
you've saved me from having to learn assembly
This is one of those Client->Server opcodes that didn't require any disassembly, just had to type /who all friend and look in the zone log output to see the 'Unknown Opcode' and that the packet contained a comma delimited list of friend names The response from the server to the client is the same opcode as used by /who all.

I'm going to rework this a bit to make it more efficient. I basically copied the /who all code, and it runs through the online client list twice, first to count how many friends are online so it can calculate how big the reply packet needs to be, and then again to actually build the reply packet.

Does anyone know if /who all friends should have an output limit of 20 players, the same as /who all ?
Reply With Quote