Mods turn off on map change.
Shovel
Join Date: 2013-07-19 Member: 186210Members
I have my server with the command line to read off a server.txt file that includes my mods with the whole -mods "X X X X" but when i change the map or a vote map is done and the server changes maps the mods either turn off or don't turn back on when the map changes. I have tried to look up some information on forums but I can't seem to find a solution to this problem, if anyone has experience or know of a possible solution please tell me. This issue is pretty annoying.
Comments
Lots of good info, it looks correct at a glance, but here is what i'm using in 250 confirmed working.
{
"time": 99999,
"mode": "order",
"maps": [
{ "map": "ns2_docking" },
{ "map": "ns2_summit" },
{ "map": "ns2_tram" },
{ "map": "ns2_icarus", "mods": [ "5F9CCF1" ] },
{ "map": "ns2_jambi", "mods": [ "7B986F5" ] },
{ "map": "ns2_veil" },
{ "map": "ns2_nsl_summit", "mods": [ "735cebc" ] },
{ "map": "ns2_nsl_tram", "mods": [ "7741098" ] },
{ "map": "ns2_nsl_descent", "mods": [ "7d527cc" ] },
{ "map": "ns2_nsl_veil", "mods": [ "78ac3ed" ] }
]
}
I plan to add a few good maps but until i can stabilize basic admin and ns2stats i'm not really sure I can.
Edit: please post you mapcycle.json if you have the same problem.
{
"time": 30,
"mode": "random",
"maps":
[
{ "map": "ns2_summit", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_mineshaft", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_tram", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_veil", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_docking", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_refinery", "mods": [ "706d242", "5fd7a38" ] },
{ "map": "ns2_descent", "mods": [ "706d242", "5fd7a38" ] }
]
}
{
"maps": [ "ns2_mineshaft", "ns2_refinery", "ns2_summit", "ns2_tram", "ns2_docking", "ns2_veil", "ns2_descent" ],
"time": 30,
"mode": "random",
"mods": [ "706d242", "5fd7a38" ]
}
You only have to do that {"map": "mapname","mods":["modid]} if you want to load a special mod only with a special map e.g for custom maps.
Otherwise the last mods will be loaded with every map.
This is my mapcycle.json
{
"maps": [ "ns2_mineshaft", "ns2_refinery", "ns2_summit", "ns2_tram", "ns2_docking", "ns2_veil", "ns2_descent", "ns2_biodome" ],
"time": 30,
"mode": "random",
"mods": [ "706d242 c883d45 c11703b" ]
}
thx for any help
oh and it always starts on summit, is that normal?
"mods": [ "706d242", "c883d45", "c11703b" ]
Slightly confusing perhaps when the startup parameter needs them space separated and this file doesn't.
The starting map is usually determined by the arguments you pass to the server on startup, i.e what you have set for -map.
Another tip: Try to check all your json files with something like http://jsonlint.com/ to avoid those json syntax issue in the future