Raised This Month: $209 Target: $400
 52% 

[nextmap.smx] FATAL: Cannot load map cycle.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rads
AlliedModders Donor
Join Date: Feb 2008
Location: Achievement what
Old 04-30-2013 , 12:45   [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #1

just been doing a reinstall of all servers

upon adding sourcemod im seeing..


L 04/30/2013 - 169:41: SourceMod error session started
L 04/30/2013 - 169:41: Info (map "mvm_coaltown") (file "errors_20130430.log")
L 04/30/2013 - 169:41: [nextmap.smx] FATAL: Cannot load map cycle. Nextmap not loaded.
L 04/30/2013 - 169:41: [SM] Plugin encountered error 25: Call was aborted
L 04/30/2013 - 169:41: [SM] Native "SetFailState" reported: Mapcycle Not Found
L 04/30/2013 - 169:41: [SM] Displaying call stack trace for plugin "nextmap.smx":
L 04/30/2013 - 169:41: [SM] [0] Line 138, C:\builds\build-sourcemod\win32-1.5\build\plugins\nextmap.sp::FindAndSetNextM ap()
L 04/30/2013 - 169:41: [SM] [1] Line 108, C:\builds\build-sourcemod\win32-1.5\build\plugins\nextmap.sp::OnConfigsExecut ed()
__________________
4UHost.UK - Premium Hosting Solution
-- -- -- -- -- -- -- -- -- -- -- -- -----------
Rads is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-30-2013 , 15:30   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #2

Yeah, after last update, server cvar mapcyclefile reads files now on from CFG folder by default.
Sourcemod not yet follow in there.
So duplicate your map cycle file in ...tf/cfg/ and ...tf/
__________________
Do not Private Message @me

Last edited by Bacardi; 04-30-2013 at 17:46. Reason: pfffffff
Bacardi is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-30-2013 , 16:33   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Yeah, after last update, server cvar mapcyclefile reads files now on from CFG folder by default.
Sourcemod not yet follow in there.
So duplicate your map cycle file in ...tf/cfg/ and ...tf/
It will fall back to the main directory if the file isn't found in cfg/

For the moment, you can keep your mapcycle in the server root.
__________________
Am I back? Well, we'll see.

Last edited by Powerlord; 04-30-2013 at 16:34.
Powerlord is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 04-30-2013 , 19:58   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #4

Same problem. Someone has to update nextmap.smx to also look in the cfg folder.
__________________
cool_myll is offline
Nikkii
Member
Join Date: Feb 2012
Old 05-01-2013 , 01:29   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #5

Quote:
Originally Posted by cool_myll View Post
Same problem. Someone has to update nextmap.smx to also look in the cfg folder.
It already looks at the mapcyclefile cvar, so if you set it to cfg/mapcycle.txt it should read it fine. The problem with it now is that it can be in either the main directory or the cfg directory, and I don't think the cvar updates off this, however if it does a late load on the function to read the map files might fix it.
__________________
Owner of ProbablyAServer, a server without game changing mods and donation benefits

RCON Helper | [TF2] LogUpload | CCC Donator Tags | PHP Steam API Wrapper
Nikkii is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 05-01-2013 , 04:32   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #6

Quote:
Originally Posted by Nikkii View Post
It already looks at the mapcyclefile cvar, so if you set it to cfg/mapcycle.txt it should read it fine. The problem with it now is that it can be in either the main directory or the cfg directory, and I don't think the cvar updates off this, however if it does a late load on the function to read the map files might fix it.
It reads the file via the mapcyclefile command. So it gets the name but it doesnt search it in cfg folder.
__________________
cool_myll is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 05-01-2013 , 10:25   [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #7

Quote:
Originally Posted by Nikkii View Post
It already looks at the mapcyclefile cvar, so if you set it to cfg/mapcycle.txt it should read it fine. The problem with it now is that it can be in either the main directory or the cfg directory, and I don't think the cvar updates off this, however if it does a late load on the function to read the map files might fix it.
It'll work. If you set mapcyclefile to "cfg/mapcycle,txt", the server will first look for "cfg/cfg/mapcycle.txt", fail, and load "cfg/mapcycle.txt". And mapchooser will find it as well.

But mapchooser should be updated to take this into account.
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2013 , 13:17   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #8

Quote:
Originally Posted by Dr. McKay View Post
It'll work. If you set mapcyclefile to "cfg/mapcycle,txt", the server will first look for "cfg/cfg/mapcycle.txt", fail, and load "cfg/mapcycle.txt". And mapchooser will find it as well.

But mapchooser should be updated to take this into account.
MapChooser doesn't manually read mapcycle.txt, ir just calls ReadMapList... so ReadMapList needs to be updated. It also needs to be updated so that it looks in the Valve virtual filesystem instead of the real one, which is a significantly larger undertaking.

smn_maplists.cpp is the only file I know of in SourceMod where everything is done in an OS-specific manner.
__________________
Am I back? Well, we'll see.

Last edited by Powerlord; 05-01-2013 at 13:18.
Powerlord is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 05-01-2013 , 16:28   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #9

do anyone know how to get arena mapcycles to work with this update? i have mapcycle set to "cfg/mapcycle.txt" but when the round is over it just changes server back to the same map
__________________
lyric is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 05-01-2013 , 17:29   Re: [nextmap.smx] FATAL: Cannot load map cycle.
Reply With Quote #10

The server will fall back to the old system if it doesn't find the mapcycle in the cfg folder.

Also the mapcycle file cvar works to set your map cycles
__________________
nineteeneleven 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 09:38.


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