Results 1 to 13 of 13

Thread: A way to do these things??

  1. #1
    Join Date
    Aug 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default A way to do these things??

    Ok, well i started production on an ess miner, so far i have it to walk down to Auburys shop, but i need a decent and reliable way to make it right click Abury and then click teleport.. any one got a way??


    Oh and one more thing, i have made two walk to Aubury procedures, is there a way to make it randomly select a way to go??

    Thanks for your time

    ~Bigfish

  2. #2
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    1,330
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well when selecting a random way to go there are many choices. You can put them into two procedures like below

    SCAR Code:
    procecdure WalkAub1;
    begin
    end;

    procedure WalkAub2;
    begin
    end;

    Procedure ChooseAuburyPath;
    begin
      case random(2) od
        0:walkAub1;
        1:WalkAub2;
      end;
    end;

    Just as a example. With the walkaub1 and 2 being your two differenct walk paths and the choose aubury path written into your main loop.

    And for aubury. Findobj? or is that to slow and obvious? I really dont have a clue there have been many different ways of finding aubury over the years. Including turning chat off and waiting for the seventor blah blah text to come up. I also tried doing it from the purple spiral that surronds players when they get teled. Although it didnt work all to well.

  3. #3
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    There's also finding colors, and checking the uptext. (and then resetting the aubury color once you find him for faster finding next time).

  4. #4
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    1,330
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If it found him why would you reset it?

  5. #5
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Sorry didn't explain enough.

    You have a variable that stores a color that aubury contains, probably some shade of brown.
    Most likely that color will get false positives on the fire and other brown stuff when you use findcolor. But you can tell the apart the decoys by mousing over and using uptext. When you find one that works and you know where aubury is, you set the variable to another color on him, you keep doing this and get less and less false positives, so faster finding. This works best with multiple colors, and you only change 1 each time. You want to do as much finding by color as possible because the uptext way takes longer and looks weird if you mouse is being tracked. So find by uptext helps you to find by color later.

  6. #6
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Make a Color Array and.. When it gets Up text or some shit

    Getcolor and so on

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

    Default

    The rune shop isn't that big a place, and you could alternatively mouse over it until you had the UpText of Aubury's name. That way people won't stop you by standing over him. Mouse logs are a lot less suspicious (I believe) than someone realizing, "Hey, this guy just stands there if I block Aubury." and then reporting you.


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

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

    Default

    Hmm thanks guys

    I have no idea on this, FinObj code, or IsTextAt thing
    Has any one got any tutorials??

    Thanks

    ~Bigfish

  9. #9
    Join Date
    Aug 2006
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh and 1 more thing, how do you do auto colours? not like finding symbol colors but like getting colours of say... the floor?

  10. #10
    Join Date
    Jun 2006
    Posts
    366
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well for isuptext its preetty easy... you just put isuptext('texthere').. then it gets the mouse to where the text was.. Then u make it click there.. Since ppl might stand on the guy abury u cant use the color findin code I am using for my air rune crafter...and for the auto color.. I was planing on making a help topic abt it when i get the time...

  11. #11
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    1,330
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Most auto colors are done on bitmaps of the auto in question. Although i suggest you dont do it for mocing things such as people. You increase the tolerance until you find it. Many other scripts ahve this so your best bet is to look inside them. I really dont know abotu getting a new color thing. So many things could go wrong. Someone could be standing ontop of him just as you read uptext. then you get color. Or the mouse is just like one pixel to left of him but uptext still comes and it getscolor anyway.

  12. #12
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Bigfish58 View Post
    Hmm thanks guys

    I have no idea on this, FinObj code, or IsTextAt thing
    Has any one got any tutorials??

    Thanks

    ~Bigfish
    Not really, just use

    SCAR Code:
    repeat
       begin
       //insert aubury finding code
       end
    until (IsUpText('ubury'));


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

  13. #13
    Join Date
    Jun 2006
    Posts
    366
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I was talking abt the auto color finding things.. You know how there is a comman something like findfaladorcolor.. So once it finds the colors how do i use the colours? What name are the colours stored as...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with 2 things...
    By ShapeShifter in forum OSR Help
    Replies: 4
    Last Post: 11-10-2007, 07:39 PM
  2. bot not doing the things i want
    By 12 beau 12 in forum OSR Help
    Replies: 26
    Last Post: 06-21-2007, 09:07 AM
  3. am i seeing things...
    By Dark_Sniper in forum Discussions & Debates
    Replies: 6
    Last Post: 05-17-2006, 02:01 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
  •