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

[CS:GO] Custom Music-Kits


Post New Thread Reply   
 
Thread Tools Display Modes
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 11-07-2018 , 07:36   Re: [CS:GO] Custom Music-Kits
Reply With Quote #11

Quote:
Originally Posted by antimyt View Post
Halftime music?
Can you be more specific?
__________________
ambn is offline
Terminatorr
Member
Join Date: Dec 2018
Old 12-03-2018 , 13:09   Re: [CS:GO] Custom Music-Kits
Reply With Quote #12

Hey, Thanks for making the plugin, i just installed it, i am testing it but while i join a game the server game stuck on downloading music files for an hour before i kill the game , restarted it same thing. how do i solve this? Thanks.
Terminatorr is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 12-03-2018 , 13:17   Re: [CS:GO] Custom Music-Kits
Reply With Quote #13

You may install a downloader plugin like SM File Downloade/Precacher because the plugin it self will not add the musics to the download table you are the one who have to do this
__________________
ambn is offline
Terminatorr
Member
Join Date: Dec 2018
Old 12-03-2018 , 13:51   Re: [CS:GO] Custom Music-Kits
Reply With Quote #14

Hey, you are dealing with completely beginner here, can you link the plugin i need to install? is there another modifications i need to make to your plugin after installing that? Thanks.
Terminatorr is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 12-03-2018 , 14:08   Re: [CS:GO] Custom Music-Kits
Reply With Quote #15

https://forums.alliedmods.net/showthread.php?p=2445580

If you want more kits to work or your own kits you have to configure them as mentioned clearly in the description.
__________________
ambn is offline
Terminatorr
Member
Join Date: Dec 2018
Old 12-03-2018 , 14:17   Re: [CS:GO] Custom Music-Kits
Reply With Quote #16

Sorry for spamming the thread, i installed the plugin you mentioned i still have same problem, is there any info i can provide to resolve this?
Terminatorr is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 12-03-2018 , 22:44   Re: [CS:GO] Custom Music-Kits
Reply With Quote #17

Quote:
Originally Posted by Terminatorr View Post
Sorry for spamming the thread, i installed the plugin you mentioned i still have same problem, is there any info i can provide to resolve this?
It's okay.
Well your problem is something which is not supposed to happen and makes no sense maybe you can describe the problem in more details maybe with console logs or plugins list anything that can prove that the problem you're saying exists.
__________________
ambn is offline
LessH0pe
New Member
Join Date: Jun 2019
Old 06-13-2019 , 18:39   Re: [CS:GO] Custom Music-Kits
Reply With Quote #18

Welp.. doesn't seem to work anymore. I configured everything correctly, i try to use the command in-game and it responds with
Code:
[Custom-MusicKits] Cannot connect to the database, error:
LessH0pe is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 06-13-2019 , 23:40   Re: [CS:GO] Custom Music-Kits
Reply With Quote #19

Is your driver online? If it's local are you sure that the drivers are installed?
__________________
ambn is offline
lphd12
New Member
Join Date: Apr 2020
Location: Brazil
Old 04-10-2020 , 15:27   Re: [CS:GO] Custom Music-Kits
Reply With Quote #20

Quote:
Originally Posted by ambn View Post
Description:
Before i was looking for something like this but i haven't found one so i created one.

This plugin will basically catch several events and play musics to client, events like planting the bomb, taking a hostage, last 10 seconds to bomb explosion or last round's 10 seconds, deathcams, MVP sounds , start actions and ...

i don't think this plugins is against valve's rules because all you use is more like custom musics you create your self.

Usage:

Type !cmu in chat to use the music menu.

ConVars:

sm_ignore_user_music "0" --> When this is disabled, if a player have a music kit other than valve's default ones, simply the custom music kit will be ignored but if this is enabled, the custom kit will be forced to use whether they have a valid music kit or not.

Configuration:

You have to do 2 things to make the plugin work properly:
1- You need to setup a new section for plugins's database in sourcemod/configs/database.cfg under the name MusicKits:

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
	
	"MusicKits"
	{
		"driver"			"sqlite"
		"database"			"MusicKits"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
}
2- You need to properly configure music.txt to let the plugin work it's way, to do so you will need to set several music's path for the plugin to play:

Code:
"musics"
{
	"MusicKit_Manse"
	{
		"name"					"I'm Not The One | Manse Remix"
		"Bomb_Planted" 			"music_kits_custom\Manse\bombplanted.mp3"
		"Bomb_TenSeconds"		"music_kits_custom\Manse\bombtenseccount.mp3"
		"RoundEnd_Lost"			"music_kits_custom\Manse\lostround.mp3"
		"RoundEnt_Won"			"music_kits_custom\Manse\wonround.mp3"
		"RoundStart_Action"		"music_kits_custom\Manse\startaction.mp3"
		"Round_TenSeconds"		"music_kits_custom\Manse\roundtenseccount.mp3"
		"Round_MVP"				"music_kits_custom\Manse\chooseteam.mp3"
		"Deathcam"				"music_kits_custom\Manse\deathcam.mp3"
	}
}
Notes:
- You need to use a custom file downloader/precacher because the plugin will not do it automatically.
- Feel free to report bugs or ask for new features if you want.
Hey Man! thanks for your release! it would be interesting, if you had time, for your plugin to have mysql support, I really liked the plugin, unfortunately my server is total mysql, and I didn't want a separate sqlite file to backup, on next release, you can offer support for both? it would be of great joy! thanks!
lphd12 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 23:22.


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