Hi, can any1 help me with DTMs finding the item on other game im stuck with atm.
{$I SRL/SRL.Simba}
var
Plus5, x, y: integer;
begin
Plus5:= DTMFromString('mbQAAAHicY2VgYLjFCsF3kegWJgaGTiBuB+ JGKL5wdg/DyeO7GC5cOMFw59oJhts3LjPwA/WjY0YsGAwAIWoTYg==');
SetupSRL;
if FindDTM(Plus5, X, Y, MSX1, MSY1, MSX2, MSY2) then
begin
writeln('Found DTM "plus5"');
MMouse(x, y, 0, 0);
end;
end.
as I dont have no prev. programming exp idk whats wrong but.
this is what I get > Warning! You passed a wrong xe to a finder function: 764. The client has a width of 596, thus the xe is out of bounds. Setting the value to 595 (w-1) for now.
Successfully executed.
any1 mind helping me with it?
also wondering how does the press mouse hold mouse release mouse function works any help with this1 too?
im trying to script for other game and clickmouse did the trick but seems like the 3rd button wants longer click or hold it for a sec.
I dont have any prev. programming exp.


Reply With Quote





