Jump to content

error

Pending 1.6.6

Ateszahun
Ateszahun

Posted

Hello. I installed the update and it spams this in my console under carbon:

Failed to call internal hook 'OnEntitySpawned' on plugin 'CargoPlaneCrash v1.6.6' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.CargoPlaneCrash.OnEntitySpawned(BuildingPrivlidge entity) in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 1962
   at object Oxide.Plugins.CargoPlaneCrash.InternalCallHook(uint hook, object[] args) in CargoPlaneCrash.cs/Internal:line 314
Failed to call internal hook 'OnEntitySpawned' on plugin 'CargoPlaneCrash v1.6.6' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.CargoPlaneCrash.OnEntitySpawned(BuildingPrivlidge entity) in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 1962
   at object Oxide.Plugins.CargoPlaneCrash.InternalCallHook(uint hook, object[] args) in CargoPlaneCrash.cs/Internal:line 314

Fruster

Posted

Hey! I'll check this later. Try installing a previous version of the plugin, will that fix the error?

Ateszahun

Posted

I've downloaded it back to 1.6.3 and it throws every error.

 

Failed to call internal hook 'OnEntitySpawned' on plugin 'CargoPlaneCrash v1.6.3' [2949838417] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.CargoPlaneCrash.OnEntitySpawned(BuildingPrivlidge entity) in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 1961
   at object Oxide.Plugins.CargoPlaneCrash.InternalCallHook(uint hook, object[] args) in CargoPlaneCrash.cs/Internal:line 314

Fruster

Posted

Try changing the OnEntitySpawned and OnEntityKill hooks like this:


private void OnEntitySpawned(BuildingPrivlidge entity)

if (entity == null) return; 
tcList.Add(entity.transform.position);
}

private void OnEntityKill(BuildingPrivlidge entity)

if (entity == null) return; 
tcList.Remove(entity.transform.position);
}

 

Let me know the results, please

Ateszahun

Posted

Creating item with less than 1 amount! (Medical Syringe)
Timer of 0.2s has failed in 'CargoPlaneCrash v1.6.6 by Fruster' [callback] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.CargoPlaneCrash.crashSite() in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 990
   at void Oxide.Plugins.CargoPlaneCrash.FlightCalc() in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 751
   at void Oxide.Plugins.CargoPlaneCrash.startEvent()+() => { } in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 699
   at Timer Oxide.Plugins.Timers.Every(float time, Action action)+() => { } in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 86

Fruster

Posted

try updating the plugin and restarting the server, then let me know the results, please

Fruster

Posted

You are welcome! Thanks for your help 

NavyChief

Posted

Timer of 0.2s has failed in 'CargoPlaneCrash v1.6.7 by Fruster' [callback] (Object reference not set to an instance of an object) at void Oxide.Plugins.CargoPlaneCrash.crashSite() in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 992 at void Oxide.Plugins.CargoPlaneCrash.FlightCalc() in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 751 at void Oxide.Plugins.CargoPlaneCrash.startEvent()+() => { } in /home/container/carbon/plugins/CargoPlaneCrash.cs:line 699 at Timer Oxide.Plugins.Timers.Every(float time, Action action)+() => { } in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 86

Fruster

Posted

Please attach your .json configuration file

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
2.5m
Total downloads
Customers
11.3k
Customers served
Files Sold
161.3k
Total sales
Payments
3.5m
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.