Page 4 of 5 <12345>
Topic Options
#89476 - 2002-11-20 07:27 AM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
I'll make a sig-file updater which I can run everytime I upload the files.
about the enchangements, will need to look further later on.
_________________________
!

download KiXnet

Top
#89477 - 2002-11-20 07:33 AM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

I can agree with the "overshooting" on the file size thing..

The version found would be cool though..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89478 - 2002-11-20 09:27 AM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

Here is a sig generator that I threw together on this..

Not quite all there, but functional.. [Smile]

code:
 ; -- Sigen.kix
; -- by Kent Dyer
; -- version .1
; -- For generating a list of files for BBChecker
; -- Thanks Lonkero!
; -- to do - get the KIXFORMS.DLL Component going
BREAK ON
CLS
$programfilesdir = readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion","ProgramFilesPath")
SHELL "%comspec% /c echo %programfiles% > bbtmp.txt"

IF Open(3, @scriptdir + "\bbtmp.txt") = 0
$x = trim(ReadLine(3))
close(3)
ENDIF
$location = "$x\BBchecker"

IF exist(@scriptdir + "\bbtmp.txt")
DEL @scriptdir + "\bbtmp.txt"
ENDIF

IF exist(@scriptdir+"\bbdep.sig")
DEL @scriptdir+"\bbdep.sig"
ENDIF

