TheGodfather
2007-03-15 23:00:17
<!– BEGIN TEMPLATE: formanswers –>
TheGodfather - SRL Member Application Form
TheGodfather
What is the meaning to life?
The Meaning to life is to script all day and auto all night xD
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Learning Delphi
Other Communitys
None, this community is the best
How Long have You Played Runescape
since 2002
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hey,
Recently I've gotten interested in programming. I'm a bit a nerd when it comes to computers, and I'm pretty great with people. I got interested in macro-ing when I saw a macroer for the first time, and I asked a friend "how does he solve randoms, I'd expect Jagex to screw them with that."
His answer "Some Really great code he got". That got me interested. I had no idea macro's can beat Jagex's anti randoms. I decided to google this stuff, and came up with SCAR. First forum I went to was Sythe, but I thought that was shit, becuase of the horrible community. Scar was still interesting, becuase I thought it'd be a great place to start a young "programming career". I'd love to post scripts for the community for free, and I love the idea of SRL. I think if you guys accept me, you couldn't go wrong with that becuase then I belive I'd be a very helpful person to the community, and i think I'd benifit from this later in life.
Thanks for reading,
- TheGodfather
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
EDIT:
PS: If you vote no, please post why and how I can improve, thanks
——————————————————
<!– END TEMPLATE: formanswers –>
TheGodfather - SRL Member Application Form
TheGodfather
What is the meaning to life?
The Meaning to life is to script all day and auto all night xD
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Learning Delphi
Other Communitys
None, this community is the best
How Long have You Played Runescape
since 2002
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Hey,
Recently I've gotten interested in programming. I'm a bit a nerd when it comes to computers, and I'm pretty great with people. I got interested in macro-ing when I saw a macroer for the first time, and I asked a friend "how does he solve randoms, I'd expect Jagex to screw them with that."
His answer "Some Really great code he got". That got me interested. I had no idea macro's can beat Jagex's anti randoms. I decided to google this stuff, and came up with SCAR. First forum I went to was Sythe, but I thought that was shit, becuase of the horrible community. Scar was still interesting, becuase I thought it'd be a great place to start a young "programming career". I'd love to post scripts for the community for free, and I love the idea of SRL. I think if you guys accept me, you couldn't go wrong with that becuase then I belive I'd be a very helpful person to the community, and i think I'd benifit from this later in life.
Thanks for reading,
- TheGodfather
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program PowerMiner;
{.include SRL\SRL.scar}
{.include SRL\SRL\Skill\Mining.scar}
// Note: Script supports only copper, tin, iron, or coal. . .
{Credits: Code arranged by TheGodfather }
Const
NumberOfUsers = 3;
StartPlayer = 0;
Version ='Alpha';
//=============================//
RockTime = 6; // Max seconds per rock [fail safe]
LoadTime = 8; // Max minutes per load [fail safe]
RunDirect = 'E'; // Choose it right ;)
MultiColor = true; // get multiple rock colors from auto-color [reccomended]
{**************** Player Declaration ****************}
Procedure DeclarePlayers;
Begin
HowManyPlayers := NumberOfUsers;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := StartPlayer;
//******** Setup Lines for multi accounts ********//
Players[0].Name :=''; // Rs username
Players[0].Pass :=''; // Rs password
Players[0].Nick :=''; // 2 - 4 consecutive letters of username
Players[0].Active:= True;
Players[0].Integer1:= 2; // Number of loads to mine
Players[0].String1:='copper'; // Rock mining (lowercase letters)
Players[0].Boolean1:= False; // Is the pick wielded??
Players[1].Name :=''; // Rs username
Players[1].Pass :=''; // Rs password
Players[1].Nick :=''; // 2 - 4 consecutive letters of username
Players[1].Active:= False;
Players[1].Integer1:= 2; // Number of loads to mine
Players[1].String1:='iron'; // Rock mining (lowercase letters)
Players[1].Boolean1:= False; // Is the pick wielded??
Players[2].Name :=''; // Rs username
Players[2].Pass :=''; // Rs password
Players[2].Nick :=''; // 2 - 4 consecutive letters of username
Players[2].Active:= False;
Players[2].Integer1:= 2; // Number of loads to mine
Players[2].String1:='iron'; // Rock mining (lowercase letters)
Players[2].Boolean1:= False; // Is the pick wielded??
//************ End of the Setup Lines ************//
Writeln( IntToStr ( HowManyPlayers ) + ' Players' );
End;
{******* The Ore Colors ********}
Const
CopperCol = 4286610;
TinCol = 9277080;
IronCol = 2370383;
CoalCol = 2834753;
{****** End of Ore Colors ******}
// Do NOT touch Below unless you know what you are trying to do
var RockColT, RockCol1, RockCol2, RockCol3, CCX, CCY, loadM, loadD: integer;
RockLoad, LoadMark, LoadMax, MineMark: LongInt;
{******** Setup Rock Mined ********}
Procedure SetRockColor;
Begin
Case LowerCase(Players[CurrentPlayer].String1) Of
'copper' : RockColT := CopperCol;
'tin' : RockColT := TinCol;
'iron' : RockColT := IronCol;
'coal' : RockColT := CoalCol;
End;
End;
{******** Setup Values ********}
Procedure SetVariables;
Begin
LoadMark := LoadTime * 1000 * 60;
UseBoxSolver := True;
Players[CurrentPlayer].Integer1 := LoadD;
Players[CurrentPlayer].Boolean1 := EquipPick; Wait(10);
NickNameBMP:= CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
End;
{*******************************************************************************
Function GetRockColors: Boolean;
By: TheGodfather
Description: Gets three rock colors of the rock desired to mine
*******************************************************************************}
Function GetRockColors: Boolean;
var rmX, rmY, FCAttempts: integer;
Begin
FCAttempts := 0;
If MultiColor = False Then Exit;
If MultiColor = True Then
Begin
Repeat
Wait(250 + random(50));
If(not(LoggedIn))then Exit;
If FindObj(rmX, rmY, 'ine',RockColT, 4) or
FindObj(rmX, rmY, 'ocks', RockColT, 4)
then begin
MMouse(rmX, rmY, 2, 2); Wait(50);
RockCol1 := GetColor(rmX + 3, rmY + 3);
RockCol2 := GetColor(rmX + 3, rmY - 3);
RockCol3 := GetColor(rmX - 3, rmY - 3);
Writeln('Rock Colors '+IntToStr(RockCol1)+' '
+IntToStr(RockCol2)+' '+IntToStr(RockCol3));
Result := True;
End;
If not FindObj(rmX, rmy, 'ine', RockColT, 4)
then begin
Result := False;
Writeln('Find rock failed, trying again');
FCAttempts := FCAttempts + 1; end;
If(FCAttempts > 1)then begin
Writeln('Rock Color[s] Not Found');
LogOut;
end;
Until(Result = True)or(LoggedIn = False)or(FCAttempts > 1)
End;
End;
{************************ Rock Finding ************************}
Function FindRockToMine: Boolean; // ****by TheGodfather
var tcx, tcy, tpx, tpy, Tries: integer;
Begin
Tries := 0;
Repeat FindNormalRandoms; Wait(1250);
If(not(LoggedIn))then Exit;
If(MultiColor = True)then begin
if(FindObjMulti('ine', RockCol1, RockCol2, RockCol3, 4))and(LoggedIn = True)then
CCX := TCX; CCY := TCY;
GetMousePos(tpx, tpy);
wait(20 + random(5));
Result := True; end;
If not(FindObjMulti('ine', RockCol1, RockCol2, RockCol3, 4))or
FindObj(tcx, tcy, 'ine', RockColT, 4)
then begin
Tries := Tries + 1; Result := False end;
If(MultiColor = False)and(LoggedIn = False)then begin
FindObj(tcx, tcy, 'ine', RockColT, 4) end;
Until(LoggedIn = False)or(Result = True)or(Tries > 2)
End;
Procedure WaitForOre; // ****By TheGodfather
var SwingMark, MaxMine: LongInt;
Begin
MaxMine := RockTime * 1000;
If(InChatMulti('ur pick', 'he rock', 'ick at'))
Then Begin
MarkTime(SwingMark);
Repeat
Wait(400 + random(100));
FindTalk;
Until(InChatMulti('ine some', 'age to', 'manage'))or(TimeFromMark(SwingMark)>(MaxMine));
End;
End;
{*******************************************************************************
Function AntiGasRock: Boolean;
By: TheGodfather
Description: Performs all SRL mining anti-gas functions
*******************************************************************************}
Function AntiGasRock: Boolean; // ****Arranged by TheGodfather
var AG: integer;
Begin
For AG := 1 to 3 Do
Begin
Case AG Of
1: If GasFound(CCX, CCY) Then Result := True;
2: If FindGas(CCX, CCY) Then Result := True;
3: If GasCheck(CCX, CCY) Then Begin Result := True;
Writeln('Gas maybe spotted!');
Mouse(648, 78, 0, 0, true); Wait(200);
FTWait(20);
End;
End;
End;
End;
Procedure MineRock;
Begin MarkTime(MineMark);
Repeat
If(LoggedIn = False)Then Exit;
If(LoggedIn = True)and(FindRockToMine)then begin
If not AntiGasRock then
Mouse(CCX, CCY, 4, 4, true);
Wait(20 + random(15));
FindPick; Wait(200 + random(50));
AntiGasRock;
wait(10);
WaitForOre; end;
Until(InvFull)or(LoggedIn = False)or(TimeFromMark(MineMark)>=(LoadMax))
End;
begin
SetupSRL;
ClearDebug;
Writeln('Using Godfather''s powerminer script vers. '+(Version));
DeclarePlayers;
SetupSRLmining;
ActivateClient;
MouseSpeed := 5 + random(2);
wait(2000);
If (LoggedIn = False) Then LoginPlayer; FTWait(5);
If (LoggedIn = True) Then FTWait(5);
SetVariables; Wait(250);
GetRockColors;
FindPickHeadColor;
Repeat
Repeat
If(LoggedIn = True)Then Begin
MineRock; Wait(2000 + random(500)) FindNormalRandoms;
If (LoggedIn = True) and (InvFull) and (EquipPick = False) then
FindTalk;
DropTo(2, 28);
If (LoggedIn = True) and (InvFull) and (EquipPick = True) then
FindTalk;
DropTo(1, 28); LoadM := LoadM + 1; end;
Until(LoadM = LoadD)or(LoggedIn = False)or(TimeFromMark(MineMark)>(LoadMark))
If (LoggedIn = True) then LogOut; wait(3500 + random(2000));
If (LoggedIn = False) then
NextPlayer(False);
SetVariables;
FindPickHeadColor;
Until(False);
end.EDIT:
PS: If you vote no, please post why and how I can improve, thanks
——————————————————
<!– END TEMPLATE: formanswers –>