Sign in to follow this  
Followers 0
iiMentalist

Auto Login Help

5 posts in this topic

Hello people of the AutoIt forum! So I discovered this language a few days ago and have been messing with it lately. I thought of the idea to create a auto login tool that would sign into RuneScape (via the game client located here (this is also open source if it would help with this)) because I find it annoying to constantly do it over and over again. I have successfully been able to start it and I have tested it using Send() so I know it can be done. The only thing that stops me is the pesky loading bars. For anyone familiar with the game client you know there are two load bars.

The First:

Posted Image

The Second:

Posted Image

I looked through all the commands that I could think of and tried finding some that did waits and couldn't think of a good way of doing it. I looked through the WinWait()/WinWaitActive() and couldn't find anything in those that would help. I then thought about using a timed Sleep() amount but didn't like that since if they do updates that will change.

One way that (theoretically) would work would be to use a While loop that exits when a certain pixel (or group of pixels) is detected at a certain spot. However, I just wasn't sure if I was missing something different or more efficient.

I tried searching the forums for something that could help and couldn't find anything. The only thing that I wasn't sure about was a post that redirected but I can't figure out what it is exactly as I am new to AutoIt (and relatively new to programming in general).

I apologize if I have missed a command or something that is blatantly obvious. Thank you though for any help.

(I would provide some code for examples of what I mean but I haven't actually written any that pertains to the issue. Only have code to open the game right now.)

Share this post


Link to post
Share on other sites



Posted Image

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

Well thank you for the point to the forum rules but I have already gone over them. I didn't think this would be against the rules because I am not trying to automate any part of the game itself. All I am trying to do is automate the login process because it is just annoying to do it every while I could just run a script to do it for me. Once it logs into the world selection screen then I would take over from there. If that is still against the rules though I am sorry, I didn't think it would be.

Share this post


Link to post
Share on other sites

donno why anyone who did not get any answer in more than 10h on a simple subject as this should think that after someone point him to the rules that he's not braking them :)

If that is still against the rules though I am sorry, I didn't think it would be.

yes it is, sorry to disappoint you :mellow:


TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

donno why anyone who did not get any answer in more than 10h on a simple subject as this should think that after someone point him to the rules that he's not braking them :)

yes it is, sorry to disappoint you :mellow:

Okay. Well I am sorry for asking then. My interpretation of the rule was that it was talking about interface with the game itself and botting, not so much with what I was asking. Again, I am sorry for asking. I was not meaning to break any rules.

Edited by iiMentalist

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