LonkeroAdministrator
(KiX Master Guru)
2002-11-01 10:27 PM
bbCheckerII 1.5

there is a tool that checks all the new posts on bb.
it informs you, keeps track of the messages, shows logged on users...

it's bbchecker.
basically, you download an exe:
http://www.gwspikval.com/jooel/scripts/bbChecker/BBChecker.exe

which installs the package.
after that, you can start using it.
if you want to know what is inside the script or you want to steal the code, go to:
http://www.gwspikval.com/jooel/scripts/bbChecker/sources/current/

remember that kixtart is not freeware!

anyway, it has come 1.5 from the day of using IE window and shawn saying:
quote:
ok - little payback here Jooel - how come when I install or re-install BBChecker - there is never any MENU ITEM put into my START MENU ??? Im running Windows XP ... heheee
quote:
damn - it did work - should have checked before i installed the latest version - never mind. Good one bud !
to be one of the most developed kixtart GUI scripts around.
so, if you do not fancy the BB, you can always see what your scripts might have!

hope you have fun!

Lonkero

ps. the development will not stop, this is just one of those bus stops...


[ 01. November 2002, 22:27: Message edited by: Lonkero ]


Les
(KiX Master)
2002-11-02 03:04 AM
Re: bbCheckerII 1.5

Jooel,
So what do I have to change in BBChecker so that the title of the post doesn't replace the BBChecker II title in the icon on the TaskBar. I have a habit of right-clicking the icons and closing the windows and end up closing BBChecker.


LonkeroAdministrator
(KiX Master Guru)
2002-11-02 03:07 AM
Re: bbCheckerII 1.5

comment out this line (in update-udf):
code:
   $m.caption=$post[0]+" - BBChecker II"



LonkeroAdministrator
(KiX Master Guru)
2002-11-02 03:09 AM
Re: bbCheckerII 1.5

shawn, is it possible to remove the menu from taskbar?
or at least, catch the event of user pressing alt+F4?

[ 02. November 2002, 13:47: Message edited by: Lonkero ]


Les
(KiX Master)
2002-11-02 06:17 AM
Re: bbCheckerII 1.5

One does not like to look a gift horse in the mouth, but I have this pet peeve about standards.

f.e. 3D buttons should always be single-click while flat objects should always be double-click except for URLs which again are single-click. I'm not saying it isn't that way in BBChecker. I'm just explaining standards.

OK, to get to the point(er). The mouse pointer as well should follow standards. I don't know the terminology for the different pointers but I do know when they are not right.

f.e. the standard pointer, arrow at 11 o'clock for RH mouse, changes to a hand with pointed finger when you mouseover a URL. When you mouseover the history list however, it should be the standard pointer because the pointing hand would indicate a single click action but the listbox items require a double-click.

So... the line:
$hl[$].mousepointer=16

should be:
$hl[$].mousepointer=1

to be true to standards.


Les
(KiX Master)
2002-11-02 07:42 PM
Re: bbCheckerII 1.5

OK, so nobody wants to help me out with terminology. I couldn't find anything on the KiXForms site either. I read somewhere (think it was a bathroom stall) that the paperwork is the last job to be done.

Oh well, came upon this from MSDN that seems to match with what I tried in KiXForms.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/3rdparty/html/hidh_prop_edit_mousepointer.asp


ShawnAdministrator
(KiX Supporter)
2002-11-02 08:07 PM
Re: bbCheckerII 1.5

If your saying that the HAND mouse pointer over the listbox looks a little strange, I would have to agree with that. Guess you could change or own copy of BBChecker, or maybe Jooel could make it a setting at the top of the script. But it aint standard windows look and feel if thats what you mean.

Les
(KiX Master)
2002-11-02 08:47 PM
Re: bbCheckerII 1.5

Yeah, everyone has the prerogative to set their own preferences.
Actually the line:
$hl[$].mousepointer=16

could be just remarked out as the default is the ARROW anyway. I found it in the script and changed it but was really wondering what the supported properties (and terminology)were (was).

Through a bit of trial and error it would seem that perhaps the first 16 values are valid.


ShawnAdministrator
(KiX Supporter)
2002-11-02 09:14 PM
Re: bbCheckerII 1.5

Yeah, the valid values for MousePointer are exactly the same as those in the link you provided ... up to the number 16. Kixforms is modeled more along the lines of VB and VBA though, which doesn't have those "extra" settings specified in that link either.

Les
(KiX Master)
2002-11-02 09:23 PM
Re: bbCheckerII 1.5

Hey! I just thought of a new feature for BBChecker...

