• 0
Sign in to follow this  
Followers 0
Rob

Not all constructions are getting loaded at restart

Question

Hello,

we have the problem, that not all constructions are getting loaded at server restart.

A quick look in the exile constructions db loading code showed, that exile loads all subsequent constuction ids with a page size of 100.
And it is stopping, when it finds a page with less than 100 entries. It assumes, it is the last page.

However, when looking at our construction IDs, we already have holes in the ID chain. So the loading is stopping to early.

I just wonder, why I don't find any entry about missing construction parts after server restart here.

Am I the only one with this problem?

BR
Rob
 

Edited by Rob

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

i personally have not heard of this.

 

do this:

 

backup current DB

make new db

start exile with NO MODS AT ALL

 

re-test

 

if passes, prob corrupt DB or 'bad' mod

if fails, check bad RAM/HDD

 

hope this helps!

 

:)

 

Share this post


Link to post
Share on other sites
  • 0

Hmm,

I have solved it with a temporary fix, by changing

	if (_numberOfConstructions < 100) then
	{
		_continueLoading = false;
	};

to

	if (_page > 30) then
	{
		_continueLoading = false;
	};

which simply blindly trys to load 30*100 objects.

However, I still don't understand, why nobody else has this problem...

BR
Rob

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.