hadabascus
hadabascus
Various crashes with error "Exception message: Index was outside the bounds of the array". To solve these, the decompiled code needs to be translated to managed code, see [comment below](https://github.com/rajko-horvat/OpenCiv1/issues/44#issuecomment-2027686079).
This would help solve https://github.com/editorconfig/editorconfig-geany/issues/6 and https://github.com/geany/geany/issues/1464.
I used both DOSBox and OpenCiv1 and somehow got to a state where it asks to insert disk A. Never had that happen before. [CIVIL0.zip](https://github.com/user-attachments/files/19720779/CIVIL0.zip)  
Some examples, all on a25ae37333f98616070d844158caa812bb8f9401 [CIVIL0.zip](https://github.com/user-attachments/files/19720744/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720745/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720746/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720747/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720748/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720749/CIVIL0.zip) [CIVIL0.zip](https://github.com/user-attachments/files/19720750/CIVIL0.zip)
On current master branch (a25ae37333f98616070d844158caa812bb8f9401) [CIVIL0.zip](https://github.com/user-attachments/files/19675007/CIVIL0.zip)
[CIVIL0.zip](https://github.com/user-attachments/files/19476201/CIVIL0.zip)
Both for you and also for your opponent. In original Civilization this was not possible. [CIVIL0.zip](https://github.com/user-attachments/files/19475731/CIVIL0.zip)
**To Reproduce** Keep pressing Enter. The government collapses and after some more events, before you can choose the new government (I have the Pyramids), the game crashes. [CIVIL0.zip](https://github.com/user-attachments/files/19410850/CIVIL0.zip)
**Describe the bug** Attacking a unit with a Fighter, it runs out of fuel and the game crashes. This is on the current master branch. [CIVIL0.zip](https://github.com/user-attachments/files/19398376/CIVIL0.zip)
**Describe the bug** The city is not harvesting its center square. Clicking on a city squares does not fix this in OpenCiv1, but does fix it in Civilization 1 version...