mIRC Homepage
Posted By: Chrisi /toolbar -f bug? - 24/11/06 11:19 PM
1.: /toolbar -i 5 gircsetup "Gamers.IRC Setup" media\gfx\toolbar\options2.bmp /setup @toolbar_gircsetup
2.: /toolbar -fs
3.: /toolbar -fl
results in: * /toolbar: no such file 'D:\IRC\Gamers.IRC_5.01\@toolbar_gircsetup'

when i open the file toolbar.ini, i see this:
n5="gircsetup","Gamers.IRC Setup",0,"media\gfx\toolbar\options2.bmp",0,0,0,0,0,0,0,"/setup","@toolbar_gircsetup",0,1,0,0,"bin\grc\gamersirc.grc"
Posted By: Khaled Re: /toolbar -f bug? - 27/11/06 02:33 PM
Thanks this has been fixed for the next version.
Posted By: sgt Re: /toolbar -f bug? - 27/11/06 08:34 PM
ugh. i was really looking forward to this one.

please say there will be a hotfix...

-sgt
Posted By: Chrisi Re: /toolbar -f bug? - 06/11/07 08:02 PM
Are you sure, if this bug has been fixed?

Code:
toolbar -r
toolbar -au girclagbar "Gamers.IRC Lagbar" @lagbar /lagbar_refresh1 @toolbar_lagbar1
toolbar -as girclagbarsep
toolbar -fs
toolbar -fl


results in: * /toolbar: no such file 'D:\IRC\Gamers.IRC 5.15\@lagbar'
with mirc 6.3 and 6.31 (tested both)
If you want, I can send you our stuff so you can find out where the problem is.
Posted By: Chrisi Re: /toolbar -f bug? - 25/01/08 04:03 PM
Originally Posted By: Khaled
Thanks this has been fixed for the next version.


Hello??
Posted By: Chrisi Re: /toolbar -f bug? - 22/05/08 03:37 PM
When will you fix this bug?
Posted By: argv0 Re: /toolbar -f bug? - 22/05/08 06:07 PM
Have you even bothered to try this in 6.32? It seems to work for me.
Posted By: Chrisi Re: /toolbar -f bug? - 22/05/08 09:06 PM
Of course I tried it with 6.32
And it does not work for me.
//toolbar -fs | toolbar -fl
results in:
* /toolbar: no such file 'D:\IRC\Gamers.IRC 5.20\@lagbar'
Posted By: argv0 Re: /toolbar -f bug? - 23/05/08 11:26 PM
I assume it's still attempting to load the old data, which points to a @window for the image filename (obviously an invalid file). You need to delete or reset your toolbar.ini because the data inside it is broken. I cannot reproduce the bug in a clean install.
Posted By: Chrisi Re: /toolbar -f bug? - 24/05/08 01:38 PM
Same error after deleting toolbar.ini
Posted By: Khaled Re: /toolbar -f bug? - 25/05/08 12:27 PM
I am able to reproduce your original bug report with mIRC 6.21, however I am unable to reproduce it with mIRC versions 6.3 and onwards.

I tested your original bug report with a clean install of mIRC, with no scripts or dlls loaded. I also recreated the directory structure media\gfx\toolbar\options2.bmp with same bitmap filename.

Please try this with a clean install of mIRC with no scripts or dlls loaded. It may be that whatever the issue is, it is related to the directory name/structure where you have mIRC installed, or the name of the bitmap file, or some other similar issue.
Posted By: Chrisi Re: /toolbar -f bug? - 14/06/08 01:27 PM
I think the bug has changed a little bit since my first post.

The toolbar.ini shows this line after saving:
n39="girclagbar","Gamers.IRC Lagbar",0,"@lagbar",0,0,0,0,0,0,0,"/lagbar_refresh1","@toolbar_lagbar1",0,1,0,0,"bin\grc\gamersirc.grc"
As I said, the error message is this:
* /toolbar: no such file 'D:\IRC\Gamers.IRC 5.21\@lagbar'

I use this button as lag bar, so the script is a bit large. If you want, I can send you our script to test this bug.

However, I made an abridged version for you to reproduce it with mIRC version 6.32

Code:
alias lagbar_refresh1 {
  echo -a lclick test
}
menu @toolbar_lagbar1 {
  test:echo -a menu test
}
alias toolbar_build1 {
  window -c @lagbar
  toolbar -r
  window -phB +dL @lagbar 332 23 121 19
  drawrect -hrf @lagbar 0 1 0 0 121 19
  window -h @lagbar
  toolbar -au girclagbar "Gamers.IRC Lagbar" @lagbar /lagbar_refresh1 @toolbar_lagbar1
}

In order to test it:
/toolbar_build1
/toolbar -fs
/toolbar -fl
Posted By: Khaled Re: /toolbar -f bug? - 15/06/08 09:17 AM
Thanks for the test script, I was able to reproduce this issue, it has been fixed for the next version. I plan to release a new version as soon as I've fixed the handful bugs reported since v6.32 was released.
Posted By: Chrisi Re: /toolbar -f bug? - 26/07/08 01:29 PM
Works in 6.33
Thanks.
© mIRC Discussion Forums