SRL Archive - Reflection Help

Need Help on How to Use Interfaces


Jakkle

2011-04-25 15:02:32

I would really like to know how to do interfaces using Reflection. I need to know how to click the button that (cooks/makes ALL) I had a look through the include got the interface ID's but how to make the mouse click on it i aint sure. Any help would be apreciated Thanks.

HarryJames

2011-04-25 15:16:03

Here's what you do;

Load up RSBot, login and get to the point that you want to know the interface for.
Then Run the Explorer script.

Just scroll through the interfaces, until you have the 'area' that you want. Then scroll through the interface components until it's the right one. Then modify this code to your needs :)

 
if ValidInterface(382) then
begin
x := GetInterfaceComponentRelativeX(382, 19);
y := GetInterfaceComponentRelativeY(382, 19);
Mouse(x + 43, y + 40, 30, 15, True);
end;

footballjds

2011-04-25 15:32:34

rather then scrolling you can search.
Type in and hit the "update" button.

for instance, you want to know the interface for the xp ticker
search xp
simple :D