Bug #1599

Several CA/FT bugs

Added by ItsMe over 1 year ago. Updated about 1 year ago.

Status:NewStart date:05/26/2013
Priority:NormalDue date:
Assignee:terencehill% Done:

0%

Category:Game Logic
Target version:0.8

Description

*CA

1) Weapon switch before round begins not possible

Players cannot switch weapons during round countdown.
Instead they have to use the first available weapon of cl_weaponpriority.

2) Connecting clients directly join a team

If a client connects to the server, he directly joins a team (instead being spectator)
Other gamemodes are not affected.

3) Warmup

Instead of 200/200 people spawn with 100hp only

4) Warmup

If all players of the same team are killed in the same moment,
a new round starts.
Warmup suddenly works round-based anyway, which is very confusing

5) Countdown

while starting with hagar (cl_weaponpriority) you're able to load before the round starts thru 2nd firemode

6) Spectating

If you press spacebar as dead player you switch the team
~Not really sure if that is fixed, unlikely
If you switch back in countdown you will spawn in 3rd person mode not being able to shoot. If you get hit by anything you die.

7) Warmup/Countdown

After everyone pressed F4/ready the countdown begins at 20 seconds. After 10 seconds you respawn again and "Prepare for battle" announcement appears again.
It should be just 10 seconds like in other gamemodes
http://sprunge.us/ZeYY

8) Countdown

If you die within the countdown you won't die and respawn.
If only 1 players is in a team and he falls down it will just restart the countdown and not giving 1 point for the other team - epic troll instrument.
Maybe: People who die while countdown should just respawn.

9) Round end

When a round ends it does not play the announcer "Blue/Red team scores".

10) Bot behaviour

While playing vs bot it displayed "Need active players for red team/blue team". Mirio was not able to reproduce that though.

*FT

1) Centerprint

If you try to revive a player after a round ends the "Revive progress" centerprint will be stuck until a new one appears

2) Warmup/Countdown (same like CA)

After everyone pressed F4/ready the countdown begins at 20 seconds. After 10 seconds you respawn again and "Prepare for battle" announcement appears again.
It should be just 10 seconds like in other gamemodes
http://sprunge.us/ZeYY

3) Announcer

It does not play the "3/2/1 frags left" announcer.


Related issues

Related to Bug #1470: fragspree counter not reset in CA ? Resolved 04/01/2013
Related to Bug #1454: Freezetag - Frozen players can partly reload weapons New 03/21/2013
Related to Bug #229: Freezetag bugs In Progress 01/08/2011

History

#1 Updated by Mirio over 1 year ago

  • Subject changed from CA - warmup 100HP to Several CA bugs
  • Description updated (diff)
  • Category set to Game Logic
  • Assignee set to terencehill
  • Target version set to 0.7

#2 Updated by Mirio over 1 year ago

Added 6) - 8) in OP

#3 Updated by Mirio over 1 year ago

  • Description updated (diff)

#4 Updated by Mirio over 1 year ago

  • Description updated (diff)

#5 Updated by Mirio over 1 year ago

  • Description updated (diff)

#6 Updated by Mirio over 1 year ago

  • Description updated (diff)

#7 Updated by terencehill over 1 year ago

1) Weapon switch before round begins not possible

Players cannot switch weapons during round countdown.
Instead they have to use the first available weapon of cl_weaponpriority.

Weapon switch is disabled together with all other impulses to avoid worse bugs with weapons.

2) Connecting clients directly join a team

If a client connects to the server, he directly joins a team (instead being spectator)
Other gamemodes are not affected.

Can't reproduce this bug locally.

3) Warmup

Instead of 200/200 people spawn with 100hp only

Confirmed, it must be fixed.

4) Warmup

If all players of the same team are killed in the same moment, a new round starts.
Warmup suddenly works round-based anyway, which is very confusing

Rule is that warmup IS made of rounds but players can respawn immediately so that they can play more than in game stage. If resulting gameplay is so weird, maybe we should remove rounds from the warmup.

5) Countdown

while starting with hagar (cl_weaponpriority) you're able to load before the round starts thru 2nd firemode

This bug shouldn't exist as weapon functionalities are entirely disabled during the countdown. Likely you played in an outdated server.

6) Spectating

If you press spacebar as dead player you switch the team
~Not really sure if that is fixed, unlikely

