PDA

View Full Version : ExamineAura



Kyle Undefined
01-08-2012, 11:37 AM
I made this to used in an Antiban procedure, as it could be useful in a RS Members script.


ExamineAura:

(*
ExamineAura
~~~~~~~~~~~

.. code-block:: pascal

procedure ExamineAura();

Examines the Aura slot and randomly chooses to either "Examine" or check the
time remaining for it to be fully charged.

.. note::

by Kyle Undefined

Example:

.. code-block:: pascal

*)
procedure ExamineAura();
var
X, Y, tab_Cur : Integer;
TP : TPoint;
TB : TBox;
begin
tab_Cur := GetCurrentTab();
GameTab(tab_Equip);

TP := Point(600, 221);

if(not(FindColor(X, Y, srl_outline_black, TP.x - 8, TP.y - 8, TP.x + 8, TP.y + 8)))then
begin
GameTab(tab_Cur);
Exit;
end;

TB := IntToBox(TP.x - 11, TP.y - 11, TP.x + 11, TP.y + 11);
MouseBox(TB.x1, TB.y1, TB.x2, TB.y2, mouse_Right);

if(Random(2) = 0)then
begin
if(not(WaitOption('xamine', 375)))then
if(Random(2) = 0)then
WaitOption('ancel', 375);
end else
begin
if(not(WaitOption('emaining', 375)))then
if(Random(2) = 0)then
WaitOption('ancel', 375);
end;
GameTab(tab_Cur);
end;

weequ
01-08-2012, 12:40 PM
First members only feature in SRL?

Shuttleu
01-08-2012, 12:49 PM
First members only feature in SRL?

no, we have something in agility

~shut

weequ
01-08-2012, 12:55 PM
no, we have something in agility

~shutOk but that's in misc though and not included by default.

Shuttleu
01-08-2012, 01:00 PM
Ok but that's in misc though and not included by default.

skill actually... but anyway, if your talking about stuff included by default, then i think this is the first members only function

~shut

Narcle
01-08-2012, 04:46 PM
Are auras usable even when ur membership runs out?

Kyle Undefined
01-08-2012, 07:11 PM
It doesn't really matter where it goes, to be honest, it could be used in an AntiBan procedure is all I'm saying.

Also, I really don't know Narcle.

Kyle Undefined
01-12-2012, 06:10 AM
I've updated the code on the first post, I made it all compact into one procedure. Could someone please move this to the SRL Snippets section? Thanks :)

Coh3n
01-12-2012, 09:44 PM
Moved.