mIRC Home    About    Download    Register    News    Help

Print Thread
MDX ! #140072 21/01/06 07:28 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
is there ANY detailed or atleast quality tutorial on MDX?


IceCapped
Re: MDX ! #140073 22/01/06 02:14 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
ok then help me in some steps :tongue:

like this error:

* /dll: unable to open 'D:\mirc\SetControlMDX'

what does it cant find ?
some dll or some control ?

and how to fix paths if this is code:
dll $mdx SetControlMDX $dname
and its not in mirc main folder?


IceCapped
Re: MDX ! #140074 22/01/06 02:39 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That error has nothing to do with MDX itself, you're simply not passing a filename to the /dll command (which means your $mdx alias doesn't exist.)

Re: MDX ! #140075 22/01/06 03:34 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
does mdx alias must be with every dialog given
or just once (as in general like mirc alias) ???


IceCapped
Re: MDX ! #140076 22/01/06 03:37 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It just has to return a path to mdx.dll. That's all.

Re: MDX ! #140077 22/01/06 04:20 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
okay, i found mdx alias and fixed it
and it doesnt show an all mdx dialogs that
but on some altho mdx alias is good smirk
and i get this too

* /dll: unable to open 'D:\mirc\SetFont'

why ??


these are all MDX alias i found:
Code:
  
alias mdx return $shortfn($findfile($mircdirsystem\dlls\,mdx.dll,1))
alias views return $shortfn($findfile($mircdirsystem\dlls\,views.mdx,1))
alias _mdx.SetControlMDX { var %parms = $2- > system\dlls\ $+ $1 | return $dll(system\dlls\mdx.dll,SetControlMDX,%parms) }
alias _mdx.SetFont return $shortfn($findfile($mircdirsystem\dlls\,mdx.dll,1))


all my mdx files are in ..mirc\system\dlls


IceCapped
Re: MDX ! #140078 22/01/06 04:25 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
It is still not returning anything. Why all of the $findfiles anyway? Just use a hardcoded path or use $mircdirsystem\dlls\mdx.dll

Re: MDX ! #140079 22/01/06 04:28 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
i dont know =)
i didnt made the script lol
i'm just trying to get help from anyone to help me
make it simplier and compatible for XP now (mdx)

so i would apreaciate any good info (for noob)
regarding this mdx stuff since i cant find any detailed tutorial
on it :tongue:


Last edited by raZOR; 22/01/06 04:41 PM.

IceCapped
Re: MDX ! #140080 22/01/06 04:48 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
The problems you are having have NOTHING to do with mdx. You don't need a tutorial on mdx. The problems are because mIRC cannot find mdx since you are not giving it a valid path. You have to fix the aliases to return the correct path to mdx.dll, otherwise the /dll command will try to use a nonexistant dll (D:\mirc\setfont like it has been doing.)

Of course if you want to learn how to use mdx yourself I'm not stopping you but I wouldn't advise trying to learn it until you understand the basics of mIRC.

Re: MDX ! #140081 22/01/06 04:55 PM
Joined: Aug 2005
Posts: 24
D
DimWatt Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: Aug 2005
Posts: 24
I'm not sure but I think you need
$mircdir $+ \system\dlls\,mdx.dll,1
you may not need the $+ but I think there needs to be a space $mircdir and system


TeeJay
Re: MDX ! #140082 22/01/06 05:01 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
i have this aliases (fixed some crap)

alias mdx return $shortfn($mircdirsystem\dlls\mdx.dll)
alias views return $shortfn($mircdirsystem\dlls\views.mdx)
alias SetControlMDX $shortfn($mircdirsystem\dlls\mdx.dll)
alias SetFont return $shortfn($mircdirsystem\dlls\mdx.dll)

when i do echo i get this:
D:\mirc\system\dlls\mdx.dll

so path is valid !
and when i run some dialogs i AGAIN get errors:

* /dll: unable to open 'D:\mirc\SetFont'
* /dll: unable to open 'D:\mirc\SetControlMDX'

so is mirc joking me or dll jokes mirc or....

Last edited by raZOR; 22/01/06 05:02 PM.

IceCapped
Re: MDX ! #140083 22/01/06 05:02 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Then the dialog is NOT using /dll $mdx ..., it is using something else.

Re: MDX ! #140084 22/01/06 05:02 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You can connect things onto the end of most $*dir identifiers ($mp3dir, $logdir, $mircdir, $scriptdir)

Re: MDX ! #140085 22/01/06 05:05 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
for SetFont error

Code:
 
on 1:dialog:quits:init:*: {
  mdx.start 
  mdx.set icon 12 system\domin.icl
  dll $mdx SetFont $dname 1 12 1 verdana 
  dll $mdx SetFont $dname 3 12 2 verdana 
  dll $mdx SetFont $dname 4 12 3 verdana
...
 



for SetControl
Code:
 
on 1:dialog:news:init:*: {
  mdx.start | mdx.set icon 13 system\domin.icl
  dll $mdx SetControlMDX $dname 2 ListView headerdrag report rowselect flatsb showsel nosortheader single > $views 
  did -i $dname 2 1 header @70:1,60,266 Date $chr(9) Time chr(9) New
  dll $mdx SetFont $dname 2 12 1 verdana 
  dll $mdx SetFont $dname 1 12 1 verdana
...
 


so it does use /dll $mdx :P

Last edited by raZOR; 22/01/06 05:08 PM.

IceCapped
Re: MDX ! #140086 22/01/06 05:08 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Then you have another $mdx alias somewhere (which may be local to that file.)

This sort of thing would be a lot easier to help you with if you'd written it yourself. Perhaps you should ask whoever wrote it for help instead.

Re: MDX ! #140087 22/01/06 05:10 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
script was abandoned in year 2001 smirk
webpage is dead
forums are dead

ah well
tnx for helping me, sorry for whole mess :P
i'll try find some mdx aliases


IceCapped
Re: MDX ! #140088 22/01/06 05:14 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You could try asking on a scripting website as well. I realise this website helps with scripts but it doesn't support addons and such, so you'll probably fare better asking on somewhere like mirc.net or mircscripts.org.

Re: MDX ! #140089 22/01/06 05:23 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
well i found another mdx alias

Code:
  
alias mdx if ($lock(dll)) return | if ($isid) return $dll($mdx.udll,$1,$iif($2- != $null,$2-,.)) | dll $shortfn($mdx.udll) $1-


but the moment i remove it, my control pannel
gives all icons in list vertically...

i would rather use DCX but since no tutorial being made
i think some people are let to die :P

Last edited by raZOR; 22/01/06 05:25 PM.

IceCapped