Compile errorFixed

Hello,
I suddenly started getting this error today:

Error while compiling VehicleDecayProtection: 'HotAirBalloon' does not contain a definition for 'lastBlastTime' and no accessible extension method 'lastBlastTime' accepting a first argument of type 'HotAirBalloon' could be found (are you missing a using directive or an assembly reference?) | Line: 745, Pos: 80
Any help or advice would be appreciated!

Install the latest version of the plugin.

Just an FYI,
I updated Plugin and now it is compiling and loading. However I still get the error below. mind you this is with the new and the default .json config file the plugin loads. I just wanted you to know.

Unloaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder
Fallback handler could not load library RustDedicated_Data/MonoBleedingEdge/x86_64/data-0x621b32555960.so
VehicleDecayProtection v2.6.1: Failed to load config file (is the config file corrupt?) (Input string '00.0' is not a valid number. Path 'Vehicles['Hot Air Balloon']['Protect from decay after recent use (minutes)']', line 21, position 59.)
[Vehicle Decay Protection] Input string '00.0' is not a valid double. Path 'Vehicles['Hot Air Balloon']['Protect from decay after recent use (minutes)']', line 21, position 59.
[Vehicle Decay Protection] Configuration file VehicleDecayProtection.json is invalid; using defaults
Loaded plugin Vehicle Decay Protection v2.6.1 by WhiteThunder

There's something wrong with your server's assemblies, or perhaps another plugin is modifying the global json serialization settings.

Using the plugin standalone shouldn't cause that issue where the default config is written to disk as "00.0". The plugin's default configuration sets that value to 10, not 0. There's no complexity or room for error in how the default configuration is generated in-memory, but there can theoretically be problems when writing the config to disk if the json serializer is misconfigured, which is not part of the plugin itself.

Ok Thank You, I'll look into this

Merged post

Yes, after I looked at the .json config file I saw that one of my settings had a "00.0" by mistake. all the rest of the settings had a value of "1.0" or "0.0" so when the plugin saw "00.0" it did not know what to do and would not compile. so all I had to do is to change the "00.0" to "0.0" and now it's working fine!

Thanks for the help!

i have same Error. i remove plugin + config file and still same

Error while compiling VehicleDecayProtection: 'HotAirBalloon' does not contain a definition for 'lastBlastTime' and no accessible extension method 'lastBlastTime' accepting a first argument of type 'HotAirBalloon' could be found (are you missing a using directive or an assembly reference?) | Line: 745, Pos: 80

HyxnPQhSVEpR2yh.jpg shadow5443

i have same Error. i remove plugin + config file and still same

Error while compiling VehicleDecayProtection: 'HotAirBalloon' does not contain a definition for 'lastBlastTime' and no accessible extension method 'lastBlastTime' accepting a first argument of type 'HotAirBalloon' could be found (are you missing a using directive or an assembly reference?) | Line: 745, Pos: 80

ok after just update the plugin all is just fine

Locked automatically