A PM notifier!

As it is now, if someone PM's you, it's not until you receive an email or check your profile that you would know about it.

BTW Shawn, I PM'd you.


Les
(KiX Master)
2002-11-03 09:24 PM
Re: bbCheckerII 1.5

OK, more on my 'Standards' pet peeve...

The 'Clear History' trash icon object in the history view should be a 3D button since it is a single click object.

The line:
$hbt.appearance=0

should be:
$hbt.appearance=1

or commented out as the default is 3D.

After the button is clicked, it gets a black border around it. Anyone know how to stop that?


Wizard
(Hey THIS is FUN)
2002-11-06 04:35 PM
Re: bbCheckerII 1.5

Gezz LLigetfa, I thought I had high standards.!

Kickass Product Lonkero, greak work.

W


Les
(KiX Master)
2002-11-06 04:44 PM
Re: bbCheckerII 1.5

Like I said, pet peeves... [Big Grin]

KiXass product, this BBChecker!

So, will someone carry my motion for a 'Private Message Notifier'?


Wizard
(Hey THIS is FUN)
2002-11-06 04:52 PM
Re: bbCheckerII 1.5

I would second you, but no one loves me enough to send me a PM, so I can't [Frown]

W


Wizard
(Hey THIS is FUN)
2002-11-07 03:25 PM
Re: bbCheckerII 1.5

Agghh. My work PC has been getting slower and slower all day, and I have finally found out what it is...

[Eek!] The slider function has a memory leak [Eek!]

Every single time the slider pops up with a new posting, it eats up some memory. When the slider disapears, the memory is still being used. After a few hours on the forums, I was using about 370mb memory on a PC that only has 256mb installed.!!

I would recommend switching off the slider thingy until this is looked at, even though it is a great little add-on.!

W


ShawnAdministrator
(KiX Supporter)
2002-11-07 03:29 PM
Re: bbCheckerII 1.5

wiz, what vers kix you running ?

Wizard
(Hey THIS is FUN)
2002-11-07 03:31 PM
Re: bbCheckerII 1.5

KixForms : 2.1.1.35
Kix32 : 4.11

W


Chris S.
(MM club member)
2002-11-07 03:38 PM
Re: bbCheckerII 1.5

4.11 has a memory leak that was fixed in 4.12rc1. Give it a go.

ShawnAdministrator
(KiX Supporter)
2002-11-07 03:39 PM
Re: bbCheckerII 1.5

Kixtart 4.12 fixed a memory leak with EXECUTES and CALLS, might want to swapin the new beta into the BBCheckerII folder (if thats how Jooel has things setup) ... might still leak a little after that ... but not as bad ...

Wizard
(Hey THIS is FUN)
2002-11-07 03:57 PM
Re: bbCheckerII 1.5

Nope, still doing, but to a lesser degree.

The amount of memory taken this time is less than before, but it is still not being released.

W


MightyR1
(MM club member)
2002-11-07 03:59 PM
Re: bbCheckerII 1.5

Had my checker running for 32 hrs...

Strange things happened: KiX was using 10MB, total mem usage - sum active applics > 100 MB.

Got errors "unable to find c:", "not enough qouta" (not enabled!!!) etc.

Still memleak even with KiX4.12RC1???


ShawnAdministrator
(KiX Supporter)
2002-11-07 04:03 PM
Re: bbCheckerII 1.5

No, theres a small memory leak with Forms to do with the timer object - the OnTimer event string is leaking. And the bigger the OnTimer string is, the more memory gets leaked

[ 07. November 2002, 16:04: Message edited by: Shawn ]


Wizard
(Hey THIS is FUN)
2002-11-07 04:06 PM
Re: bbCheckerII 1.5

I think it might be worse than that.

When I click on the Miscellaneous button, more memory is eaten.

Could it be a form create/destroy pair not working ??

W


MightyR1
(MM club member)
2002-11-07 04:07 PM
Re: bbCheckerII 1.5

OK then,

will put my finger in the dyke to stop the leak:
http://home.planet.nl/~meder/map12/hansbrinker.html
[Big Grin]


Wizard
(Hey THIS is FUN)
2002-11-07 04:12 PM
Re: bbCheckerII 1.5

Actually, I would like to retract my last post, because I have been running the logonscriptdemo that Chris wrote (good job) and that does not leak.

Memory is taken, then given back at the end - like a good little script.

So, from this, I would hazzard to say the BBChecker may be at fault.

W


ShawnAdministrator
(KiX Supporter)
2002-11-07 04:17 PM
Re: bbCheckerII 1.5

