Jul 25, 2008

Autoit V3 Question - Help a Newbie Out

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Others

free web hosting

Autoit V3 Question - Help a Newbie Out

_TyIzaeL_
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:
CODE
; ----------------------------------------------------------------------------
; 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.
; ----------------------------------------------------------------------------
#NoTrayIcon
Run("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:
CODE
;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=tyizael
Password=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.

 

 

 


Reply

Inspiron
May I ask you what kind of script is this? What is the programming language used? It doesn't seem like a programming language that I know of..

Reply

_TyIzaeL_
The language used is AutoIt V3. It's a script I am making to to quickly log on to Diablo II, like I said I'm still haveing trouble with the variables sad.gif

Reply

dandymcgee
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 www.freewebs.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

Reply

iGuest
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

Reply

iGuest
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. autoit v3 bot problem - 1.81 hr back. (1)
  2. autoit program files - 2.86 hr back. (1)
  3. autoit diablo bot - 15.40 hr back. (1)
  4. autoit help - 13.81 hr back. (2)
  5. entering data autoit example - 16.18 hr back. (1)
  6. example enter data autoit - 16.26 hr back. (1)
  7. autoit battle.net - 16.33 hr back. (1)
  8. entering data autoit - 16.37 hr back. (1)
  9. passing variables to autoit v3 - 17.95 hr back. (1)
  10. autoit bot script - 22.13 hr back. (1)
  11. autoit send variable - 29.92 hr back. (1)
  12. autoit - 19.94 hr back. (3)
  13. autoit web page login example - 32.30 hr back. (1)
  14. autoit v3 tabulation - 39.43 hr back. (1)
Similar Topics

Keywords : autoit, v3, newbie

  1. Webmaster Backup
    newbie in backups (0)


      Looking for autoit, v3, newbie

Searching Video's for autoit, v3, newbie
advertisement



Autoit V3 Question - Help a Newbie Out



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE