Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Autoit V3 Question, Help a Newbie Out
_TyIzaeL_
post Jan 5 2006, 02:44 AM
Post #1


Newbie [Level 1]
*

Group: Members
Posts: 20
Joined: 16-November 05
Member No.: 14,379



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.
Go to the top of the page
 
+Quote Post
Inspiron
post Jan 5 2006, 04:28 AM
Post #2


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



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..
Go to the top of the page
 
+Quote Post
_TyIzaeL_
post Jan 5 2006, 11:29 AM
Post #3


Newbie [Level 1]
*

Group: Members
Posts: 20
Joined: 16-November 05
Member No.: 14,379



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
Go to the top of the page
 
+Quote Post
dandymcgee
post Jul 22 2006, 06:01 AM
Post #4


Newbie
*

Group: Members
Posts: 1
Joined: 22-July 06
Member No.: 27,033



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

This post has been edited by dandymcgee: Jul 22 2006, 02:26 PM
Go to the top of the page
 
+Quote Post
iGuest
post Mar 17 2008, 12:48 PM
Post #5


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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
Go to the top of the page
 
+Quote Post
iGuest
post May 8 2008, 02:38 PM
Post #6


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Webmaster Backup(0)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:30 AM