Well, have to compare apples to apples here and one cant really compare LoginScript to BBChecker because they're two different beasts. Forms does leak over long periods of time ... in the case of LoginScript, it runs, comsumes memory, then gives it all back to the OS when the Kixscript finishes and is released from memory ...

Jooels script runs 24/7 and slowly eats away at memory, never giving any back - plus, if memory serves, Jooel had to do some funky things to get the slider to run properly. Im not sure whether BBChecker is doing anything in particular to cause the leak - its probably forms that is leaking. But just as a test, heres the "ideal" way to pop a dialog and you might want to check memory usage on this:

code:
Break On

$Form = CreateObject("Kixtart.Form")
$Form.Text = "Form"

$Button = $Form.Button()
$Button.Text = "Popup"
$Button.Center
$Button.OnClick = "Button_Click()"

Function Button_Click

Dim $Form

$Form = CreateObject("Kixtart.Form")
$Form.Text = "Dialog"
$Form.ClientWidth = 200
$Form.ClientHeight = 200
$Form.Center
$Form.Show
While $Form.Visible
$=Execute($Form.DoEvents)
Loop

EndFunction

$Form.Center
$Form.Show
While $Form.Visible
$=Execute($Form.DoEvents)
Loop



ShawnAdministrator
(KiX Supporter)
2002-11-07 04:24 PM
Re: bbCheckerII 1.5

Sorry, "ideal" is a bad term ... "memory consuming" might be a better term. I very rarely declare my dialogs as function local only because its a pain-in-the-ass to code around - only suitable for very simple dialogs. Mostly declare global in the main script, plus that would probably not show any memory leak as readily as this pop-and-dispose sample would.

[ 07. November 2002, 16:24: Message edited by: Shawn ]


Wizard
(Hey THIS is FUN)
2002-11-07 04:37 PM
Re: bbCheckerII 1.5

Ok, by constantly click the button and closing the newly created forms, memory is being used like no tomorrow.!

Once the main original form is closed, the memory is released back.

And, yes I did realise afterward that my comparison to the scriptdemo and the bbchecker was wrong. (sorry)

W


ShawnAdministrator
(KiX Supporter)
2002-11-07 05:55 PM
Re: bbCheckerII 1.5

wiz, can you give me the specifics of your environment - os vers,kix vers,forms vers ?

Wizard
(Hey THIS is FUN)
2002-11-07 06:00 PM
Re: bbCheckerII 1.5

Windows 2000 service pack 2
KixForms : 2.1.1.35
Kix32 : 4.12b2

I am now at home, and I have the same memory leak


ShawnAdministrator
(KiX Supporter)
2002-11-07 06:13 PM
Re: bbCheckerII 1.5

yes good one - i do see it now - and think I know what it is ... will hit the code tonight and report back ... very well spotted.

Wizard
(Hey THIS is FUN)
2002-11-07 06:27 PM
Re: bbCheckerII 1.5

what was it ? oh pray tell.!

W


ShawnAdministrator
(KiX Supporter)
2002-11-07 06:35 PM
Re: bbCheckerII 1.5

Not 100% sure really, just guessing that the bitmap backing for the form isn't being released properly ... the bitmap backing is the canvas we use to "paint" our lines, boxes, circles etc ... it actually makes up the "bulk" of memory used by the form object. So if there is a deallocation issue, it would show up quite readily - which seems to be the case in this case.

ShawnAdministrator
(KiX Supporter)
2002-11-07 10:14 PM
Re: bbCheckerII 1.5

Good news - that bitmap backing guess was spot on ... is anyone available to test with a quick pre-release ?

[ 07. November 2002, 22:15: Message edited by: Shawn ]


Wizard
(Hey THIS is FUN)
2002-11-07 10:39 PM
Re: bbCheckerII 1.5

yeap go for it.

W


Wizard
(Hey THIS is FUN)
2002-11-07 11:10 PM
Re: bbCheckerII 1.5

Got the new version and tried your attached script. Worked great.

I also tried the other script that you posted with a button that creates forms. That worked great as well.

Fantastic work.

W


ShawnAdministrator
(KiX Supporter)
2002-11-07 11:15 PM
Re: bbCheckerII 1.5

well, i have to thank you muchly for spotting that leak, and to be honest, i sqwashed another non-related issue while I was fixing this one.

When a visible PictureBox is made hidden inside a form, the main form looses focus to the DOS console (something like that) ... not like this would ever happen too much in the real world but its fixed as well.


LonkeroAdministrator
(KiX Master Guru)
2002-11-10 11:56 PM
Re: bbCheckerII 1.5

