Raised This Month: $32 Target: $400
 8% 

[ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]


Post New Thread Reply   
 
Thread Tools Display Modes
gorgitko
Member
Join Date: Feb 2015
Old 01-14-2017 , 14:48   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #111

Can someone confirm that it is working in CS:GO now? I don't hear any sound on round end, just a part of standard music (but I have [CS:GO] Disable Game Sounds installed). In log file there is info about loading and precaching sound files and also that sound was played:

Code:
L 01/14/2017 - 20:41:59: [res.smx] Playing team1 sound N1 - *misc/ct-01.wav
L 01/14/2017 - 20:44:32: [res.smx] Playing team2 sound N1 - *misc/ct-01.wav
L 01/14/2017 - 20:44:57: [res.smx] Playing team2 sound N2 - *misc/ct-02.wav
I have also set sm_res_debugsounds "1".
gorgitko is offline
noq
New Member
Join Date: Mar 2017
Old 03-06-2017 , 00:49   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #112

I have recently installed this plugin to my CS:S server, set to only play sounds at map end. It works. However, I have nine .mp3 tracks on the res_list.cfg, and once the ninth track plays, the plugin stops. For whatever reason the cvar "sm_res_randomsounds" does NOT work and play sounds sequentially instead of at random. My res.cfg looks like this:

Code:
/ Announcement repeater in seconds. 0=Disable
// -
// Default: "120"
// Minimum: "0.000000"
sm_res_announceevery "120"

// If enabled, clients will be able to modify their ability to hear sounds. 0=Disable
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_client "0"

// If enabled, all sounds will be played commonly in spite of the winner team
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_commonsounds "0"

// Enables/disables debug mode
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_debugsounds "0"

// Shows in the chat sound info. Artist and title of the sound
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_displaysound "0"

// Enables/disables the plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_enable "1"

// Enables/disables in-built map end sound
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_mapendsound "1"

// What method to use to play sounds? 0 - EmitSound (volume support) | 1 - Client command "play" (Max. no sm_res_volume support)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_play_method "0"

// Announcement to a player in 20 sec. after his connecting
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_playerconnectannounce "0"

// If enabled, the sounds will be played randomly. If disabled the sounds will be played in a queue
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_randomsounds "1"

// Announcement at every round end
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_roundendannounce "0"

// Announcement at every round start
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_roundstartannounce "0"

// Path to the sound list
// -
// Default: "addons/sourcemod/configs/res_list.cfg"
sm_res_soundslist "addons/sourcemod/configs/res_list.cfg"

// The sounds volume
// -
// Default: "1.0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_res_volume "1.0"
My res_list.cfg set up like this:

Code:
misc/song1.mp3=MAPEND
misc/song2.mp3=MAPEND
misc/song3.mp3=MAPEND
...
Is there a cvar to actually make my res_list.cfg play at random at map end, or is there a script for the res_list.cfg to repeat/re-execute the "=mapend" sounds? Like I said, I have nine .mp3 files listed in my res_list.cfg, and have sm_res_randomsounds set to "1," but the songs play in sequential order and after the ninth .mp3 plays, the plugin fails to play anything else.


I've tried a variety of modifications and nothing seems to work. Help
Attached Files
File Type: cfg res.cfg (2.1 KB, 274 views)
File Type: cfg res_list.cfg (284 Bytes, 161 views)

Last edited by noq; 03-09-2017 at 13:14. Reason: added attachments
noq is offline
GGF MD
New Member
Join Date: Mar 2017
Old 03-22-2017 , 11:18   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #113

I have a problem!

FIRST: Sorry for my bad english!

The sounds on my css server download every time, and in the chat is : "playing sound: "misc/end1.mp3" but we don't hear anything! (!res is on)

res_list.cfg:

// Counter-Strike:Source
// en:
// Tags: "T" - for Terrorist team; "CT" - for Counter-Terrorist team; "BOTH" or nothing (example: "misc/hello.mp3" - without tags) - for both team;
//


