tigger Posted October 10, 2013 Report Share Posted October 10, 2013 As described. Can I fix this somehow? Add something to dayz_server.pbo perhaps? Link to comment Share on other sites More sharing options...
0 Bags2247 Posted October 10, 2013 Report Share Posted October 10, 2013 if they are custom addons, and they are spawned clientside.. SargeAI won't see them or be affected by them..... Unless your talking about the EPOCH modular building system, if so.. I've no idea Link to comment Share on other sites More sharing options...
0 Achmed Posted October 10, 2013 Report Share Posted October 10, 2013 How do you spawn custom addons server side? Link to comment Share on other sites More sharing options...
0 Torndeco Posted October 10, 2013 Report Share Posted October 10, 2013 Have reports of similiar issues.. in the end i added code to stop ai from checking out buildings in a certain range of plotholes. Its in upsmon code somewhere i believe Also stopped zombies + loot from spawning near plotholes aswell Seems to reduce / stop it from happening as much. note: all my buildings are serverside + from a quick glance epoch building is serverside aswell Link to comment Share on other sites More sharing options...
0 Bags2247 Posted October 11, 2013 Report Share Posted October 11, 2013 Matthew, here's a quote from opendayz Unpack your server.pbo and create a Folder inside (call it building if you want, I called it addons). Open your server_functions.sqf wich is in the init folder with a texteditor and put this in, at the very bottom. Code: [] execVM "\z\addons\dayz_server\yourfoldername\yourfilename.sqf"; (replace yourfoldername and yourfilename with the actual names of your folder and files) You can have as many of this lines like you want to add files Code: //foldername [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf"; [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf"; [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf"; [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf"; [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf"; Link to comment Share on other sites More sharing options...
0 tigger Posted October 11, 2013 Author Report Share Posted October 11, 2013 Thanks, sorry, I meant they are walking through epoch modular building walls.I assumed these must be placed server-side, so it's a bit strange. We have a locked castle tower and they would simply walk through the doors. Link to comment Share on other sites More sharing options...
0 Achmed Posted October 11, 2013 Report Share Posted October 11, 2013 Thanks bags, Do you know if other things could be put server side as well? Anyone have a list of what works server side or is it just map mods? Link to comment Share on other sites More sharing options...
0 axeman Posted October 11, 2013 Report Share Posted October 11, 2013 Pretty much all files can be added to the server pbo and referenced by the client. A cache is created client side, I don't know how often that cache is updated, I would expect only if the server pbo has changed, not tested. If everything is in the MPMission folder that will be downloaded each time a player joins the server. Which machine that runs the code is the key thing: http://www.kylania.com/ex/?p=26 if (isServer) then { <CODE TO RUN IN HERE> }; will ensure it is run on the server only.. Standard dayZ debris and zombies are created clientside (on players pc), this is why they don't 'see' buildings created by the server. The Epoch deconstructable debris piles are serverside, I am told, as are the modular buildings.. AI created on the server, I would think, should see any serverside buildings. Though I have seen them act weird around map created buildings and shoot through them. They also have trouble negotiating through them. This is a limitation in the way Arma works, buildings need to be worked into the AI code. Maybe making troop leaders aware of nearby buildings would help, something I will test. Anything added to the AI is going to add a load to the server. Link to comment Share on other sites More sharing options...
0 tigger Posted October 11, 2013 Author Report Share Posted October 11, 2013 So I suppose it can be checked off as a accidental bug and placing more doors on the way to the helicopter will solve this :) I would assume that AI doesn't have issues taking a locked vehicle as it doesn't know about locking at all. Link to comment Share on other sites More sharing options...
0 chi Posted October 15, 2013 Report Share Posted October 15, 2013 When I move my addon's to server side, they spawn twice, even when i take them out of the mission .pbo. What could cause this? They spawn on overlaying each other, so there are 2 doors to open on a building and such. Thanks. Link to comment Share on other sites More sharing options...
Question
tigger
As described. Can I fix this somehow? Add something to dayz_server.pbo perhaps?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now