this is already handled by the zone files. if you look at the zone files, there are 8 of each, labeled "zone_name"a through "zone_name"h. basically, a group would get one of the eight zones depending on which was available, that zone would have mobs spawned that were level appropriate, and the players would be flagged somehow so that when they hit the door, the server would zone them into the correct zone, aka taka or takc ("tak" being the zone and "a" or "c" being the instance).
so the only tricky part would be the door handler code (if you went the "exactly like Live" route) unless you went the "quest npc teleports the group" route.
== sfisque
|