Results 1 to 9 of 9

Thread: My Trade Procedure, Function

  1. #1
    Join Date
    Nov 2006
    Posts
    120
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My Trade Procedure, Function

    While making my player to player merchant i was dismayed at the lack of procedures and functions. So i made 2 of my own to share with the world.

    SCAR Code:
    {Function FindTheTrade
    By: Ransom
    Description:
      Returns True if purple trade color
    is in the chat window}


    Function FindTheTrade : Boolean;
    var xx, yy : integer;
    begin
    if (FindColor(xx,yy,8388736,20,355,425,430) = True) Then
      result := True;
    end;

    and

    SCAR Code:
    {Procedure OpenTrade;
    By: Ransom
    Description
      Opens Trade by clicking trade chat
      in chat window}


    Procedure OpenTrade;
    var cx, cy : integer;
    begin
    if (FindColor(cx,cy,8388736,20,355,425,430) = True) Then
      begin
        Wait(500);
        CMouse(cx+10,cy+3,0,0,True);
        Wait(500);
      end;
    end;


    Hope they provide useful!

    Ransom

  2. #2
    Join Date
    Nov 2006
    Posts
    235
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I probably wont use it, but im sure this will be very usefull to someone.

  3. #3
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is already in SRL\SRL\misc\trade.scar, but good effort

  4. #4
    Join Date
    Nov 2006
    Posts
    120
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Infintry001 View Post
    this is already in SRL\SRL\misc\trade.scar, but good effort
    Nah the ones there don't work very well. The trade chat must be in the last line (nearly impossble in busy situations) and there is no function like mine .... but good effort. Don't Patronize me

  5. #5
    Join Date
    Feb 2006
    Posts
    406
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    have you tried turning chat to hide?

  6. #6
    Join Date
    Nov 2006
    Posts
    120
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes...
    didn't like it...
    thats why i made these...

  7. #7
    Join Date
    Sep 2006
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What does this script actually do? can someone exlpain?

  8. #8
    Join Date
    Aug 2006
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by lelle View Post
    What does this script actually do? can someone exlpain?
    If u find trade in ur chat window...it'll click for u.....to make trading with the one who offer u something...

  9. #9
    Join Date
    Dec 2006
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is an old post i know... just wanted to let you know this is exactly what i was looking for, and do you mind if i use it in my new script. ill give you credits
    Download Looney/GoFez0r's Merchanter v.1.1
    http://www.fenjer.com/adnan/SRLStats/57.png
    http://www.fenjer.com/adnan/SRL/8/2/...nt%20Alpha.png
    MSN:ghettogeec@hotmail.com
    Procedure CreateCommonItemMerchant;
    if CommonItemMerchant=Working then
    CreateFullMerchant;

    Scar= Me=

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A Function/Procedure
    By Abbott in forum OSR Help
    Replies: 7
    Last Post: 09-09-2008, 08:48 PM
  2. Function and Procedure 'variables'.
    By Wizzup? in forum OSR Advanced Scripting Tutorials
    Replies: 11
    Last Post: 03-27-2008, 03:07 AM
  3. 1 procedure or function
    By Kasi in forum OSR Help
    Replies: 1
    Last Post: 03-03-2008, 10:12 PM
  4. [REQ] Trade: Check & Accept Function
    By Trifonius in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 01-21-2008, 05:29 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
  •