Results 1 to 8 of 8

Thread: Click on a RS text?

  1. #1
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Click on a RS text?

    Ok.. im making a script and i have made everything needed to release it BUT one thing is bad.. i use mouse coords.. it WILL get anyone banned so i wonder if theres anyway to click on a 'Yes' text?

    Edit: If your gona say DTM then i say ' it dosent work,tried'

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what i do:

    you can click the yes over the whole vertical line. take the coords in the left upper corner. (while you can still click yes.).

    and do something like this
    Mouse(X, y, 150, 5, True);
    or just:
    SCAR Code:
    ClickNpcChatText('Yes', True);  //sometimes fail

  3. #3
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm.. well if it fails, is there any way to make it 100% working?

    Edit: and the scripts this is for is constuction

  4. #4
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Lol, look at Text.scar Yanix.

    FindText(X, Y, Text, Font, x1, y1, x2, y2).

  5. #5
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sure.. ah crap scar is gone on this pc.. ill release the script tomorow with anti-ban and stuff.. I know atm that no one will use it but hey it will work

    Edit: do i have to edit Font..? i know Text is should be 'Yes' but font..

  6. #6
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Fonts:

    UpChars = The yellow bold text that appears on main screen.
    SmallChars = The chars in chatbox
    StatChars = levels and amounts of items.
    TradeChars = guess.

  7. #7
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still dont get it

    my donkey brain tells me that TradeChars is what i whant?

  8. #8
    Join Date
    Jun 2007
    Posts
    1,312
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You want upchars. I guess I could be wrong, but you could go through trial and error. Add a (Wait(300+random(300)), because the game lags like hell. It scans before it even loads.
    Active only during the Summer...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Grabbing or reading Text from a game text box
    By British in forum OSR Help
    Replies: 16
    Last Post: 02-27-2009, 08:02 AM
  2. Getting text from text window?
    By Gone Fishing in forum OSR Help
    Replies: 8
    Last Post: 04-24-2008, 07:33 PM
  3. How do i click with C++?
    By Rs-Gp-4U in forum C/C++ Help and Tutorials
    Replies: 6
    Last Post: 03-12-2008, 06:16 PM
  4. Find a Chest & Left Click,Right Click
    By yanix in forum OSR Help
    Replies: 3
    Last Post: 10-03-2007, 06:40 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
  •