Results 1 to 2 of 2

Thread: My First Script - Autlogin (Starts at Desktop)

  1. #1
    Join Date
    Apr 2007
    Location
    California
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    My First Script - Autologin (Starts at Desktop) ~Updated

    This is my first script, and i'm sure it probably sucks but whatever. It took me a while and it uses bmps and colorfinding only (mainly because a script i ran that used coordinates didn't work too well, which i guess was because of different resolutions. So i'm hoping the way i made mine will make it work for everyone.) To start it set the window to your desktop, and you need to have the runescape browser on your desktop with it's original icon. You need to set lines 11-14. It's pretty self explanatory. I ran it a couple times and it worked for me. Please let me know if it's good and/or how i can improve it. Thanks!

    Edit: Tweaked it a bit, it now uses SRL include and MMouse instead of MoveMouseSmooth. It also clearsdebug before starting, then gives little notifications on each step it does. And please at least test it out for me if you view this

  2. #2
    Join Date
    Dec 2006
    Location
    Auckland, New Zealand
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    In the main loop instead of having random waits use

    SCAR Code:
    repeat
    wait(500)
    until(...);

    In the ... change to a clause of some sort so it keeps waiting until it finds a color or something.

    Also
    1. In FreeBmps how come you dont free the other bmps?
    2. The initial opening has very small y end co-ords. my screen is 1280 x 1024 if it was on the 1/3 of the screen it would stop.

    But otherwise decent first script.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MTV starts the battle of the bots.
    By A n o n y m o u s in forum News and General
    Replies: 7
    Last Post: 10-10-2008, 01:06 PM
  2. Replies: 10
    Last Post: 11-10-2007, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •