Page 1 of 2 12>
Topic Options
#36964 - 2003-02-26 02:47 PM Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
I don't know if any of you noticed this, but I just upgraded our old KiXtart engine from 3.62 to 4.20 and our logon script no longer works on Win9x machines. I have narrowed it to the @HOMESHR command. Here is what we have:

IF @HOMESHR <> ""
USE U: @HOMESHR
ENDIF

This used to work with KiXtart 3.62, but with 4.20 it just dies. However, if you redirect @HOMESHR to a variable and use the variable instead, it works. Ex:

$x = @HOMESHR
IF $x <> ""
USE U: $x
ENDIF

Has anybody seen this on their systems?

Top
#36965 - 2003-02-26 02:56 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Bobby,

can't verify as I have nothing set for homeshare ...

anyone else ?
_________________________



Top
#36966 - 2003-02-26 03:03 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Rory Daniels Offline
Getting the hang of it

Registered: 2003-02-25
Posts: 64
Loc: Bristol, UK
The origional code worked form me. I am running Windows 2000 Client/Server. Kix 4.20 rc3 and Kix 4.20 Final Release.

Query are you running KixScripts Editor?

Top
#36967 - 2003-02-26 03:14 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
No, I am not running KiXScripts Editor.
Top
#36968 - 2003-02-26 03:43 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I also stay away from the @HOMESHR setting or even specifying this in the User Manager. I prefer hidden user directories that are then directly mapped in the login script via the @USERID macro.

Have you updated the KiXtart RPC Server service to the KiXtart 4.20 version?

[ 26. February 2003, 16:39: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#36969 - 2003-02-26 04:04 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
eh.
I have hidden shares but still have some of them defined in user manager.

it does not make it unhidden.
_________________________
!

download KiXnet

Top
#36970 - 2003-02-26 04:16 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
No, I have no updated the KiXtart RPC Server service. We were not using that on our Win9x machines.

[ 26. February 2003, 16:17: Message edited by: Bobby Chan ]

Top
#36971 - 2003-02-26 04:19 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please read KXRPC - Everything you wanted to know about KXRPC and the other relevant threads in the FAQ Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#36972 - 2003-02-26 04:20 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hmmmm ... that could explain some annoyances ...
_________________________



Top
#36973 - 2003-02-26 04:36 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
Ahhh... that clears some things up. Still weird that it worked with KiX 3.62 and not 4.20. Oh well... [Roll Eyes] Thanks Guys.
Top
#36974 - 2003-02-26 08:34 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
With Win9x clients, I thought kxrpc was necessary to pull the homeshare info from the server? Putinenv can pull it also. Are you sure you aren't using one of them?
_________________________
Jack

Top
#36975 - 2003-02-27 02:43 AM Re: Bug in KiXtart 4.20 with @HOMESHR
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

The KXRPC releases are compatible. Upgrading to a new release requires in
your situation an upgrade of KXRPC on all servers.
There are no known problems with the @homeshr in this kixtart 4.20
or earlier releases.

Can you run following script and return the output of file %tmp%\kixdebug.txt
to the board
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+"/4.00e 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"? ? " homedir = "+@homedir
?"- 2-"+@time+"-"+$_debug_name+"- @error @serror"? ? " homedrive = "+@homedrive
?"- 3-"+@time+"-"+$_debug_name+"- @error @serror"? ? " homeshr = "+@homeshr

?"------- end-"+@time+"-"+$_debug_name+"- @error @serror"
? "-"
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/4.00e 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)
;
; thu 27-feb-2003 02:02:13 (kix 4.20 vs 4.00e)
;
;Informative KIXSTRIP: no errors found (input=3 output=3 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 [0:0:0]
; - select:case:endselect [0:0:0]
; - while:loop [0:0]
;Informative KIXSTRIP: no 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
;
;($end)

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#36976 - 2003-02-27 08:20 AM Re: Bug in KiXtart 4.20 with @HOMESHR
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I don't think the info for homeshare is actually queried from server...

at least not on NT-based systems.
so, it might be also problem of the dll's being wrong version.
_________________________
!

download KiXnet

Top
#36977 - 2003-02-27 03:48 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
I think I found the problem. By default, I copied over KX16, KX32 and KX95.dll. In the manual, it does point out that if KX95.DLL exists without KXRPC.EXE, it might cause performance problems. This is what I am seeing. When our script gets to the point where it queries the network, it just stalls there and KiXtart quits. It is weird because sometimes it works and sometimes it doesn't. On affected machines, I have removed KX95.DLL and the script seems to run fine.

I have tried to run the attached script on Win9x machines and I can't seem to redirect the output to a text file. I will have to find time to modify the code to put it into a text file and get back to you guys.

Top
#36978 - 2003-02-27 03:51 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Rule of thumb: If you have Windows 9x computers in your network, then install the KiXtart RPC Server service on all DCs.

This will prevent a lot of potential problems.
_________________________
There are two types of vessels, submarines and targets.

Top
#36979 - 2003-02-27 04:00 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't understand the reluctance to install the KXRPC service. None the less, I updated the FAQ.

Topic: KXRPC - Everything you wanted to know about KXRPC
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#36980 - 2003-02-27 04:03 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I do: It's too much work [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#36981 - 2003-02-27 04:39 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Bobby Chan Offline
Fresh Scripter

Registered: 2002-02-07
Posts: 28
Loc: Montreal, Quebec, Canada
Sealeopard: Definitely too much work! [Roll Eyes]

I will have to check out and plan the install of the KiXtart RPC Service on our 3 DCs if it means that it would solve our problems. It is funny that KiX worked without the service when we were on 3.62 and partially works on 4.20.

Top
#36982 - 2003-02-27 04:44 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
5 minute job [Big Grin]

Less time than you spent on this thread [Wink]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#36983 - 2003-02-27 04:44 PM Re: Bug in KiXtart 4.20 with @HOMESHR
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
never used, never ever needed kxrpc.
_________________________
!

download KiXnet

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 201 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.083 seconds in which 0.037 seconds were spent on a total of 12 queries. Zlib compression enabled.

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