Help - Search - Members - Calendar
Full Version: Mapcycle.txt
Unknown Worlds Forums > Natural Selection > Natural Selection Discussion > General Server Discussion > Win32 Server Support
Emanon
Need help, I cannot seem to get the server mapcycle.txt to work correctly.
This is the current content of the file that is located in the nsp folder.
QUOTE
co_ulysses "\minplayers\0\maxplayers\10\"
//ns_agora  "\minplayers\11\maxplayers\15\"
co_angst                 "\minplayers\0\maxplayers\10\"
ns_caged                  "\minplayers\11\maxplayers\15\"
co_faceoff                  "\minplayers\0\maxplayers\10\"
ns_origin                 "\minplayers\11\maxplayers\15\"
ns_hera  "\minplayers\11\maxplayers\15\"
//ns_lost                 "\minplayers\11\maxplayers\15\"
ns_nothing                 "\minplayers\11\maxplayers\15\"
ns_mineshaft "\minplayers\11\maxplayers\15\"
ns_tanith                 "\minplayers\11\maxplayers\15\"
co_daimos                 "\minplayers\0\maxplayers\10\"
ns_nancy                 "\minplayers\11\maxplayers\15\"
co_kestrel                 "\minplayers\0\maxplayers\10\"
ns_veil                 "\minplayers\11\maxplayers\15\"
co_rebirth                 "\minplayers\0\maxplayers\10\"
ns_eclipse                 "\minplayers\11\maxplayers\15\"
co_core                 "\minplayers\0\maxplayers\10\"
ns_ayumi                 "\minplayers\11\maxplayers\15\"
co_pulse                 "\minplayers\0\maxplayers\10\"
ns_metal                "\minplayers\11\maxplayers\15\"


The server is currently running cheezypoof's amx plugin for nextmap (nextmap.amx) compiled with the latest version of ns2amx(1.0.0.5) and metamod version (1.17a)
It is also running amx v 0.9.6j (0.9.7) and have mapchangecfgfile "server.cfg" in my server.cfg if it makes any difference.

It doesnt seem to work as intended. Am I missing a cvar?

Thanks for the Help.
Emanon
CheesyPeteza
I didn't code into the plugin the ability to handle the minplayers maxplayers thing as it was too complicated. I'm now redoing this plugin from scratch for AMXModX so that it works perfectly. Its trickier than it looks.

You can just use the default nextmap plugin if you wish. You need to comment out #define OBEY_MAPCYCLE in it and recompile. The problems with it are that it can't handle the same map being in the mapcycle twice and the mapchooser plugin will no longer work, but minplayers/maxplayers will work.

Emanon
Is there other ways: ie not using amx pluggins (nextmap) to fix the nextmap bug.

I would find having the map rotation to work far better than having the nextmap command to work.
CheesyPeteza
Just comment nextmap.amx in plugins.ini.
Emanon
Thanks for the answers, it works now.

Thanks again,
Emanon
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.