Jump to content
Sign in to follow this  
piffaroni

is it better to but the buildings in the mission file or the database???

Recommended Posts

I was wondering, to have a lag free server, whats the best place to put the buildings and bases?

 

the database or mission SQF?

Share this post


Link to post
Share on other sites

I prefer the mission file as it seems to run smoother and it's easier to implement and delete/edit (in my opinion) as it's just a case of adding and deleting the relevant files, rather than having to edit your database..

 

However, buildings in the mission file seem to have a delay loading in on server restarts (in my experience) and can often take 2-3 minutes to load in, depending upon your host, how many map additions there are, how many separate map files you have included etc. 

 

Hope this helps.

Edited by Box

Share this post


Link to post
Share on other sites

Database is easy, just apply and wait for next restart.

if you use the mission file and you built 1 thing incorrectly and you want to correct it, players have to download new mission file again.

and if you have a lot of buildings in combo with large loadingscreen, might get pretty big.

 

if you have the option, try database.

Share this post


Link to post
Share on other sites

I prefer the mission file as it seems to run smoother and it's easier to implement and delete/edit (in my opinion) as it's just a case of adding and deleting the relevant files, rather than having to edit your database..

 

However, buildings in the mission file seem to have a delay loading in on server restarts (in my experience) and can often take 2-3 minutes to load in, depending upon your host, how many map additions there are, how many separate map files you have included etc. 

 

Hope this helps.

so, my idea behind this, and correct me if I am wrong, if I do it to the mission, each player downloads it? Then, it would for the most part, create less lag because it wouldnt be at the merrcy of being have to streamed to players who might not have good internet speeds? Would this take care of dysnc issues as well?

 

 

seems like data base each player needs to constantly need MORE information being piped down through the internet, causing a bottle neck?

 

less info means less lag?

Edited by piffkush

Share this post


Link to post
Share on other sites

If you have a shitload of objects to get loaded from db you might get a yellow or red link just after server startup.

And with a shitload I mean like 2000 depending on the server/db speeds.

I think that mission file method is better for server restart times and server performance if you are going all out on amounts.

On lower amounts below 1000 there won't be much difference in performance between the 2 methods.

But somehow I prefer the mission file method because it eliminates possible issues with AI shooting through them and invisible objects if that object has an animation like some anti-air radars with moving parts.

Overall, it's best to keep an eye on the amount of extra buildings and what they do.

If they spawn zombies or loot then they can be harder on your server than other normal objects.

Server doesnt give a shit about non-loot/zombie buildings.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×