View unanswered posts | View active topics It is currently Thu Jul 29, 2010 2:30 pm

Forum rules


Before posting make sure you have done the following:
  • Checked for an update
  • Read the plugin's supplied documentation
  • Read the General Plugin FAQ
  • Read the plugin's FAQ

Only moderators can post a new topic, so if you have a new plugin, create a thread in the BB4Win forum and we'll move it for ya.



Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next
 BBnettraffic 
Author Message
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post BBnettraffic
Quote:
BBnettraffic analyzes traffic on the selected network adapter and shows it as a graph and a text information. Incoming and outgoing traffic is devided into two separeted parts. It also shows the total traffic on the adapter and computes the price for the transmitted data (price is given per one KB).

_________________
BBlean plugins @ http://pitris.info/BBlean


Sat Aug 04, 2007 4:45 am
Report this post
Profile WWW
Sponsored Links
Google Adsense


BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post BBnettraffic 0.0.5
BBnettraffic 0.0.5 is now available.
There are lots of changes since the last build so consult the supplied .rc file to see what was changed.

:arrow: http://pitris.org/BBlean

_________________
BBlean plugins @ http://pitris.info/BBlean


Sun Jan 27, 2008 6:24 pm
Report this post
Profile WWW
BBTeen

Joined: Sun Apr 13, 2008 2:15 pm
Posts: 18
Reply with quote
Post Re: BBnettraffic
I have a problem with bbnettraffic 0.0.5. The graphs representing the up/down speed do not appear. The speeds themselves show up fine. I also use bbsystraffic and the graphs on that work fine. I tried chaning the colour settings to no avail. I also reinstalled the plugin and reloaded the original .rc file.
A screenshot says it best:

Image

Any ideas what the problem might be?


Sat Apr 19, 2008 11:13 pm
Report this post
Profile
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
CannedChaos wrote:
I have a problem with bbnettraffic 0.0.5. The graphs representing the up/down speed do not appear. The speeds themselves show up fine. I also use bbsystraffic and the graphs on that work fine. I tried chaning the colour settings to no avail. I also reinstalled the plugin and reloaded the original .rc file.
A screenshot says it best:

Image

Any ideas what the problem might be?

Well this is really weird, because both BBnettraffic and BBsystraffic use the same graph class. Did you try changing
Code:
BBnettraffic.receiveGraph.style:            windowlabel
BBnettraffic.receiveGraph.color:            #007700

Post please your .rc part about graphs, I'll test it.

_________________
BBlean plugins @ http://pitris.info/BBlean


Sat Apr 19, 2008 11:25 pm
Report this post
Profile WWW
BBTeen

Joined: Sun Apr 13, 2008 2:15 pm
Posts: 18
Reply with quote
Post Re: BBnettraffic
Thanks pitris, I attach the file. The original config doesn't work for me either, though, irrespective of the style used.


Attachments:
File comment: bbNetTraffic.rc edited for layout and to remove the cost counters.
BBnettraffic.rc [3.76 KiB]
Downloaded 66 times
Sun Apr 20, 2008 3:10 pm
Report this post
Profile
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
Your conf works fine for me. I tried to set the max value of graphs to 5KB/s. Try it if it works or not.
http://pitris.org/programs/nightly/bbne ... esting.zip

_________________
BBlean plugins @ http://pitris.info/BBlean


Sun Apr 20, 2008 3:34 pm
Report this post
Profile WWW
BBTeen

Joined: Sun Apr 13, 2008 2:15 pm
Posts: 18
Reply with quote
Post Re: BBnettraffic
Um, that did the trick, sort of...

Image

How does the plugin set its maximum value?


Sun Apr 20, 2008 3:46 pm
Report this post
Profile
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
Well... It is always a good idea to initialize the variables at the beginning... :lol:
This should work fine for you:
http://pitris.org/programs/nightly/bbne ... sting2.zip

It goes thru all the values in the graph and the biggest value is taken as the maximum.

_________________
BBlean plugins @ http://pitris.info/BBlean


Sun Apr 20, 2008 3:58 pm
Report this post
Profile WWW
BBTeen

Joined: Sun Apr 13, 2008 2:15 pm
Posts: 18
Reply with quote
Post Re: BBnettraffic
That works great, thanks! =D>
So, how come it was broken for me but worked for you? Wouldn't the graph go over the top of the frame for anyone as soon as the speed increased beyond the max value written at startup?


Sun Apr 20, 2008 5:45 pm
Report this post
Profile
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
Nice to hear it works. :)
There are 2 variables: one of a floating point type which stores the actual biggest value in the graph and one of a bool type, which tells whether the max value can change or is fixed. The first one is always initialized to zero, but the second one wasn't and that was the problem. When it is not initialized it can be true or false, depending on I don't know what. :) For most people it was false and that was correct. For you it was true and the max value was set to zero. This means that the extent of the graph was always zero and was never calculated again.

The same bug is now in BBsystraffic, but it doesn't matter because the max value is fixed to 100 and doesn't need to be recalculated.

_________________
BBlean plugins @ http://pitris.info/BBlean


Sun Apr 20, 2008 9:17 pm
Report this post
Profile WWW
BBSage
User avatar

Joined: Fri Dec 28, 2007 12:23 am
Posts: 105
Location: Surabaya, Indonesia
Reply with quote
Post Re: BBnettraffic
that was the same problem with me. but, now it's solved when i'm download your latest release.
nice work pitris =D>

_________________
Ask, and it shall be given.
Seek, and you shall find.
Knock, and it shall be opened to you.


Mon Apr 21, 2008 4:36 am
Report this post
Profile ICQ YIM
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
igndenok wrote:
that was the same problem with me. but, now it's solved when i'm download your latest release.
nice work pitris =D>

You should have told me, it could be fixed earlier. :wink:

_________________
BBlean plugins @ http://pitris.info/BBlean


Mon Apr 21, 2008 11:55 am
Report this post
Profile WWW
BBSage
User avatar

Joined: Fri Dec 28, 2007 12:23 am
Posts: 105
Location: Surabaya, Indonesia
Reply with quote
Post Re: BBnettraffic
pitris wrote:
You should have told me, it could be fixed earlier.


my bad, i think it's my computer problems. #-o

_________________
Ask, and it shall be given.
Seek, and you shall find.
Knock, and it shall be opened to you.


Mon Apr 21, 2008 11:13 pm
Report this post
Profile ICQ YIM
Reply with quote
Post Re: BBnettraffic
what's Final Cost for really? supposed to show how you're accumulating for your next bill from your ISP?


Sat May 24, 2008 12:38 am
Report this post
BBSage
User avatar

Joined: Mon Aug 14, 2006 10:44 pm
Posts: 183
Location: Czech Republic
Reply with quote
Post Re: BBnettraffic
nim wrote:
what's Final Cost for really? supposed to show how you're accumulating for your next bill from your ISP?

It is (incoming_bytes + outgoing_butes) * price_per_byte. I used to use it when I was connected via GPRS to know how much money I had already wasted.

_________________
BBlean plugins @ http://pitris.info/BBlean


Tue May 27, 2008 9:35 am
Report this post
Profile WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 42 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.