JAD
2009-08-16 20:20:22
http://www.villavu.com/forum/member.php?u=58425
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.
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.