What's the best way of selecting a familiar? Colour detection with find text?
Also, how do I make sure that I only select my own familiar? Is that possible?
What's the best way of selecting a familiar? Colour detection with find text?
Also, how do I make sure that I only select my own familiar? Is that possible?
Use the minimap icon
I am Ggzz..
Hackintosher
How do I go from minimap icon to clicking the object?
EDIT: Also, familiars do not show up on the minimap.
Last edited by jSherz; 02-19-2012 at 02:33 PM.
summoning.simba:
Simba Code://-----------------------------------------------------------------//
//-- Scar Standard Resource Library --//
//-- Summoning routines --//
//-----------------------------------------------------------------//
// * Function UsingFamiliar: Boolean;
// * Function GetSummonPoints: Integer;
// * Function InteractFamiliar: Boolean;
// * procedure SetupSummoning;
{*******************************************************************************
Function UsingFamiliar: Boolean;
By: Flight
Description: Returns if we currently have a Summoning familiar.
*******************************************************************************}
Function UsingFamiliar: Boolean;
Var
X,Y: Integer;
begin
Result := FindColorTolerance(X,Y,11192179,695,130,720,155,20);
end;
{*******************************************************************************
Function GetSummonPoints: Integer;
By: Flight
Description: Returns our current number of Summoning points remaining.
*******************************************************************************}
Function GetSummonPoints: Integer;
Var
Color: String;
begin
Result := Round(GetMMLevels('summon',Color));
end;
{*******************************************************************************
Function InteractFamiliar: Boolean;
By: Flight
Description: Handles all interactions between our familiar,
returns true if successful.
Options:
-'' : Will left click on interaction tab
-'Attack','Cast','Interact,'Renew','Take','Dismiss','Call','Details','Select'
*******************************************************************************}
Function InteractFamiliar(Option:String): Boolean;
begin
if (not LoggedIn) then exit;
if UsingFamiliar then
begin
if (Option = '') then
begin
MouseBox(695,140,740,155,1);
Result := True;
end else
begin
MouseBox(695,140,740,155,2);
if ChooseOption(Option) then
Result := True
else
srl_Warn('InteractFamiliar', 'Incorrect option', warn_AllVersions);
end;
end else
srl_Warn('InteractFamiliar', 'No familiar present!', warn_AllVersions);
Wait(100 + Random(50));
end;
{*******************************************************************************
procedure SetupSummoning;
By: SRL
Description: Declares Global Bitmaps.
*******************************************************************************}
procedure SetupSummoning;
begin
end;
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
@ Flight
I looked at that awhile ago, I might add it to SRL skills. So be aware it might get added.
(Scripts outdated until I update for new SRL changes)
AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
Summer = me busy, won't be around much.
Thank you very much!
Current projects:
[ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]
"I won't fall in your gravity. Open your eyes,
you're the Earth and I'm the sky..."
There are currently 1 users browsing this thread. (0 members and 1 guests)