Results 1 to 12 of 12

Thread: how to get it to work

  1. #1
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default how to get it to work

    what things do u need to get Buy to work?
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  2. #2
    Join Date
    Dec 2006
    Location
    .̿̂̔͋͗̎̆ͥ̍̒ͤ͂̾̌̀̅
    Posts
    3,012
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    What? Do you mean you want the script to buy something?

    If you do then I suggest using TPoint(s) from the center(s) of the item(s) and adding and reducing a certain amount of coordinates from the TPoint (so it clicks around the TPoint).. Then just use something as such as

    SCAR Code:
    if ChooseOption(x, y, '10') then
      TimesBought := TimesBought + 1;
    ...
    // or just ChooseOption

    Or you can use cases for that too... (Clicks different part of "Buy 10" text.. Antiban?)

    SCAR Code:
    case Random(Something) of
      0: ChooseOption(x, y, 'Buy 10');
      1: ChooseOption(x, y, 'uy 10');
      ....
    end;

    Might not have anything to do with what you were looking for but I really didn't understand what you meant.

  3. #3
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    no...theres a procedure called Buy(i,amount)...and i try to use {.uncludes srl/srl/skill/buysell.scar} but then it doesnt work
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  4. #4
    Join Date
    Oct 2006
    Location
    Texas
    Posts
    1,450
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Maybe cause its outdated. Just do it the way GoF said and make a coord box for it.

  5. #5
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    im confused about TPointBoxes, the tut i read says it makes a box around the x, and y coordinate...so how would you make a box around where u want to look?
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  6. #6
    Join Date
    Oct 2006
    Location
    Texas
    Posts
    1,450
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Just use the crosshair to grab coords. Don't worry bout TBoxes right now those are a little more advanced. I believe there is a guide on them over in tutorial Island.

    Code:
    And a coord here at the top left hand side EX. (154,98);
    +------+
    |         |
    |         |
    |         |
    +------+ <---get color here A.K.A the coord for EX. (152,15);
    now the box would be Box(154,98,152,15); Then scar would click inside of that box.

  7. #7
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    [kinda offtopic] that technically isn't a correct coord because they are lower, the closer they are to the top left hand corner[kinda offtopic]

  8. #8
    Join Date
    Oct 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    omg i keep getting messages saying SRL.scar does not exist and BuySell.scar does not exist this is on the nat making script can someone help me please!!!

  9. #9
    Join Date
    Oct 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    please help me on what i posted soon!!

  10. #10
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    How about you post your own thread instead of hijacking someone else's?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  11. #11
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    06-15-2007, 02:50 PM ...xboxguy9, plz dont gravedig.

  12. #12
    Join Date
    Oct 2006
    Location
    MI USA
    Posts
    3,166
    Mentioned
    6 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by xboxguy9 View Post
    omg i keep getting messages saying SRL.scar does not exist and BuySell.scar does not exist this is on the nat making script can someone help me please!!!
    Quote Originally Posted by xboxguy9 View Post
    please help me on what i posted soon!!
    Hi and Welcome to the forums, If you wish to remain at this community, Please take the time to read the rules.....Please make sure to read all stickied topics in each subforum...Please make sure to use the search button before posting a question, chances are, someone else has had the same question..asked it and had it answered........Please do not disturb old posts...Please do not hijack posts with questions not pertaining to the original post.......Please do not double post, learn to use the edit button.....Please do not bump posts...be patient, everyone else has lives here and is not our personal assistants....

    Best Regards,

    ~RAM


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how come this does not work?
    By takeout in forum OSR Help
    Replies: 3
    Last Post: 09-14-2007, 03:44 PM
  2. how come this does not work?
    By takeout in forum OSR Help
    Replies: 2
    Last Post: 09-11-2007, 09:19 PM
  3. Been Trying To Get This To Work : /
    By Speci in forum OSR Help
    Replies: 15
    Last Post: 07-21-2007, 12:17 PM
  4. how does rc work
    By del_signo in forum OSR Help
    Replies: 4
    Last Post: 05-10-2007, 02:47 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
  •