1. Hi,

    my server keeps unloading/loading all my plug-ins every minute. Is this a normal behavior?
    It crashes ones the plug-ins were installed, could not reproduce the crash yet.
    Code:
    [Oxide] 16:35 [Info] Unloaded plugin Zeiser Levels REMASTERED v1.6.4 by Zeiser/Visagalis
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:35 [Info] Loaded plugin Zeiser Levels REMASTERED v1.6.4 by Zeiser/Visagalis
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:35 [Info] Unloaded plugin InfoPanel v0.9.3 by Ghosst
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:35 [Info] Loaded plugin InfoPanel v0.9.3 by Ghosst
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    Saved 18,994 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01).
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    Saving complete
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Unloaded plugin Death Notes v5.2.8 by LaserHydra
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Loaded plugin Death Notes v5.2.8 by LaserHydra
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Unloaded plugin Notifier v3.1.3 by SkinN
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Loaded plugin Notifier v3.1.3 by SkinN
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Unloaded plugin Zeiser Levels REMASTERED v1.6.4 by Zeiser/Visagalis
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Loaded plugin Zeiser Levels REMASTERED v1.6.4 by Zeiser/Visagalis
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Unloaded plugin InfoPanel v0.9.3 by Ghosst
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    [Oxide] 16:36 [Info] Loaded plugin InfoPanel v0.9.3 by Ghosst
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
    Saved 18,996 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01).
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)Saving complete
    I would be much appreciative, for any help on this.

    greetings
     

    Attached Files:

  2. Wulf

    Wulf Community Admin

    That's not behavior from Oxide, and would only happen if you have something set to do that or perhaps an extension you are running.
     
  3. Thanks for the quick answer, I've checked again and restarted:


    Code:
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)ArgumentNullException: Argument cannot be null.
    Parameter name: newOut
    at System.Console.SetOut (System.IO.TextWriter newOut) [0x00000] in :0
    at Windows.ConsoleWindow.Shutdown () [0x00000] in :0
    at ServerConsole.OnDisable () [0x00000] in :0
    UnityEngine.Behaviour:set_enabled(Boolean)
    Oxide.Game.Rust.RustCore:OnServerInitialized()
    System.Reflection.MonoMethod:Internalvoke(Object, Object[], Exception&)
    System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    System.Reflection.MethodBase:Invoke(Object, Object[])
    Oxide.Core.Plugins.CSPlugin:InvokeMethod(HookMethod, Object[])
    Oxide.Core.Plugins.CSPlugin:OnCallHook(String, Object[])
    Oxide.Core.Plugins.Plugin:CallHook(String, Object[])
    Oxide.Core.Plugins.PluginManager:CallHook(String, Object[])
    Oxide.Core.OxideMod:CallHook(String, Object[])
    Oxide.Core.Interface:CallHook(String, Object[])
    ServerMgr:OpenConnection()
    c__IteratorF:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)(Filename: Line: -1)[Oxide] 17:02 [Info] Unloaded plugin Notifier v3.1.3 by SkinN
    There just one other Err during startup:

    Code:
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)EntryPointNotFoundException: AttachConsole
    at (wrapper managed-to-native) Windows.ConsoleWindow:AttachConsole (uint)
    at Windows.ConsoleWindow.Initialize () [0x00000] in :0
    at ServerConsole.OnEnable () [0x00000] in :0
    UnityEngine.GameObject:SetActive(Boolean)
    GameManager:CreatePrefab(String, Vector3, Quaternion, Boolean)
    c__IteratorE:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)(Filename: Line: -1)Unloading 4 Unused Serialized files (Serialized files now loaded: 70)
    WARNING: Shader Unsupported: 'Rust/Standard Terrain BaseMap' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain BaseMap' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain BaseMap' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain BaseMap' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    WARNING: Shader Unsupported: 'Rust/Standard Terrain' - All passes removed
    UnloadTime: 3.965000 ms
    Generating terrain of size 4500 with seed 10815
    
     
  4. Wulf

    Wulf Community Admin

    Neither one of those would cause plugins to unload/load and aren't causing any issues.
     
  5. Ok I tried with a plain install (its on a managed system, Hoster: host-unlimited.de)
    1. Installed rust (tested, runs perfect)
    2. disable auto check with steam
    3. copy latest oxide
    4. start up (only the two errors above, rest seems ok)


    5. Copied a Plug-in into the oxide dir, same issue, unload/load every minute.

    I'm giving up for today, tomorrow I will call the hoster, maybe he done some voodoo to the system.
     
  6. Wulf

    Wulf Community Admin

    Are you using any extensions such as Rust:IO?
     
  7. Nope, the only c# file I put into the plugin folder is: Notifier v3.1.3 by SkinN

    Rust Version:
    Protocol: 1488.133.1
    Build Version: 974.96
    Build Date: Friday, August 12, 2016 12:04:42 AM
    Unity Version: 5.4.0f3
    Changeset: 16030
    Branch: /main

    The Hoster description says: Rust-Experimental
     
  8. Wulf

    Wulf Community Admin

    That all looks fine, I'm not sure why you'd be having that issue then.
     
  9. Could it be, that Mono/Prototype cause the issue, when it serialize the data to write on hdd?
    I will test this, and set the save interval up to two minutes.

    Edit: Nope, all installed plug-ins still reload/unload every minute.
     
    Last edited by a moderator: Aug 16, 2016
  10. I'm currently investigating one last thing.
    I found a line (Oxide/Oxide.Core/OxideMod.cs@line:222 ), this line adds the plugin files to a watcher (probably to get know if a file has changed). The watcher may be confused, because the system date is 5 minutes ahead of real time.
    I'm checking this, otherwise i will switch the hoster.
     
  11. Ok, the Line 220 (e.g. I disabled the ⁠⁠⁠onpluginsourcechanged event ) was the issue. I comment it out, recompiled sources -> No more reloading.
    (Probably caused by the 5mins ahead of the server time).
     
    Last edited by a moderator: Aug 17, 2016
  12. Wulf

    Wulf Community Admin

    I doubt it has to do with the time, it's more likely that either the plugins are not being timestamped by your system or something is accessing those files. By removing the check, plugins will not hotload anymore, ie. they won't update automatically when a change is detected.