Jump to content

Recommended Posts

Posted

I am making a very advanced diablo 2 bot for the new ladder season 3. I was just wondering if the order i put the functions in makes any difference. I can: Get the bot start up diablo, login, choose char. and create game. I just am trying to make it run a script (like pindle etc.) but when i do it, the bot just doesn't run. I have the main scripts, but then the sub scripts at the very end. Example: When it gets to the scripting part, there is a function named: SlowMouseClick and i put that at the very end of my .au3 script, but the MAIN function (the sequence that i want to run) is earlier in the script. I have alot of sub-functions that are at the very end (like 15-20 of them? maybe more) I was just wondering, when i added those sub func's did it not make the bot work because it was unorganized?

-matt

Posted

like...

Hotkeyset("+r", "Script")

Func OpenNP()
     Run("Notepad.exe")
EndFunc

Func Script()
Sleep(2000)
OpenNP()
Exit
EndFunc

Now that was a little much lol... but just put the name of your function in your script like OpenNP()

Posted

search "pause"... like this..

help has very good demo's at the bottom of each page

on your computer press the following

Start > All Programs > Autoit v3 > Autoit Help File

when that loads then press the "search" tab

then type in "?your search?" and press "List Topics"

**** you can do this with any word you want

thats what i do all the time

8)

NEWHeader1.png

Posted

lol...I STILL dont get it...is that script added with the other script? or is it a seperate starter script? here are my functions:

StartD2()

Func Login()

Func ChooseChar()

Func CreateGame()

Func AllSeqRecord()

Func ParseCmd($SeqIndex, $CmdIndex, $CMD)

Func ReadCodeFile($FilePathName)

-matt

Posted

; The function definition
Func MyFunc()
    ; Calling an in-built function
    MsgBox(0x40, '', 'I am a message box.')
EndFunc

; Calling a user-defined funcion is no different
MyFunc()

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
×
×
  • Create New...