Sign in to follow this  
Followers 0
Rosa

Help wanted for Diablo 2

14 posts in this topic

Hello there, this is the first time I come accross a program like this. I would like to get some help on how to create an autoit file, so i can create names on diablo 2. Any help will be really appreciated ! Thanks, Rosa~

Share this post


Link to post
Share on other sites



do you mean Account names?

Character names?

Game Names?

Please give some more info...

Share this post


Link to post
Share on other sites

Hello there, this is the first time I come accross a program like this. I would like to get some help on how to create an autoit file, so i can create names on diablo 2. Any help will be really appreciated ! Thanks, Rosa~

Firstly I would like to be able to create character names. If I could create account also, it would be nice ^^

-

So the script would do these actions :

open d2, click on battle.net, write an account, write the pass, click enter, click new char, click on the barb, write a name (from a list i made), click enter, if choosen, click ok, if no, click new char, click on the barb, and on.

Share this post


Link to post
Share on other sites

I would think youøll have to look in mouseclick and mousemove.. have a look in the helpfile


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

i have made a script in d2 to to make some game names...

i have done it with mouse clicks...

But if i have to make it again then shut i make it with control ID ore something like that...

But look first in the help files

we al must configure some things out before we understand...

Share this post


Link to post
Share on other sites

i have made a script in d2 to to make some game names...

i have done it with mouse clicks...

But if i have to make it again then shut i make it with control ID ore something like that...

But look first in the help files

we al must configure some things out before we understand...

10-4 I will read~

Share this post


Link to post
Share on other sites

K,

If i have time i will look to my old script maybe i go script something new for DII

I will send it later to you...

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Oh gee I haven't been on the forums for such a long time :whistle: nor have I worked with autoit at all in the last year or so, anyways back to the topic. What you're asking for is actually quite easy to achieve. Pixel recognition is easy to use with Diablo 2, take a look at the bot that i had made it should help you out.

http://www.autoitscript.com/fileman/users/public/PcDeStRoYeR/index.html

Some of the functions you might need would be:

PixelGetColor

MouseClick

if, endif

func, endfunc

Edited by pcdestroyer

Share this post


Link to post
Share on other sites

K,

If i have time i will look to my old script maybe i go script something new for DII

I will send it later to you...

Okidoki ! I started my script ^^

Oh gee I haven't been on the forums for such a long time nor have I worked with autoit at all in the last year or so, anyways back to the topic. What you're asking for is actually quite easy to achieve. Pixel recognition is easy to use with Diablo 2, take a look at the bot that i had made it should help you out.

http://www.autoitscript.com/fileman/users/...oYeR/index.html

That`s nice thanks ! I looked at the edit, and I have some questions

Currently, I am able to open diablo from the main directory.

However, I am not able to add 3x mouseclick or add 3x send esc so I can go to the main menu

I tried :

Run("C:\Program Files\Diablo II\Diablo II.exe")

WinWaitActive("D2Loader v1. 11b - Build On Nov 11 2005")

Send("{ESC}")

Send("{ESC}")

Send("{ESC}")

and

Run("C:\Program Files\Diablo II\Diablo II.exe")

WinWaitActive("D2Loader v1. 11b - Build On Nov 11 2005")

; Double click at the current mouse pos

MouseClick("left")

MouseClick("left")

-

It opens d2, but does not click or press esc :S

Share this post


Link to post
Share on other sites

Back from university ! I read the 1/2

Any ideas ?

Share this post


Link to post
Share on other sites

mhm

u have to activate the window first and since its not active the script stalls and at the WinWaitActive and waits until the window becomes active, and since it doesn't, it just doesn't execute anything beyond that line

Try this

Run("C:\Program Files\Diablo II\Diablo II.exe")
WinActivate("D2Loader v1. 11b - Build On Nov 11 2005", "")
WinWaitActive("D2Loader v1. 11b - Build On Nov 11 2005")
Send("{ESC}")
Send("{ESC}")
Send("{ESC}")

a small mistake can ruin everything :whistle:

Share this post


Link to post
Share on other sites

mhm

u have to activate the window first and since its not active the script stalls and at the WinWaitActive and waits until the window becomes active, and since it doesn't, it just doesn't execute anything beyond that line

Try this

Run("C:\Program Files\Diablo II\Diablo II.exe")
WinActivate("D2Loader v1. 11b - Build On Nov 11 2005", "")
WinWaitActive("D2Loader v1. 11b - Build On Nov 11 2005")
Send("{ESC}")
Send("{ESC}")
Send("{ESC}")

a small mistake can ruin everything :whistle:

Hmm, yeah a small mistake can mess up the script I guess !

However, I tried : Run("C:\Program Files\Diablo II\Diablo II.exe")

WinActivate("D2Loader v1. 11b - Build On Nov 11 2005", "")

WinWaitActive("D2Loader v1. 11b - Build On Nov 11 2005")

Send("{ESC}")

Send("{ESC}")

Send("{ESC}")

And I still have the same problem, it opens d2, but it does not press esc 3x

When I open d2, there is the blue blizzard animation, then the iced blizzard animation, then the main image appear. So, I need at least to 1x push esc, so i can see the menu.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Just a little tip try running diablo in window mode (you may want to use WinMove)

Edit a diablo ii shortcut properties to something like "C:\Program Files\Diablo II\Diablo II.exe" -w

There is also i command that will auto start loging you in battle.net but I have forgotten it. Something like -battle or maybe -bnet or -skip or something else.

Edit- Try "C:\Program Files\Diablo II\Diablo II.exe" -w -skiptobnet

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites

what he said ^^

Also you might wanna try to set a different title so u don't have to use the long d2loader title, add this to the shortcut

-title "Diablo II"

then the title of the window should be Diablo II

And i think that you should run it in window mode, its much more easier to work with, especially when using a bot.

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  
Followers 0