@Mattaba: How I understand _j_'s post:
Either Alt+0, Alt+1 or Alt+2 will end the freeze. (If none of them does, then civjo's script apparently can't solve your particular problem.) At that point, you could simply continue playing. However, if you want to move past the problem without affecting all units across the map, you could instead take note which key combination did the trick and reload in order to identify the specific unit that is holding things up (or one of the units if multiple are stuck). Let's assume, for example, that Alt+2 has allowed the game to continue; that should mean that a land unit is stuck. Then pressing Shift+2 repeatedly will go through all land units on the map in a fairly arbitrary order and end their moves. Maybe the 12th time that you press Shift+2 allows the game to continue. If you can manage to count correctly, then I don't think it should be necessary to consult PythonDbg.log. That said, there can be hundreds of units on the map, so ...
Setting LoggingEnabled=1 in \My Games\Beyond the Sword\CivilizationIV.ini will enable PythonDbg.log, and it gets created in \My Games\Beyond the Sword\Logs. When you have the number (unit index), you reload again, press Shift+6 that number of times and finally Shift+9 – for a minimally invasive way to break the gridlock.
(I'm not exactly active in this subforum, but I have it on my "watch" list.)
Either Alt+0, Alt+1 or Alt+2 will end the freeze. (If none of them does, then civjo's script apparently can't solve your particular problem.) At that point, you could simply continue playing. However, if you want to move past the problem without affecting all units across the map, you could instead take note which key combination did the trick and reload in order to identify the specific unit that is holding things up (or one of the units if multiple are stuck). Let's assume, for example, that Alt+2 has allowed the game to continue; that should mean that a land unit is stuck. Then pressing Shift+2 repeatedly will go through all land units on the map in a fairly arbitrary order and end their moves. Maybe the 12th time that you press Shift+2 allows the game to continue. If you can manage to count correctly, then I don't think it should be necessary to consult PythonDbg.log. That said, there can be hundreds of units on the map, so ...
Setting LoggingEnabled=1 in \My Games\Beyond the Sword\CivilizationIV.ini will enable PythonDbg.log, and it gets created in \My Games\Beyond the Sword\Logs. When you have the number (unit index), you reload again, press Shift+6 that number of times and finally Shift+9 – for a minimally invasive way to break the gridlock.
(I'm not exactly active in this subforum, but I have it on my "watch" list.)