Garry's Mod

Garry's Mod

TTT - End Round Music
861 Comments
Kurochi  [author] 19 Nov, 2023 @ 3:45am 
Have fun with your buddies man
MelonHead269 18 Nov, 2023 @ 8:31am 
Yeah I've tried it out now and it works just fine, I guess I was just a little stupid back then. Looking forward to using this with my buddies.
MelonHead269 18 Nov, 2023 @ 7:55am 
Well I have audacity now so this shouldn't be an issue anymore, but I should go test the add-on again just to make sure.
Kurochi  [author] 18 Nov, 2023 @ 4:17am 
I would happily make this re-encode your mp3 files in the proper format but I can't really ship DLLs with addons over here as they're dangerous. If I could I'd have sorted the thing out once and for all.
Al Toblerone 12 Nov, 2023 @ 11:54am 
@MelonHead269 It's a bitrate limitation.
MelonHead269 21 Feb, 2023 @ 4:09pm 
Eehh I should've been nicer about the comment anyways. I was just upset from messing around with the files for 2 days.
Kurochi  [author] 21 Feb, 2023 @ 1:38pm 
I'm sorry mate that's garry's mod, not my "thing".
MelonHead269 20 Feb, 2023 @ 12:16pm 
Only a select few songs work and others wont its so inconsistent!
MelonHead269 20 Feb, 2023 @ 12:15pm 
This dang thing is the only one that will do postround music but it has done nothing but cause trouble, it is so picky with the kind of file it HAS to be a mp3 and even if it IS a mp3 I can't get it to freaking work!
Matz 15 Jan, 2023 @ 7:23am 
I'm sorry to ask for your help but I made folders based on your video and put wav file with suitable Hz for the source engine there, but the problem not solved.
While checking the comments in this addon, you said that the problem with the error code like me is that you don't have a file, but I made a folder for each team at this location and put the file inside, but it doesn't work.
GarrysMod\garrysmod\sound\endroundmusic
Matz 15 Jan, 2023 @ 6:52am 
[TTT - End Round Music] lua/autorun/endroundmusic.lua:135: bad argument #2 to 'random' (number expected, got nil)
1. random - [C]:-1
2. fn - lua/autorun/endroundmusic.lua:135
3. Run - lua/ulib/shared/hook.lua:109
4. EndRound - gamemodes/terrortown/gamemode/server/sv_main.lua:1339
5. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:779

idk what should I do with this problem...
thesmokinguy 15 May, 2022 @ 5:33pm 
hi! i just recently downloaded this addon for my dedicated 3rd party hosted server, and while it does work for me as i can hear the music, the other server players cant. How can i fix this?
Ada 17 Jun, 2021 @ 1:37pm 
If anybody is interested in doing the work, it looks like sound.PlayFile would work instead of surface.PlaySound. It takes a volume parameter which you could expose as a client conVar. Just note that sound.playFile uses a path relative to the base garrysmod folder, not garrysmod/sound
Kurochi  [author] 17 Sep, 2020 @ 11:49am 
I don't wanna seem like a dick but if you're asking me that question you probably can't
Tim Tam 16 Sep, 2020 @ 7:33pm 
Hey man, thanks for the response. So how do i go about modifying it?
Kurochi  [author] 16 Sep, 2020 @ 9:02am 
You can't without modifying it
Tim Tam 16 Sep, 2020 @ 1:18am 
Has anyone figured how to lower the volume of the music?
Kurochi  [author] 10 Aug, 2020 @ 11:41am 
Dunno if it's still like that
Kurochi  [author] 10 Aug, 2020 @ 11:41am 
Back in the day the GMod functions I used did not allow that
PapaShanks 10 Aug, 2020 @ 6:02am 
Just curious if you know whether its possible to control the volume of the music played?
Kurochi  [author] 8 Jul, 2020 @ 3:32pm 
You have to cut it
Gwynbleidd ツ 7 Jul, 2020 @ 5:44pm 
hello, where do you get that music ? do you have to actually cut drops ? or is there any way so you can just put it whole in there and it will play only selected part? ty :steamhappy:
Alisson kits tora 29 Jun, 2020 @ 3:49pm 
ok,thanks
Kurochi  [author] 29 Jun, 2020 @ 3:19pm 
When the game ends from time out.
Alisson kits tora 29 Jun, 2020 @ 1:55pm 
hey sorry for ask but what is timeout sound? ;p
Kurochi  [author] 6 May, 2020 @ 4:09am 
Yeah, I'm sorry mate. I just, you know, moved on from gmod. I made this when I had my own TTT server
Duck. 6 May, 2020 @ 3:29am 
I'm weak in the coding sector lmao, thanks anyway tho
[NEKO | SYD] Myzumi 23 Apr, 2020 @ 1:40pm 
i always get the error in the console when the rounds end

