csgo-practice-mode icon indicating copy to clipboard operation
csgo-practice-mode copied to clipboard

About the auto start bug

Open saobilin opened this issue 2 years ago • 4 comments

If making a feature request, you should delete all the pre-filled text here. If reporting a bug, fill in the following sections:

Expected behavior

Success to run the server

Actual behavior

[PracticeMode] Practice mode is now disabled. exec: couldn't exec sourcemod/practicemode_end.cfg Tried to look up command mp_warmup_end as if it were a variable. Tried to look up command bot_kick as if it were a variable. [PracticeMode] Practice mode is now enabled. exec: couldn't exec sourcemod/practicemode_start.cfg EVERYONE CAN BUY! [PracticeMode] Practice mode is now disabled. exec: couldn't exec sourcemod/practicemode_end.cfg Tried to look up command mp_warmup_end as if it were a variable. Tried to look up command bot_kick as if it were a variable. [PracticeMode] Practice mode is now enabled. exec: couldn't exec sourcemod/practicemode_start.cfg EVERYONE CAN BUY!

infinite to show this in the console and use 100% cpus

Steps to reproduce

  • Plugin version:latest
  • Sourcemod version:latest
  • Steps to reproduce (please be specific):set /cfg/sourcemod/practicemode.cfg set sm_practicemode_autostart "1"

saobilin avatar Jul 23 '22 12:07 saobilin

I also get this error, with the log showing the below output.

L 07/25/2023 - 14:34:30: SourceMod error session started L 07/25/2023 - 14:34:30: Info (map "de_anubis") (file "C:\csgo\csgo\addons\sourcemod\logs\errors_20230725.log") L 07/25/2023 - 14:34:30: [SM] Exception reported: Script execution timed out L 07/25/2023 - 14:34:30: [SM] Blaming: practicemode.smx L 07/25/2023 - 14:34:30: [SM] Call stack trace: L 07/25/2023 - 14:34:30: [SM] [1] Line 117, ./scripting/practicemode/natives.sp::Native_MessageToAll L 07/25/2023 - 14:34:30: [SM] [3] PM_MessageToAll L 07/25/2023 - 14:34:30: [SM] [4] Line 1195, ./scripting/practicemode.sp::LaunchPracticeMode L 07/25/2023 - 14:34:30: [SM] [5] Line 860, ./scripting/practicemode.sp::CheckAutoStart L 07/25/2023 - 14:34:30: [SM] [6] Line 785, ./scripting/practicemode.sp::OnClientConnected

m0thm4n avatar Jul 25 '23 18:07 m0thm4n

I also get this error, with the log showing the below output.

L 07/25/2023 - 14:34:30: SourceMod error session started L 07/25/2023 - 14:34:30: Info (map "de_anubis") (file "C:\csgo\csgo\addons\sourcemod\logs\errors_20230725.log") L 07/25/2023 - 14:34:30: [SM] Exception reported: Script execution timed out L 07/25/2023 - 14:34:30: [SM] Blaming: practicemode.smx L 07/25/2023 - 14:34:30: [SM] Call stack trace: L 07/25/2023 - 14:34:30: [SM] [1] Line 117, ./scripting/practicemode/natives.sp::Native_MessageToAll L 07/25/2023 - 14:34:30: [SM] [3] PM_MessageToAll L 07/25/2023 - 14:34:30: [SM] [4] Line 1195, ./scripting/practicemode.sp::LaunchPracticeMode L 07/25/2023 - 14:34:30: [SM] [5] Line 860, ./scripting/practicemode.sp::CheckAutoStart L 07/25/2023 - 14:34:30: [SM] [6] Line 785, ./scripting/practicemode.sp::OnClientConnected

Bro,one chinese developer fix this bug,but it only have chinese,not have english.

saobilin avatar Jul 26 '23 01:07 saobilin

I also get this error, with the log showing the below output. L 07/25/2023 - 14:34:30: SourceMod error session started L 07/25/2023 - 14:34:30: Info (map "de_anubis") (file "C:\csgo\csgo\addons\sourcemod\logs\errors_20230725.log") L 07/25/2023 - 14:34:30: [SM] Exception reported: Script execution timed out L 07/25/2023 - 14:34:30: [SM] Blaming: practicemode.smx L 07/25/2023 - 14:34:30: [SM] Call stack trace: L 07/25/2023 - 14:34:30: [SM] [1] Line 117, ./scripting/practicemode/natives.sp::Native_MessageToAll L 07/25/2023 - 14:34:30: [SM] [3] PM_MessageToAll L 07/25/2023 - 14:34:30: [SM] [4] Line 1195, ./scripting/practicemode.sp::LaunchPracticeMode L 07/25/2023 - 14:34:30: [SM] [5] Line 860, ./scripting/practicemode.sp::CheckAutoStart L 07/25/2023 - 14:34:30: [SM] [6] Line 785, ./scripting/practicemode.sp::OnClientConnected

Bro,one chinese developer fix this bug,but it only have chinese,not have english.

Can you link the code?

m0thm4n avatar Jul 26 '23 16:07 m0thm4n

I also get this error, with the log showing the below output. L 07/25/2023 - 14:34:30: SourceMod error session started L 07/25/2023 - 14:34:30: Info (map "de_anubis") (file "C:\csgo\csgo\addons\sourcemod\logs\errors_20230725.log") L 07/25/2023 - 14:34:30: [SM] Exception reported: Script execution timed out L 07/25/2023 - 14:34:30: [SM] Blaming: practicemode.smx L 07/25/2023 - 14:34:30: [SM] Call stack trace: L 07/25/2023 - 14:34:30: [SM] [1] Line 117, ./scripting/practicemode/natives.sp::Native_MessageToAll L 07/25/2023 - 14:34:30: [SM] [3] PM_MessageToAll L 07/25/2023 - 14:34:30: [SM] [4] Line 1195, ./scripting/practicemode.sp::LaunchPracticeMode L 07/25/2023 - 14:34:30: [SM] [5] Line 860, ./scripting/practicemode.sp::CheckAutoStart L 07/25/2023 - 14:34:30: [SM] [6] Line 785, ./scripting/practicemode.sp::OnClientConnected

Bro,one chinese developer fix this bug,but it only have chinese,not have english.

Can you link the code?

sure thing. https://github.com/csgowiki/simple-practicemode

saobilin avatar Jul 26 '23 17:07 saobilin