82ndAB_Bravo17 Posted June 5, 2016 Report Share Posted June 5, 2016 We are having an issue where a vehicle will be parked inside a base, vanish for a few restarts, and then magically reappear again. One time two vehicles that had been missing for some time both reappeared on the same restart and were half on top of each other. Since I discovered this just after a restart I tried another restart, and this time they were both gone again. I had thought that the vanishing vehicles was caused by them getting damaged and exploding on a restart, but that can't explain them suddenly deciding to come back again. Has anyone else experienced this, or is it unique to our server? Link to comment Share on other sites More sharing options...
Kenobi Posted June 5, 2016 Report Share Posted June 5, 2016 Yes, we had. After restart, vehicles stay around 5 minutes, then they disapear. I located these vehicles in DB and I deleted them there, only way to get rid of. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 9, 2016 Author Report Share Posted June 9, 2016 Been doing some more research. Vehicle was fine for a few restarts, and then disappeared again this time. Vehicle seems to be being placed OK, is being Filled and is still in database, but it is not in game. This is the Vehicle entry in the database, which looks OK to me. ["B_MRAP_01_EPOCH",[[[12177,13980,0],[0.458984,0.713867,0.00100231]],[0.462915,-0.886401,-0.00153682],[0.00109099,-0.00116401,0.999999]],0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0.852876,[[["arifle_MX_GL_F","","","",[],""],["MMG_01_hex_ARCO_LP_F","","acc_pointer_IR","optic_Arco",[],"bipod_02_F_hex"]],[["1Rnd_HE_Grenade_shell","200Rnd_65x39_cased_Box","9rnd_45X88_magazine","150Rnd_93x64_Mag","150Rnd_93x64_Mag","150Rnd_93x64_Mag","150Rnd_93x64_Mag","150Rnd_93x64_Mag","FAK","FAK","FAK","FAK","FAK","FAK","FAK","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_338_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","10Rnd_93x64_DMR_05_Mag","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","30Rnd_65x39_caseless_mag_Tracer","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","3Rnd_HE_Grenade_shell","30Rnd_65x39_caseless_mag_Tracer","100Rnd_65x39_caseless_mag_Tracer","100Rnd_65x39_caseless_mag_Tracer","100Rnd_65x39_caseless_mag_Tracer","100Rnd_65x39_caseless_mag_Tracer"],[1,200,9,150,150,150,150,150,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,3,3,30,3,3,3,3,3,3,3,3,3,3,3,3,3,30,100,100,100,100]],[["B_Carryall_cbr"],[1]],[["acc_pointer_IR","optic_Arco","bipod_02_F_hex","H_61_EPOCH","V_9_EPOCH","V_3_EPOCH"],[2,2,2,1,1,1]]],[],0] Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 10, 2016 Author Report Share Posted June 10, 2016 Found out that the same thing happened to 2 Helicopters as well. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 10, 2016 Author Report Share Posted June 10, 2016 Today the Hunter and 1 Heli are back, but the other heli is still awol. edit: It looks like the second heli came back at a prior retstart and was destroyed. Link to comment Share on other sites More sharing options...
vbawol Posted June 11, 2016 Report Share Posted June 11, 2016 I will add some debug lines to the load vehicles function so we can see when this is happening. What Kenobi said makes me think its an issue with the token check. However now that I look, when our vehicle simulation handler is disabled so is this check (bug). https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_server/system/server_monitor.fsm#L325-L333 Also, do you have this line in your epochconfig.hpp set to true? https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/%40epochhive/epochconfig.hpp#L31 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 11, 2016 Author Report Share Posted June 11, 2016 We have that set to false. If you let me know where to put the debug lines I will add them as well, in the meantime I'll try a few places myself. Link to comment Share on other sites More sharing options...
Kenobi Posted June 11, 2016 Report Share Posted June 11, 2016 We had this issue more then month ago i think but very rarely. On version 0.3.7.0 and simulationhandler was set to false by default. Now I can't reproduce this issue, I have DB backups for only 30 days. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 11, 2016 Author Report Share Posted June 11, 2016 Slightly off-topic: It looks like the types of vehicles in the traders are not taken into account when choosing what to spawn to replace a destroyed vehicle. I sold 9 SUVs to a trader and destroyed 1 go-kart. It chose to respawn another SUV. diag_log: 14:03:25 "Epoch: Vehicle SPAWN TIMER 10.325, LOADED 147 VEHICLES" 14:03:25 "Epoch: Spawning vehicles" 14:03:25 "DEBUG: count EPOCH_VehicleSlots: 11 EPOCH_storedVehicleCount: 9 _spawnCount 1" 14:03:25 "DEBUG: _allowedVehiclesList: ["C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","C_SUV_01_EPOCH","K04","C_Heli_Light_01_civil_EPOCH"] " 14:03:26 "DEBUG: Created vehicle: 4da49600# 1814953: suv_01_f.p3d" Still looking for why the vehicles vanish/don't spawn Link to comment Share on other sites More sharing options...
vbawol Posted June 12, 2016 Report Share Posted June 12, 2016 Check out the changes in this https://github.com/EpochModTeam/Epoch/commit/e97c17ce1207b4e5460ce3236f0790907571f848 commit for the logging changes for load vehicle and fixes for the per vehicle limits not being observed when vehicles are in stock at a trader. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 12, 2016 Author Report Share Posted June 12, 2016 Thanks vbawol, I've copied he vehicle related changes to our files and will report back if I find anything. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 12, 2016 Author Report Share Posted June 12, 2016 Again not quite the issue being looked at, but I had one instance when testing where a slot no that had been assigned to a vehicle that was created ended up being left in _vehicleSlotIndex and so the current vehicle was replaced. No idea how that happened, but if code is getting randomly not executed in the file it could explain the original issue. Look at slot 169 in the following rpt snippet: Spoiler 13:21:45 "VEHICLE:Slot 167 is [1,["C_Rubberboat_04_EPOCH",[[[22125,6533,1],[0.125,0.79541,0.687859]],[-0.920993,-0.389578,-0],[-0,0,1]],0,[0.720183,0.154719,0.107199,0.136462,0.538177,0.559965,0.756115,0.788177,0.430003,0.380555],0.647673,[[["ruger_pistol_epoch","","","",[],""]],[["10rnd_22X44_magazine"],[10]],[[],[]],[["H_55_EPOCH","acc_flashlight"],[1,1]]],[],0]]" 13:21:45 "FILLING:Slot 167 _vehicle 50b88100# 1815257: boat_transport_01_f.p3d pos: [22125.1,6533.8,1.68786]" 13:21:45 "VEHICLE:Slot 168 is [1,["ebike_epoch",[[[18790,16991,0],[0.613281,0.257813,0]],[-0.918924,0.394434,-0],[-0,0,1]],0,[0.154048,0.743641,0.7577,0.0450521,0.291058,0.188875,0.710038,0.156207,0.755383,0.938267,0.234457,0.64469,0.615631,0.512409,0.0541625,0.899878,0.708683,0.0368642,0.838852,0.254265,0.00431737],0.28494,[[],[["ItemDocument","Chemlight_green","9Rnd_45ACP_Mag"],[1,1,9]],[[],[]],[[],[]]],[],0]]" 13:21:45 "FILLING:Slot 168 _vehicle 51b2ab00# 1815258: ebike.p3d pos: [18790.6,16991.3,0.0835419]" 13:21:45 "VEHICLE:Slot 169 is [1,["mosquito_epoch",[[[16699,16071,0],[0.300781,0.299805,-0.10586]],[-0.877331,-0.476603,0.0560409],[0.0481685,0.0287303,0.998426]],0.513773,[0.385066,0.945208,1,1,0.926396,0.0723128,0.819678,0.211367,0.0886957,0.314428,0.735541,0.251398,0.95554,0.857689,0.817757,0.0844102,0.0984249,0.297457],0.186203,[[["sr25_epoch","","","",[],""]],[["20Rnd_762x51_Mag","ItemSodaMocha"],[20,1]],[[],[]],[["optic_Holosight_smg"],[1]]],[],0]]" 13:21:45 "FILLING:Slot 169 _vehicle 51b29600# 1815259: mosquito.p3d pos: [16699.4,16071.3,-0.10586]" 13:21:45 "VEHICLE:Slot 170 is [1,["C_Offroad_01_EPOCH",[[[13135,20645,0],[0.458008,0.701172,0]],[-0.143874,-0.989596,0],[0,0,1]],0,[0.809381,0.729206,0.349344,0.771726,0.436772,0.360298,0.964758,0.826924,0.0936533,0.889543,0.717277,0.231042,0.0104711,0.706616,0.915749,0.0550977,0.159759,0.874776,0.417172,0.559771,0.251645,0.45255,0.820907,0.427211,0.862339,0.811474,0.0515638,0.358083,0.324634,0.263417,0.0493082,0.3776,0.897709],0.473758,[[["hgun_P07_F","","","",[],""]],[["16Rnd_9x21_Mag"],[16]],[[],[]],[["acc_flashlight","H_45_EPOCH"],[1,1]]],[],0]]" 13:21:45 "FILLING:Slot 170 _vehicle 51ab2b00# 1815289: offroad_01_unarmed_f.p3d pos: [13135.5,20645.7,0]" 13:21:45 "VEHICLE:Slot 171 is [1,["C_Quadbike_01_EPOCH",[[[6826,21780,0],[0.101563,0.015625,-0.00271606]],[-0.874551,0.484934,-0],[-0,0,1]],0,[0.324651,0.0515438,0.338568,0.419534,0.725378,0.808229,0.390276,0.105038,0.622554,0.0325481,0.348772,0.335533,0.308938,0.329646,0.54502,0.449096,0.670331,0.985458,0.487864,0.0671808,0.984709],0.373857,[[["srifle_DMR_01_F","","","",[],""],["hgun_ACPC2_F","","","",[],""],["SMG_02_F","","","",[],""],["m16_EPOCH","","","",[],""]],[["10Rnd_762x54_Mag","VehicleRepair","9Rnd_45ACP_Mag","30Rnd_9x21_Mag","30Rnd_556x45_Stanag"],[10,1,9,30,30]],[[],[]],[[],[]]],[],3]]" 13:21:45 "FILLING:Slot 171 _vehicle 51ab1600# 1815290: quadbike_01_f.p3d pos: [6826.1,21780,-0.00515747]" 13:21:45 "VEHICLE:Slot 172 is [1,["K04",[[[7999,13957,0],[0.310547,0.119141,0.00540161]],[-0.804818,0.593522,-0],[-0,0,1]],0,[0.102776,0.299575,0.722061,0.397652,0.0420661,0.175871,0.313984,0.315569,0.202528,0.302022,0.316043,0.620994,0.582846,0.247591,0.106877,0.268203,0.0107215,0.567828,0.426656],0.445306,[[["srifle_LRR_F","","","",[],""]],[["ItemCorrugated","7Rnd_408_Mag"],[1,7]],[[],[]],[["V_28_EPOCH","U_O_FullGhillie_sard"],[1,1]]],[],0]]" 13:21:45 "FILLING:Slot 172 _vehicle 519f0100# 1815300: kart_01_f.p3d pos: [7999.17,13957.3,0.189026]" 13:21:45 "VEHICLE:Slot 173 is [1,["O_Heli_Transport_04_EPOCH",[[[12636,6580,17],[0.673828,0.559082,0.375595]],[-0.360571,0.931374,0.0503103],[0.0535847,0.0745339,-0.995778]],1,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],0.717413,[[["hgun_Pistol_heavy_01_F","","","",[],""]],[["11Rnd_45ACP_Mag","9rnd_45X88_magazine","sweetcorn_epoch"],[11,9,1]],[[],[]],[[],[]]],[],0]]" 13:21:45 "DEBUG: vehicle destroyed already (1) or invalid vehicle class: O_Heli_Transport_04_EPOCH" 13:21:45 "VEHICLE:Slot 174 is [1,["I_MRAP_03_EPOCH",[[[19320,15401,0],[0.919922,0.266602,0.145256]],[-0.981997,-0.188895,-0],[-0,0,1]],0,[0.452474,0.75407,0.678188,0.488152,0.127283,0.272122,0.0445471,0.146606,0.381602,0.473876,0.661175,0.415711,0.975646,0.731493,0.114845,0.238282,0.888912,0.308854,0.838818,0.515836,0.948564,0.974414,0.705496,0.770093,0.759466],0.191221,[[],[["30Rnd_65x39_caseless_mag_Tracer"],[30]],[[],[]],[["V_36_EPOCH","ItemWatch"],[1,1]]],[],0]]" 13:21:45 "A3EAI Debug: Static spawn not created at Amfissa. Acceptable positions: 3, Total: 5" 13:21:45 "FILLING:Slot 174 _vehicle 525f8100# 1815305: mrap_03_unarmed_f.p3d pos: [19320.9,15401.3,0.12808]" 13:21:45 "VEHICLE:Slot 175 is [1,["C_Hatchback_02_EPOCH",[[[23227,17669,0],[0.726563,0.896484,0.0578709]],[-0.513208,0.858264,-0.000691374],[-0.00020002,0.000685946,1]],0,[0.292483,0.350554,0.113472,0.593578,0.31011,0.642571,0.621484,0.174926,0.116564,0.984278,0.0160138,0.848984,0.0505851,0.169822,0.308945,0.489292,0.279769,0.136631,0.332281,0.554071,0.530509,0.513086,0.658925],0.1,[[["arifle_Mk20_F","","","",[],""]],[["meatballs_epoch","30Rnd_556x45_Stanag"],[1,30]],[[],[]],[["H_11_EPOCH"],[1]]],[],3]]" 13:21:45 "FILLING:Slot 175 _vehicle 52382b00# 1815309: hatchback_01_f.p3d pos: [23227.7,17669.9,0.0578709]" 13:21:45 "VEHICLE:Slot 176 is [1,["C_Rubberboat_02_EPOCH",[[[16726,13794,5],[0.0429688,0.543945,0.815192]],[-0.801665,0.597774,-0],[-0,0,1]],0,[0.992638,0.54473,0.281252,0.698849,0.193215,0.596563,0.0202846,0.284917,0.425513,0.773429],0.193316,[[],[["VehicleRepair","HeatPack"],[1,1]],[[],[]],[["U_O_CombatUniform_ocamo","V_34_EPOCH","muzzle_snds_M"],[1,1,1]]],[],0]]" 13:21:45 "FILLING:Slot 176 _vehicle 52380100# 1815311: boat_transport_01_f.p3d pos: [16726,13794.5,5.81519]" 13:21:45 "VEHICLE:Slot 177 is [1,["C_Van_01_transport_EPOCH",[[[13988,17853,0],[0.966797,0.808594,0.0375671]],[0.894921,-0.446225,0],[0,0,1]],0,[0.375874,0.419811,0.26874,0.167968,0.330382,0.672113,0.867333,0.911605,0.498509,0.224171,0.373686,0.997221,0.669435,0.536904,0.443431,0.778652,0.400947,0.714636,0.426995,0.798115,0.303501,0.156482,0.401305,0.32563,0.150445,0.708539,0.527753,0.435562,0.533176,0.137888,0.530588,0.714018,0.279959,0.846823,0.360861,0.190853,0.357174,0.171073,0.514657,0.590037,0.471735,0.105755,0.974382,0.49213,0.0934237,0.802804],0.1,[[["Rangefinder","","","",[],""],["m249Tan_EPOCH","","","",[],""]],[["200Rnd_556x45_M249"],[200]],[[],[]],[["V_10_EPOCH"],[1]]],[],0]]" 13:21:45 "FILLING:Slot 177 _vehicle 52311600# 1815314: van_01_transport_f.p3d pos: [13989,17853.8,0.0375671]" 13:21:46 "VEHICLE:Slot 178 is [1,["C_Quadbike_01_EPOCH",[[[17385,17325,0],[0.558594,0.976563,0]],[0.72258,0.691288,0],[0,0,1]],0,[0.0482577,0.440341,0.772345,0.67192,0.169911,0.91329,0.210978,0.634893,0.708972,0.242717,0.780106,0.0159513,0.357429,0.179398,0.554701,0.872224,0.683553,0.215915,0.162953,0.158937,0.292411],0.391457,[[],[["30Rnd_65x39_caseless_green_mag_Tracer"],[30]],[["B_Kitbag_rgr"],[1]],[["V_2_EPOCH"],[1]]],[],2]]" 13:21:46 "FILLING:Slot 178 _vehicle 52310100# 1815316: quadbike_01_f.p3d pos: [17385.6,17326,0]" 13:21:46 "VEHICLE:Slot 179 is [1,["ebike_epoch",[[[7748,17791,0],[0.0449219,0.0175781,0.0475159]],[0.257888,-0.966175,0],[0,0,1]],0,[0.236392,0.379437,0.231154,0.399449,0.513965,0.501904,0.506357,0.693408,0.0835545,0.509095,0.934647,0.844505,0.613908,0.636418,0.332792,0.419777,0.571494,0.981118,0.598568,0.568559,0.517255],0.412766,[[["hgun_Rook40_F","","","",[],""]],[["16Rnd_9x21_Mag","16Rnd_9x21_Mag"],[16,16]],[[],[]],[["V_15_EPOCH"],[1]]],[],0]]" 13:21:46 "FILLING:Slot 179 _vehicle 51025600# 1815319: ebike.p3d pos: [7748.04,17791,0.0784912]" 13:21:46 "VEHICLE:Slot 180 is [1,["K03",[[[18476,12279,0],[0.535156,0.326172,0.00521088]],[-0.404821,0.914396,-0],[-0,0,1]],0,[0.874574,0.401989,0.785023,0.0457369,0.0850012,0.645901,0.110334,0.646029,0.521214,0.686989,0.186289,0.397199,0.256466,0.431012,0.825747,0.0756229,0.380327,0.188523,0.49045],0.1,[[],[["100Rnd_65x39_caseless_mag","10Rnd_762x54_Mag","ItemSodaMocha"],[100,10,1]],[[],[]],[[],[]]],[],0]]" 13:21:46 "FILLING:Slot 180 _vehicle 51024100# 1815321: kart_01_f.p3d pos: [18476.5,12279.3,0.00367737]" 13:21:46 "A3EAI Debug: Static spawn not created at Xirolimni Dam. Acceptable positions: 0, Total: 0" 13:21:46 "A3EAI Debug: Static spawn not created at AAC airfield. Acceptable positions: 0, Total: 7" 13:21:46 "VEHICLE:Slot 181 is [1,["C_Offroad_01_EPOCH",[[[18591,7296,0],[0.826172,0.625977,0.0909729]],[-0.732806,0.680103,-0.0213296],[0.00771411,0.0396486,0.999184]],0,[0.241514,0.559026,0.461842,0.170759,0.632559,0.662943,0.611287,0.0103564,0.754108,0.510132,0.184719,0.841949,0.645889,0.362158,0.59644,0.714593,0.0986382,0.385757,0.81211,0.200653,0.283516,0.50804,0.773909,0.55193,0.402832,0.0710905,0.7847,0.385084,0.963851,0.989065,0.694913,0.865107,0.339705],0.701828,[[],[["Chemlight_green","ItemBattery"],[1,1]],[[],[]],[["bipod_03_F_blk"],[1]]],[],1]]" 13:21:46 "A3EAI Debug: Static spawn not created at Kastro. Acceptable positions: 4, Total: 5" 13:21:46 "FILLING:Slot 181 _vehicle 4b9d6b00# 1815325: offroad_01_unarmed_f.p3d pos: [18591.8,7296.69,0.110966]" 13:21:46 "VEHICLE:Slot 182 is [1,["C_Van_01_transport_EPOCH",[[[20512,18780,0],[0.806641,0.691406,0.0675049]],[0.359709,0.933064,0],[0,0,1]],0,[0.145387,0.967418,0.241325,0.0636679,0.482581,0.637711,0.125797,0.213393,0.923445,0.148137,0.676485,0.960055,0.336209,0.809217,0.81618,0.612037,0.448196,0.219291,0.599411,0.887567,0.413572,0.607369,0.693706,0.302287,0.121326,0.286682,0.669326,0.539254,0.749716,0.137295,0.900458,0.849126,0.698263,0.081397,0.0885734,0.998127,0.442956,0.86931,0.329866,0.187639,0.520974,0.227461,0.653713,0.522288,0.593753,0.649268],0.488438,[[["Binocular","","","",[],""]],[["VehicleRepair"],[1]],[[],[]],[["U_ghillie3_uniform"],[1]]],[],1]]" 13:21:46 "FILLING:Slot 182 _vehicle 51ff9600# 1815328: van_01_transport_f.p3d pos: [20512.8,18780.7,0.0675049]" 13:21:46 "VEHICLE:Slot 183 is [1,["K01",[[[12293,19329,0],[0.0410156,0.796875,0.0248337]],[0.726478,-0.686414,-0.0326402],[0.0244705,-0.0216276,0.999467]],0,[0.528554,0.740804,0.528718,0.398967,0.308071,0.434034,0.803816,0.77335,0.603055,0.274538,0.633119,0.184475,0.922655,0.818077,0.330748,0.547532,0.618498,0.316882,0.243713],0.822089,[[["ruger_pistol_epoch","","","",[],""]],[["10rnd_22X44_magazine","ItemLockbox"],[10,1]],[[],[]],[["U_C_Driver_1_green"],[1]]],[],0]]" 13:21:46 "FILLING:Slot 183 _vehicle 51ff8100# 1815330: kart_01_f.p3d pos: [12293.1,19329.8,0.0319672]" 13:21:46 "VEHICLE:Slot 184 is [1,["I_MRAP_03_EPOCH",[[[19580,12805,0],[0.140625,0.875977,0.0872498]],[0.979963,0.199177,0.000974893],[-0.000739349,-0.00125696,0.999999]],0,[0.565171,0.372279,0.241109,0.838339,0.796785,0.391108,0.223631,0.241683,0.934227,0.0452028,0.954473,0.471569,0.471706,0.375745,0.960983,0.176276,0.763686,0.0975503,0.441127,0.96452,0.861887,0.177564,0.0656095,0.649481,0.764342],0.796481,[[],[["ItemCoolerE"],[1]],[[],[]],[["H_57_EPOCH","H_64_EPOCH"],[1,1]]],[],0]]" 13:21:46 "FILLING:Slot 184 _vehicle 51e59600# 1815332: mrap_03_unarmed_f.p3d pos: [19580.1,12805.9,0.0876465]" 13:21:46 "VEHICLE:Slot 185 is [1,[]]" 13:21:46 "DEBUG: invalid vehicle data count: 0 != 8" 13:21:46 "EPOCH_VehicleSlots is ["169","173","185"]" 13:21:46 "Epoch: Vehicle SPAWN TIMER 17.642, LOADED 183 VEHICLES" Also, the -1 at the end of line 60 of EPOCH_spawn_Vehicles.sqf seems to be not needed in order to get the last vehicle slot to fill. _spawnCount = (count EPOCH_VehicleSlots - EPOCH_storedVehicleCount); seems to produce the correct number for _spawnCount. Link to comment Share on other sites More sharing options...
vbawol Posted June 13, 2016 Report Share Posted June 13, 2016 You are correct about the -1 I will remove that. can you confirm if the mosquito slot 169 didn't get destroyed just after spawning? Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 13, 2016 Author Report Share Posted June 13, 2016 Even if it did get destroyed shouldn't the slot no have been removed from _vehicleSlotIndex at line 59, but the vehicle isn't actually created and so can't get damaged until line 67? Looking at the Redis data I don't think that shows that it was destroyed previously and was still in the db either? We have _immuneVehicleSpawn set to true, but that doesn't take effect until line 89 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 14, 2016 Author Report Share Posted June 14, 2016 This vehicle should have spawned in, is in the db still but not in game. We'll see if it reappears. 18:01:42 "VEHICLE:Slot 121 is [1,["O_Truck_02_covered_EPOCH",[[[18679,10236,56],[0.990234,0.623047,0.295166]],[-0.999754,0.0061078,-0.0213053],[-0.0212721,0.00543768,0.999759]],0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0.742471,[[],[[],[]],[[],[]],[[],[]]],[],0]]" 18:01:42 "FILLING:Slot 121 _vehicle 55124100# 1820230: truck_02_covered_f.p3d pos: [18679.9,10236.6,56.2502]" Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 15, 2016 Author Report Share Posted June 15, 2016 Yes, it reappeared. The more research I do into this, the more it seems that some vehicles not spawning in is the norm, rather than the exception on a restart. Link to comment Share on other sites More sharing options...
vbawol Posted June 15, 2016 Report Share Posted June 15, 2016 I have added a isnull check to the function, if the vehicle is not being created this should log it. https://github.com/EpochModTeam/Epoch/commit/072ef02e772caeef42974c8ac7471fa12054b158 Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 15, 2016 Author Report Share Posted June 15, 2016 Thanks Awol, I'll give that a try. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 16, 2016 Author Report Share Posted June 16, 2016 According to the rpt this heli was created and is still in the database: 18:01:40 "VEHICLE:Slot 132 is [1,["I_Heli_Transport_02_EPOCH",[[[11376,14115,25],[0.539063,0.421875,0.616165]],[-0.80672,0.590811,0.0120659],[0.0135322,-0.00194333,0.999906]],0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0.997062,[[],[[],[]],[[],[]],[[],[]]],[["168Rnd_CMFlare_Chaff_Magazine",120]],0]]" 18:01:40 "DEBUG: About to create vehicle: class: I_Heli_Transport_02_EPOCH, loc: [11376.5,14115.4,25.6162], slot 132" 18:01:40 "FILLING:Slot 132 _vehicle 4c29ab00# 1820188: heli_transport_02_f.p3d pos: [11376.6,14115.4,25.6156]" But it is not in the game. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 16, 2016 Author Report Share Posted June 16, 2016 I've tried setting ImmuneVehicleSpawnTime to 1200 to try to see if the vehicles actually make it into the game. If not, perhaps there is an issue with the BIS vehicle spawn function. Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 16, 2016 Author Report Share Posted June 16, 2016 Came in 15 minutes after restart, and the Hunter that should be there wasn't. 18:01:42 "VEHICLE:Slot 150 is [1,["B_MRAP_01_EPOCH",[[[12177,13980,0],[0.463867,0.708008,0.000995636]],[0.462965,-0.886375,-0.00153615],[0.00114848,-0.0011332,0.999999]],0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],0.99993,[[],[[],[]],[[],[]],[[],[]]],[],0]]" 18:01:42 "DEBUG: About to create vehicle: class: B_MRAP_01_EPOCH, loc: [12177.5,13980.7,0.000995636], slot 150" 18:01:42 "FILLING:Slot 150 _vehicle 56886b00# 1820358: mrap_01_unarmed_f.p3d pos: [12177.5,13980.7,0.000999451]" As far as I can see it hasn't spawned elsewhere on the map - in fact there seem to be 4 Hunters (out of a total of 10) missing, if I counted correctly using the Admin menu Link to comment Share on other sites More sharing options...
vbawol Posted June 17, 2016 Report Share Posted June 17, 2016 I took another stab at it, this time making vehicles spawn at a temp location [0,0,0] totally immune to damage and after about 120 seconds re-enabling damage and setting hit points. (EPOCH_load_vehicles.sqf) Also, the invalid vehicle token check was not working if the simulation handler was disabled (server_monitor.fsm) . 0.3.9.0528: https://github.com/EpochModTeam/Epoch/commit/80f4f9a44962788659709e591bd60ac684e3c09f Link to comment Share on other sites More sharing options...
82ndAB_Bravo17 Posted June 17, 2016 Author Report Share Posted June 17, 2016 Do we need: simulationHandler = true in order to test this? Currently we have simulationHandler = false Link to comment Share on other sites More sharing options...
vbawol Posted June 17, 2016 Report Share Posted June 17, 2016 it should not matter if it is on or off to test this issue. Link to comment Share on other sites More sharing options...
vbawol Posted June 19, 2016 Report Share Posted June 19, 2016 Any luck with this @82ndAB_Bravo17 ? 82ndAB_Bravo17 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now