boys have been posting...
good, had something to read after short vacation.

what comes to the trash button, having it 3d looks awfull.
hiding the black border, please tell if you find a way around it.

what comes to runtime, my checker had crashed on 4th and the error was buddies redim something...

so, not fully stable yet.

what comes to checking pm, les, you shouldn't be asking that as it will cause the additional bandwidth usage.
it is not hard to do, about 30mins of coding...


Les
(KiX Master)
2002-11-11 12:01 AM
Re: bbCheckerII 1.5

Eh Jooel,
Welcome back! The evenings and weekends were quiet without you.

The PM thingy shouldn't be too hard on the pipe. I look forward to it. Will turn your checker into a poor-man's messenger.

BTW, You've got PM.


LonkeroAdministrator
(KiX Master Guru)
2002-11-11 11:17 AM
Re: bbCheckerII 1.5

les, did a upgrade step0 for the pm-check and possible for write too (a messenger that is)

get files:
pm.kix
parse.udf
bbcheckerII.kix

from current dir:
http://www.gwspikval.com/jooel/scripts/bbChecker/sources/current/

and place them in bbchecker folder:
%programfiles%\BBChecker

can't test that though as board does not allow sending pm to yourself [Wink]


Kdyer
(KiX Supporter)
2002-11-11 03:04 PM
Re: bbCheckerII 1.5

Downloaded the new version of BBChecker..

Like what has been added..

Suggestion: Can sorting be applied to the Buddy List?

Thanks,

Kent


LonkeroAdministrator
(KiX Master Guru)
2002-11-11 03:09 PM
Re: bbCheckerII 1.5

the buddylist has to be reworked as it has some other issues as well.
sorting, dunno, why not.

btw, currently trying to find out why kix only says can't find open script with current build so there is no use trying it currently.


LonkeroAdministrator
(KiX Master Guru)
2002-11-12 01:37 PM
Re: bbCheckerII 1.5

updated the current sources...
build goes at 1.5.1.9

changed files:
bbcheckerII.kix
parse.udf
pm.kix
wkix32.exe

main change is adding PM functionality.
this is now a devel build as this feature is hard to test.
anyway, getting the pm worked just fine as well as manually sending one.

not sure currently.

hoby&doc&jpols&...
have got a testPM from me... don't worry, I ain't loosing my mind.

{edit}
getting back, wrong version of bbcheckerII.kix was uploaded.
correct one is there now, version says .11

[ 12. November 2002, 13:43: Message edited by: Lonkero ]


Howard Bullock
(KiX Supporter)
2002-11-12 01:41 PM
Re: bbCheckerII 1.5

If you're not losing your mind then your test did not succeed. [Frown]

LonkeroAdministrator
(KiX Master Guru)
2002-11-12 01:53 PM
Re: bbCheckerII 1.5

did not?
could you check again?


JochenAdministrator
(KiX Supporter)
2002-11-12 01:59 PM
Re: bbCheckerII 1.5

Was it that one ? :

quote:
seems that I got the reader to work and now also sending is possible with my messenger. and nice thing is that it's only 3 lines of code!
J.


LonkeroAdministrator
(KiX Master Guru)
2002-11-12 02:01 PM
Re: bbCheckerII 1.5

that was a test and I see it works just fine [Razz]

yeah...
I like it.


JochenAdministrator
(KiX Supporter)
2002-11-12 02:05 PM
Re: bbCheckerII 1.5

One has to disable email notification whilst abusing PM System as poor man's messenger though [Eek!] [Roll Eyes] [Big Grin]

LonkeroAdministrator
(KiX Master Guru)
2002-11-12 02:09 PM
Re: bbCheckerII 1.5

I haven't disabled it and still I have no additional e-mails [Big Grin] [Big Grin] [Big Grin]

will have to see later, how much traffic it generates...


Howard Bullock
(KiX Supporter)
2002-11-12 02:13 PM
Re: bbCheckerII 1.5

OK, I stand corrected. Message received.

Howard Bullock
(KiX Supporter)
2002-11-12 02:15 PM
Re: bbCheckerII 1.5

BTW, Using 4.12 I am still seeing memory consumption while running bbChecker 1.5. Is this the result of the KixFroms leak? I thought that the leaks in KiXtart were fixed in 4.12.

LonkeroAdministrator
(KiX Master Guru)
2002-11-12 02:18 PM
Re: bbCheckerII 1.5

there is still some sort of problem...
I got errenous info when deleted the newist message...
I thought it will come to this as the time check is just:
if $c[3]>$PMnewist[3]

