View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2013 , 12: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.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-01-2013 at 12:18.
Powerlord is offline