GithubHelp home page GithubHelp logo

jensforstmann / tmt2 Goto Github PK

View Code? Open in Web Editor NEW
21.0 6.0 6.0 1.99 MB

TMT - Tournament Match Tracker: Supervise/Manage Counter-Strike 2 matches with ease!

License: MIT License

TypeScript 98.14% Dockerfile 0.31% Shell 0.14% HTML 0.25% JavaScript 0.35% CSS 0.66% PowerShell 0.14%
csgo csgo-bot csgo-server-administration csgo-tournament counter-strike counter-strike-2 cs2 cs2-bot cs2-tournament

tmt2's People

Contributors

dependabot[bot] avatar egosar93 avatar jensforstmann avatar ovee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tmt2's Issues

Missing info in election process after agreeing on a map

With these electionSteps no info appears in chat, that a team must pick a side.

{
    "electionSteps": [
        {
            "map": {
                "mode": "AGREE"
            },
            "side": {
                "mode": "PICK",
                "who": "TEAM_A"
            }
        },
        {
            "map": {
                "mode": "AGREE"
            },
            "side": {
                "mode": "PICK",
                "who": "TEAM_B"
            }
        }
    ]
}

Players without a team cannot .pause

By design players must join a team with .team a/b
Bit it's not needed that every player joins a team, it's enough that one player per team (leader/captain) joins a team.

If the game is then in progress others players cannot .pause.

This might lead to confusion/trouble during the match if some players get dropped from the game.

Possible ideas:

  • Enforce that every player must join a team before starting the match
  • Allow some commands to be executed without team assignment
  • Guess the team of the player (If T player writes something, look all T players if one has a team assigned) [not sure this is possible]

Alternative to `.team`?

Especially for public matches where it doesn't matter if they are in Team A or B executing .team a or .team b is annoying.

Maybe add an alternative to .team: Decide based on current side (CT/T), configurable per match?

make matches and maps updatable via http api

ideas:

  • mapPool
  • electionSteps
  • gameServer
  • teams (names, advantage)
  • match Maps (which maps (names), startAsCtTeam, knifeForSide, knifeWinner)
  • restart current map (after knife)
  • restart current map (with knife)
  • go back to election process
  • go back to after election process

save matches to disk on change

Currently only every 60 seonds all matches will be persisted to disk.

Change this behavior to save the match to disk every time something (meaningful?) changes.

do not end map if paused on last round

Default setting if a map is paused is to pause in the next freezetime.

If a map is paused on the last round: What can be done to not finish the map?

Example: In the last round (14-15) multiple players got dropped. Pausing the match (after the round) at 14-16 is too late because one team already won.

In that case these actions must be performed currently (not implemened yet):

  • set matches currentMap--
  • load round backup

In that case it is also important, that the match does not finish (in case it was the last/only map). Rcon end action should not be executed, match end action should not be executed

Possible Ideas: Pause instant on !pause if nothing happened in this round (check ruleso f other tournaments), e.g. no damgage has been dealt (required higher mp_logdetail setting).

more useful chat commands

.info: Display information about the match, maps, scores.
.state: Display current match and map state?

incorrect team score/side when loading round backups after halftime from before half time

steps to reproduce:

  • halftime and side switch after 15th round (score e.g. Team A 10, Team B 5)
  • play 16th round (score e.g. Team A 10, Team B 6)
  • restore to beginning of 14th round (score e.g. Team A 10, Team B 4)

now after 15th round the score reported via webhook is Team A 5, Team B 10

cause:

/** Contains the state without the new score (without the just finished round). */

If this gets calculated it still thinks it's A10:B6 so it thinks teams are in switched state.

Feature Request

Hi Its me again xD,

is it possible to add more information on the Match site? When i click on the Match tab in tmt i can see a lot of Matches, the problem is i dont know on which server they are running. So it woul be ok for me when the ip adress would be shown in the Match overwview tab.

Is this Possible?

Regards Tobi

bug in 2on2 Wingman

Hey, the game_mode 1 is wrong for Wingman. The right settings is game_mode 2.
thx :)

Assign (force) players to teams by Steam ID

Allow submitting a list of Steam IDs per team and force players to C/CT and team A/B according to this list. This should help with players joining the right team according to the .team command, but still be on the wrong team according to the scoreboard (which then results in swapped/incorrect scores)

incorrect wrong team assignment message

In case the sides are switched after a knife round a "you're in the wrong team" messages is printed into chat (although the player is in the correct one).

Reply to incorrect commands

If a message starts with a prefix but is no valid command: Reply with command not found

If a command is entered, but has no effect currently: Reply with command not usable at the moment.

TMT2 is not working after CS2 Update 28.02.2024

with the update of February 28, 2024, the TMT no longer runs, the script no longer reacts to the entries in the chat. I think it has something to do with the point here: "Improved behavior when user input does not arrive on the server in time due to packet loss or client frame rate issues"

No Match Backup with Looped Matches

Hi,

it is not possible to restore a Match when it is in Loop Modus. Afte a lot of played rounds TMT seems not to save the backups any more.

I also had a strange behavior at the finals at 2v2 and 5v5. I set up the team Names and also the score for the winner bracket team. After the electionphase / Knive the server crashed. I know that the server is crap atm but i wanted to keep you aware of this problem.

Regards
Tobi

No Player reset with looped match

Hi,

i saw a bug at our LAN. When i set up the Matches in Loop mode there will be a lot of players in the Teams. See the picture.

Screenshot 2023-10-29 013445

Regards
Tobi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.