• Log in or sign up for an account here: https://www.sythe.org/login

Easiest script ever, just need trawler clicker

  • Thread starter Thread starter joburocks
  • Start date Start date
J

joburocks

Guest
I am looking for a script to run while on the fishing trawler, all it needs to do is when there is water in the boat it needs to click random timing and placement with smooth mouse movements on the 1st inventory spot where the bucket would be. I dont need it to have antis as I will be close by.

If anyone would like to take this on I would greatly appreciate ty.
 
Can you explain it a little bit better??
 
hmm. could be tough to explain without you seeing what it does.

Basically its a minigame called fishing trawler.

During the 10 minutes that it goes out to sea, the boat fills up with water randomly. The water is represented by a dark blue in the boat. (see picture)
wetvc4.jpg


When the boat has water in it there is a bailing bucket in inventory slot 1 that is activated by clicking on it 2x. once to fill, once to empty. Once you bail enough the water in the boat is gone again. (see picture 2) At this point no bailing is necessary however clicking on the bucket has no ill effect except (in my opinion) to make cheating more detectable.

dryng5.jpg

The script I am looking for is something I can start at the beginning of the 10 minute trip and end whenever.

I would like it to detect when the water is in the boat bottom and start bailing by clicking inventory 1. When the water is gone I would like it to stop bailing.

I dont mind putting in my own colors. The important thing is that the clicks are randomly times and not always in the same spot.

The trick of it is that the whole boat moves up and down in the window, so trying to identify the blue at a certain pixel will not work.

IF the script cannot be made so that bailing starts only when the boat fills up then I guess all I need is a randomly timed clicker for inventory slot 1.

hope that cleared things up.
 
Easy enough,

Code:
program TehScript;
{.include SRL\SRL.scar}

var
 i:integer;
const
 WaterInBoat = 7034960;
begin
 ActivateClient;
 SetupSRL;
 GameTab(4);
 MarkTime(i);
 repeat
  If(FindMSColor(x,y,WaterInBoat)) Then // If There Is Water In The Boat
  begin
   repeat
    MouseItem(1,true) // Clicks First Inventory Slot Every 1-2 Seconds
    Wait(750+Random(1250))
   Until(Not(FindMSColor(x,y,WaterInBoat))) // Until The Water Is Gone
  end
 Until(TimeFromMark(i) > 600000) // Until 10 Minutes Is Up
 Logout;
end.

If I get some free time I can make it re-enter the place, etc. That took me 2 minutes to make but it should work.
 
testing it now, gotta switch to low detail

works perfectly. my god i really appreciate it.

^^^^^^^
almost perfectly anyhow, at the 10 minute timer it tries to log me out. not a problem its still great!

I am curious though. Rather than a log out is there a way the script will stop, and perhaps make a noise so that I can walk over to the pc and collect my fish? not sure if there are any sounds in scar or not.

TY AGAIN
 
Code:
program TehScript;
{.include SRL\SRL.scar}

var
 i:integer;
const
 WaterInBoat = 7034960;
begin
 ActivateClient;
 SetupSRL;
 GameTab(4);
 MarkTime(i);
 repeat
  If(FindMSColor(x,y,WaterInBoat)) Then // If There Is Water In The Boat
  begin
   repeat
    MouseItem(1,true) // Clicks First Inventory Slot Every 1-2 Seconds
    Wait(750+Random(1250))
   Until(Not(FindMSColor(x,y,WaterInBoat))) // Until The Water Is Gone
  end
 Until(TimeFromMark(i) > 600000) // Until 10 Minutes Is Up
 PlaySound('C:\WINDOWS\Media\winAquariumCritStop.wav');
end.
 
Yea pretty cool, i thought he wanted more things, my mistake ;)
 
You the man! didnt know scar could access .wav files. ty so much.
 
Runescape Gamblingrunescape gambling
Back
Top