.:`=-~rANdOm~`-=:. Game Servers
Support (Read Only) => Suggestions => Topic started by: Mufasa on May 23, 2011, 09:02:48 PM
-
I used to play wintersurvival very cautiously, as you may know it's constantly using about the maximum possible bandwidth for gmod, at 25kbps no matter how many players there are
this is most likely due to the fact that at the start of every round, probably over 100 props are spawned, and left unchecked
i've modified one of the LUA files in wintersurvial to make the entities check every 2 seconds if they are moving, and if they arent, freeze yourself so the server no longer has to handle your movements/possible physics interactions
think about it, 100 props no longer sending physics information to every player on the server
probable advantages of this are:
massive server usage reduction
little or no gameplay changes
more players ( i used to stop playing because i had a capped amount of bandwidth )
less lag
less bandwidth usage
possible disadvantages are:
perhaps props freezing in a weird position (even though it would have stopped in that position anyway)
anyway, my upgrade is here
http://pastebin.com/r2rRAu0T (http://pastebin.com/r2rRAu0T)
copy the contents of that into wintersurvival>entities>entities>ws_item>init.lua (replace what's in there)
if any bugs/exploits come of the update, i would be willing to commit to fix them for the sake of a better running server
-
Looks like a really good contribution. :thumbsup: to be added to WS. Might start playing on it more anyways.
-
Thank god, less lag! :thumbsup:
-
good idea :thumbsup:
-
I don't play WS, but this looks legit.
Noice.
-
Thanks for investing time into the contribution!
It just checks low velocity movements and stops the props all together?
The major lag and shiz will still happen at the beginning of each round, unless you just trying to prevent the last movements of the props when they are on the ground.
I'll test how much bandwidth is actually saved as I believe this was your goal.
//Edit:
Just checked, bandwidth is still averaging 21.5 k/s and spiking >= 25 k/s
I see no change in server performance..
Thanks tho :)
-
Nevertheless good effort!
This is what we need in this community.
-
I wanted to add that from a technical standpoint, the engine puts physics objects to sleep after a certain amount of time with no physics interaction which accomplishes what your code was attempting to do.
Just info for future reference :)
Yes good effort is nice.
I believe we have this in many forms already, with many contributions from everyone on a variety of levels: guides, translators, funny posters, serious posters, solid reporters, helpful players, language moderators, dedicated VIP, Regulars, Admins and good people :). However, seeing it continue is great! I also think it's necessary to have this, it's what has formed this community from the very start into what it is today and will continue well into the future.
-
I wanted to add that from a technical standpoint, the engine puts physics objects to sleep after a certain amount of time with no physics interaction which accomplishes what your code was attempting to do.
Just info for future reference :)
Yes good effort is nice.
I believe we have this in many forms already, with many contributions from everyone on a variety of levels: guides, translators, funny posters, serious posters, solid reporters, helpful players, language moderators, dedicated VIP, Regulars, Admins and good people :). However, seeing it continue is great! I also think it's necessary to have this, it's what has formed this community from the very start into what it is today and will continue well into the future.
What amazes me is that... did you realize each time a member says ''i'm leaving'' they end up coming back after a couple of weeks/days, and I'm not just talking about gamefreak/little fox, I'm sure there's much more. This just shows that we have a very kind and nice community, since they always want to comeback, or else, why would they even bother rejoining? The power of rNd
-
What amazes me is that... did you realize each time a member says ''i'm leaving'' they end up coming back after a couple of weeks/days, and I'm not just talking about gamefreak/little fox, I'm sure there's much more. This just shows that we have a very kind and nice community, since they always want to comeback, or else, why would they even bother rejoining? The power of rNd
i've spent an awful lot of time hovering over that "delete account" button
never did it
-
Most people come back to RND after leaving.... its more of a break than anything. You cant be with the same people for to long. They start to annoy you.
And Coolz, really well said! :D