TKUAT
2014-09-24 08:54:46
Hello, I want to make a simple script for a game that will buy things from AH. Ideally I would like to develop a script that does everything automatically. This is to say, if price is below 1g 35s then buy if above then switch item, things like that.
FOR NOW, all I want is as I press key then initiate sequence of moving mouse to x,y then click + move to x,y and click again
PROBLEM: Always gives me some kind of weird errors and I don't know why. MMouse isn't working, nor does everything else. I have also tried to implement random waiting Wait(Random(1000)), it didn't work.
SCRIPT:
ERROR: Exception in Script: Too many parameters found at line 6, column 36 (Line 6 is then ClickMouse(1349, 845, 36, 10, True); )
Please help =(
EDIT: After doing so, it worked but I still don't understand how can I add random positioning and smooth mouse hover over location + click.
FOR NOW, all I want is as I press key then initiate sequence of moving mouse to x,y then click + move to x,y and click again
PROBLEM: Always gives me some kind of weird errors and I don't know why. MMouse isn't working, nor does everything else. I have also tried to implement random waiting Wait(Random(1000)), it didn't work.
SCRIPT:
program ArcheageAuctionHouse;
{.include SRL/SRL.simba}
begin
if isKeyDown(116)
then ClickMouse(1349, 845, 36, 10, True);
Wait(1000);
Clickmouse(922, 602, 36, 10, True);
end;
end. ERROR: Exception in Script: Too many parameters found at line 6, column 36 (Line 6 is then ClickMouse(1349, 845, 36, 10, True); )
Please help =(
EDIT: After doing so, it worked but I still don't understand how can I add random positioning and smooth mouse hover over location + click.
program ArcheageAuctionHouse;
{.include SRL/SRL.simba}
begin
if isKeyDown(116)
then ClickMouse(1349, 845, mouse_Left);
Wait(Random(1000));
Clickmouse(922, 602, mouse_Left);
end.