k4ryuu / k4-system-mmranks Goto Github PK
View Code? Open in Web Editor NEWThis plugin uses K4-System to show fake matchmaking ranks on scoreboard.
License: GNU General Public License v3.0
This plugin uses K4-System to show fake matchmaking ranks on scoreboard.
License: GNU General Public License v3.0
Hello,
After the new update server is not loading anymore.
2024-04-26 05:07:25.395 +03:00 [INFO] (cssharp:PluginContext) Loading plugin K4-System-MMRanks
2024-04-26 05:07:25.436 +03:00 [EROR] (cssharp:PluginManager) Failed to load plugin from /home/container/game/csgo/addons/counterstrikesharp/plugins/K4-System-MMRanks/K4-System-MMRanks.dll
CounterStrikeSharp.API.Core.NativeException: Invalid function pointer
at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 176
at CounterStrikeSharp.API.Core.NativeAPI.HookFunction(IntPtr function, InputArgument hook, Boolean post) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 1033
at CounterStrikeSharp.API.Core.Plugin.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/PluginContext.cs:line 218
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 125
at CounterStrikeSharp.API.Core.Plugin.Host.PluginManager.Load() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Plugin/Host/PluginManager.cs:line 93
Describe the bug
Only some people have rank. In my server all start at silver 1, 1000 points. But some people have no rank.
To Reproduce
Steps to reproduce the behavior:
Just fresh install with the config "mode": 2,
15:00:32 [EROR] (cssharp:Core) Error invoking callback
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeLoadException: Could not load type 'K4SharedApi.IPlayerAPI' from assembly 'K4-SharedApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at K4SystemMMRanks.PluginK4SystemMMRanks.b__14_2(CCSPlayerController p)
at System.Collections.Generic.List1.ForEach(Action
1 action)
at K4SystemMMRanks.PluginK4SystemMMRanks.b__14_0(DynamicHook _)
at InvokeStub_Func2.Invoke(Object, Span
1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100
Describe the bug
In a plugin designed to show scoreboard rank images next to player names, the images are inconsistently displayed. While it is expected that every player's scoreboard rank image is shown, the plugin only displays these images for a subset of players at any given time, typically only 1 to 3 players. This issue persists despite using the latest versions of CSS, metamod, and the K4 system plugin.
To Reproduce
Steps to reproduce the behavior are not specific, as the issue seems to occur randomly during gameplay. But you will never have all images for all players shown
Expected behavior
The expected behavior is for every player's scoreboard rank image to be displayed next to their name on the scoreboard, without exceptions. This should be consistent across all players and instances, ensuring that everyone's rank is visually represented as intended by the plugin.
Hey, where exactly should I paste this file into?
configs > K4System ?
Possible to add config to update scoreboard at round end?
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.