SRL Archive - OSR Help

Mouse not clicking in Smart8


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.

Rich

2013-04-13 09:01:31

Could we see the code?

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?

Rich

2013-04-13 17:29:23

Yeah, the code that's meant to be doing the clicking :)

bartjuhh93

2013-04-13 18:58:59


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?

Ian

2013-04-13 21:51:38

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. :)