Majnoon
2015-03-05 16:29:58
Hello so i have been trying to make a simple script that will click on the corrupted seren stone, the problem now is it wont…this is my code and below it is what i get in my debug.
thank you.
i know it says examine with the actual clicking, but since the crytals are 110k each i didn't want to waste them so hence i wanted to try with examine first.
thank you.
i know it says examine with the actual clicking, but since the crytals are 110k each i didn't want to waste them so hence i wanted to try with examine first.
program new;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
procedure clickCorruptedStone();
var
x, y: integer; //find object heeft dit nodig.
begin
if mainscreen.findObject(x, y, 10369635, 50, ['orrupted seren stone']) then
begin
fastClick(MOUSE_RIGHT);
chooseOption.select(['xamine']);
writeLn('We used a crystal!'); // Als het true is, gaat dit worden uitgeschreven.
end;
end;
begin
clearDebug();
setupSRL();
clickCorruptedStone();
end.
-- TRSMainscreen.findObject()
---- Colors found: 562
---- Possible objects found: 10
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
---- isMouseOverText(): False
---- isMouseOverText()
------ Current mouse-over text: "Cleanse Corrupted Seren Stone"
------ Current mouse-over text: ""
------ Current mouse-over text: ""
------ Current mouse-over text: ""
------ Current mouse-over text: ""
------ Current mouse-over text: ""
------ Current mouse-over text: ""
------ Current mouse-over text: ""
---- isMouseOverText(): False
-- TRSMainscreen.findObject(): False
-- Succesfully freed SMART[6352]
Successfully executed.