I want to hook up Simba to a RSPS but how do I know if it worked? I click the Cross and Drag it to the screen but idk if it worked...
Printable View
I want to hook up Simba to a RSPS but how do I know if it worked? I click the Cross and Drag it to the screen but idk if it worked...
post the code
Code:Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 1065811, 256, 155, 256, 155, 5) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
end;
end;
Begin
MouseSpeed := 15;
SetupSRL;
end.
The area your searching in is the size of 1 pixel you need for it to search in a wider area, I'm going to bed if you need further refer to the help section
You havent called ClickBank; in your main loop :p
Those coordinates seem horribly wrong...
You're going to want to drag the green crosshair on the simba icon onto the client before grabbing the coordinates.
Once you have them, verify the bank screen is open via a simple color check, then run this:
Simba Code:Mouse(x,y,rx,ry,Mouse_Right);
Wait(50);
x/y: coordinates of rune bar
rx/ry: randomization (leave at 2,2)
Then get the coordinates of the 'Withdraw All' option and do the same thing as above :)
any idea what's wrong with this? @Sin;
Code:Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 6909549, 254, 137, 256, 155, 5) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
wait(1150);
Mouse(268,142,2,2,Mouse_Right); //selects rune bar
wait(1150);
Mouse(260,250,2,2,Mouse_Left); //withdraw all
end;
end;
Begin
MouseSpeed := 15;
ClickBank;
SetupSRL;
end.
Simba Code:Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 6909549, 254, 137, 256, 155, 5) then
begin
mouse(X, Y,0,0 mouse_Left)
wait(1150);
Mouse(268,142,2,2,Mouse_Right); //selects rune bar
wait(1150);
Mouse(260,250,2,2,Mouse_Left); //withdraw all
end;
end;
Begin
SetupSRL;
MouseSpeed := 15;
ClickBank;
end.
The Color keeps changing for the bank I put my color to low but if I move my screen a little bit I need to redo it
Any suggestions? @Sin;
Up the color tolerance or pick a more unquie color
I wouldn't use Coordclicking for mapwalking.
Try FindSymbol(x, y, 'furnace')
EDIT: tutorial on methods of mapwalking http://villavu.com/forum/showthread.php?t=19162
Looking for an anvil, and I just want to walk like 30 steps I should not need to learn map walking for that..
Code:Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
if FindColorTolerance(X, Y, 6909549, 254, 137, 256, 155, 50) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
wait(2150);
Mouse(268,142,2,2,Mouse_Right); //selects rune bar
wait(2150);
Mouse(260,250,2,2,Mouse_Left); //withdraw all
wait(2150);
FindSymbol(x, y, 'anvil')
end
end;
Begin
MouseSpeed := 15;
ClickBank;
SetupSRL;
end.
I compile that it says
Error: Exception: Out of memory at line 7
How do I fix that?
Always call SetupSRL; at the beginning of yoru mainloop.
sorry, didn't read it clearly. FindSymbol(x, y, 'anvil');
Is there a way were it automatically makes the Camera angel that angel? I don't really care what angel I can make the coords work with it, the location i'm botting at no one goes to so its no problemCode:Program SmithingRune2h;
{$i srl/srl.simba}
Procedure ClickBank;
var
X,Y:Integer;
begin
SetupSRL;
if FindColorTolerance(X, Y, 6909549, 254, 137, 256, 155, 50) then
begin
mmouse(x, y,1,1);
wait(250);
ClickMouse(X, Y, mouse_Left)
wait(2150);
Mouse(268,142,2,2,Mouse_Right); //selects rune bar
wait(2150);
Mouse(260,250,2,2,Mouse_Left); //withdraw all
wait(2150);
FindSymbol(x, y, 'anvil')
end
end;
Begin
MouseSpeed := 15;
ClickBank;
SetupSRL;
end.
Check out the SRL include, in your simba folder. Simba>includes>srl>srl>core>mapwalk
Has all the angle setting functions etc