Garry's Mod

Garry's Mod

TTT - End Round Music
859 条留言
Kurochi  [作者] 2024 年 11 月 20 日 下午 3:24 
Nah bro it's all good.
Lomnius 2024 年 11 月 3 日 上午 5:58 
@Kurochi sadly I cannot wirte you via your Steam account...
I modified your code, as it did not work for TTT2 (at least for me), i published a new addon to workshop, if you want i'll take it down, or add you as co-author.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3359508405
Kurochi  [作者] 2023 年 11 月 19 日 上午 3:45 
Have fun with your buddies man
MelonHead269 2023 年 11 月 18 日 上午 8:31 
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 2023 年 11 月 18 日 上午 7:55 
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  [作者] 2023 年 11 月 18 日 上午 4:17 
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 2023 年 11 月 12 日 上午 11:54 
@MelonHead269 It's a bitrate limitation.
MelonHead269 2023 年 2 月 21 日 下午 4:09 
Eehh I should've been nicer about the comment anyways. I was just upset from messing around with the files for 2 days.
Kurochi  [作者] 2023 年 2 月 21 日 下午 1:38 
I'm sorry mate that's garry's mod, not my "thing".
MelonHead269 2023 年 2 月 20 日 下午 12:16 
Only a select few songs work and others wont its so inconsistent!
MelonHead269 2023 年 2 月 20 日 下午 12:15 
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 2023 年 1 月 15 日 上午 7:23 
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 2023 年 1 月 15 日 上午 6:52 
[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...
thesmokingirl 2022 年 5 月 15 日 下午 5:33 
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 2021 年 6 月 17 日 下午 1:37 
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  [作者] 2020 年 9 月 17 日 上午 11:49 
I don't wanna seem like a dick but if you're asking me that question you probably can't
Tim Tam 2020 年 9 月 16 日 下午 7:33 
Hey man, thanks for the response. So how do i go about modifying it?
Kurochi  [作者] 2020 年 9 月 16 日 上午 9:02 
You can't without modifying it
Tim Tam 2020 年 9 月 16 日 上午 1:18 
Has anyone figured how to lower the volume of the music?
Kurochi  [作者] 2020 年 8 月 10 日 上午 11:41 
Dunno if it's still like that
Kurochi  [作者] 2020 年 8 月 10 日 上午 11:41 
Back in the day the GMod functions I used did not allow that
PapaShanks<(^oo^)> 2020 年 8 月 10 日 上午 6:02 
Just curious if you know whether its possible to control the volume of the music played?
Kurochi  [作者] 2020 年 7 月 8 日 下午 3:32 
You have to cut it
Gwynbleidd ツ 2020 年 7 月 7 日 下午 5:44 
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 2020 年 6 月 29 日 下午 3:49 
ok,thanks
Kurochi  [作者] 2020 年 6 月 29 日 下午 3:19 
When the game ends from time out.
Alisson kits tora 2020 年 6 月 29 日 下午 1:55 
hey sorry for ask but what is timeout sound? ;p
Kurochi  [作者] 2020 年 5 月 6 日 上午 4:09 
Yeah, I'm sorry mate. I just, you know, moved on from gmod. I made this when I had my own TTT server
Duck. 2020 年 5 月 6 日 上午 3:29 
I'm weak in the coding sector lmao, thanks anyway tho
[NEKO] Myzumi 2020 年 4 月 23 日 下午 1:40 
i always get the error in the console when the rounds end

"Failed to load sound "", file probably missing from disk/repository"
Kurochi  [作者] 2020 年 4 月 15 日 上午 9:50 
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. 2020 年 4 月 14 日 下午 8:24 
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 #StopKillingGames 2020 年 4 月 9 日 下午 12:44 
Kurochi  [作者] 2020 年 3 月 27 日 上午 6:40 
Perhaps. I don't really update this anymore.
Slay_Frido 2020 年 3 月 27 日 上午 6:20 
Is it possible to get this going with ttt2?
Kurochi  [作者] 2020 年 3 月 20 日 上午 9:07 
Issues with file will always mention the sample rate or something about corruption, if it says "probably missing" then it's probably missing
silent 2020 年 3 月 20 日 上午 8:40 
Thanks
Kurochi  [作者] 2020 年 3 月 20 日 上午 8:32 
FastDL!
silent 2020 年 3 月 20 日 上午 8:20 
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  [作者] 2020 年 3 月 8 日 下午 3:34 
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 :( 2020 年 3 月 7 日 上午 9:09 
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  [作者] 2020 年 2 月 24 日 上午 11:07 
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 2020 年 2 月 22 日 上午 9:26 
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  [作者] 2020 年 2 月 4 日 上午 9:22 
Huh. I mean I've mostly retired from gmod coding so I don't know when it'll happen.
FloppyAssface 2020 年 2 月 1 日 下午 3:00 
Yeah, it's an enhanced TTT with custom roles and stuff.
Kurochi  [作者] 2020 年 2 月 1 日 下午 2:02 
TTT2? What? Is it a thing?
FloppyAssface 2020 年 1 月 29 日 下午 1:49 
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 ⛟ 2020 年 1 月 28 日 上午 8:50 
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  [作者] 2019 年 11 月 10 日 下午 12:55 
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  [作者] 2019 年 11 月 10 日 下午 12:55 
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.