Can't reproduce this bug. Maybe you were really spectating: in this case you can be put in any team if you press spacebar.

If you switch back in countdown you will spawn in 3rd person mode not being able to shoot. If you get hit by anything you die.

Can't reproduce this bug either.

7) Warmup/Countdown

After everyone pressed F4/ready the countdown begins at 20 seconds. After 10 seconds you respawn again and "Prepare for battle" announcement appears again.
It should be just 10 seconds like in other gamemodes

Again, can't reproduce this bug, I remember I fixed it.

8) Countdown
If you die within the countdown you won't die and respawn.
If only 1 players is in a team and he falls down it will just restart the countdown and not giving 1 point for the other team - epic troll instrument.
Maybe: People who die while countdown should just respawn.

I'll try to implement an instant respawn, should improve behaviour in this particular situation. It's not an urgent thing though.

#8 Updated by Mirio over 1 year ago

We discovered everything online - maybe come to #xonotic.pickup (QuakeNet) and message packer/me to show them to you on an updated server. Packer (= ItsMe) made sure that his server was running latest git when we tested all the stuff.

BTW: Everything except 6) occured lately (less than 2 weeks), which means that some merge broke it in some way.

#9 Updated by Mirio over 1 year ago

  • Description updated (diff)

#10 Updated by Mirio over 1 year ago

  • Subject changed from Several CA bugs to Several CA/FT bugs
  • Description updated (diff)

Updated OP with some FT things.

#11 Updated by terencehill over 1 year ago

OK, I could reproduce bug #5 with sv_readyrestart_after_countdown 1: on map reset if you have secondary fire pressed, hagar can load up exactly one rocket. It's a minor bug but I'll try to fix it.

#7 can happen if sv_readyrestart_after_countdown is 1 as well, but the weirdness is only with the announcer messages, not with the restart mechanism. Indeed, with this setting once every1 is ready countdown starts but nothing else happens (you are not even blocked) for 10 seconds (hard-coded value), then map is restarted and countdown to round start continues for other 10 seconds (g_ca_warmup 10). I'll have to change announcer code to clarify that situation.

9) Round end
When a round ends it does not play the announcer "Blue/Red team scores".

Those announcer sounds (ctf/blue_capture.wav and ctf/red_capture.wav) were removed from CA long since. They are currently used in ctf and keyhunt when your team capture the enemy flag or all the keys.
If you want those sounds back in CA ask Samual.

BTW, I noticed that in sound\ctf\ there are 2 other sounds bluecapture.ogg and redcapture.ogg identical to blue_capture.wav and red_capture.wav (though they are different recordings).

10) Bot behaviour
While playing vs bot it displayed "Need active players for red team/blue team". Mirio was not able to reproduce that though.

Never happened to me. Packet loss?

*FT

1) Centerprint

If you try to revive a player after a round ends the "Revive progress" centerprint will be stuck until a new one appears

Confirmed, it happens when sv_readyrestart_after_countdown is 1.

3) Announcer

It does not play the "3/2/1 frags left" announcer.

These announcer messages are related to the WinningCondition code that I never touched, I suppose they never worked.
Btw should they be played at all? Game should announce rounds left not frags.

@Samual
Is it possible to totally remove sv_readyrestart_after_countdown option/cvar? I find it a bit pointless since if it's 0 players are blocked and can't interact with the map anyway.

#12 Updated by Mirio about 1 year ago

I think the sounds "Red/Blue scores" and "frags left" are useful (to me at least) and bitbomb could do different ones later.

Point 1) is the most annoying currently actually.

#13 Updated by Mirio about 1 year ago

11) <matthiaskrgr> it said "10 rounds" but actually it was until 10 points

12) <matthiaskrgr> also this http://pastebin.com/j5HkgcNP
<matthiaskrgr> as match ended

#14 Updated by terencehill about 1 year ago

@Samual
Is it possible to totally remove sv_readyrestart_after_countdown option/cvar? I find it a bit pointless since if it's 0 players are blocked and can't interact with the map anyway.

Removing sv_readyrestart_after_countdown some of those bugs magically disappear, otherwise it's harder to fix them. I need an answer.

#15 Updated by Mirio about 1 year ago

  • Target version changed from 0.7 to 0.8

Also available in: Atom PDF