Sign in to follow this  
Followers 0
demo

Error When Trying To Run?

1 post in this topic

#1 ·  Posted (edited)

Ok Im trying to run my script now but an error keeps poping up saying

Line 12:

ERROR\\ERROR ,ERROR

ERROR: Unable to run program. (Ensure that backslashes \ have been used properly)

Here is my script

IniRead, D2Path, %ShenkFile%, Settings, D2Path

IniRead, D2Executable, %ShenkFile%, Settings, D2Executable

IniRead, D2LoadDelay, %ShenkFile%, Settings, D2LoadDelay

IniRead, ActiveAccount, %ShenkFile%, Game Settings, Account

IniRead, ActivePassword, %ShenkFile%, Game Settings, Password

IniRead, Repeat, %ShenkFile%, Game Settings, Repeat Game

IniRead, RepeatNumberOfAttacks, %ShenkFile%, Attack Settings, Repeat Times To Attack

;----------Load Game

Run, %D2Path%\\%D2Executable%

Sleep, %D2LoadDelay%

Send, {TAB}

Send, %ActiveAccount%

Sleep, 2000

Send, {TAB}

Sleep, 1000

Send, %ActivePassword%

Sleep, 1000

Send, {ENTER}

Sleep, 7000

Send, {Enter}

Sleep, 9000

;---------Make Game

Repeat, %Repeat%

LeftClick, 590, 487

Sleep, 3000

Random, nm1,1,9999

Random, nm2,1,9999

Random, nm3,1,9999

Random, pw1,1,9999

Send, %nm1%%nm2%%nm3%

Sleep, 2000

Send, {TAB}

Send, %pw1%

Sleep, 3000

Send, {ENTER}

;---------In Game

Sleep, 10000

LeftClick, 130, 550

Sleep, 3000

LeftClick, 208, 513

Sleep, 3000

LeftClick, 257, 521

Sleep, 3000

LeftClick, 242, 203

Sleep, 5000

;---------In Fridget

Send, {F3}

RightClick, 786, 322

Sleep, 2000

RightClick, 681, 542

Sleep, 2000

RightClick, 487, 412

Sleep, 2000

RightClick, 508, 557

Sleep, 2000

RightClick, 583, 465

Sleep, 1700

RightClick, 704, 334

Sleep, 1700

RightClick, 768, 261

Sleep, 1000

Send, {F2}

Repeat, %RepeatNumberOfAttacks%

RightClick, 513, 553

RightClick, 457, 558

RightClick, 508, 556

RightClick, 491, 538

EndRepeat

Send, {ESCAPE}

Sleep, 1000

Send, {UP}

Sleep, 1000

Send, {ENTER}

Edited by demo

Share this post


Link to post
Share on other sites



Sign in to follow this  
Followers 0