Page MenuHomeFeedback Tracker

(MP) groups are deleted after some players choose some of the group slots then all leave the server
Closed, ResolvedPublic

Description

This is a problem for my scripts because I decided (for simplifying scripts) to attach all information to the group objects (what vehicles the group members can create, group marker, group callsign, group respawn positions) that are created automatically when I place units in the editor. The problem is that groups are deleted when one player chooses to play in any slot of the group then leaves the server. After he leaves, the group becomes "objnull" and all information attached to it it's lost. A new player that will connect to server and choose the same slot, when he starts playing he will not be able to benefit all the features attached to initial group (because the initial group was deleted and that this new player is in a newly created group).

I found a workaround by adding a game logic unit with the editor in the group that I want to make persistent. The small inconvenient is that a new unit called "entity" is present in the squad leader's unit list which will act as a normal soldier (asking continuously "where are you?").

So I suggest two solutions :

  • do not display the game logic as a managed unit for the squad leader

or

  • create an option (description.ext file or script command "mygroup makePersistent true"?) that will prevent specific groups from being deleted automatically {F20836}

Details

Legacy ID
3784491348
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Upload the attached mission to a dedicated server (with persistent mode on)
  1. Start the mission and choose blufor slot connected to a scripted group (ex: Recon Team Leader (MHQ))
  1. click on Disable AI button as the admin (if the AI is not disabled then the group will not be deleted when player disconnects)
  1. Start the mission and close the HQ building you will see the option to create a vehicle, you will also notice ont he map a marker with special color and symbol
  1. disconnect from the server then reconnect and choose same slot
  1. notice this time you dont have the special group marker anymore and no action near the HQ building to create the vehicle
  1. by using the debug action then the console type: ZGP_GW_BL in the first text field then click on "Player" button.The <obj-null> value will be displayed on the bottom field

Event Timeline

d3nn16 edited Steps To Reproduce. (Show Details)Jul 13 2013, 10:18 PM
d3nn16 edited Additional Information. (Show Details)
d3nn16 set Category to Scripting.
d3nn16 set Reproducibility to Always.
d3nn16 set Severity to None.
d3nn16 set Resolution to Open.
d3nn16 set Legacy ID to 3784491348.May 7 2016, 3:28 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 3:28 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.