Fserve Explorer displays some files as folders [Fix]

Known Issues, Bugs Reports, and Work Arounds

Moderators: L|B, cryoa, Riamus, XMog

Fserve Explorer displays some files as folders [Fix]

Postby Riamus » Sun Nov 20, 2011 7:33 am

You may run into an issue when accessing some fileservers using Fserve Explorer. Instead of the file displaying as a file, it displays as a folder (with <> around it). Then when you double click on it, you get an invalid path error message. Here is the fix. It will be included in the next release, but for now, you can manually make the change.

imiscmgr.mrc line 85:

Change:
Code: Select all
    if (($left($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) isnum) && ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) !isnum)) && (($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) == b) || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) === k)) || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == mb)  || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == kb)  || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == gb)) { did -i InvisFxp 60 $calc($did(InvisFxp,60).lines + 1) %Fxp.temp [ $+ [ $iNetwork ] ] | did -z InvisFXP 60 | return }


To:
Code: Select all
    if (($left($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) isnum) && ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) !isnum) && (($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) == b) || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),1) === k)) || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == mb)  || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == kb)  || ($right($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32),2) == gb)) { did -i InvisFxp 60 $calc($did(InvisFxp,60).lines + 1) %Fxp.temp [ $+ [ $iNetwork ] ] | did -z InvisFXP 60 | return }


You're removing one ) right before the second && in the line. So instead of !isnum)), it becomes !isnum).
You can find me at #Invision on irc.irchighway.net or #OldGames on irc.undernet.org if you need me for anything.
User avatar
Riamus
Global Moderator
Global Moderator
 
Posts: 1783
Joined: Fri May 03, 2002 9:01 pm
Location: Massachusetts, USA

Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 6 guests

cron