1. Code:
    [2/6/2016 9:32:33 PM] [Oxide] 9:32 PM [Error] Failed to call hook 'IOnBasePlayerAttacked' on plugin 'rustcore v1.0.0' (NullReferenceException: )
    [2/6/2016 9:32:33 PM] [Oxide] 9:32 PM [Debug]   at (wrapper managed-to-native) UnityEngine.MonoBehaviour:Invoke (string,single)
      at TriggerHurtEx.OnEntityLeave (.BaseEntity ent) [0x00000] in <filename unknown>:0
      at TriggerBase.OnObjectRemoved (UnityEngine.GameObject obj) [0x00000] in <filename unknown>:0
      at TriggerBase.OnTriggerExit (UnityEngine.GameObject targetObj) [0x00000] in <filename unknown>:0
      at TriggerBase.RemoveEntity (.BaseEntity obj) [0x00000] in <filename unknown>:0
      at BaseEntity.RemoveFromTriggers () [0x00000] in <filename unknown>:0
      at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Hurt (.HitInfo info, Boolean useProtection) [0x00000] in <filename unknown>:0
      at BasePlayer.Hurt (.HitInfo info, Boolean useProtection) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.RustCore.IOnBasePlayerAttacked (.BasePlayer player, .HitInfo info) [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
    [DOUBLEPOST=1454787581][/DOUBLEPOST]Server fps down to 4 and server lags
     
  2. Wulf

    Wulf Community Admin

    The error is actually coming from a plugin that uses the OnEntityTakeDamage hook I believe. Try removing all plugins that use it.
     
  3. DeathNotes
    m-Teleportation
    NoDecay
    ZoneManager - only use notp
    [DOUBLEPOST=1454792692][/DOUBLEPOST]I deleted all of the plugins on the server, but the server have a 4 fps.
    Online 100+
     
  4. Code:
    isPlayerTakingDamage = true;
                try
                {
                    player.OnAttacked(info);
                }
                catch (NullReferenceException)
                {
                    // ignored
                }
                finally
                {
                    isPlayerTakingDamage = false;
                }
     
    Last edited by a moderator: May 21, 2016
  5. Wulf

    Wulf Community Admin

    Yes, that hook hasn't changed in quite a long time and isn't broken. It is meant to error when a plugin errors, so you shouldn't be hiding the error. The issue is that it isn't pointing blame because of it being wrapped internally, but that isn't easily handled.

    The error means that a plugin using OnEntityTakeDamage is erroring, but it doesn't show the actual plugin's name due it being a wrapped hook. If your server got spammed a bunch with messages, then it's likely still running through that queue of messages slowly. Search your plugins for OnEntityTakeDamage.
     
  6. Have a lot of plugins using the hook causing the problem and cant be removed and have a lot of players online all the time so it does spam the console the rustcore needs fixed as this is the first time I have seen this it only came with last update
     
  7. Wulf

    Wulf Community Admin

    Just tested it, no errors, no issues. I have multiple plugins that use it just fine. The hook location hasn't changed, what it hooks hasn't changed, the wrapped error is not new. It happens when the plugin is erroring that uses that hook.
     
  8. This is what I got last night
    Code:
    [05/21/2016 12:43:06] [Oxide] 12:43 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 12:43:24] [Oxide] 12:43 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 12:45:46] [Oxide] 12:45 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 13:56:23] [Oxide] 13:56 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 13:56:29] [Oxide] 13:56 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:25:53] [Oxide] 14:25 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:25:57] [Oxide] 14:25 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:33:02] [Oxide] 14:33 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:33:03] [Oxide] 14:33 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:33:13] [Oxide] 14:33 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:33:13] [Oxide] 14:33 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:33:58] [Oxide] 14:33 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 14:43:34] [Oxide] 14:43 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:09:42] [Oxide] 15:09 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:09:44] [Oxide] 15:09 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:41:52] [Oxide] 15:41 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:41:55] [Oxide] 15:41 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:42:04] [Oxide] 15:42 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:42:13] [Oxide] 15:42 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:46:22] [Oxide] 15:46 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:46:25] [Oxide] 15:46 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:46:29] [Oxide] 15:46 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 15:46:35] [Oxide] 15:46 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 16:23:05] [Oxide] 16:23 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 16:59:42] [Oxide] 16:59 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 16:59:46] [Oxide] 16:59 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 16:59:48] [Oxide] 16:59 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 16:59:54] [Oxide] 16:59 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 17:06:50] [Oxide] 17:06 [Error] Failed to call hook 'IOnBasePlayerAttacked' on plugin 'RustCore v1.0.0' (NullReferenceException: )
    [05/21/2016 17:06:56] Assertion failed: Stomping old lifeStory
    [05/21/2016 17:56:29] [Oxide] 17:56 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 17:57:39] [Oxide] 17:57 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 17:57:57] [Oxide] 17:57 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 17:58:14] [Oxide] 17:58 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:09:53] [Oxide] 18:09 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:12:27] [Oxide] 18:12 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:33:42] [Oxide] 18:33 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:49:41] [Oxide] 18:49 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:49:45] [Oxide] 18:49 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 18:49:57] [Oxide] 18:49 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:26:20] [Oxide] 19:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:26:24] [Oxide] 19:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:26:28] [Oxide] 19:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:26:32] [Oxide] 19:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:26:37] [Oxide] 19:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:39:44] [Oxide] 19:39 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:55:41] [Oxide] 19:55 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:58:42] [Oxide] 19:58 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 19:58:48] [Oxide] 19:58 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 20:04:57] [Oxide] 20:04 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 20:39:45] [Oxide] 20:39 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 20:49:05] [Oxide] 20:49 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 21:25:03] [Oxide] 21:25 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 21:25:18] [Oxide] 21:25 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    [05/21/2016 21:26:49] [Oxide] 21:26 [Error] Failed to call hook 'OnRunCommand' on plugin 'RustCore v1.0.0' (FormatException: Input string was not in a correct format.)
    [05/21/2016 21:54:06] [Oxide] 21:54 [Error] Failed to run a 3600.00 timer in 'ServerRewards v0.2.29' (KeyNotFoundException: The given key was not present in the dictionary.)
    [05/21/2016 21:55:06] [Oxide] 21:55 [Error] Failed to run a 10.00 timer in 'Ping v1.4.1' (FormatException: Input string was not in a correct format.)
    
    rustcore needs fixed
     
  9. Wulf

    Wulf Community Admin

    RustCore is not loaded if you are having all of those issues. You may want to make sure you are fully updated. The reason for it not loading would show at the start of your log, these other errors are just a result of it not being loaded. There are no known issues with it though unless you are outdated.
     
  10. The server is not mine I am only helping someone but as soon as he is on will get him to do that
     
  11. Code:
    (21:57:30) | [Oxide] 21:57 [Error] Failed to call hook 'OnPlayerAttack' on plugin 'ZoneManager v2.4.2' (NullReferenceException: )
    (21:57:30) | [Oxide] 21:57 [Debug] at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
    at UnityEngine.Component.GetComponent[ResourceDispenser] () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ZoneManager.OnPlayerAttack (.BasePlayer attacker, .HitInfo hitinfo) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ZoneManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 21, 2016
  12. Wulf

    Wulf Community Admin

    Please upload your full log with any passwords removed.