Jump to content

Train and map markers remain after replacing the plugin file

Pending 2.1.0

Kobani
Kobani

Posted

Hi, I ran into an issue when I dragged ArmoredTrain.cs into the oxide/plugins folder and overwrote the existing file while the train was on the map. The console logged a NullReferenceException in KillTrain() during the Unload hook.

Afterward, the train and its markers stayed on the map. Some NPCs also seem to still be there, but they’re invisible. So far, only a full server restart has cleared everything.

Failed to call hook 'Unload' on plugin 'ArmoredTrain v2.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ArmoredTrain+EventController.KillTrain () [0x0009f] at Oxide.Plugins.ArmoredTrain+EventController.DeleteController () [0x00049] at Oxide.Plugins.ArmoredTrain+EventLauncher.StopEvent (...) [0x00014] at Oxide.Plugins.ArmoredTrain.Unload () [0x00000]

Could you take a look at why cleanup stops in KillTrain() when the plugin file is replaced? Thanks!

image.png

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
176.3k
Total sales
Payments
3.9m
Processed total
×
×
  • 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.