Kave
2007-09-19 03:07:53
<!– BEGIN TEMPLATE: formanswers –>
Kave - SRL Member Application Form
Kave
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Java, C++, Visual Basic
Other Communitys
None
How Long have You Played Runescape
7 years? not sure anymore…
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well, I started programming in Visual Basic in my Junior year at high school. During my senior year I learned C++ and some Java/C#. I am not the most knowledgeable about Java or C#, but I know enough about programming in general that I have been able to help my friends with their problems (PHP, Java, and C#). I've only rather recently gotten into actually scripting for SCAR, I was a leecher for a long time. But, boredom got the best of me and am now quite interested in learning more, and have made a couple scripts (mostly for personal use).
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
TZ-KEK CURSER
For this script you must be a member, you have to go to the Tzhaar fight caves and kill the first 2 waves. After that Tz-Kek should be the only monster for the 3rd wave. So, find the rock thats shaped somewhat like Italy, and get him stuck on one of the edges (hes atleast 1.5 squares). Then all you need is to get 1 square away and get 3 colors. I have some anti-ban, and no anti-randoms are necessary. Its been tested and said to work for 8 hours. Stricker666 was my tester.
CHICKEN KILLER (BASIC)
This is a very basic Chicken Killer I made, I plan on adding feather pick up but haven't got it working yet. It works at Lumbridge Chicken spot near the cows (on way to Varrock). I have not had anyone but myself test this script. It has no anti-ban, but it does have anti-random(WT-Fakawi).
——————————————————
<!– END TEMPLATE: formanswers –>
Kave - SRL Member Application Form
Kave
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Java, C++, Visual Basic
Other Communitys
None
How Long have You Played Runescape
7 years? not sure anymore…
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
Well, I started programming in Visual Basic in my Junior year at high school. During my senior year I learned C++ and some Java/C#. I am not the most knowledgeable about Java or C#, but I know enough about programming in general that I have been able to help my friends with their problems (PHP, Java, and C#). I've only rather recently gotten into actually scripting for SCAR, I was a leecher for a long time. But, boredom got the best of me and am now quite interested in learning more, and have made a couple scripts (mostly for personal use).
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
TZ-KEK CURSER
For this script you must be a member, you have to go to the Tzhaar fight caves and kill the first 2 waves. After that Tz-Kek should be the only monster for the 3rd wave. So, find the rock thats shaped somewhat like Italy, and get him stuck on one of the edges (hes atleast 1.5 squares). Then all you need is to get 1 square away and get 3 colors. I have some anti-ban, and no anti-randoms are necessary. Its been tested and said to work for 8 hours. Stricker666 was my tester.
{---------------------------------------------------------}
{ /\ /\__ ___ _____ ___ }
{ / //_/ _` \ \ / / _ \/ __| }
{ / __ \ (_| |\ V / __/\__ \ }
{ \/ \/\__,_| \_/ \___||___/ }
{ _____ _ }
{ /__ \____ /\ /\___| | __ }
{ / /\/_ /____ / //_/ _ \ |/ / }
{ / / / /_____/ __ \ __/ < }
{ \/ /___| \/ \/\___|_|\_\ }
{ ___ }
{ / __\ _ _ __ ___ ___ _ __ }
{ / / | | | | '__/ __|/ _ \ '__| }
{ / /__| |_| | | \__ \ __/ | }
{ \____/\__,_|_| |___/\___|_| }
{---------------------------------------------------------}
{ WITH CURSES USE THE FOLLOWING EQUIPMENT: }
{ FULL IRON (PLATE, LEGS, FULL HELM, AND KITE) }
{ SECURITY DUNGEON BOOTS OR METAL BOOTS }
{ DRAGON HIDE OR LEATHER VAMBRACES }
{ MUD STAFF IF POSSIBLE }
{---------------------------------------------------------}
{ KILL FIRST 2 WAVES, THEN GET TZ-KEK STUCK ON THE OUTCROP}
{ SHAPED KINDA LIKE ITALY. }
{---------------------------------------------------------}
program TzKekCurser;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\magic.scar}
var
x, y, i, NumOfCurses, Tries, AFKMark, RotateMark, HoverMark, LeaveScreenMark: Integer;
Quit: Boolean;
{---------------------------------------------------------}
{ SETUP }
{---------------------------------------------------------}
const
Spell = 'Curse'; // 'Confuse', 'Weaken', 'Curse'
CursesToDo = 600; // Set this properly
TimeBetween = 2000; // Time Between casts. (1000 ms = 1 s)
NoBan = 10; //amount of time(in mins) before afk(10 to 30 sec)
Color1 = 123; // Color on Tz-Kek
Color2 = 123; // Color on Tz-Kek
Color3 = 123; // Color on Tz-Kek
MouseSpd = 14; // Lower is Faster
{---------------------------------------------------------}
{ PLAYER SETUP }
{---------------------------------------------------------}
procedure DeclarePlayers;
begin
Status('Loading Players...')
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '1234';
Players[0].Pass := '1234';
Players[0].Nick := '234'; // 3-4 letters of username
Players[0].Active := True;
end;
{---------------------------------------------------------}
{ DONT TOUCH!!!! }
{---------------------------------------------------------}
procedure Report;
begin
ClearDebug;
SRLRandomsReport;
WriteLn('--------------------<>--------------------')
WriteLn(' Kaves Tz-Kek Curser ')
WriteLn(' ')
WriteLn(' Running Time: ' + (TimeRunning) + ' ')
WriteLn(' Curses Cast: ' + IntToStr(NumOfCurses) +'')
WriteLn(' ')
WriteLn('--------------------<>--------------------')
end;
procedure Hover;
begin
if (TimeFromMark(HoverMark) / 60000 >= 7 + random(45)) then
begin
MarkTime(HoverMark);
HoverSkill('magic',false);
end;
end;
procedure Leave;
var
rx, a: Integer;
begin
if (TimeFromMark(LeaveScreenMark) / 60000 >= 6 + random(10)) then
begin
MarkTime(LeaveScreenMark);
rx := Random(300);
a := Random(2);
if (a = 0) then
begin
MMouse(rx, 1, 0, 0)
ClickMouse(rx, -1, True);
Wait(1000 + Random(1000));
end else if (a = 1) then
begin
MMouse(rx, 502, 0, 0)
ClickMouse(rx, 503, True);
Wait(1000 + Random(1000));
end;
end;
end;
procedure Rotate;
begin
if (TimeFromMark(RotateMark) / 60000 >= 7 + random(13)) then
begin
Status('Rotating...');
SendArrowSilentWait(Random(4), 500 + Random(500));
SendArrowSilentWait(Random(4), 500 + Random(500));
MakeCompass('N');
HighestAngle;
MarkTime(RotateMark);
end;
end;
procedure AFK;
begin
if (TimeFromMark(AFKMark) >= ((NoBan+random(6))*60000)) then
begin
Status('AFK...');
PickUpMouse;
wait(10000+random(50000));
PickUpMouse;
MarkTime(AFKMark);
end;
end;
procedure AntiBanner;
begin
AFK;
Rotate;
Hover;
Leave;
end;
procedure FindTzKek;
var
color: Integer;
begin
Status('Finding Tz-Kek...');
i := random(3);
case i of
0: color := Color1;
1: color := Color2;
2: color := Color3;
end;
repeat
wait(100);
Inc(Tries);
until (FindColorTolerance(x,y,color,MSX1,MSY1,MSX2,MSY2,10)) or (Tries > 10);
end;
procedure CurseTzKek;
var
r: Integer;
begin
if not(LoggedIn) then Exit;
GameTab(7);
Status('Cursing Tz-Kek...');
if Cast(Spell) then
begin
if Tries < 10 then
begin
Mouse(x,y,2,2,true);
Inc(NumOfCurses);
Tries := 0;
if (r = 10) then begin r := 0; Report; end else Inc(r);
AntiBanner;
end
else
begin
WriteLn('Couldnt find Tz-Kek.');
Quit := True;
end;
end
else
begin
WriteLn('Not enough runes for cast.');
Quit := True;
end;
end;
begin
SetupSRL;
ActivateClient;
DeclarePlayers;
MouseSpeed := MouseSpd + Random(2);
if not(LoggedIn) then Loginplayer;
repeat
HighestAngle;
SetScreenName(Players[CurrentPlayer].Nick);
NumOfCurses := 0;
Quit := False;
MarkTime(HoverMark);
MarkTime(LeaveScreenMark);
MarkTime(RotateMark);
MarkTime(AFKMark);
repeat
FindTzKek;
CurseTzKek;
wait(TimeBetween + random(250));
until (NumOfCurses = CursesToDo) or (Quit);
if (NumOfCurses = CursesToDo) then
begin
Report;
WriteLn('Done all '+IntToStr(CursesToDo)+' curses, huzzah!');
end;
Status('Logging Out...');
LogOut;
wait(2000)
NextPlayer(False);
HighestAngle;
until (false);
end.CHICKEN KILLER (BASIC)
This is a very basic Chicken Killer I made, I plan on adding feather pick up but haven't got it working yet. It works at Lumbridge Chicken spot near the cows (on way to Varrock). I have not had anyone but myself test this script. It has no anti-ban, but it does have anti-random(WT-Fakawi).
program ChickenKiller;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\fighting.scar}
var
x, y, Feather, ChikToKill, ChikKilled, SecLvl, NewSecLvl: Integer;
Mode: String;
PickUpFeather: Boolean;
const
MouseSpd = 14; //Mouse Speed, lower is faster
procedure DeclarePlayers;
begin
Status('Loading Players...')
HowManyPlayers := 1;
HowManyBooleans := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '1234';
Players[0].Pass := '1234';
Players[0].Nick := '234'; // 3-4 letters of username
Players[0].Active := True;
Players[0].Integers[0] := 9000; //Chickens to kill
Players[0].Strings[0] := 'Strength'; //Fight Mode choices are:
//'Attack', 'Strength', 'Defense', 'All'
Players[0].Booleans[0] := False; //Pick up feathers
end;
procedure DeclareDTM;
begin
Feather := DTMFromString('78DA637CCCC0C0709B0115683030FC07528C4' +
'0FC1F0818416A6EA12AD9B27205032B540D08303E2242CD1322D4' +
'80ECBA83AAE6F0EE5D98E61052F388B01A0050841E39');
end;
procedure Report;
begin
if not(LoggedIn) then exit;
ClearDebug;
SRLRandomsReport;
WriteLn(' Kaves Chicken Killer ');
WriteLn(' Running Time: '+(TimeRunning)+' ');
WriteLn(' Chickens Killed: '+(IntToStr(ChikKilled))+' ');
WriteLn(' Gained '+IntToStr(NewSecLvl)+' '+Mode+' levels. ');
end;
//WT-Fakawi
procedure FindRandoms;
var
i: Integer;
begin
Status('Finding Randoms...');
for i := 1 to 11 do
begin
case I of
1: FindTalk;
2: FindDead;
3: FindMod;
4: FindMime;
5: FindMaze;
6: FindQuiz;
7: FindDemon;
8: FindTalk;
9: FindLamp('hitpoints');
10: if FindBox then
begin
if not(SolveBox) then GambleBox;
end;
11: if FindFight then
begin
RunAwayDirection('N');
Wait(10000 + random(2000));
RunBack;
end;
end;
wait(10);
end;
end;
//Starblaster
procedure FightMode;
Begin
If not(Loggedin)then Exit;
Status('Setting Fight Mode...');
GameTab(1);
Wait(200 + Random(50));
Case Lowercase(Mode) of
'attack': if not(GetColor(612, 276) = 1908609) then
Mouse(607, 271, 30, 10, True);
'strength': if not(GetColor(695, 278) = 1974408) then
Mouse(690, 271, 30, 10, True);
'all': if not(GetColor(610, 334) = 1908609) then
Mouse(606, 325, 30, 10, True);
'defense': if not(GetColor(691, 331) = 1974408) then
Mouse(690, 324, 30, 10, True);
end;
Wait(250);
end;
procedure DoneFight;
var
i: Integer;
begin
Flag;
for i := 1 to 5 do
begin
if (IsFight) then
begin
repeat
wait(50);
FindRandoms;
until (not (IsFight));
Exit;
end else
Wait(300);
end;
end;
procedure KillChicken;
var
z, l : integer;
begin
if FindObjCustom(x,y,['hic','ken'],[595563,923247,8299448,3496050],10) then
begin
Mouse(x,y,0,0,false);
if ChooseOption('ttack') then
begin
FFlag(0);
wait(1000);
if IsFightAt(x,y) then
begin
if FindChatText('one else is') then exit
else
begin
DoneFight;
Inc(ChikKilled);
Inc(l);
end;
end;
end;
end;
if (l = (10 + random(6))) then
begin
if (lowercase(mode) = 'all') then z := GetSkillLevel('attack') else
z := GetSkillLevel(Mode);
NewSecLvl := z - SecLvl;
Report;
end;
end;
procedure GetFeather;
begin
//DTMRotated(Feather,x,y,MSX1,MSY1,MSX2,MSY2);
//MMouse(x,y,0,0);
end;
procedure Setup;
begin
MouseSpeed := MouseSpd + Random(2);
HighestAngle;
SetScreenName(Players[CurrentPlayer].Nick);
Mode := Players[CurrentPlayer].Strings[0];
ChikToKill := Players[CurrentPlayer].Integers[0];
PickUpFeather := Players[CurrentPlayer].Booleans[0];
if (lowercase(mode) = 'all') then SecLvl := GetSkillLevel('attack') else
SecLvl := GetSkillLevel(Mode);
ChikKilled := 0;
FightMode;
end;
begin
SetupSRL;
//DeclareDTM;
ActivateClient;
DeclarePlayers;
if not(LoggedIn) then Loginplayer;
repeat
Setup;
repeat
KillChicken;
if PickUpFeather then GetFeather;
until (ChikKilled = ChikToKill);
Report;
WriteLn('Killed all '+IntToStr(ChikToKill)+' chikens, huzzah!');
LogOut;
wait(2000);
NextPlayer(False);
until (false);
end.——————————————————
<!– END TEMPLATE: formanswers –>