just wonder how i can set max speed 50kb per client while update?
You can limit the user at download manager just change USER_LIMIT "1" or setup a virtual machine with your server files and limiting the virtual networkcard of the vm there
Neither his second solution will, you will limit the machine's speed to 1000kb/s for example.. First user takes 200, third 600, 4th and 5th 100.. and then what?
Probably the way is trough server.cfg if it has such param. I couldn;t find myself one
The only way to do this would be with a filter....
and in the filter you would have to limit the number of bytes that can be processed per interval from server -> client.
a basic filter will use 4096 - 8192 bytes per interval, but using async socket handlers you can send that every 1ms. which will allow 4mb-10mb per second per connection.
The solution would be to allow only 6-12 intervals to occur every second, which would slow your connection to 40-60 kbps.
@Timlock's explanation is good enough!
I tried to find rest of the params, but I couldn't find anything else. And yes I do mean the same param you showed above, but they are not the proper ones.
Edit:
That's just a theory which I did not test.
Try using these lines as server.cfg params, for example try the last one.
Code:
PromptAtClose 1
Restart download server and then try to shut it down, if you get a msg box saying do you really want to close the DownloadServer or something like that, try the rest of the params from the picture, it might work. Needs testing
@Timlock's explanation is good enough!
I tried to find rest of the params, but I couldn't find anything else. And yes I do mean the same param you showed above, but they are not the proper ones.
Edit:
That's just a theory which I did not test.
Try using these lines as server.cfg params, for example try the last one.
Code:
PromptAtClose 1
Restart download server and then try to shut it down, if you get a msg box saying do you really want to close the DownloadServer or something like that, try the rest of the params from the picture, it might work. Needs testing
The only way to do this would be with a filter....
humm, do you know an existing filter or you mean code mine ?
well my skills at c# is still low but your idea can be taken from Chernobyl's srprot it's just need some re code as it has a penalty: if the client exceeded the max allowed bytes the connection get terminated
Quote:
Originally Posted by Zed*
That's just a theory which I did not test.
Try using these lines as server.cfg params, for example try the last one.
Code:
PromptAtClose 1
yeah saw that param (MaxSendQueDepth) too but didn't consider that it's related, so i didn't test it
Well try these ones if you can figure out what they doing, if they work I and someone write it here or PMs me, I will try to dig all of them for all of the modules
@Timlock, @Zed , really sorry guys can't test that param at the moment as my own net is **** and for testing the dedicated's upload speed, it wont be accurate
so can you guys test and confirm ?
@Goofie which program you refer to ? and what do you mean by 2k15 (think i don't get that part) ?
@thread when i posted this thread asking for help i thought you guys already have solution used on your own servers
updates which containing sro_client on servers with a lot of users while leaving the maximum upload speed as it is, is sounds like a shell or a natural built-in ddos xD
my ex-dedicated server had 6~7mb/s upload speed and was lagging as hell if just 1 user can update his client with his 7+mb/s download speed
like i just said it's almost built-in ddos
if there's no existing solution so let's do it as we always did
P.S: ksro already using such technique , when i try to update ksro client the maximum download speed doesn't exceed 35kb/s
About Limit Update Files in SMC 06/01/2012 - SRO Private Server - 3 Replies i wonder if gateway of BR Files that control the max updated files
i tested it and it only update max 5 files
why this?!
anyone know?