Sean
2012-04-13 20:35:51
Hello! This is my first post and Ive been reading alot of the help threads on making my own scripts aswell as botting real runescape to try others. Well Im more into making my own scripts (public/private) both to support the community and myself. Im starting out very basic before moving on into Runescape so I started on Private servers :p. Well this is my Thieving script Ive put together so far and since Im very new it took me about 2-3 hours (Couldnt figure out the right click button) but I finally found out some small problems myself but I figure I did get the script to work pretty decent for about 30 mins I would like some feedback Good/Bad (wont take any to offense) and any ideas to make it better.
Ive currently failed at Right clicking and trying to select a text so I just did cords to complete my basic script lol.
I surely dont take all the credit!
Heres some credit that helped me make my very first basic script.
http://docs.villavu.com/simba/scriptref/dtm.html
YoHoJo - Great TuTs Ive been watching them.
This code here is to ONLY test the droping method.
Alright, Making progress. It will now click
Green = Will Drop if in that spot
Red = Wont drop if in that spot
XXXX
XXXX
XXXX
XXXX
XXXX
XXXX
XXXX
This is a Mining/Dropping Copper code .. It did work but then it stop finding the ore on the screen? can anyone help?
Ive currently failed at Right clicking and trying to select a text so I just did cords to complete my basic script lol.
I surely dont take all the credit!
Heres some credit that helped me make my very first basic script.
http://docs.villavu.com/simba/scriptref/dtm.html
YoHoJo - Great TuTs Ive been watching them.
program TheivingNearReality;
Procedure StartTheiving;
var
x, y:Integer;
begin
if FindColorSpiralTolerance(x, y, 4196694, 144, 118, 229, 187, 5) then
begin
MoveMouse(x, y); //Moves to Silk Stall
ClickMouse(x, y, 0);
MoveMouse(189, 193);
ClickMouse(189, 193, 1);
Wait(1750);
MoveMouse(581, 227); // Moves to Invy
Wait(1500);
ClickMouse(581, 227, 0); //Right clicks first Item in invy
Wait(1250);
MoveMouse(574, 270);
ClickMouse(574, 270, 1); //Drops First Item in Invy
MoveMouse(x, y);
Wait(1000);
end;
end;
begin
StartTheiving;
repeat
StartTheiving;
until(false);
end.This code here is to ONLY test the droping method.
Alright, Making progress. It will now click
Green = Will Drop if in that spot
Red = Wont drop if in that spot
XXXX
XXXX
XXXX
XXXX
XXXX
XXXX
XXXX
program OreDTM;
Var
Ore, X, Y: Integer;
DropCopper, A, B: Integer;
procedure FreDTM;
begin
FreeDTM(Ore);
FreeDTM(DropCopper);
end;
begin
Ore := DTMFromString('m1gAAAHic42JgYBAEYiYGCOAEYn4glgBiWSCWBGJeIGaD0iB5Yai4NBCLAjE3ELNA9bMDsY+eEpBkJIj/MxAHCJsEwQgAAHEBAs0=');
DropCopper := DTMFromString('mFQEAAHic42VgYJABYlUglgRicSAWAGJOIGZlQAXMUHUaQMwGxFxQzIfE5oLqZUHSxwjETAz4wf///1EwJYCRDIwCAHL5DUQ=');
if FindDTM(Ore, X, Y, 553, 208, 736, 462) Then
WriteLn('Found the ore yay!');
MoveMouse(X, Y);
ClickMouse(X, Y, 0);
Wait(3000);
if FindDTM(DropCopper, A, B, 553, 208, 736, 462) then
begin
WriteLn('Found the drop yay!');
MoveMouse(A, B);
Wait(2000);
ClickMouse(A, B, 1);
end;
FreeDTM(Ore);
FreeDTM(DropCopper);
end.This is a Mining/Dropping Copper code .. It did work but then it stop finding the ore on the screen? can anyone help?
program NRCopperMining;
Var
Ore, X, Y: Integer;
DropCopper, A, B: Integer;
procedure DroppingCopper;
begin
Ore := DTMFromString('m1gAAAHic42JgYBAEYiYGCOAEYn4glgBiWSCWBGJeIGaD0iB5Yai4NBCLAjE3ELNA9bMDsY+eEpBkJIj/MxAHCJsEwQgAAHEBAs0=');
DropCopper := DTMFromString('mVAEAAHicE2BgYFAGYk4g5gViMSCWB2JNIDYFYn0gVoOKCwAxBxCzMCAAMxDzMGAHLFAz+YFYCEojY3YgZgPi/xMcGP7//4/AID46RpZHw79w2E8sYKQQowMArigrtA==');
if FindDTM(Ore, X, Y, 767, 260, 1042, 618) Then
WriteLn('Found the ore yay!');
MoveMouse(X, Y);
Wait(1000);
ClickMouse(X, Y, 0);
Wait(500);
if FindDTM(DropCopper, A, B, 767, 260, 1042, 618) then
begin
WriteLn('Found the drop yay!');
MoveMouse(A, B);
Wait(500);
ClickMouse(A, B, 1);
end;
FreeDTM(Ore);
FreeDTM(DropCopper);
end;
procedure MiningCopper;
var
CopperRock, S, Q: Integer;
begin
CopperRock := DTMFromString('mQwAAAHicY2ZgYLBkYmCwBmJbIDZmZGAwAGJTIM72NWRojLVmiHTQZEAGjEgYCACnAgQd');
if FindDTM(CopperRock, S, Q, 296, 128, 804, 456) Then
MoveMouse(S, Q);
Wait(500);
ClickMouse(S, Q, 1);
FreeDTM(CopperRock);
end;
procedure DroppingCopperOre;
begin
repeat
DroppingCopper;
MiningCopper;
Wait(12000);
until(false);
end;
begin
DroppingCopperOre;
end.