Respawn tracker log regarding triage tag status on respawn #58

Closed
opened 2024-09-29 18:41:51 -05:00 by mike48 · 6 comments
We need a way to pull a respawn log that shows the triage tag status of a player when they hit the respawn button. The respawn policy is changing to allow respawns IF a medic has black tagged a patient and then advised the player they may respawn. The medic will make a note of time and player however accountability via logs will be required.

Describe the solution you would like.

Upon request of HHC, a server log can be provided that reports on members that have used the respawn button and includes the status of their triage tag and timestamp.

Describe the alternatives you have considered.

More complicated but a way for the medic to ACE interact with the patient or the patient to use an ACE interact like the current reinsert request system and the way that it can be logged. Not sure if this is possible and again more complicated but is my alternate idea.
### Is your feature request related to a problem? ```markdown We need a way to pull a respawn log that shows the triage tag status of a player when they hit the respawn button. The respawn policy is changing to allow respawns IF a medic has black tagged a patient and then advised the player they may respawn. The medic will make a note of time and player however accountability via logs will be required. ``` ### Describe the solution you would like. Upon request of HHC, a server log can be provided that reports on members that have used the respawn button and includes the status of their triage tag and timestamp. ### Describe the alternatives you have considered. ```markdown More complicated but a way for the medic to ACE interact with the patient or the patient to use an ACE interact like the current reinsert request system and the way that it can be logged. Not sure if this is possible and again more complicated but is my alternate idea. ```
mike48 added the Kind/Feature label 2024-09-29 18:41:51 -05:00
Owner

We currently log when players click the respawn button, so it is trivial to add logging of the current triage tag to the output. This will NOT be retroactive, so the medic would need to ensure they've changed the tag before the command to click the button.

Alternatively, we can add logging of player death and the current tag there, this would have the side benefit of knowning if upon death they've been looked at by a medic at all.

Preference code wise would be the former, as it can be implemented quicker ( one line of code )

We currently log when players click the respawn button, so it is trivial to add logging of the current triage tag to the output. This will NOT be retroactive, so the medic would need to ensure they've changed the tag before the command to click _the button_. Alternatively, we can add logging of player _**death**_ and the current tag there, this would have the side benefit of knowning if upon death they've been looked at by a medic at all. Preference code wise would be the former, as it can be implemented quicker ( one line of code )
Author

Let's go with the first choice. This relates to hitting the respawn button and policy.

It is nice to see the alternate is a tool we can explore at a later date if issues with medics leaving people happens. At the moment we do not need that log however.

Let's go with the first choice. This relates to hitting the respawn button and policy. It is nice to see the alternate is a tool we can explore at a later date if issues with medics leaving people happens. At the moment we do not need that log however.
hizumi self-assigned this 2024-10-02 19:56:06 -05:00
Author

@hizumi any word on progress?

@hizumi any word on progress?
Owner

We currently log when players click the respawn button, so it is trivial to add logging of the current triage tag to the output. This will NOT be retroactive, so the medic would need to ensure they've changed the tag before the command to click the button.

This has been implemented and will be pushed for next release

> We currently log when players click the respawn button, so it is trivial to add logging of the current triage tag to the output. This will NOT be retroactive, so the medic would need to ensure they've changed the tag before the command to click _the button_. This has been implemented and will be pushed for next release
Owner

Code updated to log textual representation of triage status instead of level number

[milsim] [client] [milsim_common_fnc_log] [RESPAWNED WHILE UNCONSCIOUS] :: {"playerUID": "76561198009349760", "playerNetID": "2:400", "playerName": "SGT Hizumi", "durationSpentUnconscious": 5.39197, "playerGroup": "Alpha 1-1", "triageLevel": "Delayed"}

Code updated to log textual representation of triage status instead of level number `[milsim] [client] [milsim_common_fnc_log] [RESPAWNED WHILE UNCONSCIOUS] :: {"playerUID": "76561198009349760", "playerNetID": "2:400", "playerName": "SGT Hizumi", "durationSpentUnconscious": 5.39197, "playerGroup": "Alpha 1-1", "triageLevel": "Delayed"}`
Owner

merged into develop via #58

merged into develop via #58
Sign in to join this conversation.
No Label Kind/Feature
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 17th-Ranger-Battalion-ORG/MissionTemplate#58