mIRC Homepage
Posted By: raZOR MDX ! - 21/01/06 07:28 PM
is there ANY detailed or atleast quality tutorial on MDX?
Posted By: raZOR Re: MDX ! - 22/01/06 02:14 PM
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?
Posted By: hixxy Re: MDX ! - 22/01/06 02:39 PM
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.)
Posted By: raZOR Re: MDX ! - 22/01/06 03:34 PM
does mdx alias must be with every dialog given
or just once (as in general like mirc alias) ???
Posted By: hixxy Re: MDX ! - 22/01/06 03:37 PM
It just has to return a path to mdx.dll. That's all.
Posted By: raZOR Re: MDX ! - 22/01/06 04:20 PM
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
Posted By: hixxy Re: MDX ! - 22/01/06 04:25 PM
It is still not returning anything. Why all of the $findfiles anyway? Just use a hardcoded path or use $mircdirsystem\dlls\mdx.dll
Posted By: raZOR Re: MDX ! - 22/01/06 04:28 PM
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:

Posted By: hixxy Re: MDX ! - 22/01/06 04:48 PM
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.
Posted By: DimWatt Re: MDX ! - 22/01/06 04:55 PM
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
Posted By: raZOR Re: MDX ! - 22/01/06 05:01 PM
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....
Posted By: hixxy Re: MDX ! - 22/01/06 05:02 PM
Then the dialog is NOT using /dll $mdx ..., it is using something else.
Posted By: hixxy Re: MDX ! - 22/01/06 05:02 PM
You can connect things onto the end of most $*dir identifiers ($mp3dir, $logdir, $mircdir, $scriptdir)
Posted By: raZOR Re: MDX ! - 22/01/06 05:05 PM
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
Posted By: hixxy Re: MDX ! - 22/01/06 05:08 PM
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.
Posted By: raZOR Re: MDX ! - 22/01/06 05:10 PM
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
Posted By: hixxy Re: MDX ! - 22/01/06 05:14 PM
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.
Posted By: raZOR Re: MDX ! - 22/01/06 05:23 PM
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
© mIRC Discussion Forums