Results 1 to 3 of 3

Thread: Hi all problem with mouse icon/FindColor

  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Hi all problem with mouse icon/FindColor

    HI all, I'm new to SRL, and have only written a few basic scripts for a 3d MMORPG other than Runescape. ATM I'm working on creating a trading script an easy task I thought...Navigate to the trader and buy goods then navigate elsewhere and sell em. I tried to use FindColor but when I tested it the script rarely worked b/c the screen either rotated and caused the color to be blocked by me or by something else, or either the daytime color was different from the nighttime color=/... I began to look for ways around the problem but i don't know much about DTM's, BMP"s...But I did notice that whenever I moved the mouse over the trader NPC even if it was blocked or not the mouse icon changed to another icon and had a specific color which nothing else near the middle of the screen had. So my question..Is there a way to make the mouse move around the center of the screen until the mouse icon changes shape and color, then click at that point? Thank in advance any help is appreciated^^
    I can send SS or give more info if needed.
    ~Clmbz

  2. #2
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    tbh, i didn't read all of it... lol, but try my tut about colors and you may find something for your problem
    Hi

  3. #3
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Scar Manual:
    FindColorTolerance -> that's what you need because the colors change

    and considering that it is not for runescape... i would indeed suggest you read color tuts, and bmp tuts to start with, because if the mouse changes to something specific then you can probably also check for that.

    Also, you might want to look at FindObjCustom in Object.scar, and don't use any UpText.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Icon showoff!
    By Drakan in forum Computer Help and Tutorials
    Replies: 1
    Last Post: 05-09-2008, 07:22 PM
  2. Summoning Icon?
    By Drunkenoldma in forum News and General
    Replies: 15
    Last Post: 12-23-2007, 06:41 PM
  3. scar icon
    By ReFLeX in forum Misc. Links and Programs
    Replies: 1
    Last Post: 04-19-2006, 02:45 AM

Posting Permissions

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