DemiseScythe
2012-07-15 00:50:49
I wrote this and it should work for everyone on DirectX mode.
Just log into RS, set your settings to Direct X mode and use the settings below. Go to Varrock East Bank and face Camera South with Angle at its Highest. Must run this throught the browser since SMART cannot change modes anymore.

Again, its not too complex, it only opens the bank and closes it right after but I wrote this in 2-5 minutes and with basic scripting knowledge. With ChooseOption working, my scripts would be as effective running in DirectX as they were in Safe Mode. DirectX is still just as bottable thanks to DTMs so this could be a possible solution in the event Ben doesn't get OGL working right and Safe Mode ends up dying/removed. SRL would have to be rewritten but only the most important functions would need to be updated at first, the rest could be slowly updated at a later time. This would however require your Mouse and the RS Browser window to be maximized, so this kind of botting would need to be through Virtual Machines if the user still wishes to use their computers.
DirectX botting the future? We cannot really tell at this time but it is surely possible and still just as viable as Safe Mode ever was.
:redface: D.S. :redface:
Video of Script Running: (.avi)
http://puu.sh/IEEi
Edit:
Shame the mouse is invisible due to Camtasia but you can try it out by yourself if you want. The current method works roughly 50% of the time due to the pixel shift on the text. Working ChooseOption should fix this as would a better made DTM of the text. Also the part that is { } out should work 100% of the time, switch the function to find out. Second uses the chat interphase.
Edit 2:
Fixed the script a bit, it should now work 100% of the time.
program DirectX;
{$DEFINE SRL5}
{$i srl/srl.simba}
var
x, y, Close, Banker, OBank: Integer;
procedure CloseW; // Closes any Opened Window with the "X".
begin
Close := DTMFromString('mwQAAAHic42RgYHjJyMDwFIjfINEvgPgdED9khMiHAtUFQnEEFAcwQMRDgDgGiLVUZBlEhQXB2FBLCYyzknwZooMdwWwuLi4GfqA6QpiRCAwHAAh1EEQ=');
if FindDTM(Close, x, y, MSX1, MSY1, MSX2, MSY2) then
Mouse(x, y, 3, 3, True);
FreeDTM(Close);
end;
procedure OpenB; // VE Bank, Camera Facing South and Highest Angle.
begin
Banker := DTMFromString('mbQAAAHicY2VgYNBkZGDQAmJdINYGYjUgngIUnwDEU4F4JhDPAmIBHgkGMSElBlkxDQYRfhkgX5yBHyiOjhmxYDAAAIgEBWM=');
if FindDTM(Banker, x, y, 4, 55, 515, 387) then
begin
Mouse(x, y, 3, 3, False);
Wait(450 + Random(150));
Mouse(x, y+46, 3, 3, True); // Constant for Second Option.
Wait(450 + Random(150));
end;
FreeDTM(Banker);
end;
{procedure OpenB; // Opens using Converstation with Banker.
begin
Banker := DTMFromString('mbQAAAHicY2VgYNBkZGDQAmJdINYGYjUgngIUnwDEU4F4JhDPAmIBHgkGMSElBlkxDQYRfhkgX5yBHyiOjhmxYDAAAIgEBWM=');
if FindDTM(Banker, x, y, 4, 55, 515, 387) then
begin
Mouse(x, y, 3, 3, True);
repeat
Wait(250 + Random(150));
until FindColorTolerance(x, y, 805925, 217, 502, 303, 522, 5);
TypeSend(' ');
repeat
Wait(250 + Random(150));
until FindColorTolerance(x, y, 1972497, 217, 499, 303, 522, 5);
TypeSend('1');
Wait(450 + Random(150));
end;
FreeDTM(Banker);
end;}
begin
ClearDebug;
SetupSRL;
MouseSpeed := 19;
Mouse(536, 278, 1, 1, True);
OpenB;
Wait(400 + Random(150));
CloseW;
end.
Just log into RS, set your settings to Direct X mode and use the settings below. Go to Varrock East Bank and face Camera South with Angle at its Highest. Must run this throught the browser since SMART cannot change modes anymore.
Again, its not too complex, it only opens the bank and closes it right after but I wrote this in 2-5 minutes and with basic scripting knowledge. With ChooseOption working, my scripts would be as effective running in DirectX as they were in Safe Mode. DirectX is still just as bottable thanks to DTMs so this could be a possible solution in the event Ben doesn't get OGL working right and Safe Mode ends up dying/removed. SRL would have to be rewritten but only the most important functions would need to be updated at first, the rest could be slowly updated at a later time. This would however require your Mouse and the RS Browser window to be maximized, so this kind of botting would need to be through Virtual Machines if the user still wishes to use their computers.
DirectX botting the future? We cannot really tell at this time but it is surely possible and still just as viable as Safe Mode ever was.
:redface: D.S. :redface:
Video of Script Running: (.avi)
http://puu.sh/IEEi
Edit:
Shame the mouse is invisible due to Camtasia but you can try it out by yourself if you want. The current method works roughly 50% of the time due to the pixel shift on the text. Working ChooseOption should fix this as would a better made DTM of the text. Also the part that is { } out should work 100% of the time, switch the function to find out. Second uses the chat interphase.
Edit 2:
Fixed the script a bit, it should now work 100% of the time.