Forum

> > CS2D > Servers > File size exceeds client size limits
Forums overviewCS2D overview Servers overviewLog in to reply

English File size exceeds client size limits

7 replies
To the start Previous 1 Next To the start

old Re: File size exceeds client size limits

DC
Admin Off Offline

Quote
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.

old Re: File size exceeds client size limits

olie18
User Off Offline

Quote
@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.

old Re: File size exceeds client size limits

DC
Admin Off Offline

Quote
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.

old Re: File size exceeds client size limits

olie18
User Off Offline

Quote
@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.

old Re: File size exceeds client size limits

DC
Admin Off Offline

Quote
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.

old Re: File size exceeds client size limits

olie18
User Off Offline

Quote
@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
Log in to reply Servers overviewCS2D overviewForums overview