splewis / csgo-practice-mode

CS:GO Sourcemod plugin for private team/individual practice servers
GNU General Public License v3.0
455 stars 70 forks source link

About the auto start bug #248

Open saobilin opened 2 years ago

saobilin commented 2 years ago

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

m0thm4n commented 1 year ago

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

saobilin commented 1 year ago

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.

m0thm4n commented 1 year ago

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?

saobilin commented 1 year ago

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