rtxa / agmodx

An improved Mini AG alternative, built as an AMXX plugin from the ground up. It includes many bug fixes, improvements and is easy to customize.
https://rtxa.github.io/agmodx/
GNU General Public License v3.0
24 stars 9 forks source link

Arena: Add commands 'ready' and 'notready' #24

Closed rtxa closed 2 months ago

rtxa commented 1 year ago

Possible problems:

  1. Players can use this as an advantage to spectate before they get killed, this should be penalized or not allowed on damage. Make it work maybe like the CombatLoggers from Minecraft.

  2. This should have the ability to get disabled.

Safety1st commented 1 year ago

It is easily to avoid problems by not allowing spectators to take part in matches and disabling spectate cmd for active participants.

rtxa commented 1 year ago

@Safety1st I understand Safety, but the issue I'm talking is about some people abusing it to avoid being killed when they're just about to die. Probably I should disable the command as soon as the player spawns and gets damaged.

rtxa commented 1 year ago

@Safety1st @gundogfan

Hey guys, I'm finally implementing this feature, let me know what you think about it.

For what I understand, the ready/notready command is useful for players who just want to spectate an arena match without interfering, and also for players who have score some points and are gonna be AFK for some time and then they just go back to the match, right?.

You can use the command ready in any moment of the match. You can not use the notready command when the arena countdown is running and you have been selected to play.

Possible issues:

  1. Players can exploit this feature to win a match by scoring some points and then not playing for the rest of the game.
  2. Players can get confused on why a player is not playing a match or being skipped.

Possible solutions:

  1. Maybe this can be tackled by adding a add a cvar with the name of sv_ag_arena_disable_notready. Other solution would be resetting score on notready.
  2. Maybe this can be fixed by adding a notification in the chat when a player has issued the command notready or ready. A cooldown would be nice to add too to avoid players flooding the chat. The cooldown time would be from 1 to 3 seconds.
gundogfan commented 1 year ago

Nice update, it works. Regarding the issues you mentioned, I agree with both solutions except for resetting the score on notready, I'd find it annoying and most likely people would prefer being AFK rather than using notready.

rtxa commented 2 months ago

Thanks for the feedback gundog, I will transfer this exploit issue to a new one as the main issue has been solved (implementing the feature).