Results 1 to 9 of 9

Thread: Pest Control Help

  1. #1
    Join Date
    Mar 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Pest Control Help

    Im making a pest control script but I have no idea how to make him do random stuff in the boat waiting to go to the isand to fight. I know that I'll have the script search for a color once it gets to the isand to continue the script. I want it to be random to so it dosent do the same thing over and over again. Thanks in advance.

  2. #2
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by lickaflame View Post
    Im making a pest control script but I have no idea how to make him do random stuff in the boat waiting to go to the isand to fight. I know that I'll have the script search for a color once it gets to the isand to continue the script. I want it to be random to so it dosent do the same thing over and over again. Thanks in advance.
    all you have to do is tell it to move the mouse randomly over the screen.. ill get the procedure thingy for you.

    SCAR Code:
    MouseBox(MSx1, MSy1, MSx2, MSy2, 3);

    it justs moves mouse randomaly so u dont auto log out... and id advise seting chats too off

  3. #3
    Join Date
    Mar 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That is a good one, Thanks but now my only promblem is that it gets to the Island and it dosent start to walk to the middle and just repeats the top part. Can anyone help me out.


    Code:
    Procedure WaitInBoat;
    begin
    repeat
    MouseBox(MSx1, MSy1, MSx2, MSy2, 3);
    Wait(10000 + Random(500));
    RandomEmote;
    until  Findcolor(x, y, 1662507, 1, 1, 600, 600)
    end;
    
    Procedure GoToMiddle;
    begin
    If Findcolor(x, y, 1662507, 1, 1, 600, 600)  then
    RadialWalk( 223415, 182, 171, 69, 0,0);
    flag;
    end;

  4. #4
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Since the colors in runescape change you will have to make an autocolor procedre for the 223415 color. you should also use findcolortolerance instead of findcolor.

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

    Default

    I'm not sure how you would do this, but a deformed bitmap might work.
    [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]

  6. #6
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There are several ways to autocolor anything
    1) AutoColorThis auto colors a bitmap
    2) I sometimes make a dtm with the parent point being the color i want to get and then search for the dtm at x,y and then getcolor at x,y
    3) There are several auto color functions in srl database that you can use to make your own.
    4) Maybe don't even use a color use a DDTM or a regular DTM and adjust the tolerances accordingly.

  7. #7
    Join Date
    Mar 2007
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, this is just an outline. I'm going to put in all the auto color stuff in later. I try a bitmap or maybe a dtm but any else got any ideas?

  8. #8
    Join Date
    Oct 2006
    Posts
    1,071
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I think Santa's right, you could use a deformed bitmap.

    check out the FindDeformedMM procedure by nielsie http://www.villavu.com/forum/showthread.php?t=9513 then you could click on the minimap to get there.

  9. #9
    Join Date
    Dec 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is there a link anywhere here for that PC Bot?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pest Control
    By thematpan in forum RS3 Outdated / Broken Scripts
    Replies: 10
    Last Post: 11-28-2008, 05:31 AM
  2. Pest Control for jrs.
    By Userkill in forum RS3 Outdated / Broken Scripts
    Replies: 10
    Last Post: 10-04-2008, 12:06 AM
  3. Pest control.
    By jakeyboy29 in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 08-30-2008, 06:06 PM
  4. pest control
    By BigJohn8742 in forum First Scripts
    Replies: 7
    Last Post: 04-27-2008, 06:20 PM
  5. Pest Control.
    By cm3rt in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 07-22-2007, 08:28 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
  •