mIRC Home    About    Download    Register    News    Help

Print Thread
MDX.dll Animation function?? #225602 06/09/10 01:36 AM
Joined: Aug 2010
Posts: 69
N
N3M3S1S Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Aug 2010
Posts: 69
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
}

Last edited by N3M3S1S; 06/09/10 01:38 AM.

"There is no theory of evolution, only a list of creatures Chuck Norris allows to live."
Re: MDX.dll Animation function?? [Re: N3M3S1S] #225604 06/09/10 01:45 AM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
Re: MDX.dll Animation function?? [Re: Riamus2] #225606 06/09/10 02:04 AM
Joined: Aug 2010
Posts: 69
N
N3M3S1S Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Aug 2010
Posts: 69
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...

Last edited by N3M3S1S; 06/09/10 02:04 AM.

"There is no theory of evolution, only a list of creatures Chuck Norris allows to live."
Re: MDX.dll Animation function?? [Re: N3M3S1S] #225614 06/09/10 09:33 AM
Joined: Sep 2005
Posts: 76
deVilbaT Offline
Babel fish
Offline
Babel fish
Joined: Sep 2005
Posts: 76

Re: MDX.dll Animation function?? [Re: N3M3S1S] #225621 06/09/10 02:18 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net