Giter Site home page Giter Site logo

k4ryuu / k4-system-mmranks Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 1.0 36 KB

This plugin uses K4-System to show fake matchmaking ranks on scoreboard.

License: GNU General Public License v3.0

C# 100.00%
addon counterstrike2 counterstrikesharp cs2 cssharp extension plugin

k4-system-mmranks's People

Contributors

cruze03 avatar k4ryuu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

k4-system-mmranks's Issues

[BUG] Nue update issue

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

[BUG] [EROR] (cssharp:Core) Error invoking callback

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(Action1 action)
at K4SystemMMRanks.PluginK4SystemMMRanks.b__14_0(DynamicHook _)
at InvokeStub_Func2.Invoke(Object, Span1)
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

[BUG] Inconsistent Display of Scoreboard Rank Images

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.

File path

Hey, where exactly should I paste this file into?
configs > K4System ?

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.