SRL Archive - SRL Snippets

ExamineAura


Kyle Undefined

2012-01-08 06:37:52

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

2012-01-08 07:40:53

First members only feature in SRL?

Shuttleu

2012-01-08 07:49:16

From: weequ
First members only feature in SRL?


no, we have something in agility

~shut

weequ

2012-01-08 07:55:41

From: Shuttleu
no, we have something in agility

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

Shuttleu

2012-01-08 08:00:42

From: weequ
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

2012-01-08 11:46:46

Are auras usable even when ur membership runs out?

Kyle Undefined

2012-01-08 14:11:51

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

2012-01-12 01:10:47

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

2012-01-12 16:44:57

Moved.