View Single Post
joshtrav
Senior Member
Join Date: Sep 2009
Old 10-25-2017 , 12:35   Re: Server ignoring "nextlevel" and loading the next map from mapcycle.txt
Reply With Quote #5

Quote:
Originally Posted by joao7yt View Post
Hey, I think it might be a bug, idk how/when it started to happen, but even setting nextlevel to some map through my plugin or manually, it try to get the next map from mapcycle.txt. It's messing with my warmod plugin when in a Bo3/Bo5.

It just happens when the match ends, if you use changelevel it works fine.

To test it, put only de_cache in mapcycle.txt, set nextlevel to de_dust2, set mp_maxrounds to 2 and kill the bots to go faster. When the match ends you will see over the scoreboard "Loading Dust 2 in ...", after the countdown, it will change to de_cache.

Can someone confirm this issue or at least point something im doing wrong?

This is what pop up on the console right when the map is changing:

HTML Code:
Going to intermission...
CHANGELEVEL: ConVar 'nextlevel' is set, next map will be 'de_cache'
CHANGE LEVEL: de_cache
L 10/25/2017 - 14:14:59: [SM] Changed map to "de_dust2"
---- Host_Changelevel ----
*** Map Load: de_dust2: Map Group mg_active#######################################
Map de_dust2 missing stringtable dictionary, don't ship this way!!!
Run with -stringtables on the command line or convar
stringtable_alwaysrebuilddictionaries enabled to build the string table
#######################################
L 10/25/2017 - 14:15:05: -------- Mapchange to de_dust2 --------
P.S.: i tested it without custom plugins, same
Is this [CSGO]? We normally do:
https://sm.alliedmods.net/new-api/nextmap/SetNextMap SetNextMap

as well as:
https://sm.alliedmods.net/new-api/console/ServerCommand ServerCommand "changelevel"

- I ask about CSGO specifically, as you need to include the workshop path for workshop maps:
changelevel workshop/XXXXXXXX/de_cache
__________________

joshtrav is offline