Giter VIP home page Giter VIP logo

cs2-vote-goldkingz's Introduction

cs2-vote-goldkingz's People

Contributors

oqyh avatar panikajoreserv avatar szogun1910 avatar

Stargazers

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

Watchers

 avatar  avatar

cs2-vote-goldkingz's Issues

Error invoking callback

2024-04-20 20:40:01.325 +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 Vote_GoldKingZ.VoteBanned.HandleMenuALL(CCSPlayerController Caller, ChatMenuOption option, Int32 TargetPlayersUserID) in C:\Users\oqyh\Documents\cs2-Vote-GoldKingZ\Vote Banned\VoteBanned.cs:line 1180
at Vote_GoldKingZ.VoteBanned.<>c__DisplayClass5_3.b__3(CCSPlayerController Caller, ChatMenuOption option) in C:\Users\oqyh\Documents\cs2-Vote-GoldKingZ\Vote Banned\VoteBanned.cs:line 413
at CounterStrikeSharp.API.Modules.Menu.BaseMenuInstance.OnKeyPress(CCSPlayerController player, Int32 key) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Menu/BaseMenu.cs:line 130
at CounterStrikeSharp.API.Core.Commands.CommandManager.HandleCommandInternal(Int32 playerSlot, IntPtr commandInfo) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Commands/CommandManager.cs:line 64
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr) --- End of inner exception stack trace --- at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span1 copyOfArgs, BindingFlags invokeAttr)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(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

votemode live reload

Is there a way to change game_mode game_type and reload the current map to apply the changes ?

Server Lags

Unfortunately, the plugin is currently still too laggy for me.

Tested on a modded Kuz Linux server with the Hide and Seek mode and the map Infernohideaseek. Other cards caused slightly less longer server response times. Furthermore, my observation was that with every additional function activated in the config, the server response time increases.

120.599999 UNEXPECTED LONG FRAME DETECTED: 66.47ms elapsed, 65.91ms sim time, 3 ticks, 7706..7708.
120.694851 UNEXPECTED LONG FRAME DETECTED: 94.85ms elapsed, 94.28ms sim time, 5 ticks, 7709..7713.
120.815040 UNEXPECTED LONG FRAME DETECTED: 120.19ms elapsed, 119.53ms sim time, 6 ticks, 7714..7719.
Excessive frame time of 120.19ms clamped. Acting as if the frame only took 100.00ms
120.923818 UNEXPECTED LONG FRAME DETECTED: 108.78ms elapsed, 108.27ms sim time, 6 ticks, 7720..7725.
Excessive frame time of 108.78ms clamped. Acting as if the frame only took 100.00ms
121.057598 UNEXPECTED LONG FRAME DETECTED: 133.78ms elapsed, 133.14ms sim time, 7 ticks, 7726..7732.
Excessive frame time of 133.78ms clamped. Acting as if the frame only took 100.00ms
121.168850 UNEXPECTED LONG FRAME DETECTED: 111.25ms elapsed, 110.68ms sim time, 6 ticks, 7733..7738.
Excessive frame time of 111.25ms clamped. Acting as if the frame only took 100.00ms
121.240432 UNEXPECTED LONG FRAME DETECTED: 71.58ms elapsed, 71.22ms sim time, 6 ticks, 7739..7744.
121.302142 UNEXPECTED LONG FRAME DETECTED: 61.71ms elapsed, 61.39ms sim time, 5 ticks, 7745..7749.
121.350852 UNEXPECTED LONG FRAME DETECTED: 48.71ms elapsed, 48.41ms sim time, 4 ticks, 7750..7753.
121.386033 UNEXPECTED LONG FRAME DETECTED: 35.18ms elapsed, 34.91ms sim time, 3 ticks, 7754..7756.
121.412232 UNEXPECTED LONG FRAME DETECTED: 26.20ms elapsed, 25.88ms sim time, 2 ticks, 7757..7758.
121.436107 UNEXPECTED LONG FRAME DETECTED: 23.88ms elapsed, 23.65ms sim time, 2 ticks, 7759..7760.

grafik
grafik

Sort players in vote lists by votes they have

I think it would be a good idea to sort the players in vote lists by the votes they have. Thus, you won't have to look for a long time for the violator on the list, he will be first on the list.

Voteban doesn't ban

After the number of votes reaches the required number, the plugins write that the player is banned, but he continues to play on the server. No errors. Plugin ver 1.0.9

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.