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

SMART Problem


DiN

2012-06-16 04:38:58

When I bot on my main, I like to usually have it next to me, in an extended desktop screen (second screen attached to same PC) and I normally play another game at the same time. The only problem is though, SMART keeps taking window priority, what I mean by this is for example when you click on a window and it comes to the foreground. SMART always does this. And as a result, my game is continually minimized. Is there any way I can stop SMART from doing this?

Thanks!

YoHoJo

2012-06-16 04:53:02

Common problem, not sure if there is a way to fix that, just keep it minimized, and check up on it every few minutes by unminimizing.
Or does SMART still do this even when you minimize it?

riwu

2012-06-16 05:06:41

It will only do this for awhile. Repeatedly switch to different windows and it will stop (until u clicks on it again, then switch to >2 different windows repeatedly again)

DiN

2012-06-16 08:28:36

From: YoHoJo
Common problem, not sure if there is a way to fix that, just keep it minimized, and check up on it every few minutes by unminimizing.
Or does SMART still do this even when you minimize it?


Yes, it comes to the foreground no matter what.

DiN

2012-06-16 08:31:45

From: riwu
It will only do this for awhile. Repeatedly switch to different windows and it will stop (until u clicks on it again, then switch to >2 different windows repeatedly again)


Thank you, I will try this.

edfromhumanresources

2012-06-17 12:19:25

Same thing, only started happening within last month or so.

Google

2012-06-17 14:14:38

Downgrade your java version it only happens with java7+ versions

Brandon

2012-06-17 14:18:50

Does not happen on Java 7 for me. SRL needs to overload activateclient as Smart cannot be activated. The loginplayer function currently uses ActivateClient.


Procedure ActivateClient; begin end;

Put that to the very top of your Script before {$I SRL/SRL.Simba} or else edit Smart.Simba to override it or use an {$IFDEF SMART} Procedure here.. {$ENDIF} before including SRL.simba.

Google

2012-06-17 21:26:37

From: Brandon
Does not happen on Java 7 for me. SRL needs to overload activateclient as Smart cannot be activated. The loginplayer function currently uses ActivateClient.


Procedure ActivateClient; begin end;

Put that to the very top of your Script before {$I SRL/SRL.Simba} or else edit Smart.Simba to override it or use an {$IFDEF SMART} Procedure here.. {$ENDIF} before including SRL.simba.


Tried your suggestion but the problem still exists just not as often. What java version are you running?

Brandon

2012-06-17 21:32:20

From: GOOGLE
Tried your suggestion but the problem still exists just not as often. What java version are you running?


Java 7 X64 Latest Update.

edfromhumanresources

2012-06-19 21:42:27

Above fix doesn't and shouldn't work as activate client is already overloaded in the smart.simba include. This is nothing to do with Java 7, I don't know where the "Java 7 causes problems" rumor started.

edfromhumanresources

2012-06-21 14:12:54

I have managed to track down and isolate this issue to:

HoldMouse(x :LongInt; y :LongInt; clickType :LongInt);

via Mouse() -> ClickMouse2() -> HoldMouse()

Need to look at simba / smart source to further debug.