Raised This Month: $62 Target: $400
 15% 

Problem with changing maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-06-2021 , 19:08   Problem with changing maps
Reply With Quote #1

Guys, I have the following problem.
I have a competitive server using pugsetup, when a game is over, the game displays the scoreboard showing all the statistics of the game, in short.
My problem is in that part, if the game that was finished is a mirage, and for some reason the players voted to play on the same map again (mirage) happens the problem that I will leave in a video.
Everyone is moved back to the teams, but the statistics screen is still displayed.
My server has these 2 commands.

mp_match_end_restart 0
mp_match_end_changelevel 1

Link: https://youtu.be/KRkxYO1ywdo
__________________
Need to set up a server? access
www.rugalservidores.com.br
Rugal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-07-2021 , 00:38   Re: Problem with changing maps
Reply With Quote #2

If you are using csgo mapgroup or workshop collection:
- remove SM nextmap, mapchooser and else sourcemod map vote system.
- Add in server.cfg, sm_nextmap ""
- Make sure you have Steam API key code added in server launch parameters so you can play workshop maps.
__________________
Do not Private Message @me
Bacardi is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-07-2021 , 08:11   Re: Problem with changing maps
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
If you are using csgo mapgroup or workshop collection:
- remove SM nextmap, mapchooser and else sourcemod map vote system.
- Add in server.cfg, sm_nextmap ""
- Make sure you have Steam API key code added in server launch parameters so you can play workshop maps.
But this problem only happens if the next voted map is the same one that ended up.
If not, the map changes normally.
Maybe some plugin can solve this?
for example:
If the cvar is sm_nextmap "de_mirage" the plugin will force the map to reload.
__________________
Need to set up a server? access
www.rugalservidores.com.br
Rugal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-07-2021 , 09:13   Re: Problem with changing maps
Reply With Quote #4

...join your server and hit this in your console. What ouput you get ?
Code:
mp_match_restart_delay;mp_match_end_restart; mp_match_end_changelevel
Also, can you see anything in game logs ?

Last edited by Bacardi; 03-07-2021 at 09:14.
Bacardi is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-07-2021 , 11:44   Re: Problem with changing maps
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
...join your server and hit this in your console. What ouput you get ?
Code:
mp_match_restart_delay;mp_match_end_restart; mp_match_end_changelevel
Also, can you see anything in game logs ?
"mp_match_restart_delay" = "10"
"mp_match_end_changelevel" = "1"
"mp_match_end_restart" = "1"


EDIT: No, I have nothing in the logs.
__________________
Need to set up a server? access
www.rugalservidores.com.br

Last edited by Rugal; 03-07-2021 at 11:44.
Rugal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-07-2021 , 13:29   Re: Problem with changing maps
Reply With Quote #6

So, can you see something ?
Quote:
Originally Posted by Rugal View Post
Guys, I have the following problem.
I have a competitive server using pugsetup, when a game is over, the game displays the scoreboard showing all the statistics of the game, in short.
My problem is in that part, if the game that was finished is a mirage, and for some reason the players voted to play on the same map again (mirage) happens the problem that I will leave in a video.
Everyone is moved back to the teams, but the statistics screen is still displayed.
My server has these 2 commands.

mp_match_end_restart 0
mp_match_end_changelevel 1


Link: https://youtu.be/KRkxYO1ywdo
Quote:
Originally Posted by Rugal View Post
"mp_match_restart_delay" = "10"
"mp_match_end_changelevel" = "1"
"mp_match_end_restart" = "1"



EDIT: No, I have nothing in the logs.
__________________
Do not Private Message @me
Bacardi is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-07-2021 , 19:49   Re: Problem with changing maps
Reply With Quote #7

Apparently my problem was fixed just by activating this command: mp_match_end_restart 1
Now when the map is the same, the team selection screen appears. And the statistics screen disappears.
__________________
Need to set up a server? access
www.rugalservidores.com.br

Last edited by Rugal; 03-07-2021 at 19:49.
Rugal is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-08-2021 , 18:46   Re: Problem with changing maps
Reply With Quote #8

It seems that the problem has not solved, this mp_match_end_restart 1 command just prevents the next map from loading, which also does not help me.


I think my alternative will be to change the code of the extended mapchooser. somehow add something so that he doesn't put the map being played in the vote.
__________________
Need to set up a server? access
www.rugalservidores.com.br
Rugal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-08-2021 , 19:10   Re: Problem with changing maps
Reply With Quote #9

Could you post "differences"?

rcon con_logfile console.log
rcon differences
rcon con_logfile " "


Remove all passwords etc etc
__________________
Do not Private Message @me

Last edited by Bacardi; 03-08-2021 at 19:11.
Bacardi is offline
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Old 03-09-2021 , 11:32   Re: Problem with changing maps
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
Could you post "differences"?

rcon con_logfile console.log
rcon differences
rcon con_logfile " "


Remove all passwords etc etc
How would that help me?
__________________
Need to set up a server? access
www.rugalservidores.com.br
Rugal is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:54.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode