|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
is there ANY detailed or atleast quality tutorial on MDX?
IceCapped
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
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.)
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
It just has to return a path to mdx.dll. That's all.
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
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 and i get this too * /dll: unable to open 'D:\mirc\SetFont' why ?? these are all MDX alias i found:
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Aug 2005
Posts: 24
Ameglian cow
|
Ameglian cow
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
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
Then the dialog is NOT using /dll $mdx ..., it is using something else.
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
Joined: Sep 2005
Posts: 2,881 |
You can connect things onto the end of most $*dir identifiers ($mp3dir, $logdir, $mircdir, $scriptdir)
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
for SetFont error
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
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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
script was abandoned in year 2001 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
|
|
|
|
Joined: Sep 2005
Posts: 2,881
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Apr 2005
Posts: 1,009
Hoopy frood
|
OP
Hoopy frood
Joined: Apr 2005
Posts: 1,009 |
well i found another mdx alias
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
|
|
|
|
|