Jump to content

NullReference Error

Closed 2.0.3

Swedish Chef
Swedish Chef

Posted

in "NPC Configurations": [

for 

"Name": "medicMP5",

i have one thing in his loot list, if the chance is 100%

this error is thrown

(02:31:33) | Failed to run a 2.00 timer in 'Convoy v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.Convoy+ConvoyBradley.InitBradley () [0x00018] in <6b96c12d24064b4fb32dcf0b9a090810>:0

at Oxide.Plugins.Convoy.CreateBradley (System.Int32 firstPoint, System.Int32 secondPoint) [0x0009c] in <6b96c12d24064b4fb32dcf0b9a090810>:0

at Oxide.Plugins.Convoy+<CreateConvoy>c__AnonStorey15.<>m__1 () [0x0041d] in <6b96c12d24064b4fb32dcf0b9a090810>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

Convoy.json

Adem

Posted

So you have configured something incorrectly in the config. For example, an incorrect item shortname was entered

 

Adem

Posted

You have bradley_1 specified, but this is not in the bradley configurations

 

image.png.a3831b7c5f3d7cd165b677490bfbfbf0.pngimage.thumb.png.a6b07efa17f040e1a5644a1319aa36c9.png

Adem

Posted

Changed Status from Pending to Closed

Swedish Chef

Posted

ah yes, sorry. 

please add some checks so this doesn't happen. to say in the console, "Bradley Configurations:bradley_1 does not exist" its very easy to have an error at some point and then have to start the whole config again. i bet so many hours have been spent on people writing configs. 

 

 

Adem

Posted

These are unnecessary checks that slow down the plugin

Swedish Chef

Posted

10 minutes ago, Adem said:

These are unnecessary checks that slow down the plugin

in no way are they unnecessary. its standard practice.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.