Page MenuHomeFeedback Tracker

Vehicle Respawn Module broken after 1.68
Closed, ResolvedPublic

Description

Vehicle Respawn Module is broken after 1.68, vehicles will respawn only once regardless of settings, the wreck remains in place regardless of settings. Tried with modded version and no mod game ("vanilla"), with different vehicles, in editor and dedicated server.

Details

Severity
Major
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Put a vehicle in editor, synce with vehicle respawn module (any setting), destroy the vehicle. It will respawn only once, then its wreck remains there regardless of settings.

Additional Information

Game version 1.68 Stable Branch

Event Timeline

Nemesi created this task.Mar 21 2017, 3:27 PM
razazel claimed this task.Mar 21 2017, 3:34 PM
razazel changed the task status from New to Feedback.
razazel added a subscriber: razazel.

Thanks for the ticket, issue should be fixed in the next Dev branch update so you can then check if its working correctly.

As far as I could see there are still problems with this module, when destroyed a vehicle respawns correctly, but when abandoned not. It will respawn only once if you use SaMatra's fix described in this topic https://forums.bistudio.com/forums/topic/202822-post-patch-update-player-disconnect/#comment-3164973 but the vehicle will not respawn at all if you don't use this fix, because the vehicle results still occupied when ppl dismount the vehicle, disconnect or dies (without Samatra's fix server side). So it seems this issue too https://feedback.bistudio.com/T123785 is not completely fixed by the hotfix. Tried in dedicated server.

strider added a subscriber: strider.Jun 5 2017, 5:56 PM

Just adding my experience with v1.70.141838

Vehicle Respawn module will only respawn once for an abandoned or disabled (when enabled). It will still respawn when destroyed.

Additionally during the only respawn of an abandoned or disabled vehicle, it respawns without waiting for the respawn delay.

Testing on single player, running mission from Eden editor in Virtual Reality; No mods.

Seen the abandoned vehicle 'respawn once' issue, on a dedicated server. S

Asmodeus added a comment.EditedJul 3 2017, 7:19 PM

Confirming the findings of @strider for Arma 3 version 1.72.142223

Tested with vanilla A3 by placing a playable character, a quad bike and and the Vehicle Respawn module (ModuleRespawnVehicle_F) in the in-game editor and then syncing the quad bike with the respawn module.

Respawn module's "System specific" settings as follows:

Delay 5
Deserted distance 10
Tickets 1000
Expression (empty field)
Position Starting position
Position selection Random
Wreck Delete
Notification Enabled
Forced respawn Disabled
Respawn when disabled Disabled

Testing was done with the in-game editor's Play in Multiplayer (MP) option.

Deserted but not destroyed vehicle respawns only once.
Destroyed vehicle will always respawn even if the vehicle hasn't been "deserted".

Muzzleflash added a subscriber: Muzzleflash.EditedSep 11 2017, 6:37 PM

The problem of vehicles only being desertable once seems to result from an undesirable interaction between lines 183-184:

_getout = _veh getvariable ["BIS_fnc_moduleRespawnVehicle_getout",-1];
if (_getout < 0) then { ....

And lines 382-385

			{
				_newVeh setVariable [_x, _veh getVariable _x];
			}
			forEach allVariables _veh;

When the vehicle is deserted a new one is created, and it gets all variables copied over. However, when the new vehicle is to be configured, it seems like it already has a getOut event handler attached, so there isn't added one.

One fix for this, is to add the following statement after 385:

_newVeh setvariable ["BIS_fnc_moduleRespawnVehicle_getout", nil];

Just like is done for BIS_fnc_moduleRespawnVehicle_mpkilled immediately after.

Should be fixed with the release of 1.76 update, can you confirm?

I'm running 1.76.142872 and it is not fixed. Both the problem and solution (now tested and verified) is like above.

@Muzzleflash I tried the repro steps mentioned by Amontieri and it seem to work, Quad bike respawned after being deserted. Could you perhaps provide your testing setup so I can reproduce it?

Yes, but did it respawn the second time you deserted it?

Anyway here is my repro:

  1. Fire up map (Stratis) place player, and vehicle (empty Prowler).
  2. Create vehicle respawn, only modify deserted distance (my case 30). Sync it to vehicle.
  3. Get in vehicle, get out, teleport/move away (I ALT-Mouseclick to TP)
  4. Vehicle respawns. Get in vehicle drive do it again.
  5. Vehicle does not respawn this time.

@Muzzleflash thanks for the heads up, I did miss that, will take a look into that

Still broken after 1.80. Deserted vehicles respawn only once. Steps as reported before.

Still Broken in 1.94. Deserted vehicles respawn only once. Steps as reported before.

Still broken in 2.0.0 Deserted vehicles respawn only once. Steps as reported before.

Pi added a subscriber: Pi.Jun 12 2021, 4:45 PM

Hi, is this issue still happening?

Yes. Just done a quick test. Will only respawn once if the vehicle is abandoned.

Pi changed the task status from Feedback to New.Jun 12 2021, 6:46 PM

Yes. Just done a quick test. Will only respawn once if the vehicle is abandoned.

Thanks!

hey everyone, so i just got Arma 3 and i set up a sector control map on Porto, however the vehicles i have set to respawn upon destruction respawn as empty, was wondering if there is a fix for this. I see the previous issues with it, but wanted to know if im not doing something correctly or if im missing something.

For clarification, i have a couple of planes set to respawn mid flight and all they does is fall to the ocean cause they are empty after they respawn, other vehicles respawn as empty as well. I also only have the base game of Arma 3 (my wife got it on sale and doesn't game, but hey, im happy with it).

Next dev update

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.May 12 2022, 6:32 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

just got the update and seen they mention fixing the abandoned vehicles when using a vehicle respawn module, but for me the vehicles still respawn empty, is there a work around for this that someone can help me with? I have a continuing Sector Control scenario that i made on the Sahrani map and would like helo's and planes to be able to respawn after they get shot down as it adds depth and ambiance. Thanks for the help guys

but for me the vehicles still respawn empty

What this has to do with this ticket?

Just tried the Respawn vehicle module after the mentioned fix and I can confirm vehicles do respawn every time now, but I think there's a new issue now. The delay before the vehicle respawns doesn't work. Right now every time you reach the abandoned distance the vehicle does respawn but not with the delay you have set. It just respawns immediately.

BIS_fnc_KK added a comment.EditedAug 26 2022, 7:10 PM

Just tried the Respawn vehicle module after the mentioned fix and I can confirm vehicles do respawn every time now, but I think there's a new issue now. The delay before the vehicle respawns doesn't work. Right now every time you reach the abandoned distance the vehicle does respawn but not with the delay you have set. It just respawns immediately.

Repro please, concrete module setting, concrete actions sequence, expected result vs actual result

celticalliance added a comment.EditedAug 26 2022, 8:10 PM

Just tried the Respawn vehicle module after the mentioned fix and I can confirm vehicles do respawn every time now, but I think there's a new issue now. The delay before the vehicle respawns doesn't work. Right now every time you reach the abandoned distance the vehicle does respawn but not with the delay you have set. It just respawns immediately.

Repro please, concrete module setting, concrete actions sequence, expected result vs actual result

I placed several vehicles and several Respawn Vehicle modules. I synced the modules with the proper vehicles.

What I want is to have a delay before abandoned vehicles respawn. The vehicles despawn alright when you go past the abandoned distance but the delay before they respawn doesn't kick in. They respawn immediately after despawning. It used to work before but somehow now it won't.

Module settings:

Delay: 60
Deserted distance: 500
Tickets: left empty
Expression: left empty
Position: Starting position
Position selection: Random
Wreck: Delete
Notification: Disabled
Forced respawn: Disabled
Respawn when disabled: Disabled

Testing was done from the editor with Play in Multiplayer and on a dedicated server. All vehicles used are vanilla vehicles.

Mods used while testing (all latest versions):

  • CBA
  • CUP Terrains Core, Maps and CWA
  • CUP Units, Vehicles and Weapons
  • 3CB BAF Vehicles
  • Shezan74's Fallujah
  • Kunduz (fixed doors)

UPDATE: testing in a completely vanilla set up had the same result.

It used to work before but not anymore.

I just tested it on 2.08 and there is no difference, delay doesn't work in this scenario. Please make another ticket as I am going to close this one as resolved

My mistake. I meant to say it worked fine quite some time ago. I'll create a new ticket for the current issue.

quite some time ago

If by sometime ago you mean before 2017, then maybe

BIS_fnc_KK closed this task as Resolved.Aug 27 2022, 1:25 PM
BIS_fnc_KK changed Resolution from Open to Fixed.
This comment was removed by Dwarden.