Could someone point me in right direction...

22 posts in this topic

Hyflex 2

I need to know how to read from an ini file and how to get it working... or have a GUI interface... so when i click a box it will add part of the function to the main script... do you see what i mean... and the text they enter in for account and password for it to read from the GUI and press the correct keys...

There will be a setting also asking how many seconds they want to take in a game... i want it so if they choose 2 hours.. cant remember how long that is in seconds, for it to do 2 mins of that 2 hours and then do something... and then another 2 mins and do something again, and so on.

And i need help with a random string of text + numbers. for game name + password

Ive ready though most of the help files, i learnt how to some stuff, but not the main bit.

Hyflex 2

Select Realm (Will have four different functions and want to select just one of them from the GUI where one of the arrows are....)

Click in box, and type the text what is in input box one, then click in another box and it will type the text from the second input box.

Now Select Character 1, and Create game, Useing random string so it clicks in a box, and then i want the random string, and then clicks in different box and does random string. and presses Enter(return)

Now i want it to run one of two scripts(will have two options in the GUI where the other arrow is) (One of these scripts i want to move to a certain place on screen, say something and move back and say something, press w twice and just do this over and over for 2 hours exact!)

Once done, i will need it to exit that game.... and do another bits of clicking and thern we are back to creating game, it does it like 6 times i think...

Share this post

Link to post

Share on other sites

jvanegmond 289

XxXGod, are you looking for some help with your script, or do you want me to write the entire thing? If so, offer me some money or another service that you might offer and I will consider doing it for you.

Share this post

Link to post

Share on other sites

jvanegmond 289

- Nope i dont want you to do all, im just trying to get help on the parts im stuck with, athough it depends what you would want for u to do most/all xD

So basically you are stuck starting the script off, then doing some debugging, you are stuck with the mid-section of the script, and the finalisation.. Ahh, sure. Let me look into it, and I will return you working code in a few 15 minutes.

i can do all the coords and realm stuff, but how do i enable a selection box for it to run differnt functions, and the random game name part how do i encoperate tht.

EDIT: How do i change

it so: Run(@ProgramFilesDir & "\Diablo II\Diablo II.exe") how can i get it so i can choose the directory... but default is that.... Cos i would use d2loader.exe .... and on bros comp he usees Diablo II.exe i keep the files for d2 in shared area on a diff comp to stop battlenet detecting it as easy

GUICtrlRead() is the function to use to "get" the text inside the input control. And as putting it in the username/password inputs in Diablo 2, use the Send() function, all information necessary is at my previous post. PM me if you get stuck on anything more.

Kurt

PS: What's the version in Diablo? Still 1.11? I haven't played in quite a bit, but I still have a love for the game.