NullReferenceException at OnEntityDeathSolved
I'm new to running a rust server so bare with me..
So I've loaded this plugin and this is my config file:
{
  "BearRate": 1
  "WolfRate": 0,
  "ScientistRate": 0,
  "PeacekeeperRate": 0,
  "AirdropRate": 0,
  "BeancanRate": 100,
  "ZombieRate": 5,
  "ScarecrowRate": 0,
  "Barrelcountdrop": 1
}​

I just set stuff to random numbers and let it run for a bit. However with every barrel destroyed I get this in my RCON Console:

I mean idk man looks like a white box to me so https://pasteboard.co/JqgCzQI.png there you go

Basically nothing spawns and someone help me thank you <3

Add the , after bearrate u left it out causing the error

{
  "BearRate": 1,
  "WolfRate": 0,
  "ScientistRate": 0,
  "PeacekeeperRate": 0,
  "AirdropRate": 0,
  "BeancanRate": 100,
  "ZombieRate": 5,
  "ScarecrowRate": 0,
  "Barrelcountdrop": 1
}​
Sorry thats my bad there, there is a ' , ' in the actual file I somehow copied it wrong?
Just tested again and I still get the error...
Any other ideas, thanks.
did u reload it ? (just to cancel that out) :)
Will do now

Merged post

Alright sorry for wasting your time fella, take it easy
did the reloading solve your issue ? (u always have to reload the plugin to make the plugins run with their new cfg)
Yeah, first rust server so I'm still getting used to it, cheers though. Also off on another note I know but any was to make something less than 1/100 chance? Like I was bear to be something like 1/500 etc..

ohh u could do 0.2 that would be 1/500
But i have it on1 which is fine and keeps them on their toes

It says on the plugin page itsself the number has to be between 1-100 that's why I was a little confused

yeah 1 is advised to avoid any issues with the rates so i suggest keeping it to 1

(just rechecked since i am only maintaining it from a previous dev that 1 is the hardcoded minimum)
if u want 1 on 500 chance set the barrelcountdrop to 5

oohhhh okay thank you

Merged post

so now I do a number between 1-500 or still just 100?

1-100

and barrelcount to 5 to make a 1% chance triggering it after each 5 barrels making it basicly 1/500

okay cheers for all of that
Locked automatically