SRL Archive - RS3 Script Requests

Looking for help Please! :)


mikeym

2012-01-10 18:44:46

I want to start scripting watched and read every tutorial just need some1 to help me having the mouse clicking in two inventory slots I don't understand how to locate or to make the click action thanks. Also would like it to read an item that it is clicking thanks again! I will be able to make a herblore helper and a easy no random event Fletcher in the pest control boats.

lilcmp1

2012-01-10 19:12:34

DTM's are great for item finding. YoHoJo has a tutorial.

Mouse() moves your mouse and clicks a spot.
Mouse(x,y,3,3,false); for example would move your mouse to the coordinates x,y with a random click of 3 pixels in either direction for antiban and false means it right clicks. You could have it find the dtm of one object, click, and find dtm of another object and click etc.

VillaVuFTW

2012-01-10 19:14:15

Welll for the Mouse Clicking

you can use DTMs

Like this


The DTM's are just an example.. Do not try and use them :)

Function new:boolean;
var
x, y, DTM, DTM2:integer;
Begin
DTM := DTMFromString('VCXKJXVLKZJCFVOIASIUDFASDIFA');
DTM2 := DTMFromString('VCAFKLDJASFLKASJDFLKADSJF');
end;
Begin

if FindDTM(DTM, x, y, MIX1, MIY1, MIX2, MIY2) then

begin
MoveMouse(x, y, 1, 1);
if IsUpText('WhateverItSaysWhenHoveredOver') then ///This Matches up what the Text at the top left when hovered
Mouse(x, y, 0, 0, true); ///False = Left Click, and True = Right Click

End;
I'm sure after seeing this post.. you can sorta get the idea

mikeym

2012-01-10 19:14:55

Thanks a lot I am going to look at his guide! I cant wait to start being involved I think i will have fun with this.