i get this message every my plugin hook: "Unable to call hook directly: OnServerInitialized|..."
i see thread Fixed - 'Unable to call hook directly' warning | Oxide dont help me
i write dll (extension) probably issue in plugin loader?
[DOUBLEPOST=1483041307][/DOUBLEPOST]http://dl3.joxi.net/drive/2016/12/29/0014/0543/975391/91/e7aac8794a.png
Solved Unable to call hook directly
Discussion in 'Rust Development' started by bazuka5801, Dec 29, 2016.
-
Wulf Community Admin
What exactly are you trying to do?
-
I make my core, and i need core plugin which load with my dll, but he print many some warnings(
Why when i reload core plugin i takeCode:Failed to call hook 'ConsoleReload' on plugin 'RustCore v1.0.2874' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Core.Plugins.PluginManager.RemovePlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.UnloadPlugin (System.String name) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.ReloadPlugin (System.String name) [0x00000] in <filename unknown>:0 at Oxide.Game.Rust.RustCore.ConsoleReload (.Arg arg) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: Dec 30, 2016 -
I found solution, why unsupported RustPlugin, only CSPlugin
I need write bicycle RustPlugin
I spent a lot of time to fix it, thanks for documentation !boom! -
-
Wulf Community Admin