misc/end1.mp3
misc/end10.mp3
misc/end11.mp3
misc/end12.mp3
misc/end13.mp3
misc/end14.mp3
misc/end15.mp3
misc/end16.mp3
misc/end17.mp3
misc/end18.mp3
misc/end19.mp3
misc/end2.mp3
misc/end20.mp3
misc/end21.mp3
misc/end22.mp3
misc/end23.mp3
misc/end24.mp3
misc/end3.mp3
misc/end4.mp3
misc/end5.mp3
misc/end6.mp3
misc/end7.mp3
misc/end8.mp3
misc/end9.mp3

// Round end / / Maximum sounds = 200
// Map end / / Maximum sounds = 20
// Tags: MAPEND, MAP, FIN
// example: misc/twinnar.wav=MAP
// --------------------------------
GGF MD is offline
El Curioso
Member
Join Date: Nov 2013
Location: Spain
Old 03-30-2017 , 14:52   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #114

Error spamming log:

Code:
L 03/30/2017 - 00:49:17: [SM] Exception reported: Invalid index 11 (count: 1)
L 03/30/2017 - 00:49:17: [SM] Blaming: res.smx
L 03/30/2017 - 00:49:17: [SM] Call stack trace:
L 03/30/2017 - 00:49:17: [SM]   [0] GetArrayString
L 03/30/2017 - 00:49:17: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 00:49:35: Error log file session closed.
L 03/30/2017 - 01:17:20: SourceMod error session started
L 03/30/2017 - 01:17:20: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 01:17:20: [SM] Exception reported: Invalid index 12 (count: 1)
L 03/30/2017 - 01:17:20: [SM] Blaming: res.smx
L 03/30/2017 - 01:17:20: [SM] Call stack trace:
L 03/30/2017 - 01:17:20: [SM]   [0] GetArrayString
L 03/30/2017 - 01:17:20: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 01:17:36: Error log file session closed.
L 03/30/2017 - 01:45:32: SourceMod error session started
L 03/30/2017 - 01:45:32: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 01:45:32: [SM] Exception reported: Invalid index 13 (count: 1)
L 03/30/2017 - 01:45:32: [SM] Blaming: res.smx
L 03/30/2017 - 01:45:32: [SM] Call stack trace:
L 03/30/2017 - 01:45:32: [SM]   [0] GetArrayString
L 03/30/2017 - 01:45:32: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 01:45:48: Error log file session closed.
L 03/30/2017 - 02:13:03: SourceMod error session started
L 03/30/2017 - 02:13:03: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 02:13:03: [SM] Exception reported: Invalid index 14 (count: 1)
L 03/30/2017 - 02:13:03: [SM] Blaming: res.smx
L 03/30/2017 - 02:13:03: [SM] Call stack trace:
L 03/30/2017 - 02:13:03: [SM]   [0] GetArrayString
L 03/30/2017 - 02:13:03: [SM]   [1] Line 1333, res.sp::OnRoundEnd
"Invalid index " seems to go up +1 with every map change.

There is only one Map-end-sound (count: 1).

The res_list.cfg reads:
roundend/some3.mp3=MAP

How to fix this?
El Curioso is offline
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Old 03-30-2017 , 16:24   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #115

Quote:
Originally Posted by El Curioso View Post
Error spamming log:

