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

Can't get SMART to work..


JAD

2007-07-06 20:11:37

Well, I thought that SMART could work on any script as long as you setup SMART, but am I right with that?

I am trying to run Wizzup?'s VEM and I can't get it to work. Here's what I did/what happened:

I opened the script in SCAR (obviously)

I had the client for SMART open.

I put SmartSetupLink('Smart'); before anything in the main loop.

I dragged the client of SCAR onto the runescape/SMART screen.

I hit run and then it started autoing, but it was taking over my mouse still! :p


Anybody know what I did wrong, or if we need to make custom scripts to use for SMART?

Thanks :)

Boreas

2007-07-06 20:29:04

Last time I checked, (2 days ago) you have to add something to override mouse and keyboard functions?

Starblaster100

2007-07-06 20:43:58

Yea Wizzups ess miner uses the Mouse Procedure instead of the SMART mouse procedure, so it wont work

BenLand100

2007-07-06 21:11:39

Just patch the SMART procedures into SRL and it will work

Cheesehunk

2007-07-06 22:10:55

I patched my SRL, and added a UseSmart variable..
However, you still have to edit the actual script, because lots of scripts use GetMousePos and stuff..

JAD

2007-07-06 22:28:04

Gotcha, thanks everyone! :)

We should have a SMART modified scripts section, don't you think? ;)

BenLand100

2007-07-06 22:50:37

From: Cheesehunk
I patched my SRL, and added a UseSmart variable..
However, you still have to edit the actual script, because lots of scripts use GetMousePos and stuff..

procedure GetMousePos(var x, y: integer);
var
point: TPoint;
begin
point:= SmartGetMousePos;
x:= point.x;
y:= point.y;
end;

var
x, y: integer;
begin
GetMousePos(x,y);
writeln(inttostr(x) + ', ' + inttostr(y));
end.
Hows that? Just put it before you include SRL.

Dark_Sniper

2007-07-07 00:20:42

lol ben you are to smart lol…


i told you there was a diffrence in the scripts in my other thread….


thats why i requested a forum for SMART scripts….

BenLand100

2007-07-07 00:30:31

From: Dark_Sniper
lol ben you are to smart lol…


i told you there was a diffrence in the scripts in my other thread….


thats why i requested a forum for SMART scripts….

You're missing the point :p Its not the scripts that change, its the methods behind the script.