I have, as part of the game I am working on, a random name generator to generate the Title Display Names for the players. What I want to do, in the case of the same name being chosen more than once, is append "The 1st, 2nd, ... 427th" etc...
What I am trying to figure out, is how would I go about figuring out what the current count of players with that name is? I though about iterating through until I failed to get user data when trying, but if a particular name has been used hundreds of times, I would be pounding the server, and would quickly end up in trouble :)
Is there a way to do this that wouldn't require pounding the server?
Any help is appreciated.
-Larry