Code:
L 03/30/2017 - 00:49:17: [SM] Exception reported: Invalid index 11 (count: 1)
L 03/30/2017 - 00:49:17: [SM] Blaming: res.smx
L 03/30/2017 - 00:49:17: [SM] Call stack trace:
L 03/30/2017 - 00:49:17: [SM]   [0] GetArrayString
L 03/30/2017 - 00:49:17: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 00:49:35: Error log file session closed.
L 03/30/2017 - 01:17:20: SourceMod error session started
L 03/30/2017 - 01:17:20: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 01:17:20: [SM] Exception reported: Invalid index 12 (count: 1)
L 03/30/2017 - 01:17:20: [SM] Blaming: res.smx
L 03/30/2017 - 01:17:20: [SM] Call stack trace:
L 03/30/2017 - 01:17:20: [SM]   [0] GetArrayString
L 03/30/2017 - 01:17:20: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 01:17:36: Error log file session closed.
L 03/30/2017 - 01:45:32: SourceMod error session started
L 03/30/2017 - 01:45:32: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 01:45:32: [SM] Exception reported: Invalid index 13 (count: 1)
L 03/30/2017 - 01:45:32: [SM] Blaming: res.smx
L 03/30/2017 - 01:45:32: [SM] Call stack trace:
L 03/30/2017 - 01:45:32: [SM]   [0] GetArrayString
L 03/30/2017 - 01:45:32: [SM]   [1] Line 1333, res.sp::OnRoundEnd
L 03/30/2017 - 01:45:48: Error log file session closed.
L 03/30/2017 - 02:13:03: SourceMod error session started
L 03/30/2017 - 02:13:03: Info (map "de_dust2") (file "errors_20170330.log")
L 03/30/2017 - 02:13:03: [SM] Exception reported: Invalid index 14 (count: 1)
L 03/30/2017 - 02:13:03: [SM] Blaming: res.smx
L 03/30/2017 - 02:13:03: [SM] Call stack trace:
L 03/30/2017 - 02:13:03: [SM]   [0] GetArrayString
L 03/30/2017 - 02:13:03: [SM]   [1] Line 1333, res.sp::OnRoundEnd
"Invalid index " seems to go up +1 with every map change.

There is only one Map-end-sound (count: 1).

The res_list.cfg reads:
roundend/some3.mp3=MAP

How to fix this?
Try this one
Attached Files
File Type: smx res.smx (30.3 KB, 161 views)
File Type: sp Get Plugin or Get Source (res.sp - 337 views - 53.6 KB)
Despirator is offline
El Curioso
Member
Join Date: Nov 2013
Location: Spain
Old 03-31-2017 , 11:12   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #116

Thank you for your quick reply

I just tested the above version.
Unfortunately the error still exists:

Code:
L 03/31/2017 - 15:58:57: Info (map "de_dust2") (file "errors_20170331.log")
L 03/31/2017 - 15:58:57: [SM] Exception reported: Invalid index 3 (count: 1)
L 03/31/2017 - 15:58:57: [SM] Blaming: res.smx
L 03/31/2017 - 15:58:57: [SM] Call stack trace:
L 03/31/2017 - 15:58:57: [SM]   [0] GetArrayString
L 03/31/2017 - 15:58:57: [SM]   [1] Line 1493, E:\Games\Servers\CSS-Public_Server\css\cstrike\addons\sourcemod\scripting\res.sp::OnRoundEnd
L 03/31/2017 - 15:59:09: Error log file session closed.
L 03/31/2017 - 16:27:08: SourceMod error session started
L 03/31/2017 - 16:27:08: Info (map "de_dust2") (file "errors_20170331.log")
L 03/31/2017 - 16:27:08: [SM] Exception reported: Invalid index 4 (count: 1)
L 03/31/2017 - 16:27:08: [SM] Blaming: res.smx
L 03/31/2017 - 16:27:08: [SM] Call stack trace:
L 03/31/2017 - 16:27:08: [SM]   [0] GetArrayString
L 03/31/2017 - 16:27:08: [SM]   [1] Line 1493, E:\Games\Servers\CSS-Public_Server\css\cstrike\addons\sourcemod\scripting\res.sp::OnRoundEnd
L 03/31/2017 - 16:27:20: Error log file session closed.
The Script-Line has changed though.
El Curioso is offline
slumdog18
Member
Join Date: Feb 2021
Old 04-01-2021 , 19:35   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #117

Good night,

installed the plugin appears on the server, downloads the sounds does not reproduce the sound at the end of the round !!!!

the game is counter strike source

Last edited by slumdog18; 04-01-2021 at 21:53.
slumdog18 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-20-2022 , 14:56   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #118

Hey , i havign question how i can delete Print to chat: 99FF99[RES] Current sound: FF4040*misc/randomcheat/hello.mp3 i tried to change in res.sp but don't work
Please help
Danielej1 is offline
evans
Senior Member
Join Date: May 2021
Location: OnSmokeDetonate();
Old 04-23-2023 , 16:50   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #119

