# Okay have a persistant error code Function #2095. How do I find where to fix?

**URL:** <https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144>\
**Category:** Player Questions\
**Created:** [September 27, 2026, 8:01pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144 "2026-09-27T20:01:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FjordBjorn](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/fjordbjorn/32/1642_2.png) [@FjordBjorn](https://aurora4x.com/u/FjordBjorn)\
**Post date:** [September 27, 2026, 8:01pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/1 "2026-09-27T20:01:29Z")

</div>

![image](https://canada1.discourse-cdn.com/flex011/uploads/aurora4x/original/2X/b/b7b15084e8cfde72f2d1c1f5d0499ce8dbce272d.png)

---

<div class="post-metadata">

**Author:** ![AuroraSteve](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/aurorasteve/32/96_2.png) [@AuroraSteve](https://aurora4x.com/u/AuroraSteve)\
**Post date:** [September 27, 2026, 9:17pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/2 "2026-09-27T21:17:59Z")

</div>

#2095 is maintenance production.

I think I fixed a bug for v3.0 caused by an NPR that didn’t have a capital population. How comfortable are you with looking things up in the database?

---

<div class="post-metadata">

**Author:** ![skoormit](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/skoormit/32/341_2.png) [@skoormit](https://aurora4x.com/u/skoormit)\
**Post date:** [September 28, 2026, 12:23pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/3 "2026-09-28T12:23:07Z")

</div>

> [@AuroraSteve](#):
>
> I think I fixed a bug for v3.0

Looks like it.  
 ![image](https://canada1.discourse-cdn.com/flex011/uploads/aurora4x/original/2X/6/6e97571ac9dec01780f592ef0b3f16af748d1af9.png)

---

<div class="post-metadata">

**Author:** ![FjordBjorn](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/fjordbjorn/32/1642_2.png) [@FjordBjorn](https://aurora4x.com/u/FjordBjorn)\
**Post date:** [September 28, 2026, 6:07pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/4 "2026-09-28T18:07:47Z")

</div>

Never done it before

---

<div class="post-metadata">

**Author:** ![AuroraSteve](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/aurorasteve/32/96_2.png) [@AuroraSteve](https://aurora4x.com/u/AuroraSteve)\
**Post date:** [September 29, 2026, 8:48am UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/5 "2026-09-29T08:48:44Z")

</div>

Do you have a way to open the AuroraDB file and view it?

---

<div class="post-metadata">

**Author:** ![paolot](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/paolot/32/376_2.png) [@paolot](https://aurora4x.com/u/paolot)\
**Post date:** [September 29, 2026, 10:29pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/6 "2026-09-29T22:29:02Z")

</div>

May I suggest this one: [DB Browser for SQLite](https://sqlitebrowser.org/) ?

---

<div class="post-metadata">

**Author:** ![FjordBjorn](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/fjordbjorn/32/1642_2.png) [@FjordBjorn](https://aurora4x.com/u/FjordBjorn)\
**Post date:** [September 30, 2026, 5:05pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/7 "2026-09-30T17:05:19Z")

</div>

OK I have DB browser for SQlite. what exactly would I be looking for? How is it organized. cause if it’s just a bizilion lines of code I’ll give up now.

---

<div class="post-metadata">

**Author:** ![AuroraSteve](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/aurorasteve/32/96_2.png) [@AuroraSteve](https://aurora4x.com/u/AuroraSteve)\
**Post date:** [September 30, 2026, 5:35pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/8 "2026-09-30T17:35:47Z")

</div>

Firstly, there will be a few spoilers in this process, so if that is a problem you might be better starting a new game. Assuming not, here goes…

In the database is a list of tables. One is called FCT\_Race. There will be rows of data, with each row containing information about one race. The data is organised into columns, such as RaceID, GameID, etc.

One of those columns, probably the third, is called NPR and the data for each race in that column will be either 1 or 0. The 1 means it is an AI race. Make a list of the RaceIDs for each race with a 1 in the NPR columns.

Note if you are running multiple games, you only need the races for your current game. You can check the GameID in the FCT\_Game table. Just find the GameName you recognise, write down the ID, then only look for races in FCT\_Race with NPR = 1 and the right GameID.

Now open FCT\_Population. There is a column called Capital. You need to sort the column into descending order. In the software I use (Valentina Studio), all I need to do is click on the column to sort ascending and then click again for descending. If anyone knows that DB Browser is different, please jump in.

Once you have that table sorted in descending order of Capital, you will have a list of populations with a 1 in the capital column. Read down that list and check the RaceID of each population against the list of AI RaceIDs you made earlier. If you have a RaceID without a matching population with Capital = 1, that is causing the bug.

If that is the case, find a population with that RaceID, preferably the one with the largest value in the Population column and change the 0 in the Capital column to a 1.

Make sure the game is not running when you do this. Also worth making a copy of the file before you modify it.

---

<div class="post-metadata">

**Author:** ![FjordBjorn](https://yyz1.discourse-cdn.com/flex011/user_avatar/aurora4x.com/fjordbjorn/32/1642_2.png) [@FjordBjorn](https://aurora4x.com/u/FjordBjorn)\
**Post date:** [September 30, 2026, 9:02pm UTC](https://aurora4x.com/t/okay-have-a-persistant-error-code-function-2095-how-do-i-find-where-to-fix/1144/9 "2026-09-30T21:02:55Z")

</div>

okay thanks Steve I think I got it.
