Raised This Month: $51 Target: $400
 12% 

[CS:GO/?] Music Player


Post New Thread Reply   
 
Thread Tools Display Modes
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 06-05-2021 , 07:24   Re: [CS:GO/?] Music Player
Reply With Quote #21

Quote:
Originally Posted by Auffe View Post
Hello,
in games the command is done well but no sound is heard.
this is what my error file tells me:

[SM] Call stack trace:
[SM] [0] KeyValues.GetSectionName
[SM] [1] Line 173, D:\Desktop\Projetos CSGO\Plugins\Music & Sound Player - Backup\musicplayer.sp::CreateMusicsMenu
[SM] [2] Line 139, D:\Desktop\Projetos CSGO\Plugins\Music & Sound Player - Backup\musicplayer.sp::StylesHandle
[SM] Exception reported: Invalid key value handle 0 (error 4)
[SM] Blaming: musicplayer.smx
[SM] Call stack trace:
[SM] [0] KvGotoNextKey
[SM] [1] Line 236, D:\Desktop\Projetos CSGO\Plugins\Music & Sound Player - Backup\musicplayer.sp::MusicsHandle

And little suggestion, would it be possible to add a flag option?

thank you
Hey, thanks for the reply. It can be a code issue or a config file syntax issue. If possible, post your config here.

About the suggestion, you mean setting a flag for each song? (that'll be a good suggestion as well)
__________________

Last edited by SpirT; 06-07-2021 at 09:21.
SpirT is offline
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 07-24-2022 , 00:04   Re: [CS:GO/?] Music Player
Reply With Quote #22

Hello! Just using your plugin, it seems to work great! However, there are 2 things that could improve.

1) Music audio is very low even if it is set to 1 value.

2) When the song is over, could possibly go next song be in the same category?
Nightmare Pyro is offline
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 07-24-2022 , 05:50   Re: [CS:GO/?] Music Player
Reply With Quote #23

Quote:
Originally Posted by Nightmare Pyro View Post
Hello! Just using your plugin, it seems to work great! However, there are 2 things that could improve.

1) Music audio is very low even if it is set to 1 value.

2) When the song is over, could possibly go next song be in the same category?
Hello Nightmare!

1. I'd recommend adding some debug messages to see if the volume you're setting changes. With this, I mean if when you set the volume preference it saves to the cookie. That's a start (if it doesn't might be an issue if you're running SourceMod 1.11 - plugin might need recompile in that case with the latest SM version)

2. That looks interesting! Will take a look to that. Also, since I'm going to add this feature soon, I will test what I told you above, however, I would recommend testing it also on your own.

Best Regards.
__________________

Last edited by SpirT; 07-24-2022 at 05:51.
SpirT is offline
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 07-26-2022 , 21:58   Re: [CS:GO/?] Music Player
Reply With Quote #24

Ignore the first one, it ended up my tf2 setting volume set low for some reason.

But the second one is a pretty good feature regardless!
Nightmare Pyro is offline
kolibrzyk
Junior Member
Join Date: Sep 2022
Old 09-14-2022 , 03:30   Re: [CS:GO/?] Music Player
Reply With Quote #25

Hi, when I try to play music on my server, it writes this to me in the chat:
[SpirT - MUSIC PLAYER] We're sorry, but the song you're trying to play is misconfigured or the sound file is not available at the server. Please select another song.
Can you please help mi with this problem?
kolibrzyk is offline
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 09-14-2022 , 05:05   Re: [CS:GO/?] Music Player
Reply With Quote #26

Quote:
Originally Posted by kolibrzyk View Post
Hi, when I try to play music on my server, it writes this to me in the chat:
[SpirT - MUSIC PLAYER] We're sorry, but the song you're trying to play is misconfigured or the sound file is not available at the server. Please select another song.
Can you please help mi with this problem?
Hello. I'm sorry that you're running into issues.

That errors occurs when the file does not exist. The file should be placed anywhere inside the sound/SpirT folder. If you have your audio file placed in a sub folder of sound/SpirT (sound/SpirT/mySongs for example) the sound path in the config files should be "mySongs/filename.mp3".
__________________
SpirT is offline
kolibrzyk
Junior Member
Join Date: Sep 2022
Old 09-14-2022 , 11:19   Re: [CS:GO/?] Music Player
Reply With Quote #27

Quote:
Originally Posted by SpirT View Post
Hello. I'm sorry that you're running into issues.

That errors occurs when the file does not exist. The file should be placed anywhere inside the sound/SpirT folder. If you have your audio file placed in a sub folder of sound/SpirT (sound/SpirT/mySongs for example) the sound path in the config files should be "mySongs/filename.mp3".


Thx it works!!!
kolibrzyk is offline
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 09-14-2022 , 15:56   Re: [CS:GO/?] Music Player
Reply With Quote #28

Quote:
Originally Posted by kolibrzyk View Post
Thx it works!!!
Not a problem. You're welcome!
__________________
SpirT is offline
zonbarbar
Member
Join Date: Jul 2022
Old 01-17-2023 , 08:53   Re: [CS:GO/?] Music Player
Reply With Quote #29

l4d2 doesn't work
zonbarbar is offline
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 01-20-2023 , 13:51   Re: [CS:GO/?] Music Player
Reply With Quote #30

Quote:
Originally Posted by zonbarbar View Post
l4d2 doesn't work
Could you leave some logs / some debugging / some info on what doesn't work properly?
Without any information I can't conclude if it's an issue with the engine or if it's an issue with your setup.
__________________
SpirT is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode