82ndAB_Bravo17 Posted September 27, 2016 Report Share Posted September 27, 2016 We are not getting any materials back when removing building parts about 60% - 80% of the time. I removed about 30 corrugated walls one after the other, during which time the server conditions would have been nearly identical, and got back only about 4 sets of materials. The same thing was happening with all the other types of building items that I tried. I have also tested on completely stock Epoch server with similar results. Link to comment Share on other sites More sharing options...
vbawol Posted September 27, 2016 Report Share Posted September 27, 2016 At first thought it maybe that the empty weaponholder is cleaned up before the server can add the items to it. can you test this by adding a little debug and repacking your server pbo? diag_log format["DEBUG EPOCH_server_removeBUILD: %1 parts: %2 for %3",isNull _gwh, _removeParts, _objType]; Just above this line: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server/compile/epoch_bases/EPOCH_server_removeBUILD.sqf#L48 You should always see: DEBUG EPOCH_server_removeBUILD: false Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted September 28, 2016 Author Report Share Posted September 28, 2016 Will give it a try, thanks for the quick response. Link to comment Share on other sites More sharing options...
Grahame Posted September 28, 2016 Report Share Posted September 28, 2016 We were seeing this today. Seemed that it was building components affected. We got no parts back from cinder walls or garage doors. However Tipi Kits and Shelves were consistently giving back parts Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted September 28, 2016 Author Report Share Posted September 28, 2016 Actually Awol, wouldn't that test need to go at line 167? Or am I misreading something? Link to comment Share on other sites More sharing options...
vbawol Posted September 28, 2016 Report Share Posted September 28, 2016 @82ndAB_Bravo17 sure, you can try moving it down closer to where the final addMagazineCargoGlobal command is. I also edited the debug code above to show if you are getting the right parts data from the configs. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted September 29, 2016 Author Report Share Posted September 29, 2016 Yes, that seems to be the issue. It seems to be solved by adding the code for checking for and creating the weaponholder just before it is used, at line 167 Sometimes there is quite a delay before the itema actually appear on the ground. Link to comment Share on other sites More sharing options...
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