A friend of mine simple snippet, use to check hes line speed using alias, just copy and paste it to your remote alias.
========================================================================
Note: You may want to use keys F1 -F12 according to your comfortable hotkeys.
=========================================================================
/f10 /set %checker $ticks | set %chai 1 | :start | if ($calc($ticks - %checker) <= 100) { inc %chai | goto start } | msg $active My Line Connection Speed Is $round($calc((%chai * 3.11) / 100 ),2) 14Kbps
Rofl bullshiit your bein dramatic there no need to drill the kid over an over and over and over and over and over and over and over and over and over and over again etc.First time he did't get it and you pust SO much time into your detailed explanation what did you think the result would be if you put SO much more time and effort into the next explanation? and to sit there and use CAPS and BOLDS to get your poit across is idiotic to say the least and to repeat over and over again it doesn't not do what it says it does is even worse ,it doesnt work you covered that n your first post and then your second and youg o on to a third im not sure if at some point because he apparently missed your point you got all butt hurt but there was no need to go on and on and continue.You point had been made,if he doesn't get it the first and then the second why even try for a third then to throw a e-hissy fit is childish.Just leave it alone man,some times you gotta just fukin drop it.Not everyone is gunna get it,not even one is gunna care.I do understand what your tryin to do J trust me we've went over this before about helping on hawkee and i agree to a point.But keepin on about it isn't the way to go.Speaking of dropping it rofl wtf am i wasting my time commenting for./me sighs.`-.-´
Yeah, whatever EL, so in your opinion if you try and explain something thoroughly and someone doesn't understand it properly you should just basically tell them tough crap and let them go on believeing that a peice of code does something it can't.
And yes, in my last post to the OP I did use caps and bold but forgive me for utilizing the tools at my disposal to get my point across.
At no time did I repeat myself either. I took the time and effort of coming up with new examples and methods of showing him that his code doesn't do what it says every single time I pasted a result from his script.
I didn't "drill the kid over and over and over..." as you put it or "throw an e-hissy fit", I simply took the next step in getting my point accross and personally I dont see the use of capital letters or bold to try and really drive a point home as qualifying as being dramatic. Its not like I was using those capital letters and bold to call the OP names or insult him. I was using them to give emphasis to what I was saying.
At no time did I insult anyone in any of my comments.
Some people would consider giving up one someone because you already tried, a bit of a dramatic reaction, and in my opinion its far more polite than your theory of "If you took all that time explaining it the first time what, did you think was going to happen the second time yo tried?".
Heck, I may not have even needed all three comments if just one other user here had chimed in to agree with me so the OP knew that it wasn't just one guys opinion but instead Cheirons comment did the exact opposite.
And yes I know I said I wasnt going to post on the subject anymore but I just don't have it in me to read something like the above comment and not respond.
Seriously tho, this is totally my last post in this thread as we have strayed entirely off topic.
Rofl bullshiit your bein dramatic there no need to drill the kid over an over and over and over and over and over and over and over and over and over and over again etc.First time he did\'t get it and you pust SO much time into your detailed explanation what did you think the result would be if you put SO much more time and effort into the next explanation? and to sit there and use CAPS and BOLDS to get your poit across is idiotic to say the least and to repeat over and over again it doesn\'t not do what it says it does is even worse ,it doesnt work you covered that n your first post and then your second and youg o on to a third im not sure if at some point because he apparently missed your point you got all butt hurt but there was no need to go on and on and continue.You point had been made,if he doesn\'t get it the first and then the second why even try for a third then to throw a e-hissy fit is childish.Just leave it alone man,some times you gotta just fukin drop it.Not everyone is gunna get it,not even one is gunna care.I do understand what your tryin to do J trust me we\'ve went over this before about helping on hawkee and i agree to a point.But keepin on about it isn\'t the way to go.Speaking of dropping it rofl wtf am i wasting my time commenting for./me sighs.`-.-´
Yeah it doesn\'t work we get it typo you\'ve tried to explain in detail and have but theres no need to be so dramatic about it.Lay off a bit eh?.`-.-´
No EL, You may get it, eugene and me may get it but the OP does NOT get it.
Why should I lay off a bit? Look at the detail and time I took in my explanation to the OP. Then look the Cheirons reply which totally overlooks my point about it not doing what it advertises. Then look at my next post which took even more time and in depth explanations to make it even more clear. Now take a look at the post from the OP thanking me for my edited peice of code and talking about the type of connection he has due to cheirons comment. He obviously still had no clue what I was saying.
Besides, I didn\'t call names, I didnt make rude comments, I didn\'t do anything like that, all I did was use capital letters, bold font and a lot of extra words to try and make my point understood this time. I don\'t see where I am being dramatic but I did get annoyed at having made something so crystal clear and yet have it misunderstood so completely so I simply made sure there was no room for any confusion this time.
You may call it dramatic but anything less is obviously not enough and I honestly don\'t think that letting him believe the code does what he said it does is the answer either.
Anyhow, this is my last post on the subject.
How is it that my point is being entirely missed.
As far as I can tell, and unless it can be explained to me I will have to assume I am right, this script cannot return the result of your line speed in any way shape or form.
I even took the alias and opened a brand new copy of a new mirc. I went into my firewall and blocked that mirc. When i opened the mirc i tried connecting to c ocuple networks to check the firewall block and it was indeed blocked from the outside world.
Then I tried my edition of your alias but ofcourse it wouldnt work because it uses /msg and that wont send a message when you arent connected so I edited it to echo and was confronted with:
Status Window My Line Connection Speed Is 64.94 Kbps
Status Window My Line Connection Speed Is 63.85 Kbps
Status Window My Line Connection Speed Is 72.06 Kbps
Status Window My Line Connection Speed Is 67.7 Kbps
Status Window My Line Connection Speed Is 67.61 Kbps
Status Window My Line Connection Speed Is 63.2 Kbps
Status Window My Line Connection Speed Is 67.77 Kbps
Status Window My Line Connection Speed Is 61.8 Kbps
Status Window My Line Connection Speed Is 71.44 Kbps
Status Window My Line Connection Speed Is 67.46 Kbps
Status Window My Line Connection Speed Is 64.16 Kbps
Status Window My Line Connection Speed Is 70.41 Kbps
Status Window My Line Connection Speed Is 62.51 Kbps
Anyhow, I cannot make it any clearer than breaking the alias down as I did in my earlier posts.
This script CANNOT, WILL NOT, DOES NOT HAVE THE ABILITY TO, IS INCAPABLE OF, LACKS THE CODE TO, detect, estimate or even in any way shape or form guess your connection speed.
The fact is you don\'t even need an internet connection to use this script.
As a final test I tried the alias on my other computer after completely disabling networking.
«» Aug14 ¤ 02:19AM «» * Unable to connect to server (No Route to Host)
«» Aug14 ¤ 02:19AM «» * Connect retry #6 209.133.11.195 (6667)
«» Aug14 ¤ 02:19AM «» * Unable to connect to server (No Route to Host)
Status Window My Line Connection Speed Is 49.01 Kbps
Status Window My Line Connection Speed Is 48.42 Kbps
Status Window My Line Connection Speed Is 50.63 Kbps
Status Window My Line Connection Speed Is 45.56 Kbps«» Aug14 ¤ 02:19AM «» * Connect retry #7 209.133.11.195 (6667)
«» Aug14 ¤ 02:19AM «» * Unable to connect to server (No Route to Host)
Status Window My Line Connection Speed Is 49.42 Kbps
Status Window My Line Connection Speed Is 50.23 Kbps
Status Window My Line Connection Speed Is 43.42 Kbps
Status Window My Line Connection Speed Is 51.22 Kbps
I will say it one more time.
THIS SCRIPT CANNOT DETECT ANYTHING ABOUT YOUR LINE SPEED OR CONNECTION.
I cannot believe after I went thru all the time of explaining that this code doesnt do what it says and the OP just thanks me for for my peice of edited code and says hes using it now.
I just hope that now that I tried both blocking a mirc with the firewall and still successfully used the script and then even went as far as disabling all networking in windows xp and the script still returned line speed results that it will make my point clear.
Script = No workie long time.
Heya typo, actually this snippets is quite old,had been used a while ago with dial up connection, so i guess, and yes there are different ways of coding to determine the speed between using dial up compared to using cable, dsl, adsl2+, T1, T3. Now im using LAN adsl, i seems like still slow when i get the result. Thanks for the code you\'ve edited. I\'m using it right now and looks better. ^_^ Thanks Typo
Cheiron said:> me thinks he might have missed a calculation there typo.. 53kbps is equal to a half meg broadband (530kbps actual) rising to 74kbps (740kbps or 1 meg). it is an interesting concept though. also as a bone thrown in the works... what sort of connection is this written for,.... was it written for dial up users in mind, cable, dsl, adsl2+, T1, T3 ?
You missed my whole point.
Typo said:> I dont get how this code would generate an accurate result of your current line speed.
Typo said:> I find it odd that at no time does it send or recieve any information or command of any kind to or from any source outside of your computer until it announces your \"line speed\".
And then there was the whole thing I pointed out where the results changed based on rewording the code even tho it didnt change the actual function at all.
The script only utilizes the $calc and $ticks identifiers and the /set command.
$ticks returns the number of ticks since your operating system was first started.
$calc is obviously mircs version of a calculator.
/set simply sets a variables
As far as I know none of these identifiers/commands send or recieve any information to or from the server. The first time this script makes any remote communication is when it sends the message.
How is it possible to get your connection speed with this code?
me thinks he might have missed a calculation there typo.. 53kbps is equal to a half meg broadband (530kbps actual) rising to 74kbps (740kbps or 1 meg). it is an interesting concept though. also as a bone thrown in the works... what sort of connection is this written for,.... was it written for dial up users in mind, cable, dsl, adsl2+, T1, T3 ?
I dont get how this code would generate an accurate result of your current line speed. It makes even less sense when we spell it out. The code broken down into english with the variable names changed would be.
Set a variable called %time with the current time and another called %timestried with the number 1.
Check if the current time is less than 1/10th of a second ahead of %time.
If not, increase %timestried and check again.
When it is a difference of 1/10th a second or greater we take the amount of times that we had to check (%timestried) and multipy it by 3.11 and then divide that by one hundred and call it your kbps.
I find it odd that at no time does it send or recieve any information or command of any kind to or from any source outside of your computer until it announces your \"line speed\".
Also.
When trying it out I decided to change the goto loop to a while loop and the set\'s to var\'s and to my suprise it changed the results. It looked like the difference was atleast 10k which was enough for me to catch visually when i was triggering the aliases repeatedly so I ran each version of the alias ten time in a row and averaged the results.
We have the first line of code which Jukadi contributed.
//set %checker $ticks | set %chai 1 | :start | if ($calc($ticks - %checker) <= 100) { inc %chai | goto start } | msg $active My Line Connection Speed Is $round($calc((%chai * 3.11) / 100 ),2) 14Kbps
Which gave the results:
¤Aug12¤04:55AM¤ My Line Connection Speed Is 57.19 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 55.33 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 62.79 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 57.04 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 59.09 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 58.41 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 59.99 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 62.54 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 60.33 Kbps
And we have the slightly edited line I changed it to.
//var %checker $ticks, %chai 1 | while ($calc($ticks - %checker) <= 100) { inc %chai } | msg $active My Line Connection Speed Is $round($calc((%chai * 3.11) / 100 ),2) 14Kbps
Which gave the results:
¤Aug12¤04:55AM¤ My Line Connection Speed Is 70.22 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 64.78 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 74.39 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 65.4 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 66.21 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 70.72 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 74.08 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 74.02 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 73.08 Kbps
¤Aug12¤04:55AM¤ My Line Connection Speed Is 65.25 Kbps
The only difference between the lines of code is one uses a while loop and var and the other uses a goto loop and set.
The results averaged out were 53.271kbps for the original code and 69.826kbps for the edited code.
My connection btw is wireless 54mbps network to the cable modem which gets 12mbps+(+ = up to 20mbps) download and 2.5mbps upload.
This code no makey sense to typo.