Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

Ebot pause system like the valve competitive rules

Kuzy

Is there a way to add it so that you limit teams to 4 x 30 seconds pauses instead of just a !pause command. Maybe you would make it into a !timeout command or !tac. Also, if this is possible is there a way to add a !tech pause where the team needs a technical timeout.

Thanks.

SeatloN

Iv'e done it on my bot so its not that hard do implement, Just add chat trigger and a way to use it in the code 🙂

SeatloN

and i use the built in pause in csgo not a timed mp_pause_match

koust

SeatloN Tell me, please, how did you pause in the CC: GO, what should I do and write for this? Thank you in advance!

SeatloN

Well first of all you can have it on the server without eBot,

Main settings are as follows

// Timeout Settings
sv_allow_votes 1 // I think this will be needed to allow vote menu.
mp_team_timeout_time 30 // Set the time each timeout is used
mp_team_timeout_max 4 // Set how many timeouts each team can use

// Rcon commands to trigger non vote timeout is

timeout_ct_start
or
timeout_terrorist_start

With the built in variant you have vote about it like if you use it in MM.

SeatloN

And to build it into eBot you need to use those triggers and rcon commands in eBot\ebot-csgo\src\eBot\Match\Match.php

In short i copied regular pause function and built a custom function after that.
I know my method to do it is not really the best or so on.

So i would advice to make your own.

forji

SeatloN Couldn't you send me that match.php? I'm not even newbie in programing but I need that.

forji

niltonraj

SeatloN

Well can send it shortly when i'm back from my current assignment. Its just adding a Chat trigger like the !pause and then made a function that was checking who wanted to pause and then used correct rcon command 🙂

Will be home in a couple of days so i can share it then 🙂

SeatloN

But you can also have just the veto system that is built in to csgo server as i did state above 🙂

SeatloN

akz

SeatloN

Oh just remember that it has a skip warmup feature when the match is live so there will not be a !ready for halftime and overtime just goes after what halftime timer is set.

to remove that just comment row 1845 to 1849 🙂

akz

SeatloN When a team doesnt have tac pauses left, and they request a tac pause, the messages shows but doesn't pause the game

SeatloN

Ye have not added a counter for that. The console command does not give you a reply if it can't use more pauses.
you can add a new field in the database. which is not really a bad idea but if you host diffrent tournaments with diffrent rules regarding pauses you need to change alot each time. that is the main reason for me not adding it.
If you want to add those things you can.

SeatloN

You can just add another text after everything. ( If no pause is showing you have used all of your allowed pauses )

akz

SeatloN

Looking into other methods to use also for timeouts. But this will take time because of my commitment to other projects. But regardless of what method you use i would say the built in timer is best because you can use csgo-gamestate for that one 🙂 But i get your point about it. You can disable the chat triggers and just make them use the regular voting menu for timeouts. then the match is paused as it should be and after set pauses you can't use the menu anymore.