Garry's Mod

Garry's Mod

TTT - End Round Music
857 commentaires
Kurochi  [créateur] 19 nov. 2023 à 3h45 
Have fun with your buddies man
MelonHead269 18 nov. 2023 à 8h31 
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 à 7h55 
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  [créateur] 18 nov. 2023 à 4h17 
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 à 11h54 
@MelonHead269 It's a bitrate limitation.
MelonHead269 21 févr. 2023 à 16h09 
Eehh I should've been nicer about the comment anyways. I was just upset from messing around with the files for 2 days.
Kurochi  [créateur] 21 févr. 2023 à 13h38 
I'm sorry mate that's garry's mod, not my "thing".
MelonHead269 20 févr. 2023 à 12h16 
Only a select few songs work and others wont its so inconsistent!
MelonHead269 20 févr. 2023 à 12h15 
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 janv. 2023 à 7h23 
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 janv. 2023 à 6h52 
[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 mai 2022 à 17h33 
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 juin 2021 à 13h37 
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  [créateur] 17 sept. 2020 à 11h49 
I don't wanna seem like a dick but if you're asking me that question you probably can't
Tim Tam 16 sept. 2020 à 19h33 
Hey man, thanks for the response. So how do i go about modifying it?
Kurochi  [créateur] 16 sept. 2020 à 9h02 
You can't without modifying it
Tim Tam 16 sept. 2020 à 1h18 
Has anyone figured how to lower the volume of the music?
Kurochi  [créateur] 10 aout 2020 à 11h41 
Dunno if it's still like that
Kurochi  [créateur] 10 aout 2020 à 11h41 
Back in the day the GMod functions I used did not allow that
PapaShanks<(^oo^)> 10 aout 2020 à 6h02 
Just curious if you know whether its possible to control the volume of the music played?
Kurochi  [créateur] 8 juil. 2020 à 15h32 
You have to cut it
Gwynbleidd ツ 7 juil. 2020 à 17h44 
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 juin 2020 à 15h49 
ok,thanks
Kurochi  [créateur] 29 juin 2020 à 15h19 
When the game ends from time out.
Alisson kits tora 29 juin 2020 à 13h55 
hey sorry for ask but what is timeout sound? ;p
Kurochi  [créateur] 6 mai 2020 à 4h09 
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 mai 2020 à 3h29 
I'm weak in the coding sector lmao, thanks anyway tho
[NEKO] Myzumi 23 avr. 2020 à 13h40 
i always get the error in the console when the rounds end

"Failed to load sound "", file probably missing from disk/repository"
Kurochi  [créateur] 15 avr. 2020 à 9h50 
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 avr. 2020 à 20h24 
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 avr. 2020 à 12h44 
Kurochi  [créateur] 27 mars 2020 à 6h40 
Perhaps. I don't really update this anymore.
Slay_Frido 27 mars 2020 à 6h20 
Is it possible to get this going with ttt2?
Kurochi  [créateur] 20 mars 2020 à 9h07 
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 mars 2020 à 8h40 
Thanks
Kurochi  [créateur] 20 mars 2020 à 8h32 
FastDL!
silent 20 mars 2020 à 8h20 
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  [créateur] 8 mars 2020 à 15h34 
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 mars 2020 à 9h09 
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  [créateur] 24 févr. 2020 à 11h07 
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 févr. 2020 à 9h26 
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  [créateur] 4 févr. 2020 à 9h22 
Huh. I mean I've mostly retired from gmod coding so I don't know when it'll happen.
FloppyAssface 1 févr. 2020 à 15h00 
Yeah, it's an enhanced TTT with custom roles and stuff.
Kurochi  [créateur] 1 févr. 2020 à 14h02 
TTT2? What? Is it a thing?
FloppyAssface 29 janv. 2020 à 13h49 
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 janv. 2020 à 8h50 
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  [créateur] 10 nov. 2019 à 12h55 
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  [créateur] 10 nov. 2019 à 12h55 
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 à 12h12 
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  [créateur] 10 nov. 2019 à 12h08 
What?