Code Monkey home page Code Monkey logo

Comments (4)

mrdiega avatar mrdiega commented on May 27, 2024

It won't start for me either

css_plugins load K4-System
Loading plugin: K4System
Failed to load plugin /home/servermiragecs2/steamcmd/server/game/csgo/addons/counterstrikesharp/plugins/K4-System/K4-System.dll with error 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 K4ryuuSystem.K4System.Log(String message, LogLevel level, Boolean hotReload) in /Users/sples/Documents/GitHub/K4-System/src/Logs.cs:line 21
   at K4ryuuSystem.K4System.OnConfigParsed(MyConfig config) in /Users/sples/Documents/GitHub/K4-System/src/Configs.cs:line 234
   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 CounterStrikeSharp.API.Core.BasePlugin.InitializeConfig(Object instance, Type pluginType) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 354
   at CounterStrikeSharp.API.Core.PluginContext.Load(Boolean hotReload) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/PluginContext.cs:line 107
   at CounterStrikeSharp.API.Core.GlobalContext.LoadPlugin(String path) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GlobalContext.cs:line 97
   at CounterStrikeSharp.API.Core.GlobalContext.OnCSSPluginCommand(CCSPlayerController caller, CommandInfo info) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/GlobalContext.cs:line 260

K4-System v1.3.0
counterstrikesharp-build-53-linux-0ddf6bc
metamod 2.0 - build 1266

from k4-system.

cacaj avatar cacaj commented on May 27, 2024

Problem fixed, just change line 15 on K4-System.cs
15. public int ModuleConfigVersion => 2;
to this
15. public int ModuleConfigVersion => 1;

Screenshot 2023-11-17 022925

Then compile file running on terminal

dotnet build

Or simply download the DLL file here and replace to plugins directory

../plugins/K4-System/

from k4-system.

mrdiega avatar mrdiega commented on May 27, 2024

With fix from @cacaj, the plugin started

  1. round-end-points still does not work, points are not awarded for winning a round
  2. Messages about awarding points for each action are missing
  3. Messages about scoring only work when spawn-message is true, but only displays the total number. I don’t need a message from the plugin every round; in 1.2.0 version it worked more correctly.
  4. This message often appears in the console: "[INFO] > Points are not allowed."

from k4-system.

K4ryuu avatar K4ryuu commented on May 27, 2024

The next release will contains the bug patch, when I upload it.

from k4-system.

Related Issues (20)

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.