How captains used trickery to profit from war