and there is name of the month...
bloody mary.


LonkeroAdministrator
(KiX Master Guru)
2002-11-12 02:22 PM
Re: bbCheckerII 1.5

I thought so too.
we will see it later but have to wait on the kixforms leak fix (in build 37)...
before that can't be sure.

also, the structure used by checker is little too memory consuming. fixing it should reduce the mem usage 1/4...

anyway, it seems pretty weird as previously the usage was lower and now with latest wkix it seems to be back on high...
have to monitor.


LonkeroAdministrator
(KiX Master Guru)
2002-11-12 02:55 PM
Re: bbCheckerII 1.5

ok, fixed three bugs.
affected files:
bbcheckerII.kix
parse.udf
pm.kix


MightyR1
(MM club member)
2002-11-12 02:59 PM
Re: bbCheckerII 1.5

Dld the files, ready for testing....

LonkeroAdministrator
(KiX Master Guru)
2002-11-12 03:47 PM
Re: bbCheckerII 1.5

patrick, seems that I can't get the message to you so, will tell something here.
character codes are not coming trough, like LF is & #10.
neither can use < br> with private message as html is disabled.

pure ascii neither works. this is burning my head!


LonkeroAdministrator
(KiX Master Guru)
2002-11-12 07:27 PM
Re: bbCheckerII 1.5

yep, got it working.
sending and receive notice works now.
ver 1.5.1.15

should I implement reply and reading form? [Big Grin]


LonkeroAdministrator
(KiX Master Guru)
2002-11-14 06:27 PM
Re: bbCheckerII 1.5

got news on that leak thingie.
I use kixforms 2.1.1 and wkix 4.12 in my checker.
at work, I had it running for 5 hours with slider and memory usage was 70M.
the process had only 4M memory usage, weird?

anyway, here at home, checker has been running 24 hours and without slider.
memory usage is huge as 4M, on process and after quitting the same 4M!

[ 14. November 2002, 18:46: Message edited by: Lonkero ]


ShawnAdministrator
(KiX Supporter)
2002-11-14 06:36 PM
Re: bbCheckerII 1.5

Jooel - you got mail - I just sent you the pre-lease of Build 37 - let me know if it helps with the memory leak situation.

LonkeroAdministrator
(KiX Master Guru)
2002-11-14 06:59 PM
Re: bbCheckerII 1.5

shawn, no mail.

ShawnAdministrator
(KiX Supporter)
2002-11-14 07:25 PM
Re: bbCheckerII 1.5

Nothing yet ? I sent it to your BBS registered emaily addy.

LonkeroAdministrator
(KiX Master Guru)
2002-11-14 07:27 PM
Re: bbCheckerII 1.5

just checked.
nothing.
and the mail address is correct...


ShawnAdministrator
(KiX Supporter)
2002-11-14 08:08 PM
Re: bbCheckerII 1.5

try now Jooel.

LonkeroAdministrator
(KiX Master Guru)
2002-11-14 08:24 PM
Re: bbCheckerII 1.5

ok, checked mail and voila:
21:08
21:11
21:12
21:16

is this spam or what? [Big Grin]
so, got it and will start checking on it after packing up new release of the checker (which still uses 2.1.1)


MCA
(KiX Supporter)
2003-02-18 06:06 AM
Re: bbCheckerII 1.5

Dear,

The lastest BBChecker II 1.6.1.2 now also on our site as mirror available.
A screen example is

 -
greetings.

btw: Lonkero, we have select an entry thread with most useful information.


Schuliebug
(Hey THIS is FUN)
2003-03-06 04:29 PM
Re: bbCheckerII 1.5

Downloaded 1.6.1.2, gives 'Network down, can't start' [Confused] [Confused] Seems to me i have a network connection, don't i ?

LonkeroAdministrator
(KiX Master Guru)
2003-03-06 04:36 PM
Re: bbCheckerII 1.5

schulie, in 1.6 the network reaching is so important part that I coded it to skip trying if not quick response.

it is already changed in new alphas but with 1.6.x you just need to try again...

there are 2 most common reasons for failure:
1) you use slow connection like 9.6kb modem that is too slow (this was issue with les...)
2) your ie is not version 5 or higher.

and ofcourse my code does not support win9x currently.


Schuliebug
(Hey THIS is FUN)
2003-03-06 04:51 PM
Re: bbCheckerII 1.5

Lonkero,

I'm on a 2Mb link and running IE6. Just an error on my site, the proxy was somehow misconfigured. Changed it from a test script to the standard script used in our company and now it works like a charm. Great stuff !!