• 0
Sign in to follow this  
Matty_1CE

Need Help! Objects & Buildings Are Duplicating! Arma 3 Exile Server

Question

Hello,

I made an earlier post about an issue that I have been having when working on my Exile server, but recent developments have prompted me to update some of my questions and concerns.

I recently got all of the mods loaded up on my server and logged on for the first time. When I spawned in, I immediately saw objects flying through the air. When I went up to my first building, it had spawned three copies of itself in the same location, forcing me to have to open three doors to enter the building.

This was the premise of my earlier post, but since then I have made some progress towards finding a solution.

For starters, let me clarify that I have a custom mission.sqm file with custom traders and military bases. I have been working on it for a while now, so there are quite a few locations on the map. Let me also clarify that the buildings and objects that are flying and duplicating are custom objects that I placed in the Arma 3 Eden Editor. These custom objects did not fly or duplicate when I tested them out in the Editor, and only began giving me issues once the mission.sqm was running on the server.

Speaking generally, it seems that these buildings and objects are being created twice (in some instances more than that) when the server boots up. Flying objects are likely a result of duplicate objects colliding with one another.

My main concern is that this is an issue with the initServer.sqf file. This may seem like an odd question, but what is the purpose of this file? From what I can see, it simply logs the location of all of the custom buildings and objects that I have placed. Why is this necessary, seeing as these objects and buildings are already in the mission.sqm file?

I tried removing the initServer.sqf file, and many of the duplicate objects and buildings disappeared, but not all of them. Removing the initServer.sqf can't be the solution, as I know it is one of the key files within the server.

I have absolutely no idea what to do next. I have not been able to find a solution on any forum, with many posts being several years old. Any help would be appreciated.

Thanks,

Matty_1CE

 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 1

either mission.sqm or initServer.sqf.....not both or you'll dupe....

edit: check and see if you've got the  same objects at the same positions across both files. sounds to me like you have.

Edited by BaroN
  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Hey @BaroN,

It looks like the objects are in the same locations. So the initServer.sqf is not needed if you have the mission.sqm? That has to be what is causing the issue.

Thanks,

Matty_1CE

 

Share this post


Link to post
Share on other sites
Advertisement
  • 0

solved in discord.

Use initServer.sqf or mission.sqm for buildings. Not both.

Use mission.sqm for markers and zones.

Use initPlayerLocal.sqf for traders and xref them with the mission config.cpp file's cfg_traders and cfg_arsenal

Thanks @Brenner for the post above which is another way as well. I haven't used that only because exile already has a framework for adding building objects.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.