gruppe-adler / Shoot_and_Scoot.Tanoa

TvT game mode - artillery vs. sound directionfinders vs. hunter-killer-teams
5 stars 1 forks source link

"Destroyed" markers don't work most of the time #41

Closed b-mayr-1984 closed 1 month ago

b-mayr-1984 commented 2 months ago

The stream of the last game night shows that the Blue/Red xy destroyed markers don't appear for most of the destroyed stations. See e.g. stream at 5295s.

In the source code comment there is also an indication that the current implementation is not ideal. https://github.com/gruppe-adler/Shoot_and_Scoot.Tanoa/blob/main/scripts/spot-randomizer/functions/fn_onDamageTaken.sqf#L15-L27

If the current implementation is hard to fix it might be a good idea to

b-mayr-1984 commented 2 months ago

@senshi-x what do you think of this? Is the current approach worth keeping/fixing or should we use a different one?

Do you want to look at it or shall I do that?

b-mayr-1984 commented 1 month ago

As can be seen in Liru's stream from 2024-05-13 I didn't in fact fix the problem.

Before my "fix" the marker didn't work sometimes. Now it never works. 😅

I assume it is again a locality issue, because I did thoroughly test this. Just not with other people on the dedicated server. The killed EH is probably only called where the killed container (or the _killer) was local and not for all Zeuses.