Raised This Month: $51 Target: $400
 12% 

Solved [CS:GO] Nextmap plugin doesn't work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-21-2020 , 18:14   [CS:GO] Nextmap plugin doesn't work
Reply With Quote #1

I am facing a problem in my Dedicated Windows, configuring a competitive server, it connects, but the nextmap plugin is showing an error:
Code:
L 07/21/2020 - 19:05:51: [mapchooser.smx] Unable to create a valid map list.
L 07/21/2020 - 19:05:51: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 07/21/2020 - 19:05:51: [SM] Exception reported: Mapcycle Not Found
L 07/21/2020 - 19:05:51: [SM] Blaming: nextmap.smx
L 07/21/2020 - 19:05:51: [SM] Call stack trace:
L 07/21/2020 - 19:05:51: [SM]   [0] SetFailState
L 07/21/2020 - 19:05:51: [SM]   [1] Line 143, D:\builds\build-sourcemod-msvc12\windows-1.10\build\plugins\nextmap.sp::FindAndSetNextMap
L 07/21/2020 - 19:05:51: [SM]   [2] Line 113, D:\builds\build-sourcemod-msvc12\windows-1.10\build\plugins\nextmap.sp::OnConfigsExecuted
However, if I literally copy this server from my dedicated server and play it on my PC / Local network, it works fine, no error on the nextmap.

SourceMod Information:
PHP Code:
 SourceMod Version Information:
    
SourceMod Version1.10.0.6490
    SourcePawn Engine
1.10.0.6490jit-x86 (build 1.10.0.6490)
    
SourcePawn APIv1 5v2 12
    Compiled on
Jun 21 2020 11:38:32
    Built from
https://github.com/alliedmodders/sourcemod/commit/ac29ac06
    
Build ID6490:ac29ac06
    http
://www.sourcemod.net/ 
Metamod information:
PHP Code:
Metamod Version1.10 build 971 
The map settings are all configured correctly and located in the csgo folder.

Last edited by paulo_crash; 07-21-2020 at 19:29.
paulo_crash is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 07-21-2020 , 18:52   Re: [CS:GO] Nextmap plugin doesn't work
Reply With Quote #2

Do you have any entry in the mapcycle.txt?

Last edited by TomL.; 07-21-2020 at 18:59.
TomL. is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-21-2020 , 18:55   Re: [CS:GO] Nextmap plugin doesn't work
Reply With Quote #3

If the settings and files were all correct then most likely the error would appear. It certainly could be something else but the error given to you states that the file is missing or non accessible. It can't read the file it needs to from the maplists through addons/sourcemod/configs/maplists.cfg. Check what the target file is, if it's default which is mapcyclefile, that would be: mapcycle.txt in your csgo folder. The best course of action is to fix the file, delete and make new, and give appropriate permissions for it. Or if need be change the value for default to another file name, like mapcyclelist.txt and put the map names in there.

You can also create in the csgo folder and set this in your server.cfg: sm_cvar mapcyclefile "mapsmyserverplays.txt"
Maxximou5 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-21-2020 , 19:11   Re: [CS:GO] Nextmap plugin doesn't work
Reply With Quote #4

Quote:
Originally Posted by Maxximou5 View Post
If the settings and files were all correct then most likely the error would appear. It certainly could be something else but the error given to you states that the file is missing or non accessible. It can't read the file it needs to from the maplists through addons/sourcemod/configs/maplists.cfg. Check what the target file is, if it's default which is mapcyclefile, that would be: mapcycle.txt in your csgo folder. The best course of action is to fix the file, delete and make new, and give appropriate permissions for it. Or if need be change the value for default to another file name, like mapcyclelist.txt and put the map names in there.

You can also create in the csgo folder and set this in your server.cfg: sm_cvar mapcyclefile "mapsmyserverplays.txt"
Yes, I have correctly configured mapcycle.txt, follow the file:
Attachment 182746
Attachment 182747

maplist.cfg configured his default, I haven't changed anything.
Attachment 182748

[EDIT]
Solved, I deleted and created again, as you said and problem solved.

Thanks, simple solution and I didn't think that at the time.

Last edited by paulo_crash; 08-08-2021 at 14:05.
paulo_crash is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 07-22-2020 , 13:20   Re: [CS:GO] Nextmap plugin doesn't work
Reply With Quote #5

Quote:
Originally Posted by paulo_crash View Post
...
Solved, I deleted and created again, as you said and problem solved.

Thanks, simple solution and I didn't think that at the time.
Welcome! Good to hear it was a simple fix.
Maxximou5 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 07-22-2020 , 14:48   Re: [CS:GO] Nextmap plugin doesn't work
Reply With Quote #6

Taking advantage of the hook, could you explain to me how mapchooser.smx works?

I currently have it activated with the nextmap.smx, to have the map vote at the end of the game. However, I realized that the vote only appears for the player to run around 20 rounds, in the competitive mode in this case.

If a game lasts less than 20 rounds, the plugin does not vote, how to fix it?

Last edited by paulo_crash; 07-22-2020 at 14:48.
paulo_crash 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 16:47.


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