Results 1 to 6 of 6

Thread: Detect other players?

  1. #1
    Join Date
    Sep 2008
    Location
    Nova Scotia, Canada
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Detect other players?

    I like my antiban to do things I would normally do when playing legit. And one thing I always, always, always do (I have no idea why) is right-click on every player that crosses my screen.

    But I have no clue how to do that in scar, or even where to start.
    http://www.stats.srl-forums.com/sigs/6137.png

    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - Put this in your sig.

  2. #2
    Join Date
    Feb 2007
    Posts
    211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There are a few ways some more complicated then others, you could use color finding and find the player and mouse to him/her or something with the chance of missing some players etc, you could watch for movement (more difficult), You could use Reflection to get the players and right click them if they are on your mainscreen and possibly add a boolean to it for if you have all ready clicked on them [The most accurate, probably the easiest]
    Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
    Upcoming Project: Open For Suggestions

  3. #3
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Pentti made this a while ago, you should talk to him

  4. #4
    Join Date
    Oct 2006
    Posts
    1,190
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Hugolord View Post
    Pentti made this a while ago, you should talk to him
    im pretty sure pentii quit and his last activity was Last Activity: 12-24-2007, i had him on msn and he hasnt logged for a long time

    SCAR Code:
    {*******************************************************************************
    function GetPlayers: array of TPlayer;
    By: Widget
    Description: Returns all the players on the minimap
    *******************************************************************************}

    function GetPlayers: array of TPlayer;

    the easiest option would be reflection, but i suggest that you try to use color to find it as you will learn more about SRL while doing it



  5. #5
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah there are a lot of functions in reflection to do with players check it out and im sure theres a function that shows all the names of the players in view or something similar


  6. #6
    Join Date
    Sep 2008
    Location
    Nova Scotia, Canada
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Thanks

    Cool. Thanks.

    I was looking for something non-reflection so I'll back burner this for a while.
    http://www.stats.srl-forums.com/sigs/6137.png

    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - Put this in your sig.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to detect a virus
    By kingarabian in forum Computer Help and Tutorials
    Replies: 15
    Last Post: 09-27-2009, 06:50 AM
  2. Replies: 5
    Last Post: 07-26-2008, 08:16 AM
  3. detect health?
    By Mistagnerd in forum OSR Help
    Replies: 11
    Last Post: 11-12-2007, 07:46 PM
  4. How to detect text?
    By I Karma I in forum OSR Help
    Replies: 14
    Last Post: 12-02-2006, 09:45 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
  •