Jump to content
Sign in to follow this  
Tikki

Need help for script

Recommended Posts

Tikki

Hi, i got my own script for archlord. there is one problem, how i can do that the scripts run only alefclient.exe? Its stupid question but anyway :)

EDIT: i mean that i can do something else while the script is running in alefclient.exe?

Need fast help! And if u got good scripts to archlord, pm me :P

Edited by Tikki

Share this post


Link to post
Share on other sites
Tikki

Can u tell easier :) I'm not good yet about scripts. can you tell what i write to script? :P

Share this post


Link to post
Share on other sites
JerryD

Run ( 'alefclient.exe' )

; Code to execute while alefclient.exe is running goes here

While ProcessExists ( 'alefclient.exe' )
     Sleep ( 500 )
Wend

; Code to execute AFTER alefclient.exe is finished running goes here
Exit

Share this post


Link to post
Share on other sites
Tikki

Thanks JerryD, but it says error.

hotkeyset("m","Die")

sleep (7500)
    send("{F10}")
sleep (50)
while 1;
call("attack")
wend
func attack()
send("{TAB}")
sleep (50)
    send("{6}")
sleep(8500)
    send("{7}")
sleep(50)
        send("{8}")
sleep(50)
endfunc
func Die()
    Exit
EndFunc

Here is my script, where i put it :)

Share this post


Link to post
Share on other sites
JerryD

What says Error?

Your code runs fine for me. Put my code wherever you want!

Share this post


Link to post
Share on other sites
Tikki

It doesnt work :S first time i put your code before my script and it says

Line 1 (File "C:\Documents and Settings\User\Desktop\asd.au3"):

Run ('alefclient.exe')

Error: Unable to execute the external program.

And second time i put your code after my script, nothing happends.

Share this post


Link to post
Share on other sites
GEOSoft

can anyone help, need fast answers :)

You probably need to have the full path in your Run line

Run ('alefclient.exe')

Run ("<add full path here>\alefclient.exe")


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
Tikki

Yeah thanks, it helps. There is one problem, i dont need RUN. And if i delete RUN line, nothing happends.

I use my script like this:

1. star game

2. go to place where is mobs

3. start asd.au3

(4). if everything works I can do something else while script is doing work :)

Now:

1. start game

2. go to palce where is mobs

3. start asd.au3

4. new archlord.exe starts and it crashes

EDIT: sorry about bad english, im from finland :P

Edited by Tikki

Share this post


Link to post
Share on other sites
Tikki

And i got one more question :)

How i can get PAUSE/START codes on my script? I got DIE, but it kills the script.

And is it possible to do that when i start script, it is allways in STOP, and if i want to use it i need to press hotkey to start?

I hope u understand what i mean.

Share this post


Link to post
Share on other sites
GEOSoft

And i got one more question :)

How i can get PAUSE/START codes on my script? I got DIE, but it kills the script.

And is it possible to do that when i start script, it is allways in STOP, and if i want to use it i need to press hotkey to start?

I hope u understand what i mean.

Sorry, I don't do games or game scripts. You will have to wait for a gamer to come along.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
Tikki

Please, i need help!

I need to know what i need to write to my script that it runs only in ArchLord.

I mean that i can surf on interner or do something else, while the bot is running on Archlord, is that possible? :)

Edited by Tikki

Share this post


Link to post
Share on other sites
Tikki

HEYY, i need help :)

Edited by Tikki

Share this post


Link to post
Share on other sites
GEOSoft

HEYY, i need help :)

You need patience more than help. Generaly the acceptable waiting period before bumping a thread is 24 hours.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
DirtDBaK

ha good luck most all of us hate game bot scripts and that includes me...

If you need help with a useful script that doesn't involve cheating I love to help out newbies, but newbies that just want bots to be made for them are useless... And anyways there is a thing called the helpfile... TRY READING It.... I promiss it would have answered first qestion on this post... About run


[center][/center]

Share this post


Link to post
Share on other sites
slaughter

HEYY, i need help :)

Hy Tikki. If you planig to minimise game and then do what ever then its not going to work.

it other case explaine my more what you whant to do.

hotkeyset("x","start")

hotkeyset("m","Die")

func start

sleep (7500)

send("{F10}")

sleep (50)

while 1

call("attack")

wend

endfunc

func attack()

send("{TAB}")

sleep (50)

send("{6}")

sleep(8500)

send("{7}")

sleep(50)

send("{8}")

sleep(50)

endfunc

func Die()

Exit

EndFunc

in case if you whant to minimize game use controlsend thats may work but not for all games

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.