FormatException: Input string was not in a correct formatSolved

I noticed a long string of errors on 3.0 after I loaded it up.  I was getting this ... a lot.  Performance of server was very low.

FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.
9074333[9074333] was killed by sentry.scientist.static (entity)
FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.
FormatException: Input string was not in a correct format.​

I did end up having to back it off the server.  I will try to take a look at if there is just something I am missing.

Thanks for reporting this. Could you show me your config?

I am having the same issue of FormatException: Input string was not in a correct format. here is a copy of my config
{
"Spawn Settings": {
"Spawn near players": false,
"Minimum pop for near player spawn": 0,
"Min distance from player": 30.0,
"Max distance from player": 60.0,
"Spawn Time": 19.0,
"Destroy Time": 7.0,
"Zombie Settings": {
"Murderer Population (total amount)": 25,
"Murderer Health": 100.0,
"Scarecrow Population (total amount)": 25,
"Scarecrow Health": 200.0
},
"Chance Settings": {
"Chance per cycle": 25.0,
"Days betewen spawn": 0
}
},
"Destroy Settings": {
"Leave Corpse, when destroyed": false,
"Leave Corpse, when killed by player": true
},
"Behaviour Settings": {
"Attack sleeping players": false,
"Zombies attacked by outpost sentries": true,
"Ignore Human NPCs": true,
"Ignored entities (full entity shortname)": [
"scientistjunkpile.prefab",
"scarecrow.prefab"
]
},
"Broadcast Settings": {
"Broadcast spawn amount": true,
"Broadcast types separately": false
}
}

Could you show me your language file?

Sorry for the delay.  Here is my current NightZombies.json as resident to the config folder:

{
  "Murderer Population": 50,
  "Scarecrow Population": 50,
  "Kill Murderers": true,
  "Play sound": false,
  "Broadcast Spawn amount": false,
  "Broadcast murderer and scarecrow count separately": false,
  "Slow destroy": false,
  "Slow destroy time (seconds)": 0.15
}​

This is the same config that I was using prior to the update.  If you need the data file or any others just let me know.

QSTlU4e1EyFn8Dv.jpg XavierPendragon

Sorry for the delay.  Here is my current NightZombies.json as resident to the config folder:

{
  "Murderer Population": 50,
  "Scarecrow Population": 50,
  "Kill Murderers": true,
  "Play sound": false,
  "Broadcast Spawn amount": false,
  "Broadcast murderer and scarecrow count separately": false,
  "Slow destroy": false,
  "Slow destroy time (seconds)": 0.15
}​

This is the same config that I was using prior to the update.  If you need the data file or any others just let me know.

Have you added or changed the lang files at all?

No changes since last version to any part except the number of murderers and zombies.  I had trouble getting it to operate well with any changes other than that.  When I updated to the new version, I just used overwrite to the .cs file.  That is how I usually handle updates commonly unless I notice issues with plugins post update.

itJU5dclXKi5lOI.jpg XavierPendragon

No changes since last version to any part except the number of murderers and zombies.  I had trouble getting it to operate well with any changes other than that.  When I updated to the new version, I just used overwrite to the .cs file.  That is how I usually handle updates commonly unless I notice issues with plugins post update.

I think that this might be caused by having the old lang file, try deleting the NightZombies.json lang file and reloading the plugin.

Ok, I will purge the language file and allow it to repopulate.

Locked automatically