SRL Archive - S.M.A.R.T. Bugs and Improvements.

When its Minimized.


BobboHobbo

2007-11-19 02:16:01

When i minimize the Java applet thing the scripts stops working.. Is this like Ibot how it needs to be seen on the monitor to work?

Works nice when its by its self but not nice when minimized

nielsie95

2007-11-19 02:19:35

No, it should run minimized. Did you call

SetTargetDC(SmartGetDC);

?

mastaraymond

2007-11-19 03:55:55

Or update your java version..

The Un-Named

2007-11-19 04:02:05

From: BobboHobbo
When i minimize the Java applet thing the scripts stops working.. Is this like Ibot how it needs to be seen on the monitor to work?

Works nice when its by its self but not nice when minimized


Haha. No. SMART is nothing like IBot. I'm not sure how much it has changed(if any) since the beta versions in terms of running it minimized, but it *should* work fine.

BobboHobbo

2007-11-19 04:19:22

I used this:

SmartSetup('at6', false, True); while not(SmartReady) do Wait(100); SetTargetDC(SmartGetDC);
Got from PwNzors TUT.

The Un-Named

2007-11-19 04:29:16

From: BobboHobbo
I used this:

SmartSetup('at6', false, True); while not(SmartReady) do Wait(100); SetTargetDC(SmartGetDC);
Got from PwNzors TUT.


That's exactly what I do, and it works fine.

BobboHobbo

2007-11-19 04:36:40

O it works now, i had ActivateClient; in loop.

Smartzkid

2007-11-19 06:46:05

In your smart.scar, make sure you have

procedure ActivateClient;
begin
end;


And you won't have that problem.

Bobarkinator

2007-11-19 23:03:41

Same for FindRS

Cheesehunk

2007-11-21 00:24:08

I just put this into SMART.scar, and call it at the start of the script I'm running. All the less time taken.:)

procedure SetupSmart(World: Integer; HighDetail, Signed: Boolean);
begin
SmartSetupEx(World, HighDetail, Signed);
while not(SmartReady) do
Wait(100);
SetTargetDC(SmartGetDC);
end;

Markus

2007-11-21 06:18:38

SMART.scar disables findrs and activateclient.
SetTargetDC(SmartGetDC); fixes it. Be sure NOT to crosshair.