Current Bugs and Quick Fixes - Build 3515-B Updated 02/22/07

Known Issues, Bugs Reports, and Work Arounds

Moderators: L|B, cryoa, Riamus, XMog

Current Bugs and Quick Fixes - Build 3515-B Updated 02/22/07

Postby Riamus » Sat Jul 08, 2006 4:53 pm

THESE FIXES ARE FOR INVISION 3515-B
All line numbers are from 3515-B. If you don't have 3515-B, get it and THEN do these fixes.

How to do these fixes
1) Press Alt-R.
2) If "alias" is in the filename, then click the aliases tab. Otherwise, click the Remotes tab if you're not already there.
3) Go to the View menu and select the filename that the fix mentions.
4) Press Ctrl-G and enter the line number mentioned. If the code on that line doesn't match the code that is supposed to be changed, then press Ctrl-F and search for the original code mentioned in the fix.
5) Replace the code exactly as the fix tells you to do.
6) Press OK.
__________________________________________________________

$ct error
Status: Verified and solved by Yusuke

Open itext.mrc and go to line 388.

Replace:
Code: Select all
while ($ct <= 9) {


with:
Code: Select all
while (%ct <= 9) {

__________________________________________________________

$timers error
Status: Verified and solved by Yusuke

Open ialias1.mrc and go to line 816.

Replace:
Code: Select all
  if ( $isend(0) == 0 && $iget(0) == 0 && $timers(CheckForTransfers) == $null )  { .timerCheckForTransfers $+ $iNetwork 0 1 checkForTransfers }


with:
Code: Select all
  if ( $isend(0) == 0 && $iget(0) == 0 && $timer(CheckForTransfers) == $null )  { .timerCheckForTransfers $+ $iNetwork 0 1 checkForTransfers }

__________________________________________________________

7isnum error (a time stamp error)
Status: Verified and solved by Andi

Open ialias1.mrc and go to line 244.

Replace:
Code: Select all
color { if ($1 7isnum 0-15) { if ($1 == 0) { return White } | if ($1 == 1) { return Black } | if ($1 == 2) { return Blue } | if ($1 == 3) { return Green } | if ($1 == 4) { return Red } | if ($1 == 5) { return Brown } | if ($1 == 6) { return Purple } | if ($1 == 7) { return Orange } | if ($1 == 8) { return Yellow } | if ($1 == 9) { return Light Green } | if ($1 == 10) { return Cyan } | if ($1 == 11) { return Light Cyan } | if ($1 == 12) { return Royal Blue } | if ($1 == 13) { return Pink } | if ($1 == 14) { return Grey } | if ($1 == 15) { return Light Grey } } }


with:
Code: Select all
color { if ($1 isnum 0-15) { if ($1 == 0) { return White } | if ($1 == 1) { return Black } | if ($1 == 2) { return Blue } | if ($1 == 3) { return Green } | if ($1 == 4) { return Red } | if ($1 == 5) { return Brown } | if ($1 == 6) { return Purple } | if ($1 == 7) { return Orange } | if ($1 == 8) { return Yellow } | if ($1 == 9) { return Light Green } | if ($1 == 10) { return Cyan } | if ($1 == 11) { return Light Cyan } | if ($1 == 12) { return Royal Blue } | if ($1 == 13) { return Pink } | if ($1 == 14) { return Grey } | if ($1 == 15) { return Light Grey } } }


Note that I'm removing the "7" at the very beginning of that line of code.
__________________________________________________________

Force Fserv Explorer bug (missing returns)
Status: Verified and solved

Press Alt-R and go to the Popups tab. Use the View menu to open Channel and go to line 323.

Replace:
Code: Select all
    }   else { ctcp $right(%trigline,-5) } set %ForceTrig [ $+ [ $iSetwork ] ] [ $+ [ %FTct [ $+ [ $iSetwork ] ] ] ] %trigline  inc %FTct [ $+ [ $iSetwork ] ] 1


with:
Code: Select all
    }
    else { ctcp $right(%trigline,-5) }
    set %ForceTrig [ $+ [ $iSetwork ] ] [ $+ [ %FTct [ $+ [ $iSetwork ] ] ] ] %trigline  inc %FTct [ $+ [ $iSetwork ] ] 1

__________________________________________________________

Unable to rejoin a channel that is open, but not connected using either /rejoin or the right click menu.
This happens only if you have "Keep channels open" checked, but not one or both of "Rejoin channel on kick" or "Rejoin channel on connect" in mIRC's options
Status: Verified and solved

Open ialias1.mrc and go to line 102.

Replace:
Code: Select all
rejoin { if ($1 == $null) { hop } | else { hop -c $1 } }


with:
Code: Select all
rejoin { if ($1 == $null) { if ($me ison $chan) { hop } | elseif ($chan) { join $active } } | else { if ($me ison $1) { hop -c $1 } | else { join $1 } } }

