View Single Post
Old 10-12-2003, 05:51 PM   #9
Loriel
Member
 
Join Date: May 2002
Posts: 49
Loriel is on a distinguished road
I think you are answering the wrong question.

The original poster wanted to count the number of rooms visited by the player, not the number of rooms currently loaded.

Therefore the method, as JilesDM outlined, is to keep (for each player) some form of "list" of rooms visited, and count the number of items in that list.

The UID could be based on the filename, or the coordinates, or an integer similar to the vnum in dikurivatives, but it needs to be there to uniquely identify rooms for adding to the list (or ignoring, if already visited).
Loriel is offline   Reply With Quote