Giter Club home page Giter Club logo

cs2-rankspoints's People

Contributors

abkam2023 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cs2-rankspoints's Issues

Errors in console

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: The given key '76561198255033754' was not present in the dictionary. at RankPointsPlugin.RankPointsPlugin.OnRoundEnd(EventRoundEnd roundEndEvent, GameEventInfo info) in C:\Users\azzel\OneDrive\Desktop\CS2-RanksPoints-main\source\RanksPoints.cs:line 561 at InvokeStub_GameEventHandler1.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 81`

[BUG] Server crash

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at CounterStrikeSharp.API.Utilities.FindAllEntitiesByDesignerName[T](String designerName)+MoveNext() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Utilities.cs:line 83
at RanksPointsNamespace.RanksPoints.FindPlayerBySteamID(String steamID) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 1153
at RanksPointsNamespace.RanksPoints.<>c__DisplayClass59_0.b__0() in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 1046
/run.sh: line 44: 2984 Aborted $3
CRASH: Tue Dec 12 12:16:47 UTC 2023

[BUG] List of Bugs i found v2.0.5

Knife kills are not credited
Taser kills are not credited
Rankup / rankdown message dont work
You don't rise in rank even though you have the XP to do so
kills / death / KDR does not record
Playtime does not record

These event messages will not be displayed and the points will not be credited:
headshot
wallbang
noscope
assist

[ENHANCEMENT]

  1. Please add in !top the current rank of the player.
    TOP Players: TOP Players:

  2. jinni - 106 points > 1. jinni - Silver I - 106 points

  3. Please add {LIME} Color

  4. Please add that you can add your own ranks

  5. Please add event kill : kill thru smoke, flashkill

  6. Please add event: extra points for a killstreak ( double kill, triple kill, domination, rampage, mega-kill, ownage, ultra-kill, killing-spree, monster-kill, unstoppable, godlike

When you need help with the correct english translation or you want a german translation, let me know, i will help you.

help

don't count deaths on server

[REQ] Support for rank images on the scoreboard

Implement players' rankings to be displayed on the scoreboard based on their points.

image
image
image

Each rank has its points configured in the plugin configuration, it would be interesting for each rank that the player reaches to show the rank he is in on the score.

To begin with, we can use the patents that are in CS2, Competitive and PREMIER and Wingman, and thus allow us to configure which patent image it will show as default.

In the future, if CS2 allows the use of FastDL, we can start creating our own patent images and using them.

[REQ] Disable `!resetstats` command

Setting the !resetstats command to zero does not work for the players.

ResetStatsCooldownHours: "0"

It would be possible? I would like to disable this command for players, none of whom have access, only root access to reset the rank in this case.

Not Tracking Stats in MYSQL

Hi There,

I am currently having an error where none of the stats (time, deaths, kills, etc.) are being tracked. I still get xp for game wins but none for kills and Bot Kills is turned on.

Config.txt

I've attached my config file as a .txt

[BUG] Server crash

2023-12-10 17:49:00.591 +03:00 [EROR] (cssharp:Core) Error invoking callback
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 CounterStrikeSharp.API.Core.CCSPlayerController.get_IsBot() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CCSPlayerController.cs:line 123
   at RanksPointsNamespace.RanksPoints.OnPlayerDisconnect(EventPlayerDisconnect disconnectEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 676
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
2023-12-10 17:49:00.617 +03:00 [EROR] (cssharp:Core) Error invoking callback
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 CounterStrikeSharp.API.Core.CCSPlayerController.get_IsBot() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Model/CCSPlayerController.cs:line 123
   at RanksPointsNamespace.RanksPoints.OnPlayerDisconnect(EventPlayerDisconnect disconnectEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 676
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82

error

15:30:49 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/RanksPoints/RanksPoints.dll
System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.DbPort | LineNumber: 5 | BytePositionInLine: 16.
---> System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_ExpectedString(JsonTokenType tokenType)
at System.Text.Json.Utf8JsonReader.GetString()
at System.Text.Json.Serialization.Metadata.JsonPropertyInfo1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.Serialization.Converters.ObjectDefaultConverter1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
at System.Text.Json.Serialization.JsonConverter1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, Utf8JsonReader& reader, Exception ex)
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan1 json, JsonTypeInfo jsonTypeInfo)
at RanksPointsNamespace.DatabaseConfig.ReadFromJsonFile(String filePath) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\EN\source\RanksPoints.cs:line 1523
at RanksPointsNamespace.RanksPoints.Load(Boolean hotReload) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\EN\source\RanksPoints.cs:line 327
at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 185
at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 52
at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 34

Help ERROR

01:35:31 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/RanksPoints/RanksPoints.dll
System.IO.IOException: The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached.

[EROR]

05:00:20 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRoundStart(EventRoundStart roundStartEvent, GameEventInfo info) in C:\Users\rusik\OneDrive\Рабочий стол\RanksPoints — копия\RanksPoints.cs:line 768
at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82

Hide chat messages.

Hide all:

All RanksPoints messages

Experience gain messages

This feature would help with distraction during a match.
Ex, if you have this plugin on a scrim server.

[REQ] Support for gaining points with more types of kills

  • Earn points if you kill a player with the last bullet in the magazine;
  • Earn points if you kill a player after a 180° or 360°;
  • Earn points if you pick up C4 or lose points if you drop C4;
  • Earn points if you kill among the smoke grenade;
  • Earn points if you kill blinded by the flashbang;
  • Earn points if you kill with grenades;
  • Earn points if you kill a player while running;
  • Earn points if I made the first kill;

Plugin Levels Ranks had some plugins with this feature, follow the link: https://github.com/levelsranks/levels-ranks-modules/blob/master/%5BLevels%20Ranks%5D%20Module%20-%20UnusualKills/addons/sourcemod/configs/levels_ranks/UnusualKills.ini

Prefix color

Can you please add {BLUE} color for the prefix? Its not working for me.

[REQ] Support for resetting rank

I believe it would be interesting to add the option for the administrator to choose how he will reset the players.

Something like:

  • !resetrank "SteamID64" - Removes statistics from your games;
    • all- Will reset all data;
    • exp - Will reset data on experience points; (value, rank)
    • stats - Will reset statistics data; (kills, deaths, shoots, hits, headshots, assists, round_win, round_lose, statistics)
    • playtime - Will reset playtime data;

In other words, one option to reset all information, another to reset just the rank points, another to remove all statistics and another to remove playtime

I believe it would be interesting to even add a command to completely delete all data from the target player, some command like !deleterank "SteamID64". In the case of admin access and when using it in a player, delete everything and delete it from the database.

And also add the !resetmyrank command so that players themselves can reset their rank and points only. This command would be interesting to add an option to leave enabled or not for players, many server owners may want to disable this feature for all players.

multilang

Hey, is it possible to make translations for the plugin

[REQ] Points multipler

Hello please add points multipler for giving more points for kill player who has more points and taking more points if a lower player kills you.

Make work with surf?

Hey boss can you make this work when a surf map is completed it reward's points for that?

ERROR in log

2024-03-02 00:08:49.267 +01:00 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.ArgumentNullException: Schema target points to null. (Parameter 'pointer')
   at CounterStrikeSharp.API.Core.CBasePlayerController.get_SteamID() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Schema/Classes/CBasePlayerController.g.cs:line 123
   at RanksPointsNamespace.RanksPoints.OnBombPlanted(EventBombPlanted bombPlantedEvent, GameEventInfo info) in C:\Users\rusik\OneDrive\Рабочий стол\RanksPoints — копия\RanksPoints.cs:line 663
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass7_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 105

v2.0.6 does not work

CS2-RanksPoints 2.0.6
css v130

Tested with bots. Points are not awarded, commands do not work
MinPlayersForExperience: 1
GivePointsForBotKills: true
errors:

[All Chat][diega.WinWin^^ (79255768)]: !rank
20:04:46 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRankCommand(CCSPlayerController player, CommandInfo command) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 1508
   at CounterStrikeSharp.API.Core.BasePlugin.<>c__DisplayClass41_0.<AddCommand>b__0(Int32 i, IntPtr ptr) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 259
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
20:04:53 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnPlayerDeath(EventPlayerDeath deathEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 993
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
20:04:53 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnPlayerMVP(EventRoundMvp mvpEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 963
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
20:04:53 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRoundEnd(EventRoundEnd roundEndEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 912
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
[Auto Balance Plugin] -> Round ended, trying auto-balance
"Steel<0><BOT><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 297.38
"diega.WinWin^^<2><[U:1:79255768]><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 297.38
20:04:59 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRoundStart(EventRoundStart roundStartEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 719
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
SV: 'diega.WinWin^^' (tick 19033) CQ:  catching up - trying to trim queue containing 0 commands
sv: Firing first shot, sv tick 19289, but no attack information present in command 11326 with 4 history entries
    command tick: 19288
    attack1_start_history_index: -1
    attack2_start_history_index: -1
    attack3_start_history_index: -1
    history: 19288.982422
    history: 19289.119141
    history: 19289.357422
    history: 19289.494141
sv: Firing first shot, sv tick 19289, but no attack information present in command 11326 with 4 history entries
    command tick: 19288
    attack1_start_history_index: -1
    attack2_start_history_index: -1
    attack3_start_history_index: -1
    history: 19288.982422
    history: 19289.119141
    history: 19289.357422
    history: 19289.494141
20:05:12 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnPlayerDeath(EventPlayerDeath deathEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 993
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
20:05:12 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnPlayerMVP(EventRoundMvp mvpEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 963
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
20:05:12 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRoundEnd(EventRoundEnd roundEndEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 912
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82
[Auto Balance Plugin] -> Round ended, trying auto-balance
"Steel<0><BOT><CT>" OnPreResetRound => CTMDBG, team 3  will switch 0 315.89
"diega.WinWin^^<2><[U:1:79255768]><TERRORIST>" OnPreResetRound => CTMDBG, team 2  will switch 0 315.89
20:05:18 [EROR] (cssharp:Core) Error invoking callback
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 RanksPointsNamespace.RanksPoints.OnRoundStart(EventRoundStart roundStartEvent, GameEventInfo info) in C:\Users\Ruslans\Desktop\CS2-RanksPoints\RU\source\RanksPoints.cs:line 719
   at InvokeStub_GameEventHandler`1.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at CounterStrikeSharp.API.Core.FunctionReference.<>c__DisplayClass3_0.<.ctor>b__0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 82

ClanTag not disabling

I have the clantag disabled inside the config.yml however it still gets set somehow

Disable messages

Is there a way to turn off all the messages? It would be nice if you could turn it off.

Greetings Mario

!top command issue

When typing command !top getting error "[ Error ] An error occurred while executing the command.", also error in console:

Exception in OnTopCommand: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM lvl_base
ORDER BY value DESC
' at line 2

[REQ] Couple things

Your plugin is working very well, however I would like to suggest couple things to improve it

  • Way to toggle rank clan tags off
  • Way to change the !resetstats cooldown time in minutes
  • Way to show promote/derank messages in chat instead of hud

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.