SmileYzn / MatchBot

Counter-Strike 1.6 Match Plugin for ReHLDS and ReGameDLL_CS
GNU General Public License v3.0
28 stars 14 forks source link

Suggestion:- Team Limit Pause! #117

Closed Escap3d closed 7 months ago

Escap3d commented 7 months ago

In the pause time, you can make changes such as allowing each team to take two timeouts per map. This can be done by adding a command specifically for timeout and limiting it to no more than two timeouts per team. Additionally, you can display a message indicating which team initiated the pause time through a HUD message. These changes can help ensure fair and controlled gameplay during matches.

Yes, you can add the necessary commands in the matchbot configuration file (matchbot.cfg). By modifying this file, you can include commands related to the timeout limit.

SmileYzn commented 7 months ago
  1. The timeout limit is already in matchbot.cfg
  2. HUD message can be added to indicate what team paused the game 👍
  3. One pause per half for each team should solve that
Escap3d commented 7 months ago

Certainly! If someone takes a pause during a freeze time, whether they can extend the pause time for 60 seconds or not depends on the rules and features set by the game or activity. Some games allow players to extend pause time during freeze time, while others may not have this option.

If a player takes a pause during a round and wants to save it for the next freeze time with an enabled pause, it also depends on the specific design and rules of the game. Some games may have an option to save the pause for the next round, while others may not offer this feature.

In summary, the ability to extend pause time or save it for the next round depends on the specific mechanics and settings implemented by the game developers. Players should refer to the game's documentation, settings, or support resources for precise information on these features.

SmileYzn commented 7 months ago

Added 👍

Escap3d commented 7 months ago

implementation of a player timeout timer in case of a network disconnection. If a player loses connection, an automatic timeout could be initiated, causing a freeze-time before the round starts. Once the disconnected player reconnects, the timeout timer would automatically end, and the match could resume, similar to how it works in platforms like FastCup. This feature would help maintain fairness and ensure a smooth gaming experience for all players.

player timeout timer for 120 second..

Escap3d commented 7 months ago

you can modify the HUD messege to show the team names instead. For example, you could show "Counter-Terrorist" or "Terrorist" in place of individual player names, creating a clearer representation of the teams in the game.

Escap3d commented 7 months ago

i am facing an issue with the pause feature in a game. i am used the "!pause" command three times during the round, but after each round, a message with the player's nickname and a 60-second timer appears on the HUD. Additionally, me noted that the pause works during the freezetime but becomes blocked if another player requests a pause during that time due to the timer. i am suggest that there should be a limit on the number of pauses and that pause requests should require team approval.

SmileYzn commented 7 months ago

I will just do:

  1. Teams can vote to pause one time by each state: First Half, Second Half, Overtime
  2. Show team names in hud message (Or admin name if admin called the pause)
  3. Check player count on round main event, if has less players in teams than mb_players_min and do not have an Spectator it should start pause for 60 seconds on that round.
  4. Only will pause match if server do not have an spectator connected.
  5. Implement an message when an player get disconnected during match (From first half until match end)
  6. Implement variable to enable / disable that pause when player gets disconnect
SmileYzn commented 7 months ago

Implemented on: Linux: https://github.com/SmileYzn/MatchBot/actions/runs/7751046785 Windows: https://github.com/SmileYzn/MatchBot/actions/runs/7751046784

Lacking only player connect / disconnect messages