AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Problem with changing maps (https://forums.alliedmods.net/showthread.php?t=331109)

Rugal 03-06-2021 19:08

Problem with changing maps
 
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

Bacardi 03-07-2021 00:38

Re: Problem with changing maps
 
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.

Rugal 03-07-2021 08:11

Re: Problem with changing maps
 
Quote:

Originally Posted by Bacardi (Post 2739550)
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.

Bacardi 03-07-2021 09:13

Re: Problem with changing maps
 
...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 ?

Rugal 03-07-2021 11:44

Re: Problem with changing maps
 
Quote:

Originally Posted by Bacardi (Post 2739585)
...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.

Bacardi 03-07-2021 13:29

Re: Problem with changing maps
 
So, can you see something ?
Quote:

Originally Posted by Rugal (Post 2739534)
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 (Post 2739600)
"mp_match_restart_delay" = "10"
"mp_match_end_changelevel" = "1"
"mp_match_end_restart" = "1"



EDIT: No, I have nothing in the logs.


Rugal 03-07-2021 19:49

Re: Problem with changing maps
 
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.

Rugal 03-08-2021 18:46

Re: Problem with changing maps
 
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.

Bacardi 03-08-2021 19:10

Re: Problem with changing maps
 
Could you post "differences"?

rcon con_logfile console.log
rcon differences
rcon con_logfile " "


Remove all passwords etc etc

Rugal 03-09-2021 11:32

Re: Problem with changing maps
 
Quote:

Originally Posted by Bacardi (Post 2739801)
Could you post "differences"?

rcon con_logfile console.log
rcon differences
rcon con_logfile " "


Remove all passwords etc etc

How would that help me?


All times are GMT -4. The time now is 18:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.