they had to agree to allow no more than a hundred men to go into the city on a given day , and had to camp at least a league from the walls , out of the way of any villages and not on anyone 's farmland .