mIRC Homepage
Posted By: N3M3S1S MDX.dll Animation function?? - 06/09/10 01:36 AM
Okay I use MDX.dll alot in my scripts. So anyone who is familiar with MDX.dll please post in this thread!

Have you had any troubles with the Animation function on MDX.dll where it allows you play soundless AVI files?

I think I coded it out right but the animation wont appear in the dialog.

Code:
dialog mp3 {
  size -1 -1 500 500
  icon DXMP3/dx4.ico
  title DeluXe MP3 2.01 - [/dxmp3]
  list 1, 5 30 106 25,size
  combo 2, 5 5 300 100,drop
  list 3, 345 5 150 40,noborder,size
  icon 4, 310 8 40 40,DXMP3/DX019.ico,noborder
  text "-Volume Control-"5, 370 45 100 15
  button "Options"6, 115 30 80 25
  text "DeluXe MP3 2.01 By Neo Nemesis"7, 200 28 110 30
  button "Exit"8, 303 45 40 15
  button ""9, 5 100 300 300
}
on *:DIALOG:mp3:init:*: {
  dll DXMP3/mdx.dll MarkDialog mp3
....
  set -u10 %mp3.dump2 Animation: $dll(DXMP3/mdx.dll,SetControlMDX,9 animation transparent autoplay > DXMP3/ctl_gen.mdx)
  did -a mp3 9 open $scriptdir $+ Gohan_Anim.avi
  did -a mp3 9 play
}
Posted By: Riamus2 Re: MDX.dll Animation function?? - 06/09/10 01:45 AM
I haven't done much of anything with MDX since I switch to DCX years back. But just something to start out with...

MDX is not fully compatible with mIRC 7.1 and hasn't been updated in many years. Some features will still work, but others will not. If you're using mIRC 7.1, then try your script on an older version of mIRC to see if it works there. Also, if you plan to distribute your script, remember that anyone using mIRC 7.1 or newer may not be able to use your script. It would be a better idea to switch to DCX before writing any new scripts with MDX in them. It can do almost all (maybe all) of the same things MDX can and much more, plus it's regularly updated still and current versions should be fully compatible with mIRC 7.1.

Beyond that, maybe someone who still uses MDX can tell you if you did something wrong in your script.

As a note, one thing I do notice is the use of / instead of \ in your paths. / is a *nix path character. mIRC is a Windows program, so you should use \ instead. That said, it may still work with / as I haven't tested it with that character.
Posted By: N3M3S1S Re: MDX.dll Animation function?? - 06/09/10 02:04 AM
That's the thing though. I don't like the way DCX is set up. But I guess I can take another look at DCX...
Posted By: deVilbaT Re: MDX.dll Animation function?? - 06/09/10 09:33 AM
Try... (new stuff here)

https://forums.mirc.com/ubbthreads.php?ub...true#Post220039

https://forums.mirc.com/ubbthreads.php?ub...true#Post221817

Regards.
Posted By: Riamus2 Re: MDX.dll Animation function?? - 06/09/10 02:18 PM
Up to you. Just offering a suggestion to try. Personally, I'd take a different setup for how you script it and have it work on newer versions of mIRC than to have it only work on older versions of mIRC. But that's just me. smile

Anyhow, you can still try your script out on an older mIRC and see if it works. That would tell you if that's the problem.
© mIRC Discussion Forums