#33608 - 2002-12-10 12:23 AM
Re: Working on NT/2000, not on 9x
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,
Another idea to see what is happening: use our tool kixstrip which makes it possible to see what is happening during logging on. The output will be written to file %tmp%\kixdebug. No file means "kixtart wasn't started".
After the call kixstrip input.kix output.kix /debug we get following result.
code:
;CLS IF (instr("-3.0x-3.1x-3.2x-3.3x-","-"+substr(@kix,1,3)+"x-") <> 0) IF MessageBox("sorry, your kixtart "+@kix+" release is too old."+CHR(13)+CHR(10)+CHR(13)+CHR(10)+" please upgrade.","KiXtart "+@kix+" info",4112,300) ENDIF EXIT ENDIF COLOR C+/N ;AT (1,1) " "
$_debug_file="kixdebug.txt" ; - %tmp% directory - IF (len($_debug_file) <> 0) IF (substr("%tmp%",len("%tmp%"),1) = "\") $_debug_file="%tmp%"+$_debug_file ELSE $_debug_file="%tmp%\"+$_debug_file ENDIF ENDIF ;$_debug_file="c:\kixdebug.txt" IF RedirectOutput($_debug_file) ENDIF
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.20e script starting" IF (Val(substr(@kix,1,1)) >= 4) IF (len(@scriptname) <> 0) " ("+LCASE(@scriptname)+")" ENDIF ENDIF ? "-" IF ("$_debug_already_starting" <> "yes") ? "-curdir: "+LCASE(@curdir) ? "-scriptdir: "+LCASE(@scriptdir) IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0) ? "-scriptname: "+LCASE(@scriptname) ENDIF ? "-startdir: "+LCASE(@startdir) ? "-" ? "-userid: "+LCASE(@userid)+"/"+LCASE(@wuserid) ? "-user priv: "+LCASE(@priv) IF (instr("-4.xx-","-"+substr(@kix,1,2)+"xx-") <> 0) ? "-version: inwin="+@inwin+"/dos="+@dos+"/productsuite="+@productsuite+"/producttype="+@producttype+"/csd="+LTRIM(RTRIM(@csd)) ELSE ? "-version: inwin="+@inwin+"/dos="+@dos ENDIF ? "-" IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0) ? "-"+@cpu+" (memory "+MemorySize()+" MB)" ? "-" ENDIF ENDIF
$_debug_temp_name="" ; -format: yyyymmdd_hhmmss.sss_999 scriptname- IF (instr("-3.6x-","-"+substr(@kix,1,3)+"x-") <> 0) OR (Val(substr(@kix,1,1)) >= 4) IF (instr("-4.xx-","-"+substr(@kix,1,2)+"xx-") <> 0) $_debug_temp_name=@msecs SELECT CASE (len($_debug_temp_name) = 1) $_debug_temp_name="00"+$_debug_temp_name CASE (len($_debug_temp_name) = 2) $_debug_temp_name="0"+$_debug_temp_name ENDSELECT $_debug_temp_name="."+$_debug_temp_name IF Srnd(@msecs) ENDIF SLEEP 0.050 ELSE IF Srnd((-1)*32767/(substr(@time,7,2)+1)) ENDIF SLEEP 1 ENDIF $_debug_temp_name=substr(@date,1,4)+substr(@date,6,2)+substr(@date,9,2)+"_"+substr(@time,1,2)+substr(@time,4,2)+substr(@time,7,2)+$_debug_temp_name+"_"+Rnd() IF (len($_debug_temp_name) < 25) $_debug_temp_name=substr($_debug_temp_name+" ",1,25) ENDIF IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0) IF (len(@scriptname) < 12) $_debug_temp_name=$_debug_temp_name+" "+substr(@scriptname+" ",1,12) ELSE $_debug_temp_name=$_debug_temp_name+" "+@scriptname ENDIF ENDIF ENDIF
IF ("$_debug_already_starting" <> "yes") ? "-debug file: "+$_debug_file ? "-debug name: "+LCASE($_debug_temp_name) ELSE IF (len($_debug_temp_name) <> 0) ? "-debug: "+LTRIM(RTRIM(LCASE($_debug_temp_name)))+" -> "+$_debug_file ELSE ? "-debug-file: "+$_debug_file ENDIF ENDIF
IF (instr("-3.6x-","-"+substr(@kix,1,3)+"x-") = 0) AND (Val(substr(@kix,1,1)) < 4) GOTO _debug_starting_point ENDIF DIM $_debug_name ; -create local variable- :_debug_starting_point $_debug_name=LCASE($_debug_temp_name) $_debug_already_starting="yes" ? "-" ?"----- start-"+@time+"-"+$_debug_name+"- @error @serror"?
?"- 1-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 2-"+@time+"-"+$_debug_name+"- @error @serror"? CLS ?"- 3-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 4-"+@time+"-"+$_debug_name+"- @error @serror"? SMALL ?"- 5-"+@time+"-"+$_debug_name+"- @error @serror"? COLOR w+/n ?"- 6-"+@time+"-"+$_debug_name+"- @error @serror"? ? "UNE Students' Association" ?"- 7-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 8-"+@time+"-"+$_debug_name+"- @error @serror"? COLOR w+/n ?"- 9-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 10-"+@time+"-"+$_debug_name+"- @error @serror"? IF ((@time > "00:00:00") AND (@time < "12:00:00")) ?"- 11-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Good Morning," ?"- 12-"+@time+"-"+$_debug_name+"- @error @serror"? ELSE ?"- 13-"+@time+"-"+$_debug_name+"- @error @serror"? IF ((@time >= "12:00:00") AND (@time < "18:00:00")) ?"- 14-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Good Afternoon," ?"- 15-"+@time+"-"+$_debug_name+"- @error @serror"? ELSE ?"- 16-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Good Evening," ?"- 17-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 18-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 19-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 20-"+@time+"-"+$_debug_name+"- @error @serror"? ? @fullname ?"- 21-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Please Wait For Logon script Execution" ?"- 22-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 23-"+@time+"-"+$_debug_name+"- @error @serror"? ; Map Drives to Server "Eugene" ?"- 24-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 25-"+@time+"-"+$_debug_name+"- @error @serror"? USE h: /delete /persistent ?"- 26-"+@time+"-"+$_debug_name+"- @error @serror"? USE h: "\\Eugene\@userid" ?"- 27-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Home Drive" ?"- 28-"+@time+"-"+$_debug_name+"- @error @serror"? ; ?"- 29-"+@time+"-"+$_debug_name+"- @error @serror"? USE i: /delete /persistent ?"- 30-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Domain Users") ?"- 31-"+@time+"-"+$_debug_name+"- @error @serror"? USE i: "\\Eugene\Global" ?"- 32-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Global Drive" ?"- 33-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 34-"+@time+"-"+$_debug_name+"- @error @serror"? USE j: /delete /persistent ?"- 35-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("TUNE! FM Announcers") ?"- 36-"+@time+"-"+$_debug_name+"- @error @serror"? USE j: "\\Eugene\Announcer" ?"- 37-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Announcer" ?"- 38-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 39-"+@time+"-"+$_debug_name+"- @error @serror"? USE k: /delete /persistent ?"- 40-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("TUNE! FM") ?"- 41-"+@time+"-"+$_debug_name+"- @error @serror"? USE k: "\\Eugene\TUNE! FM" ?"- 42-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: TUNE! FM" ?"- 43-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 44-"+@time+"-"+$_debug_name+"- @error @serror"? USE l: /delete /persistent ?"- 45-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Neucleus") ?"- 46-"+@time+"-"+$_debug_name+"- @error @serror"? USE l: "\\Eugene\Neucleus" ?"- 47-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Neucleus" ?"- 48-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 49-"+@time+"-"+$_debug_name+"- @error @serror"? USE m: /delete /persistent ?"- 50-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Dental Clinic") ?"- 51-"+@time+"-"+$_debug_name+"- @error @serror"? USE m: "\\Eugene\Dental Clinic" ?"- 52-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Dental Clinic" ?"- 53-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 54-"+@time+"-"+$_debug_name+"- @error @serror"? USE n: /delete /persistent ?"- 55-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Finance and Admin") ?"- 56-"+@time+"-"+$_debug_name+"- @error @serror"? USE n: "\\Eugene\Finance and Admin" ?"- 57-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Finance and Admin" ?"- 58-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 59-"+@time+"-"+$_debug_name+"- @error @serror"? USE o: /delete /persistent ?"- 60-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Student Support") ?"- 61-"+@time+"-"+$_debug_name+"- @error @serror"? USE o: "\\Eugene\Student Support" ?"- 62-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Student Support" ?"- 63-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 64-"+@time+"-"+$_debug_name+"- @error @serror"? USE p: /delete /persistent ?"- 65-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Bookshop") ?"- 66-"+@time+"-"+$_debug_name+"- @error @serror"? USE p: "\\Eugene\Bookshop" ?"- 67-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Bookshop" ?"- 68-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 69-"+@time+"-"+$_debug_name+"- @error @serror"? USE q: /delete /persistent ?"- 70-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Media") ?"- 71-"+@time+"-"+$_debug_name+"- @error @serror"? USE q: "\\Eugene\Media" ?"- 72-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Media" ?"- 73-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 74-"+@time+"-"+$_debug_name+"- @error @serror"? USE r: /delete /persistent ?"- 75-"+@time+"-"+$_debug_name+"- @error @serror"? IF InGroup("Lifesaver") ?"- 76-"+@time+"-"+$_debug_name+"- @error @serror"? USE r: "\\Eugene\Lifesaver" ?"- 77-"+@time+"-"+$_debug_name+"- @error @serror"? ? "Mapping Drive: Lifesaver" ?"- 78-"+@time+"-"+$_debug_name+"- @error @serror"? ENDIF ?"- 79-"+@time+"-"+$_debug_name+"- @error @serror"? ?"- 80-"+@time+"-"+$_debug_name+"- @error @serror"? EXIT
?"------- end-"+@time+"-"+$_debug_name+"- @error @serror" ? "-" ? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.20e script ending" IF (Val(substr(@kix,1,1)) >= 4) IF (len(@scriptname) <> 0) " ("+LCASE(@scriptname)+")" ENDIF ENDIF ? "-" IF RedirectOutput("CON") ENDIF COLOR C+/N ? ? "Informative KIX "+@kix+":"+" debug info see "+CHR(34)+$_debug_file+CHR(34) IF (Val(substr(@kix,1,1)) >= 4) IF (len(@scriptname) <> 0) " ("+LCASE(@scriptname)+")" ENDIF ENDIF IF RedirectOutput($_debug_file) ENDIF ;($begin) ; ; mon 09-dec-2002 12:24:57 (kix 4.10 vs 3.20e) ; ;Informative KIXSTRIP: no errors found (input=80 output=80 skip=0). ; ;Summary KIXSTRIP: block structures ; - do:until [0:0] ; - for|each:in|to:step|next [0|0:0|0:0|0] ; - function:endfunction [0:0] ; - if:else:endif [12:2:12] ; - select:case:endselect [0:0:0] ; - while:loop [0:0] ;Informative KIXSTRIP: 12 block_structures found. ;Informative KIXSTRIP: no UDF's found. ;Informative KIXSTRIP: no labels found. ;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE ;Informative KIXSTRIP: 1 EXIT ;Informative KIXSTRIP: 22 USE ; ;($end)
Please return the contents of %tmp%\kixdebug.txt to the board, when you have still a problem. greetings.
btw: symbol on our homepage has been linked to related http://kixtart.org topic.
|
|
Top
|
|
|
|
Working on NT/2000, not on 9x
|
adevenis
|
2002-11-27 05:34 AM
|
Re: Working on NT/2000, not on 9x
|
Kdyer
|
2002-11-27 05:36 AM
|
Re: Working on NT/2000, not on 9x
|
Kdyer
|
2002-11-27 05:40 AM
|
Re: Working on NT/2000, not on 9x
|
adevenis
|
2002-11-27 05:41 AM
|
Re: Working on NT/2000, not on 9x
|
Kdyer
|
2002-11-27 06:16 AM
|
Re: Working on NT/2000, not on 9x
|
Lonkero
|
2002-11-27 07:14 AM
|
Re: Working on NT/2000, not on 9x
|
Sealeopard
|
2002-11-27 03:56 PM
|
Re: Working on NT/2000, not on 9x
|
adevenis
|
2002-11-27 11:53 PM
|
Re: Working on NT/2000, not on 9x
|
Howard Bullock
|
2002-11-28 12:00 AM
|
Re: Working on NT/2000, not on 9x
|
adevenis
|
2002-11-28 12:12 AM
|
Re: Working on NT/2000, not on 9x
|
MightyR1
|
2002-11-28 12:16 AM
|
Re: Working on NT/2000, not on 9x
|
Lonkero
|
2002-11-28 08:09 AM
|
Re: Working on NT/2000, not on 9x
|
MCA
|
2002-12-10 12:23 AM
|
Re: Working on NT/2000, not on 9x
|
rdavison
|
2003-03-14 02:52 AM
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1229 anonymous users online.
|
|
|