I'm pretty sure I know what the answer to this is but I wanted to get the oppions of smart BYOND elders...
Doe turning off sounds (once they are downloaded) lessen lag? (or help reduce it)
there was another one I always wandered but I forget it =/
ID:152658
Feb 28 2006, 12:09 pm
|
|
Feb 28 2006, 1:20 pm
|
|
Turning the sound off prevents you from downloading sound files either when you download the program resources or when you encounter the sound, depending on the program's setting. In those cases, since you're not downloading, there's less lag. But once the sound files are downloaded, it shouldn't make any difference.
|
In response to Foomer
|
|
Twas what I thought before. Everyone is like turn of you sound to stop lag and I'm like w/e. It wouldn't make sense if it did know a little about how code works.
|
In response to FinalFantasyGamer
|
|
Well from my hosting days I can tell you that a slow server slows down quite a bit when someone is downloading, so spending extra time downloading sounds would annoy the players. And from the player's perspective, if the author of the game was thoughtless enough to have it download the sounds as you hear them in some kind of action-oriented game, then turning off the sound tends to be a good idea. Otherwise you tend to get lagged whenever something happens, and die.
|
In response to Foomer
|
|
Unless I am mistaken, it is entirely possible to package resources for outside of game downloading and prevent lag to your server by booting anyone who hasn't downloaded said resources upon their login.
|
In response to Lord Solemn
|
|
Yeah, um I am pretty sure there is no if(client.hasresources) test. About the resources being hosted somewhere else to prevent lag, that is true though. preload_rsc, can do that.
|
In response to Lord Solemn
|
|
You can't boot them if they haven't downloaded the resources, but you can require them to download a resource package from a website when they log in, using client.preload_rsc:
client/preload_rsc="http://somewebsite.com/blah/mygame_rsc.zip"
Should work with any web host that allows hotlinking. |
Well you can make a file shorter by turning off sounds. Some games use quite a lot of space with just sound alone.
Some games can be like 6MB in size, when I turn sound off, it goes from 6MB to like 3.5, 4MB in size. Which can make a differance when I am running off of 56K here. Another thing is, some hosts, have a change music verb for on the server. Let me tell you, a music happy host, upsets me when I am trying to play a game. Every single time they change a song and if I have sound on, I gotta download it, and while I am downloading it, I can expiearance lag while downloading the new sound file. I was playing a game a few days back where every 10 seconds the host changed to a different song. Man did I get mad. |
In response to Shades
|
|
now this brings up another question.
Several RSC's are created for a game. 1. No sounds 2. Low quality sounds 3. High quality sounds. When a player logs in a input() popup comes up asking for which of rsc to download (assuming they haven't downloaded an rsc). Would each of these rsc's be compatible with the game? |
In response to Crispy
|
|
Yea every game should have that =/ but most can't get a webhost.
|
In response to D4RK3 54B3R
|
|
That could work. I don't think there would be a problem with compatibility. But you would have to make the resource settings so that resources are only downloaded as needed.
|
In response to FinalFantasyGamer
|
|
FinalFantasyGamer wrote:
Yea every game should have that =/ but most can't get a webhost. You could allways get a webserver. http://www.uniformserver.com for windows :) |
In response to A.T.H.K
|
|
Setting up a server on a pc isn't the easiest thing to do. Anyway, I just remembered there's lots of free file hosters like FileLodge. I was thinking of pay hosts.
|
In response to FinalFantasyGamer
|
|
FinalFantasyGamer wrote:
Setting up a server on a pc isn't the easiest thing to do. Anyway, I just remembered there's lots of free file hosters like FileLodge. I was thinking of pay hosts. With uniformserver its as simple as just starting it up.. |
In response to A.T.H.K
|
|
I've never heard of that I downloaded windows server and than loaded modules on myself. Oh well, experience never hurts. =)
|