Jump to content
xisto Community
_TyIzaeL_

Autoit V3 Question Help a Newbie Out

Recommended Posts

Ok, I am a beginniner in the world of programming. I am trying to make a script which would quickly and automatically sign someone on to Battle.Net in Diablo II.

I am having a problem using the variables. When the program get's to the point where it would send the variables, it only types the first letter. I've attempted several things, but to no avail.

Here is the code to the program:

; ----------------------------------------------------------------------------; AutoIt Version: 3.1.0; Author:         Austin Brashear   <alloy45224@gmail.com>; Script Function:;	Allows you to log-in to your Diablo II account quickly and automatically.; ----------------------------------------------------------------------------#NoTrayIconRun("C:\Program Files\Diablo II\Diablo II.exe")WinWaitActive("Diablo II")Sleep(3500)MouseClick("left",512,384,3)Sleep(500)MouseClick("left",402,352,1,0)Sleep(2000)MouseClick("left",396,335,1,0)Dim $1, $2$1 = IniRead("C:/Program Files/Diablo II Auto-Login/Settings.ini", "Information", "AccountName", "LookAtReadme")$2 = IniRead("C:/Program Files/Diablo II Auto-Login/Settings.ini", "Information", "Password", "dipshit")Send("{CTRLDOWN}a{CTRLUP}{DEL}+{TAB" & $1 & "}")Send("{TAB}+{TAB" & $2 & "}{ENTER}")

And Here is the code to the .ini file:
;This is the configuration file for Diablo II Auto-Login Script.;It is pretty self-explanatory, but I am sure someone out there is clueless;Enter your account information like so:;AccountName=YourDiabloIIAccountName;Password=YourPassword;[Information];AccountName=tyizaelPassword=xxxx

I believe the problem may lie somewhere withing the .ini file (maybe my formatting). Please help a newbie, this is only the second script I've attempted to make.

Share this post


Link to post
Share on other sites

Hey Austin, here is the program that I wrote today. It took about 8 hours (my longest AutoIt program yet), but it was worth it. Hope you like it, and I gave you half of the credit for the idea although ive made a few d2 logon bots before. BTW, go to http://www.webs.com/
aandsdiablobot which stand for Austin & Dandy's Diablo Bot. It is my website. Email me at: dandymcgee123@yahoo.com and tellin me what you think of it. I'll reply and give you the pass to the account so you can edit the webpage yourself. Cheers, Dan

Edited by dandymcgee (see edit history)

Share this post


Link to post
Share on other sites

how can i delete the existing data in edit box

Autoit V3 Question

 

I want to delete the data in edit box.

I can do this by select the data and pressing the delete key , but how can I do this automatically by writing the script.

 

-reply by rahul

Share this post


Link to post
Share on other sites

installed autoit but not able to write script

Autoit V3 Question

 

I have installed autoit but not able to write script...From where can I write scripts..Can anybody help me???

 

-reply by sunny

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

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.