Raised This Month: $ Target: $400
 0% 

[BUG] Default mapchooser.smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-15-2015 , 19:35   [BUG] Default mapchooser.smx
Reply With Quote #1

When extending map (end-map-vote) the timelimit is being extended, but rounds remain the same and the map is changing for the 1st mapcycle map after the last round has ended (rounds are never being extended).

mp_timelimit 20
mp_fraglimit 0
mp_winlimit 0
mp_maxrounds 15

Additionally after 2nd or 3d successful extend another end map votings keep popping up at the start of each round, so time is still being extended, but rounds not. The same is happening with:

mp_timelimit 0
mp_fraglimit 0
mp_winlimit 0
mp_maxrounds 15

Quote:
Originally Posted by mapchooser.cfg
Spoiler
Quote:
Originally Posted by SM PLUGINS LIST
Spoiler
Regards.

Last edited by GrO; 05-18-2015 at 19:43.
GrO is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 05-17-2015 , 19:42   Re: [BUG] Default mapchooser.smx
Reply With Quote #2

Anyone may confirm this? Maybe it's just my server?
GrO is offline
Gdk
Member
Join Date: Oct 2014
Old 07-21-2015 , 01:00   Re: [BUG] Default mapchooser.smx
Reply With Quote #3

Same is happening for me. Says successful vote for extended, but mp_maxrounds is not changed. I will probably just use a different mapchooser.
Gdk is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-21-2015 , 10:25   Re: [BUG] Default mapchooser.smx
Reply With Quote #4

I'm looking at the code for mapchooser.sp that's in SourceMod Master right now and the code to extend rounds looks correct.

Specifically:

PHP Code:
        if (g_Cvar_Maxrounds)
        {
            
int maxrounds g_Cvar_Maxrounds.IntValue;
            if (
maxrounds)
            {
                
g_Cvar_Maxrounds.IntValue maxrounds g_Cvar_ExtendRoundStep.IntValue;
            }
        } 
which is inside the block that checks if Extend won.

Basically this says, if mp_maxrounds exists in this game and its value isn't 0, set it to its current value plus sm_extendmap_roundstep rounds (5 by default).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Spyrek
Senior Member
Join Date: Jun 2009
Old 07-22-2015 , 09:59   Re: [BUG] Default mapchooser.smx
Reply With Quote #5

There is another bug with CSGO cvar mp_match_can_clinch 1, for example if you have this cvar set to 1 and max_rounds 16 map will change without vote when one team will have 9 won rounds.
Maybe it can be fixed in other way than increasing number of rounds when vote should start.
Spyrek is offline
Xaky
New Member
Join Date: Aug 2013
Old 07-23-2015 , 15:03   Re: [BUG] Default mapchooser.smx
Reply With Quote #6

yeah, i have that bug too
Xaky is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-12-2015 , 16:41   Re: [BUG] Default mapchooser.smx
Reply With Quote #7

I know I'm bumping this topic, but...

Something is definitely going wrong with this. I'm looking into seeing what's going wrong.

The weird thing is, when I was testing something totally unrelated in TF2, mp_maxrounds was increased properly the first time Extend won. Each subsequent extension only increased the time.

Here's a list of the timeline of events:

Relevant Cvars set from files are:

Code:
mp_maxrounds 4
mp_timelimit 30
sm_extendmap_roundstep "5"
sm_extendmap_timestep "15"
sm_mapvote_extend "3"
sm_mapvote_start "6.0"
sm_mapvote_startround "2.0"
The only people on were myself and 7 bots.

According to server logs and sourcemod logs, this is what happened:

Vote started at the beginning of the third round, I voted for extend.
Code:
L 08/11/2015 - 20:02:46: [mapchooser.smx] Voting for next map has finished. The current map has been extended.
L 08/11/2015 - 20:02:46: server_cvar: "mp_timelimit" "45"
L 08/11/2015 - 20:02:46: server_cvar: "mp_maxrounds" "9"
Vote started at the beginning of the eighth round, I voted for extend.
Code:
L 08/11/2015 - 20:09:05: [mapchooser.smx] Voting for next map has finished. The current map has been extended.
L 08/11/2015 - 20:09:05: server_cvar: "mp_timelimit" "60"

Vote started at the beginning of the ninth round, I voted for extend.
Code:
L 08/11/2015 - 20:09:30: [mapchooser.smx] Voting for next map has finished. The current map has been extended.
L 08/11/2015 - 20:09:30: server_cvar: "mp_timelimit" "75"
Vote started during bonus time at the end of the map, extend was no longer present.
Code:
L 08/11/2015 - 20:10:06: [mapchooser.smx] Voting for next map has finished. Nextmap: arena_offblast_final.
L 08/11/2015 - 20:10:28: [SM] Changed map to "arena_offblast_final"
L 08/11/2015 - 20:10:34: -------- Mapchange to arena_offblast_final --------
So yes, mp_maxrounds isn't being updated when a map is extended after the first vote.

I'm not exactly sure why this is, but I will be looking into it.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-12-2015 at 17:15.
Powerlord is offline
Smoke123
Member
Join Date: Jul 2006
Old 09-23-2015 , 15:37   Re: [BUG] Default mapchooser.smx
Reply With Quote #8

to the last poster...at least you get a map vote to que up at round end. My server just goes into the next map or if a player joins mid game after all my rounds are done the server just replays the map that just finished
__________________

Last edited by Smoke123; 09-23-2015 at 15:38.
Smoke123 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-23-2015 , 20:02   Re: [BUG] Default mapchooser.smx
Reply With Quote #9

You probably shouldn't reply to another thread with a different problem. Particularly since the problem mentioned upthread was fixed in the more recent SourceMod builds (I know, I'm the one who fixed it).

Anyway, assuming you're running a CS:GO server, you're probably running into the issue where one of the matchend cvars (mp_matchend_restart ?) is turned on when it shouldn't be.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply



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 01:06.


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