English File size exceeds client size limits

7 replies
Goto Page
To the start Previous 1 Next To the start
Up
olie18
User
Offline Off
what are the size limits?

I wanted to send a small loop of music (610kb) in ogg file format to keep it smaller.
02.12.17 07:50:42 am
Up
Devil-Thanh
GAME BANNED
Offline Off
Go Option > Net. Defaut is 250 kb
02.12.17 12:10:40 pm
Up
DC
Admin
Offline Off
File transfers when joining are extremely annoying. Music loops are extremely annoying as well and you're most likely violating laws by simply using random protected music on your server.

I highly recommend to not put music loops on your server. Will lead to a better world for everyone

And yes, the majority of players won't hear your music if it's bigger than 250 kbs.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.12.17 12:54:15 pm
Up
olie18
User
Offline Off
@user DC: I make my own music and I thought I might as well throw some of my old unused stuff onto it. I had the idea of using a few different loops and bringing them in as the player survives longer and it gets harder, increasing the tempo and such. Also script a personal button to turn it on/off, I've ran out of f keys though.

I crushed down the bit rate so it was just under the limit while still being listenable. Trying to think of other ways to reduce the download size if I plan to add more.
02.12.17 01:33:26 pm
Up
DC
Admin
Offline Off
Oh okay, then it's cool

From my experience people tend to (illegally) fill their servers with random licensed/chart music and to randomly annoy people with it. E.g. by making it play via say-commands or stuff like that. A truly horrible idea.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.12.17 01:49:46 pm
Up
olie18
User
Offline Off
@user DC: I'll check this later when I'm at my pc but just incase you know, do you think it would work if I split things down into their components and used timers to trigger sounds?

I'm thinking I could just use 2-3 drum samples and script them to play in time, a few melody loops over the top and maybe one or two extra sounds. It would bring the total size down to about 1/10th of what it would otherwise be. Would it all stay in time?

It would be funny if I could incorporate sounds included in cs2d with it to reduce it even further.
02.12.17 02:10:40 pm
Up
DC
Admin
Offline Off
It's definitely possible to do that. CS2D provides methods for that e.g. cs2d lua cmd timer. It depends on the latency of the players though as all that stuff runs on the server and is synced over net. So whenever there are lags / latency spikes it might ruin the timing a bit.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.12.17 02:27:25 pm
Up
olie18
User
Offline Off
@user DC: hmm I hadn't considered the ping. I'm guessing I would have to keep the drums attached to the melody loops so if they lag spike they get a bit of silence instead of a ton of drum hits all at the same time deafening them?

I don't suppose there's any way to pause and resume playing files?

I could just stop playback if their ping goes above a certain amount. This is going to be weird to work out, I'm not sure how I can force my ping higher to test it.
edited 1×, last 02.12.17 02:42:50 pm
To the start Previous 1 Next To the start