SRL Archive - RS3 Script Requests

Squeal of fortune


stray247

2012-06-19 03:27:30

is there a possibility to make a script for this?

Based Lord

2012-06-19 03:31:08

From: stray247
is there a possibility to make a script for this?

Always a possibility but why would you need to :P I can't see a reason unless you bought spins or something lol

Recursive

2012-06-19 03:43:58

(*
ExitSquealOfFortune
~~~~~~~~~~~~~~~~~~~

.. code-block:: pascal

function ExitSquealOfFortune(): boolean;

Finds and exits the annoying Squeal of Fortune pop up.

.. note::

Author: Coh3n & Ashaman88
Last Modified: June 9, 2012 by Ashaman88

Example:

.. code-block:: pascal

ExitSquealOfFortune();
*)
function ExitSquealOfFortune(): boolean;
var
w, h, x, y, xs, ys, xe, ye, tmpCTS,SquealDTM: integer;
begin
if (SRL_ExitedSquealOfFortune) then
exit;

SquealDTM := DTMFromString('mbQAAAHicY2VgYNjOzMCwEIirgLgSiBuB2JiRgUELiGWB2BCIrYH4/1kXhku1MQyLrxcyfPz0iSHA2Z2BH6gfHTNiwWAAAHx8DXE=');

tmpCTS := getColorToleranceSpeed();
setColorToleranceSpeed(1);

getClientDimensions(w, h);

// green color of the goblin thing
if (findColorTolerance(x, y, 7457955, 1, 1, w - 1, h - 1, 15)) then
begin
// to avoid out of bounds warnings
xs := x-70;
if (xs < 0) then
xs := 1;

ys := (y - 70);
if (ys < 0) then
ys := 1;

xe := (x + 130);
if (xe > w) then
xe := (w - 1);

ye := (y + 70);
if (ye > h) then
ye := (h - 1);

// gold color in the X
if (findDTM(SquealDTM,x,y,xs,ys,xe,ye)) then
begin
mouse(x, y, 3, 3, mouse_Move);

if (waitUptext('elect', 300)) then
begin
getMousePos(x, y);
mouse(x, y, 0, 0, mouse_Left);
result := true;
SRL_ExitedSquealOfFortune := true;
end;
end;
end;
FreeDTM(SquealDTM);
setColorToleranceSpeed(tmpCTS);
end;

putonajonny

2012-06-19 04:16:34

Please search…
http://villavu.com/forum/showthread.php?t=84507

Dannyownz

2012-06-19 04:18:48

Could you make a script where it would always get the good rewards?

InBefore

2012-06-19 04:19:33

From: Dannyownz
Could you make a script where it would always get the good rewards?


Who do you think they are? I'm pretty shocked by what you said.

stuartroad

2012-06-19 05:25:11

From: Dannyownz
Could you make a script where it would always get the good rewards?


LOL, Poor guy…

Oh dear surely he realizes…… You can't, predetermined rewards.

Dannyownz

2012-06-20 03:54:00

From: stuartroad
LOL, Poor guy…

Oh dear surely he realizes…… You can't, predetermined rewards.


I know but can you make it where it always lands on the rare items?

litoris

2012-06-20 03:56:36

From: Dannyownz
I know but can you make it where it always lands on the rare items?


You conflicted yourself in the same sentence. You are saying that you know the rewards are predetermined, but you want it to land on rare items? Simba can't hack the client or anything, so it's not possible to get a rare reward on purpose.