Page MenuHomeFeedback Tracker

Adding 'ArtilleryTargetW' to curator editable objects and then selecting it causes game to crash
New, WishlistPublic

Description

I have a mission that runs a common script to add all objects to the curator every 20 seconds or so (ADV_Zeus.sqf). I also have a script that runs client side that was attempting to make the units fire with the following code:

enableEngineArtillery true;
_roundEta = _artillery getArtilleryETA [position _selectedTarget, _selectedAmmoType];
_artillery commandArtilleryFire [(position _selectedTarget), _selectedAmmoType, _roundsToFire];

However, when the code is run locally on the client that have been spawned by the dedicated server (that is, local to the server and not the client). It appears they do not fire. Instead they create a 'ArtilleryTargetW' under the position I was trying to fire at. The ADV_Zeus script picks this up and adds it to the curator after a short amount of time as a yellow box with a '?' in it.

If I then click on that in Zeus the entire game crashes.

Details

Legacy ID
3406793350
Severity
None
Resolution
Open
Reproducibility
Always
Category
Zeus - General
Steps To Reproduce
  1. Start a dedicated server and spawn in some artillery units on the server (I had CSAT units).
  2. Connect with a zeus client
  3. Run the following code (on the client) using the artillery unit and a position on the map:

enableEngineArtillery true;
_artillery commandArtilleryFire [(position _target), "SomeAmmoType", 1];

  1. Notice that the unit doesn't actually fire at the location.
  2. Run a script to add vehicles and allUnits objects to the curator object
  3. Notice that a yellow ? objects appears for the ArtilleryTargetW object in the location you told the unit to fire.
  4. Click on the yellow box
  5. Crash
Additional Information

This issue actually came up with my addon 'Ares' that adds some functionality to Zeus (one bit of which is firing artillery at a zeus-specified target). The bug I'm tracking the issue under is: https://github.com/astruyk/Ares/issues/129

There is more information there on exactly how the artillery is being spawned in case the repro steps don't work exactly.

Event Timeline

Anton edited Steps To Reproduce. (Show Details)Nov 7 2014, 3:14 PM
Anton edited Additional Information. (Show Details)
Anton set Category to Zeus - General.
Anton set Reproducibility to Always.
Anton set Severity to None.
Anton set Resolution to Open.
Anton set Legacy ID to 3406793350.May 7 2016, 7:47 PM