Too many groups/layers = server lags?
- imp
- Posts: 788
- Joined: Mon May 05, 2014 5:56 pm
- Player profile: http://ddnet.tw/players/imp/
- Mapper profile: http://ddnet.tw/mappers/imp/
Too many groups/layers = server lags?
I'm working on a map and I will probably need 30+ groups and 150+ layers. Will this make the server lag?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Too many groups/layers = server lags?
The server only uses the game layers (game, front, switch, tune, speedup, tele) and does not load graphical layers, images and sounds at all. So no problem for the server, but the client instead. I'd mostly be worried about increased RAM usage.
- imp
- Posts: 788
- Joined: Mon May 05, 2014 5:56 pm
- Player profile: http://ddnet.tw/players/imp/
- Mapper profile: http://ddnet.tw/mappers/imp/
Re: Too many groups/layers = server lags?
I just counted: Lockdown has ~70 layers and 30 groups. My computer is pretty old and I never had lags while playing that map. Are there any players who had issues with playing Lockdown?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Too many groups/layers = server lags?
For me Lockdown takes 3 seconds to load and then DDNet client needs 421 MB of memory, which can be too much for someone with an old machine with just 512 MB or 1 GB of RAM. For comparison Kobra 4 loads in less than a second and DDNet client needs 94 MB of memory.
- imp
- Posts: 788
- Joined: Mon May 05, 2014 5:56 pm
- Player profile: http://ddnet.tw/players/imp/
- Mapper profile: http://ddnet.tw/mappers/imp/
Re: Too many groups/layers = server lags?
Yeah, Lockdown takes long to load for me as well, but I was rather interested if this also affects gameplay or only the time it takes to load the map? Also the size of my map is going to be under 1000x1000
- BamBam
- Posts: 985
- Joined: Sat Apr 11, 2015 9:17 pm
- Location: Canada
- Player profile: http://ddnet.tw/players/BamBam/
- Mapper profile: http://ddnet.tw/mappers/BamBam/
Re: Too many groups/layers = server lags?
Pretty much every map I play takes the same amount of time to load, 1 or less than 1 second.
It won't lag the server, just the clients. If you do make this map put as many layers in detail as possible, so people can turn off some.
It won't lag the server, just the clients. If you do make this map put as many layers in detail as possible, so people can turn off some.
i exist
so do you
magic
so do you
magic
Who is online
Users browsing this forum: Majestic-12 [Bot] and 31 guests