bartjuhh93
2013-04-13 08:01:57
Hi,
when i start my fightcave script, it logs me in, it finds cave, the mouse is moving over the cave all the time, but not clicking it, anybody knows how to fix this? :)
thanks.
bartjuhh93
2013-04-13 09:07:15
i dont get an error code, everythings running fine.. its just not clicking.
or do u want the simba code?
Yeah, the code that's meant to be doing the clicking :)
mmmvvvbbb
2013-04-13 21:41:09
Isn't it ClickMouse2(mouse_left) instead of (true). I am not sure, but ask another person.
Edit: the above statement is false ((true) works). you may want to reinstall smart.
Justin
2013-04-13 21:50:22
Seems like the script is unable to find the uptext.
Are your fonts up to date?
From: mmmvvvbbb
Isn't it ClickMouse2(mouse_left) instead of (true). I am not sure, but ask another person.
Edit: the above statement is false ((true) works). you may want to reinstall smart.
Both
ClickMouse2(True);
and
ClickMouse2(mouse_left);
should work. You can tell by looking in the Includes:
if VariantIsBoolean(button) then
begin
if (button) then
iButton := mouse_left
else
iButton := mouse_right;
end else
iButton := button;
So ClickMouse2 recognizes true as mouse_left and false as mouse_right. :)