Hello SIR
i will like to have a script which can or will check the upload limits of all users. where the owner will put the minimum and maximum speed limit
The maximum limit can be set to unlimited
as there are users in my hub who put upload limit like 44kbps and all
Those users whose limits are below the prefered limits must not be allowed to enter the hub
And the ops whose limits are below the prefered limits must get message like
"Your Speed Limits are below the set ones so please increase your limits otherwise you will be removed from opship"
Masters must not go through this check
Thanks in Advance
no replies :-[
the idea was tht bad????
Not bad idea but its cristmas time and coders are humans too and they will spend time with their loved ones. Dual posting is not the answer :D just keep waiting and the masters will answer if they want. I havent been around quite time and my lua skills are very bad so i cant hel ya out. I hope CB will help :D
It's not really possible to check a line's speeds from the hubside.
The only way this can be done is sending a specific file with a fixed size to a client multiple times and take the average time it takes.
However, clients do not just accept files, so you may need this to be scripted from a client side as well.
And it's not gonna be possible to force all your users to use a client that supports LUA just for your hub :P
This has been asked before. NO, it is not possible, check it manually. You know, manpower is also necessary for the effective maintenance of a DC hub.
thank u mutor
but there is sum prob the script is not working
i changed
local minlimit = 44
to
local minlimit = 1024
and then i tried to connect the hub with upload limit of 100kbps
the script didnt blocked me
can u please have a look again
hello mutor
i am getting the following error
limit.lua:4: attempt to index global 'Core' (a nil value)
You are using old PtokaX (older than 0.3.6.0d). Upgrade your hubsoftware.
i am using the latest version of ptokax check out
This hub is running PtokaX DC Hub 0.3.6.0
still i am getting tht problem
limit.lua:4: attempt to index global 'Core' (a nil value)
hello
i tried to search for ptokax version 0.3.6.0d but was unsuccessful
so can any1 giv me the link were i could find tht version