abkam2023 / cs2-rankspoints Goto Github PK
View Code? Open in Web Editor NEWCS2-RanksPoints
CS2-RanksPoints
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
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.
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
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.
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
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.ObjectDefaultConverter
1.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.JsonConverter
1.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](ReadOnlySpan
1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable1 actualByteCount) at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan
1 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
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]
Please add in !top the current rank of the player.
TOP Players: TOP Players:
jinni - 106 points > 1. jinni - Silver I - 106 points
Please add {LIME} Color
Please add that you can add your own ranks
Please add event kill : kill thru smoke, flashkill
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.
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.
I've attached my config file as a .txt
Your plugin is working very well, however I would like to suggest couple things to improve it
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
Bugs to report for now :
!rank not showing anything
!topkills showing 0 kills for all players
Waiting for your fix version , contact me for test if you want :
https://steamcommunity.com/id/Mayersdz/
Hey, is it possible to make translations for the plugin
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
Is there a way to turn off all the messages? It would be nice if you could turn it off.
Greetings Mario
Hide all:
This feature would help with distraction during a match.
Ex, if you have this plugin on a scrim server.
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_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 81`
Would it be possible to implement a feature to earn more points if you kill with a specific weapon? Something similar to CSGO Levels Ranks.
The Discord link in the readme is outdated - https://discord.gg/yQm8edwV
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
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
После обновления перестали работать команды связанные с !top , !top..xx
css v107. !rank работает
Implement players' rankings to be displayed on the scoreboard based on their points.
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.
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.
I have the clantag disabled inside the config.yml however it still gets set somehow
Can we expect full translation support?
Hey boss can you make this work when a surf map is completed it reward's points for that?
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.
don't count deaths on server
Can you please add {BLUE} color for the prefix? Its not working for me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.