KitsuneLab-Development / K4-System

K4-Systems is a plugin that enhances the server with features such as a playtime tracker, statistical records, and player ranks. Additionally, it includes VIP functions and admin commands for added functionality.
GNU General Public License v3.0
103 stars 34 forks source link

[BUG] Crash #59

Closed mrdiega closed 9 months ago

mrdiega commented 10 months ago

K4-System V1.3.4 counterstrikesharp-build-77-linux-319b116

Server crash after several hours of working with players

crash

2023-11-27 21:12:30 [INFO] > Stats are allowed.
2023-11-27 21:12:30 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Points are allowed.
2023-11-27 21:12:31 [INFO] > Points are allowed.
2023-11-27 21:12:31 [INFO] > Points removed (-1) for HoTaRo.
2023-11-27 21:12:31 [INFO] > Stats are allowed.
2023-11-27 21:12:31 [INFO] > Points are allowed.
2023-11-27 21:12:31 [INFO] > Points are allowed.
2023-11-27 21:12:31 [INFO] > Points added (+6) for ㊗爪丨尺卂Ꮆ乇㊗.
2023-11-27 21:12:31 [INFO] > Points are allowed.
2023-11-27 21:12:31 [INFO] > Points added (+2) for ㊗爪丨尺卂Ꮆ乇㊗.
2023-11-27 21:12:37 [INFO] > Stats are allowed.
2023-11-27 21:12:37 [INFO] > Stats are allowed.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points removed (-1) for ㊗爪丨尺卂Ꮆ乇㊗.
2023-11-27 21:12:37 [INFO] > Stats are allowed.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points added (+6) for пулемётчик36.
2023-11-27 21:12:37 [INFO] > Kill streak reset for player at index 1296.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points are allowed.
2023-11-27 21:12:37 [INFO] > Points added (+1) for HoTaRo.
RemoveArrayElementsOutsideOfArrayMetadataBounds:  CCSGOViewModel [ent 874] removing change '3/12/112                                                                                                                                         ' for field m_PredNetFloatVariables[112] (value '2.03125') on array that has metadata with only 106                                                                                                                                          array elements!
2023-11-27 21:12:37 [INFO] > Stats are allowed.
[All Chat][Lomik (59243653)]: !rank
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an ob                                                                                                                                         ject.
   at K4ryuuSystem.K4System.OnCommandCheckRank(CCSPlayerController player, CommandInfo command) in /                                                                                                                                         Users/sples/Documents/GitHub/K4-System/src/Commands.cs:line 66
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Aborted (core dumped)
K4ryuu commented 10 months ago

Greetings, I am going to check the problem shortly