Jump to content

Carbon Support

Pending 1.0.2

dustyhansen

Posted

This doesn't appear to run in Carbon. The plugin seems to compile, but when it goes to run after startup I get this error:

[ReloadAfterStartup] Reloading 1/1
Timer of 10s has failed in 'ReloadAfterStartup v1.0.2 by Krungh Crow' [callback] (Value cannot be null.
Parameter name: key)
Timer of 10s has failed in 'ReloadAfterStartup v1.0.2 by Krungh Crow' [callback] (Value cannot be null. Parameter name: key) at int System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.FindEntry(string key) at bool System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.ContainsKey(string key) at void Carbon.Base.BaseProcessor.Remove(string id) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 176 at void Carbon.Base.BaseProcessor.Prepare(string id, string file) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 166 at void Oxide.Core.OxideMod.LoadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 103 at void Oxide.Core.OxideMod.ReloadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 108 at void Oxide.Plugins.ReloadAfterStartup.ReloadStateMachine(List<string> pluginsToReload, float timeBetween)+() => { } in D:/AMPDatastore/Instances/RustMainServer01/rust/258550/carbon/plugins/ReloadAfterStartup.cs:line 147 at Timer Oxide.Plugins.Timers.Repeat(float time, int times, Action action)+() => { } in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 111
at int System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.FindEntry(string key)
at bool System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.ContainsKey(string key)
at void Carbon.Base.BaseProcessor.Remove(string id) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 176
at void Carbon.Base.BaseProcessor.Prepare(string id, string file) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 166
at void Oxide.Core.OxideMod.LoadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 103
at void Oxide.Core.OxideMod.ReloadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 108
at void Oxide.Plugins.ReloadAfterStartup.ReloadStateMachine(List<string> pluginsToReload, float timeBetween)+() => { } in D:/AMPDatastore/Instances/RustMainServer01/rust/258550/carbon/plugins/ReloadAfterStartup.cs:line 147
at Timer Oxide.Plugins.Timers.Repeat(float time, int times, Action action)+() => { } in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 111
Timer of 10s has failed in 'ReloadAfterStartup v1.0.2 by Krungh Crow' [callback] (Value cannot be null.
Parameter name: key)
at int System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.FindEntry(string key)
at bool System.Collections.Generic.Dictionary<string, Carbon.Contracts.IBaseProcessor+IProcess>.ContainsKey(string key)
at void Carbon.Base.BaseProcessor.Remove(string id) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 176
at void Carbon.Base.BaseProcessor.Prepare(string id, string file) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Base/BaseProcessor.cs:line 166
at void Oxide.Core.OxideMod.LoadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 103
at void Oxide.Core.OxideMod.ReloadPlugin(string name) in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/OxideMod.cs:line 108
at void Oxide.Plugins.ReloadAfterStartup.ReloadStateMachine(List<string> pluginsToReload, float timeBetween)+() => { } in D:/AMPDatastore/Instances/RustMainServer01/rust/258550/carbon/plugins/ReloadAfterStartup.cs:line 147
at Timer Oxide.Plugins.Timers.Repeat(float time, int times, Action action)+() => { } in D:/a/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Libraries/Timer.cs:line 111
09:09:28
You've successfully pasted the structure

 

dustyhansen

Posted

@Krungh Crow any plans to address this? I have a need for this plugin again, but it looks like there haven't been any updates since I reported this issue.

Krungh Crow

Posted (edited)

this is a carbon issue since server already waits for initialized has finished to start the routine.
i have a similar plugin like this that adds support for console commands.
Both using the oxide structure tho.
ExeCuteAfterStartup is where you can do c.reload {pluginname} like done with o.reload {pluginname}.


 

Edited by Krungh Crow
  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.