Person8880 / Shine

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

getting "nil" errors. #846

Closed Rusty01 closed 3 years ago

Rusty01 commented 3 years ago

Hi, since the last update, we've been seeing this appear in our server logs. I don't think it's a big deal but wanted to mention it as it does create a lot of spam. Thanks.

Capture

Person8880 commented 3 years ago

Is the server running a custom gamemode? Do these plugin config files actually exist and contain valid JSON?

Rusty01 commented 3 years ago

Hi, yes the server is running the Combat gamemode. The files exist and are valid and functioning.

Person8880 commented 3 years ago

There's an issue with how config file loading errors are reported when either:

I can improve the error messages, but the errors you're seeing means one of the above is wrong with your current configuration files.

Person8880 commented 3 years ago

I've just released an update that should improve the error message you're seeing to better explain what's wrong with the config.