PDA
$threadinfo[title]
-


sdk
January 15th, 2003, 20:58
Hi, i've made a script with uses darkenginepro.dll, moo.dll, mbminfo.dll anyway, it runs fine @ mine machine.

but some people who downloaded it reported to me that they had the following error.

$dll: unable to open 'C:\PROGRAM FILES\MIRC\darkenginepro.dll' (line 53, system.mrc)

Most of them run Windows 98 on a old pc (pII 400 etc)
Though I tested the script with spaces it worked as it should. Also I had let them check out if the file does excist @ the directory, all seemed correctly. Anyway It's odd it doesn't work on some pc's.

in the attachment is the mirc script (load it by using /load -rs system.mrc)

[vEX]
January 15th, 2003, 22:18
Change the following:
alias moo.dll { return $dll(moo.dll,$1,_) }
alias mbminfo { return $gettok($gettok($dll(mbminfo.dll,wert,$1 ),2,58),1,32) }
alias mbmdll { return $dll(mbminfo.dll,$1,$2-) }
alias darkpro { return $dll(darkenginepro.dll,$1,_) }

Too this:
alias moo.dll { return $dll("$scriptdirmoo.dll $+ ",$1,_) }
alias mbminfo { return $gettok($gettok($dll(("$scriptdirmbminfo.dll $+ ".,wert,$1),2,58),1,32) }
alias mbmdll { return $dll(("$scriptdirmbminfo.dll $+ ".,$1,$2-) }
alias darkpro { return $dll(("$scriptdirdarkenginepro.dll $+ ".,$1,_) }

Should fix the problem.
If not just post here.

sdk
January 15th, 2003, 22:28
Replacing that gives errors =]

Though this works:

alias moo.dll { return $dll(" $+ $scriptdir $+ moo.dll ",$1,_) }
alias mbminfo { return $gettok($gettok($dll(" $+ $scriptdir $+ mbminfo.dll $+ ",wert,$1),2,58),1,32) }
alias mbmdll { return $dll(" $+ $scriptdir $+ mbminfo.dll $+ ",$1,$2-) }
alias darkpro { return $dll(" $+ $scriptdir $+ darkenginepro.dll $+ ",$1,_) }


But I still don't know if people with old pc's get the same error I will let some people try later :D

aprentice
January 16th, 2003, 03:01
darkengine needs directx 8.1, small price to pay for accurate sound card and video card detection =p

sdk
January 16th, 2003, 11:36
haha it was indeed the problem at them lmao :happy:

anyway could you implent something to figure out what direct x they're using so i can use that when the scripts start to prompt them that they need to update to 8.1 or 9.0 if they have an older version :D