ReDBaroN Posted April 9, 2016 Report Share Posted April 9, 2016 23:59:09 Error in expression <veBuildQueue pushBackUnique _x; }; }; } forEach _objects; > 23:59:09 Error position: <forEach _objects; > 23:59:09 Error foreach: Type Object, expected Array 23:59:09 File x\addons\a3_epoch_server\compile\epoch_vehicle\EPOCH_server_save_vehicles.sqf, line 32 Getting this error since updating. Quite a lot of hits in the rpt. Not sure of any consequences atm. Anyone else? Thanks Link to comment Share on other sites More sharing options...
Demellion Posted April 12, 2016 Report Share Posted April 12, 2016 On 09.04.2016 at 2:24 AM, ReDBaroN said: 23:59:09 Error in expression <veBuildQueue pushBackUnique _x; }; }; } forEach _objects; > 23:59:09 Error position: <forEach _objects; > 23:59:09 Error foreach: Type Object, expected Array 23:59:09 File x\addons\a3_epoch_server\compile\epoch_vehicle\EPOCH_server_save_vehicles.sqf, line 32 Getting this error since updating. Quite a lot of hits in the rpt. Not sure of any consequences atm. Anyone else? Thanks Check if you updated server side properly, since this doesnt happen in vanilla RPT log. My big advice is to start assembling your server from clean 0.3.8. This malfunction will definitely cause your vehicles will not be saved, as there should array, not object(s). Link to comment Share on other sites More sharing options...
ReDBaroN Posted April 12, 2016 Author Report Share Posted April 12, 2016 (edited) definitely updated server side from scratch for 038. odd thing is that vehicles are saving across restarts, both bought and found and no complaints from players yet of missing vehicles. Just periodically get hit with this error in the rpt..... I'm wondering whether it's something to do with custom vehicles I have added......? Edited April 12, 2016 by ReDBaroN Link to comment Share on other sites More sharing options...
Brian Soanes Posted April 12, 2016 Report Share Posted April 12, 2016 Happening to us on stock vanilla server pbo also Link to comment Share on other sites More sharing options...
ReDBaroN Posted April 12, 2016 Author Report Share Posted April 12, 2016 Don't think anything to do with custom vehicles or mission vehicles either. Just tested by constantly tabbing into the server rpt while interacting with added, mission and default epoch vehicles and nothing. Server locked, just me in it. Then later on, without anything noticeable going on, it appears again.... Link to comment Share on other sites More sharing options...
vbawol Posted April 12, 2016 Report Share Posted April 12, 2016 I cannot see anything that would cause it yet, please check that all occurrences of: remoteExec["EPOCH_server_save_vehicles", 2]; have the square brackets [] around the EPOCH_arr_interactedObjs variable like below. [EPOCH_arr_interactedObjs] remoteExec["EPOCH_server_save_vehicles", 2]; Link to comment Share on other sites More sharing options...
ReDBaroN Posted April 12, 2016 Author Report Share Posted April 12, 2016 Thanks vbawol. Which pbo or file are we looking in to check for the brackets? Just searched on: EPOCH_arr_interactedObjs in all the server pbo's and mission file and nothing was returned... Link to comment Share on other sites More sharing options...
vbawol Posted April 12, 2016 Report Share Posted April 12, 2016 It should be in epoch_code and epoch_config folders in the mission file. These are the 3 locations it is possibly called from via the client RemoteExec to server.https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf#L65 https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_code/compile/setup/masterLoop/Event2.sqf#L2https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgEpochClient.hpp#L67 Link to comment Share on other sites More sharing options...
He-Man Posted April 13, 2016 Report Share Posted April 13, 2016 Found the problem! It is not an Epoch failure, its from Infistar! - Open A3AH.sqf - Search for EPOCH_server_save_vehicles - Change EPOCH_arr_interactedObjs remoteExec['EPOCH_server_save_vehicles', 2]; to [EPOCH_arr_interactedObjs] remoteExec['EPOCH_server_save_vehicles', 2]; This failure also causes, that Vehicles / Storages will not be saved after put in / take items, so chage it !!! klinGiii and Grahame 2 Link to comment Share on other sites More sharing options...