Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the auto start bug #248

Open
saobilin opened this issue Jul 23, 2022 · 4 comments
Open

About the auto start bug #248

saobilin opened this issue Jul 23, 2022 · 4 comments

Comments

@saobilin
Copy link

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"
@m0thm4n
Copy link

m0thm4n commented Jul 25, 2023

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
Copy link
Author

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
Copy link

m0thm4n commented Jul 26, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants