Tommy
Founder
Hmm... There's something weird going on, you sure that it's the right code.
It some kind of only works for me if i useCode:if (player->isGameMaster() || GetId() == 389 && !player->GetGroup()) return Map::CanEnter(player); sLog->outDetail("MAP: Instance '%u' of map '%s' cannot have more than '%u' players. Player '%s' rejected", GetInstanceId(), GetMapName(), player->GetName()); player->SendTransferAborted(GetId(), TRANSFER_ABORT_MAX_PLAYERS); return false;
AND that will make it a one mans instance in all instances, so that might not work correctly.
If i use if (player->isGameMaster() || GetId() == 389 && !player->GetGroup())
return Map::CanEnter(player); Then nothing happens at all.
You aren't suppose to put it there..
It goes here, in that if statement: http://prntscr.com/12elb4
You don't alter any of the 'CanEnter' code except the statement I SS.