Raised This Month: $ Target: $400
 0% 

(CS GO) Mapchooser extended doesn't play sounds.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kowal422
Junior Member
Join Date: Jun 2014
Old 06-04-2014 , 15:33   (CS GO) Mapchooser extended doesn't play sounds.
Reply With Quote #1

Hi, I have problem with mapchooser extended plugin. When I am joining server the TF2 sounds are downloading, but plugin can't play it on server.

Console shows me this:
Code:
L4jtovv` +: rtv
SV_StartSound: sourcemod/mapchooser/tf2/announcer_dec_missionbegins10s01.mp3 not
precached (0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_5sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_4sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_3sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_2sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_1sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/vote_started.mp3 not precached (0)
L 06/04/2014 - 19:48:08: [mapchooser_extended.smx] Voting for next map has start
ed.
SV_StartSound: sourcemod/mapchooser/tf2/vote_success.mp3 not precached (0)
L 06/04/2014 - 19:48:10: [mapchooser_extended.smx] Voting for next map has finis
hed. 'No Change' was the winner
Error log:
Code:
L 06/04/2014 - 19:29:03: [SM] Native "GetTrieArray" reported: Invalid Handle 12000f8 (error 1)
L 06/04/2014 - 19:29:03: [SM] Displaying call stack trace for plugin "mapchooser_extended_sounds.smx":
L 06/04/2014 - 19:29:03: [SM]   [0]  Line 276, C:\Projects\SourceMod\plugins\mapchooser-extended\addons\sourcemod\scripting\mapchooser_extended_sounds.sp::PlaySound()
L 06/04/2014 - 19:29:03: [SM]   [1]  Line 191, C:\Projects\SourceMod\plugins\mapchooser-extended\addons\sourcemod\scripting\mapchooser_extended_sounds.sp::OnMapVoteEnd()
Regular log:
Code:
L 06/04/2014 - 19:47:12: [mapchooser_extended.smx] Loaded map list for csgo.
L 06/04/2014 - 19:47:52: [mapchooser_extended.smx] Starting map vote because outside request
L 06/04/2014 - 19:48:08: [mapchooser_extended.smx] Voting for next map has started.
L 06/04/2014 - 19:48:10: [mapchooser_extended.smx] Voting for next map has finished. 'No Change' was the winner
Anyway thanks for help.
PS. Sorry for my English. If i made a mistake please correct me.

Last edited by kowal422; 06-04-2014 at 15:35.
kowal422 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-04-2014 , 16:42   Re: (CS GO) Mapchooser extended doesn't play sounds.
Reply With Quote #2

This should probably go in the MapChooser Extended thread.

Quote:
Originally Posted by kowal422 View Post
Hi, I have problem with mapchooser extended plugin. When I am joining server the TF2 sounds are downloading, but plugin can't play it on server.

Console shows me this:
Code:
L4jtovv` +: rtv
SV_StartSound: sourcemod/mapchooser/tf2/announcer_dec_missionbegins10s01.mp3 not
precached (0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_5sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_4sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_3sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_2sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/announcer_begins_1sec.mp3 not precached
(0)
SV_StartSound: sourcemod/mapchooser/tf2/vote_started.mp3 not precached (0)
L 06/04/2014 - 19:48:08: [mapchooser_extended.smx] Voting for next map has start
ed.
SV_StartSound: sourcemod/mapchooser/tf2/vote_success.mp3 not precached (0)
L 06/04/2014 - 19:48:10: [mapchooser_extended.smx] Voting for next map has finis
hed. 'No Change' was the winner
Since this is CS:GO, the plugin is supposed to put * in front of those to make it
Code:
*sourcemod/mapchooser/tf2/vote_success.mp3
I'm not sure why it didn't.

I do have another version of MapChooser Extended Sounds I worked on immediately after writing EmitSoundAny... I may have to release it soon.

Quote:
Originally Posted by kowal422 View Post
Error log:
Code:
L 06/04/2014 - 19:29:03: [SM] Native "GetTrieArray" reported: Invalid Handle 12000f8 (error 1)
L 06/04/2014 - 19:29:03: [SM] Displaying call stack trace for plugin "mapchooser_extended_sounds.smx":
L 06/04/2014 - 19:29:03: [SM]   [0]  Line 276, C:\Projects\SourceMod\plugins\mapchooser-extended\addons\sourcemod\scripting\mapchooser_extended_sounds.sp::PlaySound()
L 06/04/2014 - 19:29:03: [SM]   [1]  Line 191, C:\Projects\SourceMod\plugins\mapchooser-extended\addons\sourcemod\scripting\mapchooser_extended_sounds.sp::OnMapVoteEnd()
Regular log:
Code:
L 06/04/2014 - 19:47:12: [mapchooser_extended.smx] Loaded map list for csgo.
L 06/04/2014 - 19:47:52: [mapchooser_extended.smx] Starting map vote because outside request
L 06/04/2014 - 19:48:08: [mapchooser_extended.smx] Voting for next map has started.
L 06/04/2014 - 19:48:10: [mapchooser_extended.smx] Voting for next map has finished. 'No Change' was the winner
Anyway thanks for help.
PS. Sorry for my English. If i made a mistake please correct me.
This is an entirely different bug that I wasn't aware of.

Turns out that if you reload the sound sets at any point, g_CurrentSoundSet becomes a bad handle and isn't reset to the new Handle it should have. I'll have to think about how to fix this... I have a tentative fix, but it will break if the soundset is changed before the reload command is issued...

You can try the above version as I've attached it... you'll have to use the .smx, as the "Get Plugin" link won't work because it requires emitsoundany.inc and mapchooser_extended.inc to compile.
Attached Files
File Type: smx mapchooser_extended_sounds.smx (10.9 KB, 720 views)
File Type: sp Get Plugin or Get Source (mapchooser_extended_sounds.sp - 334 views - 18.3 KB)
File Type: inc emitsoundany.inc (5.7 KB, 544 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-04-2014 at 16:47.
Powerlord is offline
kowal422
Junior Member
Join Date: Jun 2014
Old 06-04-2014 , 17:00   Re: (CS GO) Mapchooser extended doesn't play sounds.
Reply With Quote #3

Now it works fine! Thanks a lot

Problem solved.
kowal422 is offline
Automicbomb
AlliedModders Donor
Join Date: Nov 2012
Old 07-28-2014 , 10:23   Re: (CS GO) Mapchooser extended doesn't play sounds.
Reply With Quote #4

Im having the same issue now. I downloaded that smx file wich is on that post, but now my clients cannot hear the sounds. They get the *sourcemod/blahblah not found thing
Automicbomb 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 10:09.


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