SRL Archive - Archive

Sabzi - SRL helper


JAD

2009-08-16 20:20:22

http://www.villavu.com/forum/member.php?u=58425

From: Sabzi
In theory this should work:
http://www.villavu.com/forum/showthread.php?t=48934

I just changed one number and it works for me XD(It gets the right energy but I did not try RestUntil).

I just read your post more carefully. So while it resting it returns -1? That's not what I got. So it won't work but I can't delete my post?


From: Sabzi
MMCX and MMCY are the minimap center points. Use MSCX and MSCY for mainscreen.
Or am I wrong understanding what do you want?


From: Sabzi
Yeah, use ExistsItem and Uptext check.

Something like:
for i := 1 to 28 do
begin
if ExistsItem(i) then
begin
InvMouse(i, 3);
if WaitUptext('at', 500) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, True);
end;
end;
end;

It's far not complete but you get the idea from it.


From: Sabzi
I don't know SMART that much. I got that error with SMART and without too. It rarely happens with SMART for me but last time it happened all the time without SMART(I was just testing a TPA). And then I made it working with something I mentioned above. Not sure with which though.

But I think you can use ActivateClient on SMART too. The cross-hairing seems useless with that.


From: Sabzi
Are rats on the minimap? If yes then you can use FindObjThroughMM too.


From: Sabzi
First you can press F1 in scar if you don't know that already and you can search for that function. There you will can see what parameters are for.
And to find where you search maybe try to store the letter colors in a TPA then GetTPAbound and search in that box. I haven't tried that but that's how some SRL function works.






Just took a few from his first page of posts. Many more helpful ones in there too if you look. Seems very deserving to me.

Runescapian321

2009-08-16 20:41:09

Wow, I swear as I clicked New Posts I was thinking 'Hey I should recommend Sabzi for Helpers', beat me to it :p

Yes, almost all of his posts that I see are helping someone one way or another.

EDIT: PMs too, as it turns out ;)

JAD

2009-08-23 21:58:41

Bump.

Between today and yesterday there's been at least 5 more helpful posts in the scripting help section/SRL help section.

Definitely deserves this one.

JAD

2009-08-28 07:08:50

Anyone else want to vote?

Seems like a pretty clear decision. Very helpful.

Sir R. M8gic1an

2009-08-28 12:30:17

granted

~RM