Darkness-Anti-Cheat / Darkness-AntiCheat

Unturned Rocketmod server-side anti-cheat on beta (Some features are not working)
https://darknesscommunity.club
GNU General Public License v2.0
0 stars 1 forks source link

Error and causing server crash #1

Closed khaiizha closed 2 months ago

khaiizha commented 2 months ago

My server crashes around 3 times in the span of 2 hours using this. Once i unload the plugins, it no longer crashes.

Sometimes the console shows this error not sure is related or not but I'm just throwing this here:

[07/19/2024 05:14:33] [Error] Error in MulticastDelegate PlayerDeath: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at DAC.Darkness_Anti_Cheat_Events.auto_report (Rocket.Unturned.Player.UnturnedPlayer killer, Rocket.Unturned.Player.UnturnedPlayer player, SDG.Unturned.ELimb limb) [0x00028] in <7dc432e40314430abdd57ad916e3feaf>:0 at DAC.Darkness_Anti_Cheat.OnPlayerDeath (Rocket.Unturned.Player.UnturnedPlayer player, SDG.Unturned.EDeathCause cause, SDG.Unturned.ELimb limb, Steamworks.CSteamID killer) [0x00007] in <7dc432e40314430abdd57ad916e3feaf>:0 at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <2161c9885dd04ff291b79db9349c4b9b>:0 --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <2161c9885dd04ff291b79db9349c4b9b>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <2161c9885dd04ff291b79db9349c4b9b>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <2161c9885dd04ff291b79db9349c4b9b>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <2161c9885dd04ff291b79db9349c4b9b>:0 at Rocket.Core.Extensions.MulticastDelegateExtension.TryInvoke (System.MulticastDelegate theDelegate, System.Object[] args) [0x00013] in <09b6a6e399e5417eb969381ca3201ce1>:0

TH3AL3X commented 2 months ago

I will check what is going on, some features are bugged, anyways the admin abuse feature and aimbot are working fine

TH3AL3X commented 2 months ago

Try the last release https://github.com/Darkness-Anti-Cheat/Darkness-AntiCheat/releases/tag/v0.0.12