Raised This Month: $535 Target: $400
 133% 

null


Post New Thread Reply   
 
Thread Tools Display Modes
Author
000
Member
Join Date: Jul 2022
Plugin ID:
8126
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Warmup Music.
    Old 07-11-2022 , 11:55   null
    Reply With Quote #1

    null

    Last edited by 000; 10-18-2022 at 06:55.
    000 is offline
    m0ssie
    Junior Member
    Join Date: Jul 2022
    Old 07-13-2022 , 04:41   Re: [CS:GO] Warmup Music
    Reply With Quote #2

    I installed the Plugin but theres no .cfg created in cfg/srcmd.

    I Added the sm_ settings to the regular srcmd.cfg but that doesnt work either.

    PS.: Yes i already added music to the path warmup/music.mp3
    m0ssie is offline
    m0ssie
    Junior Member
    Join Date: Jul 2022
    Old 07-13-2022 , 08:06   Re: [CS:GO] Warmup Music
    Reply With Quote #3

    Thats exactly what i did. But the plugins doesnt work for me.

    The plugins doesnt setup a .cfg.

    There isnt a error in my console either.
    m0ssie is offline
    m0ssie
    Junior Member
    Join Date: Jul 2022
    Old 07-13-2022 , 11:18   Re: [CS:GO] Warmup Music
    Reply With Quote #4

    How can the plugin not be the problem, if i did all the things you said.
    I added the plugin to the plugin path but your plugin isnt even creating the .cfg file...
    m0ssie is offline
    rodrigolaka
    Junior Member
    Join Date: Jun 2022
    Location: SP, Brazil
    Old 07-26-2022 , 16:31   Re: [CS:GO] Warmup Music
    Reply With Quote #5

    Quote:
    Originally Posted by 000 View Post
    Well, It cannot be the program.

    Anyway, I created for you the .cfg file manually (attachments).
    Hey dude!

    I'm having an error loading the plugin.

    My steps were:
    1. placed smx file;
    2. created warmup folder under sound;
    3. placed my mp3 file
    4. started the server.

    But the plugin haven't loaded due to this error:
    sm_csgo_warmup_music.smx: Unable to load plugin (unsupported feature set; code is too new)

    Any ideas how to solve that:

    Bonus: usually my server has 5 to 10min warmup, so if we could have multiple musics would be very nice! playing them in a queue or random mode.

    Thanks
    rodrigolaka is offline
    rodrigolaka
    Junior Member
    Join Date: Jun 2022
    Location: SP, Brazil
    Old 07-26-2022 , 16:48   Re: [CS:GO] Warmup Music
    Reply With Quote #6

    Quote:
    Originally Posted by 000 View Post
    1. Error message means that you use an older version of SourceMod. This plugin was compiled under 1.11 dev branch.

    2. I don't know if I am going to implement such a feature.
    I planned to add new features and generally improve code.

    I would recommend for now and possibly for the future to just bind multiple mp3 together. There plenty of tools which can do that.

    Nice! Thanks. I'm using the last stable version of Sourcemod. Will update it and try again!

    Regarding this new feature, I'll combine the mp3 songs into a single file then, thanks for your help!
    rodrigolaka is offline
    rodrigolaka
    Junior Member
    Join Date: Jun 2022
    Location: SP, Brazil
    Old 07-27-2022 , 10:55   Re: [CS:GO] Warmup Music
    Reply With Quote #7

    Quote:
    Originally Posted by 000 View Post
    Description:
    Plays music to everyone during warmup.

    Requested here:
    https://forums.alliedmods.net/showthread.php?t=338176

    Configuration:
    Plugin will generate file in cfg/sourcemod.

    Code:
    
    // Sound file path (without 'sound/') of your mp3 file.
    // -
    // Default: ""
    sm_warmup_music "warmup/music.mp3" // Example. 
    
    // Delay for when to play music in case you use plugins which play sound when you joined and because we need a delay nevertheless.
    // Also: Delay should be a minumum of 5.0
    // -
    // Default: "5.0"
    sm_warm_music_delay "5.0"
    
    Hey man!

    Well, the plugin sort of worked hahaha

    It worked for me just after I started the map - the whole song was played succesfully. But when I changed the map to another one, it didn't play the song again. Any ideas?

    Also, I'd like to understand if the song volume has any relation with CSGO's volume control (img below):


    In order to make an "ambient" sound for the warmup, I've edited the mp3 file to 0.15% volume, but for some players the song was really loud and for some they barely could hear.

    I really appreciate this plugin man, well done! Hope this questions above could help you to improve it. Count on me to test any new updates!
    rodrigolaka is offline
    rodrigolaka
    Junior Member
    Join Date: Jun 2022
    Location: SP, Brazil
    Old 08-03-2022 , 16:25   Re: [CS:GO] Warmup Music
    Reply With Quote #8

    hey man!

    Quote:
    Originally Posted by 000 View Post
    1. Volume is controlled via the clients volume.
    -> Will look if I can do something there.
    Nice work with the volume command! Just a feedback: everytime I change the volume, the music starts from the beginning again. Is there a way to update the volume without reseting the music time?

    Quote:
    Originally Posted by 000 View Post
    2. When I tested offline it did what it should, it always played the music.
    -> Will look into it, it is abad method anyway.
    I found out what is going on. I use the "versatile BFG Warmod" to organize my matches. When the server starts, without players any players associeted to teams, the warmup is already running. When the first player enters a team, the warmup kinda of "reload".

    So, if a enter a map as an spectator, the music runs fine. When I choose a team, the music stops.

    Maybe a "startwm" command would solve.

    -------------------------------------------------------

    There's a few suggestions for future updates:

    The command !stopwm:
    The same command to stop the music, could be a "toggle" of music on / music off. So if I run this command and the music is running, it stops (as it is today). If i run it again, therefore the music is stopped, the command would run again the music (maybe a new music if i'm using the random config - awesome by the way.
    New command (next song)
    plays another music of the random mode;
    New config: (volume preference)
    save locally the volume preference, so the user doesn't have to change it everytime.
    UI (panel) for volume
    maybe we could have a panel where users can select volumes or use a manual decimal number. for example, when I use the "!wmvol" it could open a panel with volumes like 1. 10%, 2. 20%, 3. 50%, 4. 100%, 5. custom (input) (then the users select his preference, or click 5 to input a custom volume (to have some example, we have the kento mvp plugin, which have a similar panel)
    UI (panel) for music selector
    could have a few commands (stop, start again, the next song and set volumes)
    UI (panel) for selecting the music
    the same list that is in random mode could be showed for the player to select a specific one, or keep on the random mode - again, the kento mvp plugin has something like this
    -------------------------------------------------------

    Sorry not to help coding, i'm not a developer, though i'm trying to test and give a feedback to improve it
    rodrigolaka is offline
    Reply


    Thread Tools
    Display Modes

    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 03:17.


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