;$kixforms = READVALUE("HKEY_CLASSES_ROOT\CLSID\"+readvalue("HKEY_CLASSES_ROOT\Kixtart.Form\CLSID","")+"\InprocServer32","")

;if "kixforms.dll"=$files
; $location=$kixforms
; else
; $location=$bbcheckerdir+$files
; endif

IF Open( 3 , @scriptdir+"\bbdep.sig", 5 ) = 0
$filename = Dir($location+"\*.*")
WHILE TRIM($filename) <> "" AND @error = 0
IF LEN($filename) > 2
? $filename
$filsize = getfilesize($location+"\"+$filename)
?$filsize

$x = WriteLine( 3 , "[$filename]" + @crlf)
$x = WriteLine( 3 , "size="+chr(34)+$filsize+chr(34) + @crlf)
IF INSTR($filename,"exe") OR INSTR($filename,"dll")
$filversion = getfileversion($location+"\"+$filename)
$x = WriteLine( 3 , "version="+ chr(34) + $filversion + chr(34) + @crlf)
ENDIF
$x = WriteLine( 3 , @crlf)
ENDIF
$x = ""
$filename = Dir() ; retrieve next file
SLEEP 1
LOOP
ELSE
BEEP
? "failed to open file, error code : [" + @error + "]"
Close(3)
ENDIF

Have fun!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89479 - 2002-11-20 09:45 AM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
yep, and the idea is little wrong [Wink]

I thought of having in my kixforms-code-center a code that scans for the bbcheckers to sent files which are totally different than the files in the program files.

I never overwrite the latter and I almost never use them.
only usage for those is to check did the installation package workout as expected...

but, I quessed you would write it and that's why I didn't want to say it aloud [Roll Eyes]

anyway, the generator can be as easy as read the same info as in bbdep but write it to the sig-file.
now I started to wonder, should I add also the package version...

on devel builds it would be annoying (I quess) but for normal installs it would be ok:
"signature file is for different version than you are currently using? do you still want to check against it?"
_________________________
!

download KiXnet

Top
#89480 - 2002-11-20 10:42 AM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
so, here is my siggen, little shorter and simpler maybe [Wink]
code:
$folder=@scriptdir+"\BBChecker\"
del $folder+"*.sig"
$file=dir($folder)
do
if len($file)>2
$files=$files+$file+chr(10)
endif
$file=dir()
until @error
$files=split(left($files,len($files)-1),chr(10))

for each $file in $files
$=writeprofilestring($folder+"bbdep.sig",$file,"Size",getfilesize($folder+$file))
$=writeprofilestring($folder+"bbdep.sig",$file,"Version",getfileversion($folder+$file))
next

{edit}
it's actually sad that you coded that much...

[ 20. November 2002, 10:44: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#89481 - 2002-11-20 07:31 PM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

> I thought of having in my kixforms-code-center a code that scans for the bbcheckers to sent files which are totally different than the files in the program files.

Hmmm... Did I hear an echo in here? As I remember, I mentioned a similar thing to you when the BBDEP.KIX was first put together.

> it's actually sad that you coded that much

Well, you know that is what you get when you try to throw something like that together at 1:00 AM. [Big Grin] As I mentioned, it was really rough code. You are probably asking why I used WRITELINE rather than WRITEPROFILESTRING? Call it silly or wierd.. I just dropped the ball. [Embarrassed]

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89482 - 2002-11-20 07:34 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
btw, could you keep up checking the reply open.
clicked on your post and it opened my previous one.
haven't changed the counter though...
_________________________
!

download KiXnet

Top
#89483 - 2002-11-20 07:35 PM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

I do have a sugestion for BBChecker..

How about adding the emoticons from the post in BBChecker?

Just a crazy thought...

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89484 - 2002-11-20 07:54 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
thought of that.
decided to let them be until new kixforms gets out.
also, having beep for PM's also shouldn't be so bad...
_________________________
!

download KiXnet

Top
#89485 - 2002-11-20 08:10 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
dear kent, I still have one uncoded block.
the installer.
currently, I take care of everything by me self and that is (as les has shown us) maybe not the best way.
and, for using on other boards (dunno if want to do that freeware [Wink] ), it should be controllable by the control panel.
having the uninstaller in there is not hard, but how to keep the reginfo in there too, like IE ca has... I quess even symantec writes every subfolder they install in the uninstaller information...
dunno about the best practise here.
also, currently, if you decide on the installer to not to install, it will still already copy the files, that has to be changed (no one actually has noticed that!)

showing the eula would be nice, but can't show it without kix and registered kixforms.
maybe need to make a generic installer...

patrick, you said about stealing the focus with slider, saw that now.
it seems to happen while working with IE window.
_________________________
!

download KiXnet

Top
#89486 - 2002-11-20 08:15 PM Re: BBChecker II 1.5.2
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I got a better suggestion yet!

Take the preview of each thread (you know, the stuff you see on each topic in 'Today's active...) and put it in the tooltip instead of the URL which is totally useless.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#89487 - 2002-11-20 08:30 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
les, I know you have good ideas, but do you know how much that would cause bandwidth usage?
now, as the board is pretty quiet, not so much, but everytime on new post quering the todays active would hang your system. sorry.
_________________________
!

download KiXnet

Top
#89488 - 2002-11-20 08:46 PM Re: BBChecker II 1.5.2
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't know Jooel, thought maybe you already pulled the whole page and just parse and discard what you don't want. I haven't reverse engineered your code to figure what and how you do it.

Still... would be a cool thing to have eh! I find myself opening the "Today's" page just to see the headers.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#89489 - 2002-11-20 08:49 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
I do that too.
then, the thing I've been missing is to have the checker in hang-around mode.
so, it would keep list of the topics active, collection view.
mostlikely it's easier to add another form for the collective info.

you know, when you are away for couple of days and come back and then try to look from the history what you have red and what not...
_________________________
!

download KiXnet

Top
#89490 - 2002-11-21 05:51 AM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

For the installer process you could write a log like the InstallShield SETUP.ISS log that is generated. I know that MCA uses this type of process for a "marker" for the KixnnnUpdate.exe packages.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89491 - 2002-11-23 02:12 AM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
new files uploaded.
for those too lazy to scroll the url:
http://www.gwspikval.com/jooel/scripts/bbChecker/sources/current/

also the dep files are current (special thank on that part go to kent and pat)

{edit}
current version being 1.5.2.19
main change since 1.5.2.15 is error check on pm send.
other changes can't remember...

[ 23. November 2002, 02:15: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#89492 - 2002-11-23 08:08 AM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

Downloaded your new code and get after a while of running it:
quote:

Script error: array reference out of bounds!
if $c[3][0]+$c[3][2]+$c[3][3]>$PMnewist[3][0]+$PMnewist[3][2]+$PMnewist[3][3]
and instr($c[3][1],@month)

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89493 - 2002-11-23 06:04 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
pat said so too.
that part hasn't changed for a while...

can't understand what the heck is wrong with it [Mad]
_________________________
!

download KiXnet

Top
#89494 - 2002-11-23 06:55 PM Re: BBChecker II 1.5.2
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jooel,

I think I need to practice what I preach. [Embarrassed]

BBDEP comes through again.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#89495 - 2002-11-23 06:56 PM Re: BBChecker II 1.5.2
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22344
Loc: OK
congrats on your 2000,

so, what was wrong?
_________________________
!

download KiXnet

Top
Page 4 of 5 <12345>


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 312 anonymous users online.
Newest Members
Praveer, Ollero, rayyo, Foxlicht, DonChild
17742 Registered Users

Generated in 0.044 seconds in which 0.014 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org