Hi there, I'm currently working towards learning this confusing language that is Pascal/Simba haha and currently i'm stumped at this, if anyone could help it would be amazing.
Simba Code:
program EatFood;
{$I SRL-6/srl.simba}
var
food, x, y : integer;
procedure clickFood;
begin
Food := DTMFromString('mggAAAHicY2NgYHBhYmDwBWJPIHYCYiso/RwodwOIXwHxRwYI/y4QX9i5HUgyYmAuBuwAUyUEQwAAYYQJXg==');
findDTM(food, x, y, 555, 215, 737, 465);
movemouse(x, y);
clickmouse(x, y, mouse_left);
end;
begin
activateclient;
setupsrl;
clickFood;
freeDTM(food)
end.
If i remove the setupsrl; it works fine, it finds my food and clicks it. However, when i setupsrl it just closes my client.
PLS EXPLAIN