Sign in to follow this  
Followers 0
kcd-clan

it will not run run()

4 posts in this topic

$d_installpath = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II", "InstallPath")

$d_Program = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II", "Program")

$realm="east"

$i=1

WinSetTitle("DiabloII","","Diablo II")

If NOT WinActive("Diablo II") Then

Run("rund2" & "-w -ns -title DiabloII -direct -txt", "$d_installpath")

WinSetTitle("DiabloII","","Diablo II")

EndIf

If NOT WinActive("Diablo II") Then

WinActivate("Diablo II")

EndIf


Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites



I dono it gets this error i cant figur it out..

i know it is run but i dono wuts wroung.

>"C:\Program Files\AutoIt3\SciTe\CompileAU3\CompileAU3.exe" /run /prod /ErrorStdOut /in "C:\Documents and Settings\root\Desktop\d2 bots\meph.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams

>Running AU3Check...C:\Program Files\AutoIt3\SciTe\Defs\Production\Au3Check\au3check.dat

>AU3Check Ended. No Error(s).

>Running: (3.1.1.0):C:\Program Files\AutoIt3\autoit3.exe "C:\Documents and Settings\root\Desktop\d2 bots\meph.au3"

C:\Documents and Settings\root\Desktop\d2 bots\meph.au3 (7) : ==> Unable to execute the external program.:


Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites

your trying to run an uncompiled script.


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites

This is not correct:

Run("rund2" & "-w -ns -title DiabloII -direct -txt", "$d_installpath")

There is no space between rund2 and -w.. (why use the & anyway?)

Also "$d_installpath" is wrong...

Try: Run($d_installpath & "\rund2 -w -ns -title DiabloII -direct -txt")


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0