Quote:
Originally Posted by Danielej1 View Post
Hey , i havign question how i can delete Print to chat: 99FF99[RES] Current sound: FF4040*misc/randomcheat/hello.mp3 i tried to change in res.sp but don't work
Please help
Delete phrases between quotes in res.phrases.txt, like "en" "" , leave empty quotes. That should do the trick.


I have the serious question. I see the Plugin is not working correctly in CS:S. Default win end sounds is played sometimes. Like 20% cases. Do u have same experience or it's just happens to me only?? Thank you for answer.
I can't figure out how to reliable stop default round end win sounds (CT win or Twin ). If somebody would have little free time is there any link for simple plugin which just stop default CT or T win sounds for 100%?
Sending reward over paypal is a matter of course. Thanks in advance.
__________________

Last edited by evans; 04-23-2023 at 18:58.
evans is offline
evans
Senior Member
Join Date: May 2021
Location: OnSmokeDetonate();
Old 04-24-2023 , 05:39   Re: [ANY] Round End / Map End Sounds v2.5.0 Beta 9 (FrozDark) [26-10-13]
Reply With Quote #120

So i mixed some code and result is this:

Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <morecolors>

//#undef REQUIRE_EXTENSIONS
//#include <soundlib>

public Plugin:myinfo =
{
	name = "Disable Win Sounds",
	author = "evans",
	description = "Disable default CS:S round end sounds",
	version = "1.4.0",
	url = "https://forums.alliedmods.net"
};
public OnPluginStart()
{
	CreateConVar("sm_disablewinsounds_version", "1.4.0", "DisableWinSounds Version", FCVAR_DONTRECORD|FCVAR_NOTIFY);
			HookEvent("round_end", Event_Standard);
			PrecacheSound("radio/ctwin.wav", false);
			PrecacheSound("radio/terwin.wav", false);

}


public Action:Event_Standard(Handle:event, const String:name[], bool:dontBroadcast)
{
	for(new i = 1; i <= MaxClients; i++)
		if(IsClientInGame(i))
				{
					StopSound(i, SNDCHAN_STATIC, "radio/terwin.wav");
					StopSound(i, SNDCHAN_STATIC, "radio/ctwin.wav");
				}
}
I'm trying to do separate plugin purely for stop default round end sounds. The problem is, it works but only sometimes. It's not disabled every round but let's say for 80% rounds it's disabled. What i'm doing wrong, could it be because some interference, some other plugin forcing it to play ...? I tried to disable almost every not necessary plugins, no influence apparently. One last idea, could zombie mod mess it up or confusing it somehow when switching player side? Thanks for any contribute !!!


plugins list:
[SM] Listing 29 plugins:
01 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
02 "Map Nominations" (1.10.0.6502) by AlliedModders LLC
03 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
04 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
05 "SourceBans++: SourceComms" (1.6.4) by Alex, SourceBans++ Dev Team
06 "SourceBans++: Main Plugin" (1.6.4) by SourceBans Development Team, SourceBans++ Dev Team
07 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
08 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
09 "SuperLogs: CSS" (1.2.4) by psychonic
10 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
11 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
12 "SourceBans++: Bans Checker" (1.6.4) by psychonic, Ca$h Munny, SourceBans++ Dev Team
13 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
14 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
15 "Rock The Vote" (1.10.0.6502) by AlliedModders LLC
16 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
17 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
18 "Nextmap" (1.10.0.6502) by AlliedModders LLC
19 "SourceBans++: Admin Config Loader" (1.6.4) by AlliedModders LLC, SourceBans++ Dev Team
20 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
21 "SourceBans++ Report Plugin" (1.6.4) by RumbleFrog, SourceBans++ Dev Team
22 "MapChooser" (1.10.0.6502) by AlliedModders LLC
23 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
24 "Zombie:Reloaded" (3.1) by Greyscale | Richard Helgeby
25 "Admin Help" (1.10.0.6502) by AlliedModders LLC
26 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
27 "Player Commands" (1.10.0.6502) by AlliedModders LLC
28 "SourceBans++: SourceSleuth" (1.6.4) by ecca, SourceBans++ Dev Team
29 "Disable Win Sounds" (1.4.0) by evans
__________________

Last edited by evans; 04-24-2023 at 06:31. Reason: list of plugins:
evans 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 19:36.


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