__________________________________________________________

File size error in the "X is attempting to send Y to you" message
Status: Verified and solved

Open ictcp.mrc and go to line 214.

Replace:
Code: Select all
    aecho $nick $bracket($address) is attempting to send $c(2) $+ $remove($gettok($1-,3 - $calc($gettok($1-,0,32) - 3),32) $bracket($size($gettok($1-,0,32))),") to you on port $c(2) $+ $gettok($1-,$calc($gettok($1-,0,32) - 1),32) $+ $c(1) $+ .


with:
Code: Select all
    aecho $nick $bracket($address) is attempting to send $c(2) $+ $remove($gettok($1-,3 - $calc($gettok($1-,0,32) - 3),32) $bracket($size($gettok($1-,$gettok($1-,0,32),32))),") to you on port $c(2) $+ $gettok($1-,$calc($gettok($1-,0,32) - 1),32) $+ $c(1) $+ .

__________________________________________________________
Problems with viewing certain SysReset fservs using the Fserv Explorer
Status: Verified and solved

Open imiscmgr.mrc and go to line 79.

Replace:
Code: Select all
if ([\* iswm %Fxp.temp [ $+ [ $iNetwork ] ] || [/* iswm %Fxp.temp [ $+ [ $iNetwork ] ] || *<dir> iswm %Fxp.temp [ $+ [ $iNetwork ] ] || * $+ $chr(32) $+ B iswm %Fxp.temp [ $+ [ $iNetwork ] ] || *kB iswm %Fxp.temp [ $+ [ $iNetwork ] ]  || *MB iswm %Fxp.temp [ $+ [ $iNetwork ] ] ) { set %Fxp.list [ $+ [ $iNetwork ] ] 1 }


with:
Code: Select all
if ([\* iswm %Fxp.temp [ $+ [ $iNetwork ] ] || [/* iswm %Fxp.temp [ $+ [ $iNetwork ] ] || *<dir> iswm %Fxp.temp [ $+ [ $iNetwork ] ] || * $+ $chr(32) $+ B iswm %Fxp.temp [ $+ [ $iNetwork ] ] || *kB iswm %Fxp.temp [ $+ [ $iNetwork ] ]  || *MB iswm %Fxp.temp [ $+ [ $iNetwork ] ] ) && Insta*Send* !iswm %Fxp.temp [ $+ [ $iNetwork ] ] { set %Fxp.list [ $+ [ $iNetwork ] ] 1 }


Also, go to line 84 of the same file and replace:
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)) || ($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32) == kb)  || ($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32) == mb)  || ($gettok(%Fxp.temp [ $+ [ $iNetwork ] ] ,$numtok(%Fxp.temp [ $+ [ $iNetwork ] ] ,32),32) == gb)) { did -i InvisFxp 60 $calc($did(InvisFxp,60).lines + 1) %Fxp.temp [ $+ [ $iNetwork ] ] | return }


with:
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 ] ] | return }

__________________________________________________________
Incorrect order of information in "X is logged in as Y" display when channel scan is enabled
Status: Verified and solved

Open iraws.mrc and go to line 405.

Replace:
Code: Select all
raw 330:*:{ aecho $2- | halt }


with:
Code: Select all
raw 330:*:{ aecho $2 $4- $3 | halt }

__________________________________________________________
Sizes showing incorrectly on XDCC ads and other locations if the size is over 1GB.
Status: Verified and solved

Open ialias1.mrc and go to line 224.

Replace:
Code: Select all
   if ($right($bytes($1,3).suf,1) == T) {
     var %nSuf = TB
   }
   elseif ($right($bytes($1,3).suf,1) == G) {
     var %nSuf = GB
   }


with:
Code: Select all
  if ($right($bytes($1,3).suf,2) == TB) {
    var %nSuf = TB
  }
  elseif ($right($bytes($1,3).suf,2) == GB) {
    var %nSuf = GB
  }

__________________________________________________________
Settings not saving properly
Status: Verified and *maybe* solved

Open ialias4.mrc and go to line 127.

Replace:
Code: Select all
  if $idle >= 600 { SaveAllSettings }


with:
Code: Select all
  if $idle >= 600 { scid -a SaveAllSettings }

WARNING: The fix above can cause Invision to freeze every 10 minutes if you're connected to multiple networks and only using one. If you experience freezing, don't use the fix above.

Then, open imaindlg.mrc and go to line 1120 (right at the bottom).

Replace:
Code: Select all
      saveallsettings | SaveAllGlobals


with:
Code: Select all
      scid -a saveallsettings | SaveAllGlobals


This may fix the problem. Before, I think it was saving settings on the active network rather than on all networks. This should make it so your settings save immediately when you press OK or Apply in a dialog and also every 5 minutes of being idle and also whenever you disconnect from a network (this includes if you close mIRC while connected.
__________________________________________________________
Can't turn off the setting in MP3 FileServer for "Put trigger in front of files in list"
Status: Verified and solved

Open idccnmp3.mrc and go to line 819.

Replace:
Code: Select all
      if ($did($dname,652).state == 1) { w.set mp3serv triginlist On } | else { w.set mp3serv trigsinlist Off }


with:
Code: Select all
      if ($did($dname,652).state == 1) { w.set mp3serv triginlist On } | else { w.set mp3serv triginlist Off }

__________________________________________________________
Invalid $iif error message when right clicking on the nick list when using mIRC 6.21
Status: Verified and solved

Press Alt-R, the click the Popups tab. Go to the View menu and select Nick List. Then go to line 449. **This is not in the Remotes tab**

Replace:
Code: Select all
.$iif($snick($chan,0) >= 2,Grant Temp DCC to all selected:{ masstmpdcc $chan }


with:
Code: Select all
.$iif($snick($chan,0) >= 2,Grant Temp DCC to all selected):{ masstmpdcc $chan }

__________________________________________________________
Can't play an MP3 from the right click > Play Media > MP3 > Selected MP3 menu option when using mIRC 6.21
Status: Verified and solved

Press Alt-R, the click the Popups tab. Go to the View menu and select Channel. Then go to line 15. **This is not in the Remotes tab**

Replace:
Code: Select all
..Play Selected mp3:{ set %mp3toplay $replace($$dir="Choose a mp3 To play" [ $iif($exists(%lastmp3dir) == $true,%lastmp3dir,C:\) $+ .mp3 ] ,$chr(32),$chr(63),$chr(44),$chr(34)) | mp3play %mp3toplay | set %lastmp3dir $nofile(%mp3toplay) | set %mp3resume Pause mp3 playback | mp3info %mp3toplay | mp3historyADD %mp3toplay }


with:
Code: Select all
..Play Selected mp3:{ set %mp3toplay $replace($$dir="Choose a mp3 To play" $iif($exists(%lastmp3dir) == $true,%lastmp3dir,C:\),$chr(32),$chr(63),$chr(44),$chr(34)) | mp3play %mp3toplay | set %lastmp3dir $nofile(%mp3toplay) | set %mp3resume Pause mp3 playback | mp3info %mp3toplay | mp3historyADD %mp3toplay }
__________________________________________________________
XDCC server ads don't have the ending lines in the right place when using the high resolution timer option with many files.
Status: Verified and solved

Open ialias2.mrc and go to line 881-883.

Replace:
Code: Select all
        .timer -m 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + $r.set(XDCC,Line.Delay)) $2- $c(1) $+ $xdcc.ad.snagged $xdcc.ad.packs
        if ($xdcc.ad.motd != $null) { .timer -m 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + ($r.set(XDCC,Line.Delay) * 2)) $2- $c(1) $+ $xdcc.ad.motd }
        .timer -m 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + ($r.set(XDCC,Line.Delay) * 3)) $2- $c(1) $+ Type: $+ $c(2) $+ /ctcp $me XDCC Send #<pack number> $ilogo 


with:
Code: Select all
        .timer -hm 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + $r.set(XDCC,Line.Delay)) $2- $c(1) $+ $xdcc.ad.snagged $xdcc.ad.packs
        if ($xdcc.ad.motd != $null) { .timer -hm 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + ($r.set(XDCC,Line.Delay) * 2)) $2- $c(1) $+ $xdcc.ad.motd }
        .timer -hm 1 $calc((%xdcc-at * $r.set(XDCC,Line.Delay)) + ($r.set(XDCC,Line.Delay) * 3)) $2- $c(1) $+ Type: $+ $c(2) $+ /ctcp $me XDCC Send #<pack number> $ilogo 

__________________________________________________________
/elseif: invalid format (line 18, iunique.mrc) error when using Block Channel XDCC Ads
Status: Verified and solved

Open iunique.mrc and go to line 18.

Replace:
Code: Select all
    if (($left($strip($1),1) == #) && (($chr(32) $+ gets $+ $chr(41) isin $1-)) { .ignore -cu10 $nick | halt }


with:
Code: Select all
    if (($left($strip($1),1) == #) && (($chr(32) $+ gets $+ $chr(41) isin $1-))) { .ignore -cu10 $nick | halt }

__________________________________________________________
Unable to add an auto-join channel from the right click menu if there aren't any channels already added
Status: Verified and solved

Open imprtwiz.mrc and go to line 824.

Replace:
Code: Select all
  var %loc = n $+ $ini($shortfn($mircini),chanfolder,0)


with:
Code: Select all
  var %loc = n $+ $iif($ini($shortfn($mircini),chanfolder,0),$v1,0)

__________________________________________________________
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 4 guests

cron