SRL Archive - S.M.A.R.T.

S.M.A.R.T v8.2 bug, is it fixed?


Millenium

2013-09-06 13:32:29

When running bots if I ever disable then enable SMART if I don't pause, pause or stop and restart my script all mouse movements do not happen, the mouse resets itself to 0,0 and does not move but will click.

Please help benland, you are my only hope.

Sjoe

2013-09-06 13:45:24

Euh the script continues when u disable smart, so pause the script first.

Millenium

2013-09-06 16:13:38

From: Sjoe
Euh the script continues when u disable smart, so pause the script first.


Sorry If I wasn't clear when I first posted. This happens if I pause the script before disabling smart or stop the script and restart it when I resume smart. Downgraded to SMART v8 and it works though so not a huge problem, just a bug benland should know about.

Sjoe

2013-09-06 16:14:46

From: Millenium
Sorry If I wasn't clear when I first posted. This happens if I pause the script before disabling smart or stop the script and restart it when I resume smart. Downgraded to SMART v8 and it works though so not a huge problem, just a bug benland should know about.


ah ok :) I'm not aware of this bug, haven't encountered it with 8.2

Millenium

2013-09-07 08:04:13

From: Sjoe
ah ok :) I'm not aware of this bug, haven't encountered it with 8.2


Yeah I've never encountered it before in any SMART version but updating to v8 seems to have fixed it so I'm guessing it's something caused from the new additions on SMART in 8.2

Success

2013-09-12 01:51:10

From: Millenium
Yeah I've never encountered it before in any SMART version but updating to v8 seems to have fixed it so I'm guessing it's something caused from the new additions on SMART in 8.2


I got the same bug.
I updated to 8.2 and replaced the SmartParamas line 240 with
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), 'http://oldschool' + World + '.runescape.com/', 'j1', 765, 503, '', '', '', '');
and now whenever I run a script it loads up perfectly but non of the movements happen.
Please help, does anybody know a fix?

Brandon

2013-09-12 05:56:13

Seems like everyone who has been having this bug is using old school RS.
This bug does not exist in smart itself as far as I'm aware.. Can't replicate it on RS3. Never tested RS07 but if you say that it must be 8.2, then check smart's commits. The mouse hasn't been touched in forever and the only new change I can see that was major is adding private server support and that shouldn't affect Smart at all..

Why is no one using Smart v8.3? :S

@BenLand100; might see different I guess..

Success

2013-09-12 08:14:36

From: Brandon
Seems like everyone who has been having this bug is using old school RS.
This bug does not exist in smart itself as far as I'm aware.. Can't replicate it on RS3. Never tested RS07 but if you say that it must be 8.2, then check smart's commits. The mouse hasn't been touched in forever and the only new change I can see that was major is adding private server support and that shouldn't affect Smart at all..

Why is no one using Smart v8.3? :S

@BenLand100; might see different I guess..


Yes I am trying to play on OSRS. I have no clue why this would occur but hopefully @BenLand100 can solve this problem.
But I did think of updating to v8.3 but I wasn't sure because BenLand100 said "Updated to this version if you are interested in Reflection or OpenGL." and I'm not using reflection really.
So my guess would be to upgrade to v8.3 or downgrade back to v8 unless he can find a fix for this, what do y'all say?

BenLand100

2013-09-14 03:09:04

If someone could get the debug output of a time when SMART failed to properly move the mouse, that would be useful in diagnosing a possible problem. It's likely related to how the game is handling the Canvas, that is, SMART is unable to retarget the Canvas after it is destroyed and created during the focus shift in the Enable/Disable sequence. Minimizing and restoring SMART may be a temporary fix, in that case. At any rate, I'll need debug output at minimum. Clear steps to reproduce would be nice as well.

Itankbots

2013-09-14 03:21:31

From: Brandon
Seems like everyone who has been having this bug is using old school RS.
This bug does not exist in smart itself as far as I'm aware.. Can't replicate it on RS3. Never tested RS07 but if you say that it must be 8.2, then check smart's commits. The mouse hasn't been touched in forever and the only new change I can see that was major is adding private server support and that shouldn't affect Smart at all..

Why is no one using Smart v8.3? :S

@BenLand100; might see different I guess..

Millenium was using rs3. Not old school. He is currently busy with football finals for next week or so, Ill message him on skype to replicate the problem and give debug + step by step on it.

Success

2013-09-16 23:48:22

From: BenLand100
If someone could get the debug output of a time when SMART failed to properly move the mouse, that would be useful in diagnosing a possible problem. It's likely related to how the game is handling the Canvas, that is, SMART is unable to retarget the Canvas after it is destroyed and created during the focus shift in the Enable/Disable sequence. Minimizing and restoring SMART may be a temporary fix, in that case. At any rate, I'll need debug output at minimum. Clear steps to reproduce would be nice as well.

This is when it loads the RuneScape login screen it actually loads the login screen but it doesn't do any of the mouse movements even though I have it setup to log in, if I start it already logged in it still doesn't catch the movements.
[ATTACH=CONFIG]22209[/ATTACH]
Here is after waiting about 2 minutes this comes up and the script stops itself and it never did any of the script.
[ATTACH=CONFIG]22210[/ATTACH]