Venom666
2007-07-06 20:57:58
<!– BEGIN TEMPLATE: formanswers –>
Venom666 - SRL Member Application Form
Venom666
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
Programming Knowledge
Java,C++
Other Communitys
none :D
How Long have You Played Runescape
far to many years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I have been here for a couple weeks. I a going to apply for a membership cause i feel i know everything that is required. If not then oh well i can always learn more :D. Any comments and positive feedback would be very much appreciated. If this script is not good enough please state why it sucks :D. thanks for your time.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
——————————————————
<!– END TEMPLATE: formanswers –>
Venom666 - SRL Member Application Form
Venom666
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
Programming Knowledge
Java,C++
Other Communitys
none :D
How Long have You Played Runescape
far to many years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I have been here for a couple weeks. I a going to apply for a membership cause i feel i know everything that is required. If not then oh well i can always learn more :D. Any comments and positive feedback would be very much appreciated. If this script is not good enough please state why it sucks :D. thanks for your time.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
{POWER MINER}
{ By Venom }
{-----------------------------------------------------}
{ This Script is a simple powerminer by me. It mines ores}
{ then drops them. Simple Enough :D but good for lvling}
{ -----------------------------------------------------}
{ Instructions
{------------------------------------------------------}
{1. Specify The Rs client }
{2. then fill out the declares procedure }
{3. Fill out the const }
{4. Make sure you start the script LOGGED OUT }
{5. hit run and tell me how it works!! :D }
program VenomsPowerMiner;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/Mining.scar}
{====================Fill Info Out Below======================}
Const
RockColour1=5935847; //Rock Color Number 1
TimeToMine=5000000; // Time allowed for each load in millsecs
SkillToSet=('Mining'); //Skill To Use Genie Lamp On If Found
RuningDir=('N'); // Direction To Run incase of a fight
DropPick=False; //Drop Stuff From Randoms??
LoadsTodo=5; // Loads to do for each character.
TimeToClick=5000; // Time between each click on rock
{====================End Of SetUp=============================}
Procedure DeclarePLayers; // Sets up players for Multi
begin
HowManyPlayers := 6; // Number of players in script.
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; //Player to start on.
Players[0].Name := 'username'; // Put your UserName Here
Players[0].Pass := 'password'; // PassWord Goes Here
Players[0].Nick := 'nick'; // 3-4 Letters of Username
Players[0].Boolean1 := false; //// is the pick weilded?
Players[0].Active := True; // Use Player In Script?
Players[1].Name := 'UserName';
Players[1].Pass := 'Password';
Players[1].Nick := '3-4 letters of UserName';
Players[1].Boolean1 := false; //// is the pick weilded?
Players[1].Active := False;
Players[2].Name := 'UserName';
Players[2].Pass := 'Password';
Players[2].Nick := '3-4 letters of UserName';
Players[2].Boolean1 := false; //// is the pick weilded?
Players[2].Active := False;
Players[3].Name := 'UserName';
Players[3].Pass := 'Password';
Players[3].Nick := '3-4 letters of UserName';
Players[3].Boolean1 := false; //// is the pick weilded?
Players[3].Active := False;
Players[4].Name := 'UserName';
Players[4].Pass := 'Password';
Players[4].Nick := '3-4 letters of UserName';
Players[4].Boolean1 := false; //// is the pick weilded?
Players[4].Active := False;
Players[5].Name := 'UserName';
Players[5].Pass := 'Password';
Players[5].Nick := '3-4 letters of UserName';
Players[5].Boolean1 := false; //// is the pick weilded?
Players[5].Active := False;
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
end;
{===============Start Of Procedures Below==============================}
{ dont Touch unless you know what your doing!}
Var
Lost: boolean;
Clicks,Loads: Integer;
//-----------------------------------------------------------------\\
{ FindFastRandoms - Finds the randoms fast ||
\\-----------------------------------------------------------------//}
Function FindFastRandoms: Boolean; //By WT-Fakawi
var
i: Integer;
begin
for i:=1 to 10 do
begin
case I of
1: If FindDead then
Result := True;
2: If FindMod then
Result := True;
3: If FindMime then
Result := True;
4: If FindMaze then
Result := True;
5: If FindQuiz then
Result := True;
6: If FindDemon then
Result := True;
7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
end;
end;
8: begin
if InBlack then
begin
Result := True;
Players[CurrentPlayer].loc := 'InBlack';
Logout;
Exit;
end;
end;
9: RC;
10: //Respond; :)
end;
wait(1);
end;
end;
//----------------------------------------------------------------------------//
//-- Checks and sets Auto Retaliate. True = On, False = Off --//
//----------------------------------------------------------------------------//
procedure Retaliate(AutoRet:Boolean); // WT-Fakawi, Full Credits to him
begin
GameTab(1);
if AutoRet then
begin
If not FindColor(x,y,1777020,624, 385, 719,396) then
begin
Mouse(666,381,8,8, True);
end;
end;
if not AutoRet then
begin
If FindColor(x,y,1777020,624, 385, 719,396) then
begin
Mouse(666,381,8,8, True);
end;
end;
end;
Procedure ProgressReport; // Progress Report
begin
WriteLn('[]=====================================[]');
WriteLn('---------[Progress Report!!!]----------');
WriteLn(' Worked For : ' + ScriptTime2(2));
WriteLn(' Did ' + IntToStr(Clicks) + ' clicks' +' ');
WriteLn(' Did ' + IntToStr(Loads) + ' loads ' +' ' );
WriteLn('------[End Of Progress Report!!!]-----');
WriteLn('[]====================================[]');
WriteLn(' Venoms Power Miner ');
SrlRandomsReport;
end;
Procedure HumanHand; // My Custom Made AntiBan :)
begin
If(not(LoggedIn)) then
Exit;
case Random(20) of
0: IdleTime(1000 + Random(250),300,1.2);
1: IdleTime(500 + Random(500),500,1.0);
2: IdleTime(650 + Random(340), 400,0.5);
3: begin
Wait(300+random(500));
HoverSkill('Mining', false);
GameTab(4);
end;
4: begin
HoverSkill('Smithing', false);
wait(100+random(250));
GameTab(4);
end;
5: PickUpMouse;
6: PickUpMouse;
7: begin
wait(350+random(450));
GameTab(1 + Random(7));
wait(560+random(750));
GameTab(4);
end;
9: IdleTime(600 + Random(300), 500,1.0);
10: SleepAndMoveMouse ( 50000+ random(80000));
11: RandomRClick;
12: LeaveScreenEvery(12+ Random(8));
13: AlmostLogout;
14: RandomRClick;
end;
end;
Procedure SetUp; //Sets up script
begin
WriteLn(' Setting The Script Up');
wait(1000+random(350));
FindPickHeadColor;
wait(300+random(100));
MakeCompass('N');
HighestAngle;
Retaliate(false);
HumanHand;
end;
Procedure Switch;
var t: integer;
begin
T:=T+1;
if (T = LoadsToDo) then
begin
NextPlayer(True);
T:=0;
HighestAngle;
wait(300+random(500));
MakeCompass('N');
WriteLn(' Script has successfully switched players');
end;
end;
Procedure DropOre; // Drops The Ore. With Help From JAD, I Just Edited
//it a bit
var
Rocky,x,y : Integer;
begin
Rocky:= DTMFromString('78DA635CC8C0C0D0C98002F6E41A30FC07D28' +
'C40FC1F0818970219B50C6880918115AA06CC5B03241A08A8590E' +
'242611503317484C27A0661211E680CC68C6AF06001A2C0EAA');
Wait(350+Random(200));
GameTab(4);
if (DropPick = false) then
begin
repeat
wait(200+random(100));
if FindDTM(Rocky, x, y, 0, 0, 800, 600) and (InvFull) then
begin
WriteLn(' Beginning to drop ores');
MMouse(x, y, 0, 0);
Wait(50+random(30));
Mouse(x, y, 2, 5, false);
if (ChooseOption(x, y, 'rop')) then
end;
until (not (FindDTM(Rocky, x, y, 0, 0, 800, 600)));
Loads:=Loads+1
ProgressReport;
Switch;
if (DropPick = True) and (Players[CurrentPlayer].Boolean1 = false) then
begin
DropTo(2, 28);
end;
if (DropPick = true) and (Players [CurrentPlayer].Boolean1 = true) then
begin
DropAll;
end;
end;
end;
Procedure GasyCheck; // Checks for gas and tries to run if True
begin
if (FindGas(x,y)) then
begin
WriteLn('Here Comes The Mustard');
MakeCompass('N');
RunAwayDirection(RuningDir);
wait(6500+random(8000));
RunBack;
WriteLn('Gas Is Gone Proceding Back');
end else
Exit;
end;
Procedure FindRandoms; //Finds randoms in RS
begin
GasyCheck;
FindTalk;
wait(100+random(150));
FindNormalRandoms;
FindLamp(SkillToSet);
wait(100+random(100));
FindFastRandoms;
FindPick;
FindTalk;
if (FindFight = true) then
begin
RunAwayDirection(RuningDir);
wait(5000+random(8500));
RunBack;
end;
end;
Procedure Miner; //Mining Procedure
var
Lost: Boolean;
MiningTime: Integer;
begin
FindRandoms;
Lost:=false
MarkTime(MiningTime); // Starts The clock
if(not(LoggedIn))then
Exit;
Repeat
Wait(TimeToClick+ random(350));
if(FindObj(x,y, 'ine', Rockcolour1, 5)) then
begin
WriteLn('Found Rock, Proceding To Mine');
Clicks:=Clicks+1
wait(500+Random (250));
Mouse( x, y, 1, 2, True);
FindRandoms;
end else
WriteLn(' Could not find rock colour Logging Out');
Lost :=True;
Exit;
Until(InvFull) or (TimeFromMark(MiningTime) > (TimeToMine))
end;
Procedure IsLost;
begin
if (Lost = True) then
begin
WriteLn(' Player is lost Switching...');
wait(200+random(350));
NextPlayer(False);
Lost:=False
SetUp;
end else
WriteLn('Player is not Lost Procceding With minning');
Exit;
end;
procedure Signature;
begin
ClearDebug;
WriteLn(' Venoms PowerMiner Enjoy!! ');
end;
Begin //Main LINE!!!!!
Signature;
wait(5000);
SetUpSRL;
ActivateClient;
DeclarePlayers;
Wait(3000+random(350));
LoginPlayer;
wait(3000);
SetUp;
repeat
FindRandoms;
if (not (LoggedIn)) then
Exit;
Miner;
DropOre;
Islost;
until(false);
End.
{====================Credits=================}
// Credits go to JAD,Dan cardin and many others who have helped me out
// The tut section was very helpful and everyone who contributed there
// helped out a lot belevie me. :D also to anyone else i didnt add. Thanx guys :D——————————————————
<!– END TEMPLATE: formanswers –>