Post
by quixote398 » Sat Aug 14, 2004 2:49 pm
Well, if you look at the original code, Grouped was never actually in the data structure. Originally it was thought it was, but later on it was discovered that it was actually the first character of the first group member's name. All five group member's names were being stored and only recently discovered.
The original code was actually just checking the first group member slot and returning true if there was a name there, or false if not. It'd make sense now to extend the "Grouped" check to see if any of the five group slots had someone in them.
Sony's code does not shift group members around. You can notice this in game when you invite a first person, and then a second person, first person leaves group, get a third person, and re-invite first person, the first and third persons have switched group slots. The code just fills in group slots on a first come, first serve basis. but it doesn't move the order of the slots if someone leaves.
So the "best" way to see if someone is grouped is to do a logical OR on the groupslots, so if any one of them has someone in it, return TRUE for grouped.