Giter Club home page Giter Club logo

csgo-chaos-mod's Issues

crash on dedicated server with lasted version

Wonderful plugin but there's a chance to crash
//
L 05/14/2023 - 15:17:49: [SM] Exception reported: Script execution timed out
L 05/14/2023 - 15:17:49: [SM] Blaming: Chaos.smx
L 05/14/2023 - 15:17:49: [SM] Call stack trace:
L 05/14/2023 - 15:17:49: [SM] [1] Line 242, Effects\Effect.sp::IsChaosEffectRunning
L 05/14/2023 - 15:17:49: [SM] [2] Line 165, Effects\Effect.sp::IsCompatible
L 05/14/2023 - 15:17:49: [SM] [3] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/14/2023 - 20:01:55: Error log file session closed.

//
L 05/15/2023 - 09:52:06: [SM] Exception reported: Entity 669 (669) is not a CBaseEntity
L 05/15/2023 - 09:52:06: [SM] Blaming: Chaos.smx
L 05/15/2023 - 09:52:06: [SM] Call stack trace:
L 05/15/2023 - 09:52:06: [SM] [0] AcceptEntityInput
L 05/15/2023 - 09:52:06: [SM] [1] Line 131, Global\Fog.sp::Fog_OFF
L 05/15/2023 - 09:52:06: [SM] [2] Line 276, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ResetRoundChaos
L 05/15/2023 - 09:52:06: [SM] [3] Line 185, Events.sp::ResetChaos
L 05/15/2023 - 09:52:06: [SM] [4] Line 39, Forwards.sp::OnPluginEnd
L 05/15/2023 - 09:52:06: Error log file session closed.

//
L 05/13/2023 - 16:51:48: [SM] Exception reported: Script execution timed out
L 05/13/2023 - 16:51:48: [SM] Blaming: Chaos.smx
L 05/13/2023 - 16:51:48: [SM] Call stack trace:
L 05/13/2023 - 16:51:48: [SM] [0] Call_Finish
L 05/13/2023 - 16:51:48: [SM] [1] Line 100, Effects\Effect.sp::CanRunEffect
L 05/13/2023 - 16:51:48: [SM] [2] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/13/2023 - 16:52:20: [SM] Exception reported: Script execution timed out
L 05/13/2023 - 16:52:20: [SM] Blaming: Chaos.smx
L 05/13/2023 - 16:52:20: [SM] Call stack trace:
L 05/13/2023 - 16:52:20: [SM] [1] Line 181, Effects\Effect.sp::IsCompatible
L 05/13/2023 - 16:52:20: [SM] [2] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
//

L 05/12/2023 - 20:02:13: Error log file session closed.
L 05/12/2023 - 20:56:59: SourceMod error session started
L 05/12/2023 - 20:56:59: Info (map "de_inferno_destruct") (file "/home/csgo/serverfiles/csgo/addons/sourcemod/logs/errors_20230512.log")
L 05/12/2023 - 20:56:59: [SM] Exception reported: Script execution timed out
L 05/12/2023 - 20:56:59: [SM] Blaming: Chaos.smx
L 05/12/2023 - 20:56:59: [SM] Call stack trace:
L 05/12/2023 - 20:56:59: [SM] [1] Line 172, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/12/2023 - 21:57:02: Error log file session closed.
L 05/12/2023 - 22:51:43: SourceMod error session started
L 05/12/2023 - 22:51:43: Info (map "de_inferno_destruct") (file "/home/csgo/serverfiles/csgo/addons/sourcemod/logs/errors_20230512.log")
L 05/12/2023 - 22:51:43: [SM] Exception reported: Script execution timed out
L 05/12/2023 - 22:51:43: [SM] Blaming: Chaos.smx
L 05/12/2023 - 22:51:43: [SM] Call stack trace:
L 05/12/2023 - 22:51:43: [SM] [0] Call_Finish
L 05/12/2023 - 22:51:43: [SM] [1] Line 100, Effects\Effect.sp::CanRunEffect
L 05/12/2023 - 22:51:43: [SM] [2] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/12/2023 - 22:52:15: [SM] Exception reported: Script execution timed out
L 05/12/2023 - 22:52:15: [SM] Blaming: Chaos.smx
L 05/12/2023 - 22:52:15: [SM] Call stack trace:
L 05/12/2023 - 22:52:15: [SM] [0] Call_Finish
L 05/12/2023 - 22:52:15: [SM] [1] Line 100, Effects\Effect.sp::CanRunEffect
L 05/12/2023 - 22:52:15: [SM] [2] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/12/2023 - 22:52:15: [SM] Exception reported: Invalid index 0 (count: 0)
L 05/12/2023 - 22:52:15: [SM] Blaming: Chaos.smx
L 05/12/2023 - 22:52:15: [SM] Call stack trace:
L 05/12/2023 - 22:52:15: [SM] [0] GetArrayCell
L 05/12/2023 - 22:52:15: [SM] [1] Line 154, Helpers.sp::GetRandomAlivePlayer
L 05/12/2023 - 22:52:15: [SM] [2] Line 184, Effects\Game\AutoPlantC4.sp::AutoPlantC4
L 05/12/2023 - 22:52:15: [SM] [3] Line 78, Effects\Game\AutoPlantC4.sp::Chaos_AutoPlantC4_START
L 05/12/2023 - 22:52:15: [SM] [5] Call_Finish
L 05/12/2023 - 22:52:15: [SM] [6] Line 68, Effects\Effect.sp::Run
L 05/12/2023 - 22:52:15: [SM] [7] Line 163, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/12/2023 - 22:52:47: [SM] Exception reported: Script execution timed out
L 05/12/2023 - 22:52:47: [SM] Blaming: Chaos.smx
L 05/12/2023 - 22:52:47: [SM] Call stack trace:
L 05/12/2023 - 22:52:47: [SM] [1] Line 242, Effects\Effect.sp::IsChaosEffectRunning
L 05/12/2023 - 22:52:47: [SM] [2] Line 165, Effects\Effect.sp::IsCompatible
L 05/12/2023 - 22:52:47: [SM] [3] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/12/2023 - 22:56:03: Error log file session closed.
L 05/12/2023 - 23:51:27: SourceMod error session started
L 05/12/2023 - 23:51:27: Info (map "de_inferno_destruct") (file "/home/csgo/serverfiles/csgo/addons/sourcemod/logs/errors_20230512.log")
L 05/12/2023 - 23:51:27: [SM] Exception reported: Script execution timed out
L 05/12/2023 - 23:51:27: [SM] Blaming: Chaos.smx
L 05/12/2023 - 23:51:27: [SM] Call stack trace:
L 05/12/2023 - 23:51:27: [SM] [1] Line 202, Effects\Effect.sp::IsCompatible
L 05/12/2023 - 23:51:27: [SM] [2] Line 154, f:\Sourcepawn\scripting\csgo-chaos-mod\addons\sourcemod\scripting\Chaos.sp::ChooseEffect
L 05/13/2023 - 10:07:10: Error log file session closed.

forwards are not executed

Hi,
Forwards like OnGameFrame, OnPlayerRunCmd and probably others not execute after effect run.
Example effect: Double Jump

Problem probably here

Format(function_name, sizeof(function_name), "%s_OnGameFrame", EffectNames[i]);
effect.OnGameFrame = GetFunctionByName(GetMyHandle(), function_name);

but when changed to
effect.OnGameFrame = Chaos_DoubleJump_OnGameFrame;
Effect works

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.