Jump to content

Carbon Support

Closed 1.0.2

dustyhansen
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

Yes, I am running the most recent version.

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

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.6k
Marketplace sales
Payments
3.3m
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.