Bug #941

Health isn't displayed when specing as spectator

Added by Spyhawk about 3 years ago. Updated 6 months ago.

Status:New% Done:

30%

Priority:LowSpent time:-
Assignee:-
Category:Mod CGAME
Target version:2.78
OS: Arch:

Description

Player health is "empty" when specing as TEAM_SPECTATOR.
The issue probably also apply to constructible health (tank, truck, etc.)

2016-09-15-210235-oasis.jpg (234 KB) Spyhawk, 15.09.2016 21:05

656

History

#1 Updated by thunder about 3 years ago

shouldnt this be as it is.. thinking a bit about cheating here.. I know its kind of stupid but if someone is speccing a guy and helping out a friend that is playing he can tell him how much health the enemy has left?

#2 Updated by Spyhawk about 3 years ago

If cheating is an issue, then spec shouldn’t be allowed at all. Position is a much better info that health value

No, cheating is prevented with the speclock feature or private game. This is a bug.

#3 Updated by IR4T4 almost 3 years ago

I can’t reproduce.

#4 Updated by IR4T4 over 2 years ago

  • % Done changed from 0 to 20

#5 Updated by Spyhawk over 2 years ago

  • Priority changed from Normal to Low
  • Target version changed from 2.76 to 2.78

#6 Updated by Saukko 6 months ago

Alright, I investigated this a little and I found out that this happens only when you spectate a bot. When you spectate a real client who hovers over bot, it will show the healthbar correctly.

How to reproduce:

1. Start two clients
2. Start localhost with one of the clients and join to the created localhost with the other
3. Put another client to Allies or Axis and leave the other one into spectators
4. Spectate the client who you just put into either playing team

After these steps, when you hover the aim over a bot with the playing client and look with the other, you will noticed a full healthbar.

-*S

#7 Updated by Spyhawk 6 months ago

  • % Done changed from 20 to 30

#8 Updated by Saukko 6 months ago

Alright, I compiled 2.75; tested it and it looks like healthbars were showing back then. I’ll look further.

-*S

Also available in: Atom PDF