Person8880 / Shine

An administration mod for Natural Selection 2.
53 stars 23 forks source link

issue with mapcycle.json #867

Closed Rusty01 closed 2 years ago

Rusty01 commented 2 years ago

Hi, hope you're doing well. Could you do me a favour and take a peak at my Mapcycle.json? I was using this before the latest update from hexadecimal to decimal modids. but if I try and use it, the mapvote plugin disables with the following error [02:00:44][Map Vote] [Error] The map cycle "maps" list is invalid (expected table, got nil). Check the MapCycle.json file The Mapcycle.json looks correct, but would you mind giving it a once over to see what I'm missing? I like being able to use the // comments for notes as it's easier to enable / disable mods this way. https://pastebin.com/gxmBivim

Thanks!

Person8880 commented 2 years ago

You should see somewhere in the main log file a line like:

Error while opening MapCycle.json: no valid JSON value at line <x>, column <y>

From what I can see you have an unquoted hex value in the "mods" list on line 66 which isn't valid JSON.

Rusty01 commented 2 years ago

Yup, that'll do it. Thanks!