"Failed to load sound "", file probably missing from disk/repository"
Kurochi  [author] 15 Apr, 2020 @ 9:50am 
Hello, and, when I rewrote this I had forgotten I had that option enabled in the first version. So I missed it.

I don't know if I will fix this up or when, but this has got its github repo if you want to give it a try yourself.
Duck. 14 Apr, 2020 @ 8:24pm 
Hey boss, I ain't too sure if you're still around on this thread or not but if you are, is there a way for clients to disable the music if they don't want it?
Dhalucario 9 Apr, 2020 @ 12:44pm 
Kurochi  [author] 27 Mar, 2020 @ 6:40am 
Perhaps. I don't really update this anymore.
Slay_Frido 27 Mar, 2020 @ 6:20am 
Is it possible to get this going with ttt2?
Kurochi  [author] 20 Mar, 2020 @ 9:07am 
Issues with file will always mention the sample rate or something about corruption, if it says "probably missing" then it's probably missing
silent 20 Mar, 2020 @ 8:40am 
Thanks
Kurochi  [author] 20 Mar, 2020 @ 8:32am 
FastDL!
silent 20 Mar, 2020 @ 8:20am 
I've got the addons in the server and the message box pops up saying it's playing, but it doesn't play

I get this error in console

endroundmusic\traitor\free bird.mp3 has 0 samples, refusing to load
Failed to load sound "endroundmusic\traitor\free bird.mp3", file probably missing from disk/repository

Is this an issue with the FastDL or the file?
Kurochi  [author] 8 Mar, 2020 @ 3:34pm 
You have a point. The previous version required a config file which most people did not correctly setup, but it allowed for no duplicates. This method almost completely eliminated installation errors, but it came with this drawback. I apologize, I think it's best this way.

Also, I kind of retired from gmod coding so, I don't know if or when I'm going to change it at all.
Ich mag keine feger :( 7 Mar, 2020 @ 9:09am 
Can you release a version with just one folder for all? Because I want to use the same music on every group and If I put it on every folder it downloads it 3 times and this takes long on loading screen whyever
Kurochi  [author] 24 Feb, 2020 @ 11:07am 
It's likely an issue with your server provider or fastdl configuration (latter is more likely). If you're locally hosting, many people have issues and this addon isn't meant for that.

Try resyncing fastdl.
ReLOoniX 22 Feb, 2020 @ 9:26am 
I´ve done everything like in the video but still have a problem.
The folders and the music in it wont get downloaded to the players pcs.
Do you know how to fix it ?
Ive activated in gmod options " download every file form server" but still it doesnt load the music files
Kurochi  [author] 4 Feb, 2020 @ 9:22am 
Huh. I mean I've mostly retired from gmod coding so I don't know when it'll happen.
FloppyAssface 1 Feb, 2020 @ 3:00pm 
Yeah, it's an enhanced TTT with custom roles and stuff.
Kurochi  [author] 1 Feb, 2020 @ 2:02pm 
TTT2? What? Is it a thing?
FloppyAssface 29 Jan, 2020 @ 1:49pm 
Hey, is it possible to make this work with TTT2?
Would be great, cuz we've been looking for a Round End Music Addon which works for TTT2.
Stormez_TZ ⛟ 28 Jan, 2020 @ 8:50am 
Hay have a little Problem.
First a little Notice, the addont dont work with ttt2.

My Problem is this, i have change back to normal ttt. Have create the folder on my V-Server and create the different folders. Put in some Songs and .txt files. After Restart the Server and after the Round end it will show me the Title and the Artist of the Song but it dont play the Song.
I have uploaded in .mp3 format?

Do you have any Idea? Pls Help
Kurochi  [author] 10 Nov, 2019 @ 12:55pm 
I think the configuration to do when you don't have a fast-dl server is much different and I have no experience with it.
Kurochi  [author] 10 Nov, 2019 @ 12:55pm 
I don't think so, it depends. I have never tested it on peer-to-peer as this is aimed more at communities with dedicated hosting using fast-dl servers.
Skipper 10 Nov, 2019 @ 12:12pm 
Is it possible to get this to work if I use a peer to peer server? Atm only I can hear the music playing. Does it only work if I use a dedicated Server?
Kurochi  [author] 10 Nov, 2019 @ 12:08pm 
What?