• 0
Matty_1CE

Buildings Are Duplicating & Objects Are Flying Everywhere - Exile Malden

Question

Hello,

This is my first post on the forums so I apologize if it does not follow a certain format.

I have been working on an Exile server on the map Malden. I recently installed all of the mods and logged onto the server to see items flying all over my screen. Upon further investigation, buildings that I placed in the Eden editor duplicated themselves. By this I mean that if I walk up to a barracks, for example, and open the door, there is another door, and then another door. I have seen up to four doors. I have searched around and have not been able to find a solution to this. Most solutions I found were over two years old, and revolved around the same idea, which is adding:

if (isServer) then {

//Code here

}; <-----This is at the end of the document.

In the initServer.sqf, which has not worked.

Any help is appreciated.

Thanks,

Matty_1CE

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

Hello @Matty_1CE,

You have SOMEWHERE, the code 'building' these thing to build them again.  Where?  This could be ANYWHERE in your code.

BUT...all is not lost.  I think you are going about it the wrong way.

You want to add some buildings to the map that do not exist (or traders)?  Note:  Adding traders will NOT add any 'zones' for them!

#1 - Start ARMA editor with NO MODS unless they are used on the server itself MINUS the mod below in #4.

#2 - Open that map

#3 - Place done stuff

#4 - Use this add-on to get your stuff: 

 

#5 - And your done!  Just add the created file to your InitServer.SQF.  THIS WAY WORKS 100% OF THE TIME!

As a note, I am not sure if you need 3den Enhanced loaded as well.  I run both so I do not know.  If so, it is fine - No issues with that.

 

Bam!  You're done!

 

:)

 

Edited by Z80CPU
  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Hey @Z80CPU,

I appreciate the help! However, after completing these steps, the problem still persists.

I did find a solution - well it's kind of a solution - to the problem. I left my initServer.sqf blank, and the amount of duplicated buildings and flying objects decreased significantly. However, I know that this cannot be a valid fix.

I believe I am confused on the purpose of the initServer.sqf file. I do not see why it is needed if the mission.sqm handles the map with all of my custom buildings and objects. If you could please clarify this for me it would be much appreciated. 

This is my first time working on an Arma 3 server, so I apologize if these questions sound silly. Thanks again for the help!

Regards,

Matty_1CE

Share this post


Link to post
Share on other sites
Advertisement
  • 0

@Matty_1CE -

Your're fine....  :)

JUST FOLLOW DIRECTIONS!  This is why it is NOT working!

EVERY file is there for a REASON!  Did the install tutorial tell you to DELETE that file or ANY FILE???  NO!

I gave you the CORRECT DIRECTIONS.

If you want it to WORK, then you need to FOLLOW DIRECTIONS!

 

And to be honest, I do not know either...and I could care less...I followed directions and it WORKS!  Problem solved for me!

;)

 

 

Edited by Z80CPU

Share this post


Link to post
Share on other sites
  • 0

@Z80CPU,

I will give it another shot. For the record, I only deleted the initServer.sqf AFTER trying your solution.

With the M3 Editor link you posted, is that just the default Eden editor that is built into Arma 3? I think that may be where the issue is arising.

I forgot to mention that I do have the Exile editor addon that allows me to export the initServer.sqf file easily, along with initLocalPlayer.sqf.

Again, I'm going to give it another go to make sure I did not miss any steps.

Thanks,

Matty_1CE

Share this post


Link to post
Share on other sites
  • 0

@Matty_1CE -

The M3 is another means to export trader/objects/all to the clipboard which you can put into the SQF file.

Keep this in mind:  If you have 2 things spawning on top of each other, YOU TOLD ARMA TO DO SUCH!

So, you have 2 'things' SOMEWHERE that is putting these items down.

 

Did you ever notice too that when you got the server files, there was NO MAP?

EVERYTHING that is to be placed on the map is done thru the SQF file.  You put NOTHING ON THE MAP!  I think this is where you're messing up.

You put stuff on the map, save this stuff to the Exile's mission file AND then you save them to the SQF file.  Upon loading you WILL have double objects spawning.

 

Proper Step (Altis as an example):

Start ARMA Editor (Load Exile Client IF AND ONLY IF Putting Down Exile Stuff)

Load BLANK Atils Map

Put/Place Stuff Down

Export Stuff To The SQF File (Your Way/My Way, Matters Not)

EXIT ARMA - NO SAVING OF THIS MAP!!!

Done - Start Exile!

 

That is all there is to it!   When Exile starts, it will load the DEFAULT map from the mission file, THEN it will load the items in the SQF file...and it will load these items ONLY ONE TIME TOO!

:)

 

Edited by Z80CPU

Share this post


Link to post
Share on other sites
  • 0

Make sure the buildings you're exporting from the editor are only entered into the initServer.sqf file in the mission file.

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

  • Recently Browsing   0 members

    No registered users viewing this page.