Correct all of the grammar issues in this:
In this way I'd had the chance to know different people from all over the world and at the same time I'd earn some money to visit the city and the castles of England, where many historical battles were fought.
In this way, I'd have the chance to get to know different people from all over the world and, at the same time, I'd earn some money to visit the city and the castles of England, where many historic battles were fought.