villagers joined the battle , pelting the enemy with rocks from the ramparts , dousing the fires , while at the main gates , brave assassins made sorties through the wicket doors , fighting back infantry trying to burn them down .