16-02-2007, 12:37 PM
basically if there is a slot with no information it is a slot with no player.
afterwards if this is found three more times then it assumes the end and exits the loop thus saving time and RAM because it exited before getting to max_players.
the 3 player buffer is there in case up to three players have left without anyone filling the slots and they are in the middle of the index range.
afterwards if this is found three more times then it assumes the end and exits the loop thus saving time and RAM because it exited before getting to max_players.
the 3 player buffer is there in case up to three players have left without anyone filling the slots and they are in the middle of the index range.