It is currently May 6th, 2024, 10:49 pm

[SOLVED] uTorrent Help (Calc Speed)

Get help with creating, editing & fixing problems with skins
Sup3rFly
Posts: 2
Joined: September 21st, 2011, 6:00 am

[SOLVED] uTorrent Help (Calc Speed)

Post by Sup3rFly »

Hi Guys,

I have been using the following utorrent skin for awhile:

Code: Select all

http://fresh-grass.deviantart.com/art/Dynamix-uTorrent-168376736
One thing I have noticed is that when the speed is calculated it will only show the speed in kB/s, now when my speeds hits over the 1MB/s part it will still only show as 1.4kB/s, when it should show as 1.4MB/s, I understand this is someone elses work and I have tried contacting the developer but have had no answer for over a week and a bit :(

I was wondering how would I edit the skin so it would show the correct values kB/s and MB/s ?

Any suggestions would be appreciated, as I am not a coder :(

Thanks Heaps.
Last edited by Sup3rFly on September 22nd, 2011, 1:29 am, edited 1 time in total.
Sup3rFly
Posts: 2
Joined: September 21st, 2011, 6:00 am

Re: uTorrent Help (Calc Speed)

Post by Sup3rFly »

Solved:-

After some digging in the code and removing /1024 from the formula the speed reading is now correct and will change from b > kB > MB... correctly.

Before:

Code: Select all

;Overall speed
[UlSpeed]
Measure=Calc
Formula=(UlSpExist1+UlSpExist2+UlSpExist3+UlSpExist4+UlSpExist5+UlSpExist6+UlSpExist7+UlSpExist8+UlSpExist9+UlSpExist10+UlSpExist11+UlSpExist12+UlSpExist13+UlSpExist14+UlSpExist15+UlSpExist16+UlSpExist17+UlSpExist18+UlSpExist19+UlSpExist20)/1024
After:

Code: Select all

;Overall speed
[UlSpeed]
Measure=Calc
Formula=(UlSpExist1+UlSpExist2+UlSpExist3+UlSpExist4+UlSpExist5+UlSpExist6+UlSpExist7+UlSpExist8+UlSpExist9+UlSpExist10+UlSpExist11+UlSpExist12+UlSpExist13+UlSpExist14+UlSpExist15+UlSpExist16+UlSpExist17+UlSpExist18+UlSpExist19+UlSpExist20)