Results 1 to 4 of 4

Thread: if loggedin?

  1. #1
    Join Date
    Feb 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default if loggedin?

    I'm making a really, really simple thieving script
    that basicly thieves by clicking on a color
    found on a stall, and logs back in if logged out.
    How can I make a procedure to check
    if it's logged out. The screen logged out looks like (below).
    Can i use colors or something to see if its logged out.





    Also how can i make a procedure to find this color (as show in pic below), move mouse to it. then left click it, Thanks a ton - Andy.

  2. #2
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Simba Code:
    if(not(LoggedIn))then

    There's already a function
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  3. #3
    Join Date
    Feb 2011
    Location
    Wisconsin
    Posts
    398
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Simba Code:
    if(not(LoggedIn))then

    There's already a function
    I think he is trying to make a script for a private server.

  4. #4
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    you can use color to detect login page but make sure the color u choose do not conflict with the thieving area. (eg. if FindColorTolerance then LoginPlayer)
    you can also use FindColor/FindColorTolerance for clicking. If you need a guide for that refer to http://villavu.com/forum/showthread.php?t=19162 (scroll down to the "Clicking Colours" part)

Thread Information

Users Browsing this Thread

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

Posting Permissions

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