SRL Archive - Archive

endr1x - SRL Member Application Form


endr1x

2007-04-20 18:41:19

<!– BEGIN TEMPLATE: formanswers –>
endr1x - SRL Member Application Form
endr1x

What is the meaning to life?


Where you Referred to SRL? If yes, by whom?
no


Programming Knowledge
Java,C++,Learning Delphi

Other Communitys
Mopars,Impsoft

How Long have You Played Runescape
1 year

Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.

Meh, don't really know what to write here. I came to this forums a while back. I came here to learn scar scripting. I first created my autotalker , then my hide tanner. I'm in the middle of a major update with my tanner. Bit im going on holidays , so i'm placing application now. Thanks for reading.

——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted

Heres some progress reports:
( I didn't want to test any longer, only testing on 1 char).
I've included my hide tanner + auto talker, i've included the auto talker because it demonstrates my ability to use forms.
For some reason, the attachments button is giving me "you do not have permission to access this page" error.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Using Hide Tanner BETA by [Endr1x]
Have Tanned : 810 of green hides for :username
Tanned : 810 in total.
Script Worked for : 58 Minutes, and 45 Seconds

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Using Hide Tanner BETA by [Endr1x]
Have Tanned : 3240 of green hides for :username
Tanned : 3240 in total.
Script Worked for : 3 hours 48 minutes and 11 seconds

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

program AutoTanner;
{.include SRL/SRL.scar}

var
q, s, d, f, TannedHides, NHidesToTan, SandColour, GreyBuildingColour, banksymb, rx, ry, TotalHides: integer; // variables
HidesToTan: string;

const
//195836
//soft,hard,green,blue,red,black,snake1,snake2
EllisColour = 4285110; // colour of ellis ( the orange) ( don't touch).
{/////////////////////////////////////////////
Declares the players
//////////////////////////////////////////// }

procedure DeclarePlayers;
begin
HowManyPlayers := 6; // how many players
CurrentPlayer := 0; // player to start on
NumberOfPlayers(HowManyPlayers);

Players[0].Name := 'username';
Players[0].Pass := 'password';
Players[0].Nick := '3-4 letters of user';
Players[0].Loc := 'Alkarid';
Players[0].String1 := 'green'; // type of hide to tan (listed above)
Players[0].Integer1 := 10000; // number of hides to tan
Players[0].Active := True;


Players[1].Name := 'username';
Players[1].Pass := 'password';
Players[1].Nick := '3-4 letters of user';
Players[1].Loc := 'Alkarid';
Players[1].String1 := 'soft'; // type of hide to tan (listed above)
Players[1].Integer1 := 1000; // number of hides to tan
Players[1].Active := True;

Players[2].Name := 'username';
Players[2].Pass := 'password';
Players[2].Nick := '3-4 letters of user';
Players[2].Loc := 'Alkarid';
Players[2].String1 := 'soft'; // type of hide to tan (listed above)
Players[2].Integer1 := 1000; // number of hides to tan
Players[2].Active := True;

Players[3].Name := 'username';
Players[3].Pass := 'password';
Players[3].Nick := '3-4 letters of user';
Players[3].Loc := 'Alkarid';
Players[3].String1 := 'soft'; // type of hide to tan (listed above)
Players[3].Integer1 := 1000; // number of hides to tan
Players[3].Active := True;

Players[4].Name := 'username';
Players[4].Pass := 'password';
Players[4].Nick := '3-4 letters of user';
Players[4].Loc := 'Alkarid';
Players[4].String1 := 'soft'; // type of hide to tan (listed above)
Players[4].Integer1 := 1000; // number of hides to tan
Players[4].Active := True;

Players[5].Name := 'username';
Players[5].Pass := 'password';
Players[5].Nick := '3-4 letters of user';
Players[5].Loc := 'Alkarid';
Players[5].String1 := 'soft'; // type of hide to tan (listed above)
Players[5].Integer1 := 1000; // number of hides to tan
Players[5].Active := True;
end;
{/////////////////////////////////////////////
Sets up the script
//////////////////////////////////////////// }

procedure SetupReady;
begin
if not (LoggedIn) then
LoginPlayer;
SetRun(true);
HighestAngle;
PerfectNorth;
FindNormalRandoms;
end;
{/////////////////////////////////////////////
Finds Bank and opens.
//////////////////////////////////////////// }

function BankOpenQuick(WaitTime0, MaxTries0, BBColour0: integer): boolean; // Finds bank by colour +
// wait Time + Max tries.
var TT, MM: integer; // Don't like the SRL bank openers ;(

begin
MarkTime(TT);
if (WaitTime0 = 0) then WaitTime0 := 20000; // none set/0 = default
if (MaxTries0 = 0) then MaxTries0 := 20; // none set/0 = default
if (BBColour0 = 0) then BBColour0 := 7236460; // none set/0 = default.
repeat
MM := +1;
wait(3000);
if (FindObj(x, y, 'ank b', BBColour0, 7))
then
begin
Mouse(x, y, 1, 1, False);
Flag;
ClickOption('uick', 1);
wait(1000 + random(200));
if (BankScreen) then break;
end
until (TimeFromMark(TT) >= (WaitTime0)) or (BankScreen)
or (MM >= (MaxTries0))
if (BankScreen) then result := true;
if (not (BankScreen)) then
begin
result := false;
writeln('Could not find Bank');
end;
end;
{/////////////////////////////////////////////
Walks to the Kebab shop seller
//////////////////////////////////////////// }

procedure WalkKebab;
begin
q := 0;
s := 0;
MarkTime(Mark);
repeat
//70
if RadialWalk(SandColour, -30, 42, 60, 0, 0) then
begin
writeln('Walking to kebab shop');
FindNormalRandoms;
Flag;
break;
end else
//70
if not RadialWalk(SandColour, -30, 42, 60, 0, 0) then
begin
writeln('Walking Failed');
s := s + 1;
wait(3000 + random(500));
FindNormalRandoms;
end;
until (TimeFromMark(Mark) > 45000 + random(500))
if (s > 10) then
begin
writeln('Quitting could not walk correctly');
Players[CurrentPlayer].Loc := ('Got lost walking');
end;
FindNormalRandoms;
Flag;
end;

{/////////////////////////////////////////////
Walks to the Tanner
//////////////////////////////////////////// }

procedure GetTanner;
begin
q := 0;
s := 0;
banksymb := 0;
MarkTime(Mark);
banksymb := GetSymbolColor(rx, ry, 'tanner');
repeat
if FindMMColorTol(x, y, banksymb, 5) and (not (banksymb = 0)) then
begin
Mouse(x, y, 1, 1, true);
Flag;
FindNormalRandoms;
writeln('Walk succesfull');
break;
end else
if (not (FindMMColorTol(x, y, banksymb, 5)))
or (banksymb = 0) then
begin
writeln('Walking failed!');
banksymb := GetSymbolColor(rx, ry, 'tanner');
s := s + 1;
wait(3000 + random(500));
FindNormalRandoms;
end;
until (TimeFromMark(Mark) > 45000 + random(500))
or (q = 1)
if (s > 10) then
begin
writeln('Quitting , we failed! ');
Players[CurrentPlayer].Loc := 'Got lost walking';
end;
FindNormalRandoms;
end;

{/////////////////////////////////////////////
Finds the tanner man + trades him
//////////////////////////////////////////// }

procedure FindTanner;
begin
q := 0;
s := 0;
MarkTime(Mark);
repeat
if (FindColorTolerance(x, y, EllisColour, MSX1, MSY1, MSX2, MSY2, 10))
then
begin
Mouse(x, y, 1, 1, false);
ClickOption('Trade', 1);
Flag;
wait(500 + random(200));
end else
begin
writeln(' Cannot find Ellis.. trying again');
s := s + 1;
wait(5000 + (200));
FindNormalRandoms;
end;
until (GetColor(146, 42) = 2070783)
or (TimeFromMark(Mark) > 45000 + random(500))
or (q = 1)
if (s >= 15) then
begin
writeln('Quitting could not find Ellis');
Players[CurrentPlayer].Loc := 'Could not find Ellis';
end;
end;

{/////////////////////////////////////////////
Tans the correct type.
//////////////////////////////////////////// }

procedure TanHides;
begin
//soft,hard,green,blue,red,black,snake1,snake2
case Players[CurrentPlayer].String1 of
'soft': d := 97; //x
'hard': d := 204; //x
'green': d := 89; //x
'blue': d := 202; //x
'red': d := 318; //x
'black': d := 430; //x
'snake1': d := 313; //x
'snake2': d := 422; //x
end;
case Players[CurrentPlayer].String1 of
'soft': f := 108; //y
'hard': f := 107; //y
'green': f := 233; //y
'blue': f := 234; //y
'red': f := 235; //y
'black': f := 233; //y
'snake1': f := 105; //y
'snake2': f := 107; //y
end;
q := 0;
wait(2000 + random(1000));
MarkTime(Mark);
FindNormalRandoms;
repeat
if (GetColor(146, 42) = 2070783)
then
begin
Mouse(d, f, 5, 5, false);
wait(500 + random(50));
ClickOption('All', 1);
wait(500 + random(50));
break;
end;
until (TimeFromMark(Mark) > 30000 + random(1000))
if (GetColor(146, 42) = 2070783) then
Mouse(486, 38, 2, 2, true);
FindNormalRandoms;
end;

{/////////////////////////////////////////////
Walks back to kebab man
//////////////////////////////////////////// }

procedure BackKebab;
begin
q := 0;
s := 0;
MarkTime(Mark);
Flag;
repeat //70
if RadialWalk(SandColour, 211, 142, 60, 0, 0) then
begin
Flag;
FindNormalRandoms;
break;
end else
//70
if not RadialWalk(SandColour, 211, 142, 60, 0, 0) then
begin
writeln('Could not walk back, quitting...');
s := s + 1;
wait(3000 + random(500));
FindNormalRandoms;
Flag;
end;
until (TimeFromMark(Mark) > 45000 + random(500))
if (s > 15) then
begin
writeln('Quitting could not find colours...');
Players[CurrentPlayer].Loc := 'Got lost walking';
end;
FindNormalRandoms;
Flag;
end;
{/////////////////////////////////////////////
Walks back to bank
//////////////////////////////////////////// }

procedure BackToBank;
begin
MarkTime(Mark);
banksymb := 0;
q := 0;
Flag;
// 245, 172, 52 //177, 148, 41
if RadialWalk(GreyBuildingColour, 177, 148, 41, 0, 0) then
writeln('RadialWalked to bank');
Flag;
repeat
banksymb := GetSymbolColor(rx, ry, 'bank') // finds colour
if FindMMColorTol(x, y, banksymb, 5)
and not (banksymb = 0) then
begin
writeln('Found BankSymbol');
Mouse(x, y, 2, 2, true);
Flag;
FindNormalRandoms;
break;
end else
if not FindMMColorTol(x, y, banksymb, 5)
or (banksymb = 0)
then
begin
writeln('Did not find bank symbol');
FindNormalRandoms;
LowestAngle;
end;
until (TimeFromMark(Mark) > 10000 + random(1000))
Flag;
MakeCompass('W');
end;

{/////////////////////////////////////////////
Opens up Bank + does req stuff
//////////////////////////////////////////// }

procedure OpenBankUp;
begin
q := 0;
MarkTime(Mark);
FindNormalRandoms;
repeat
if (BankOpenQuick(0, 0, 0)) then
wait(2000);
until (BankScreen)
or (TimeFromMark(Mark) > 45000 + random(2000))
if (not (BankScreen)) then
FindBank('akb'); // last resort
if (BankScreen) then
begin
FixBank;
Deposit(2, 28, 2);
Withdraw(1, 1, 0);
CloseBank;
end;
TannedHides := TannedHides + 27;
TotalHides := TotalHides + 27;
FindNormalRandoms;
end;

procedure ProgReport;
begin
writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
writeln(' Using Hide Tanner BETA by [Endr1x] ');
writeln(' Have Tanned : ' + inttostr(TannedHides) + ' of ' + (Players[CurrentPlayer].String1) + ' hides for :' + Players[CurrentPlayer].Name);
writeln(' Tanned : ' + inttostr(TotalHides) + ' in total. ');
writeln(' Script Worked for : ' + ScriptTime2(2));
writeln(' ');
writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
end;

procedure ConvertPlay;
begin
HidesToTan := Players[CurrentPlayer].String1;
NHidesToTan := Players[CurrentPlayer].Integer1;
end;

procedure AutoColorSet;
begin
GreyBuildingColour := (GetColor(637, 64)); // Grey Colour
SandColour := (GetColor(677, 91)); // Sand Colour
SymbolAccuracy := 0.7;
end;

begin
SetupSRL;
DeclarePlayers;
HighestAngle;
PerfectNorth;
wait(500 + random(50));
AutoColorSet;
repeat
SetupReady; // sets up for new player.
AutoColorSet; // on player switch get new colours
TotalHides := TotalHides + TannedHides;
TannedHides := 0;
LoginPlayer;
repeat
BenMouse := True;
ConvertPlay;
SetupReady;
WalkKebab;
GetTanner;
FindTanner;
TanHides;
BackKebab;
BackToBank;
OpenBankUp;
SRLRandomsReport;
ProgReport;
until not (Players[CurrentPlayer].Loc = 'Alkarid')
or (Players[CurrentPlayer].Active = False)
or (NHidesToTan <= TannedHides)
NextPlayer(true);
writeln(' Switched players over correctly');
Logout;
LoginPlayer;
until (not (loggedin))
NextPlayer(false);
end.

program AutoTalker;
{.include SRL/SRL.scar}

var
frmDesign: TForm;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Button1: TButton;

const Text1 = 'Text1 Goes Here';
const Text2 = 'Text2 Goes Here';
const Text3 = 'Text3 Goes Here';


procedure buttonclick(sender: TObject);
begin
frmDesign.ModalResult := mrOk;
end;

procedure InitForm;
begin
frmDesign := CreateForm;
frmDesign.Left := 250;
frmDesign.Top := 114;
frmDesign.Width := 271;
frmDesign.Height := 215;
frmDesign.Caption := 'Endr1x .::Auto Talker::.';
frmDesign.Color := clBtnFace;
frmDesign.Font.Color := clWindowText;
frmDesign.Font.Height := -11;
frmDesign.Font.Name := 'MS Sans Serif';
frmDesign.Font.Style := [];
frmDesign.Visible := False;
frmDesign.PixelsPerInch := 96;
Label1 := TLabel.Create(frmDesign);
Label1.Parent := frmDesign;
Label1.Left := 66;
Label1.Top := 30;
Label1.Width := 30;
Label1.Height := 13;
Label1.Caption := 'Text1:';
Label2 := TLabel.Create(frmDesign);
Label2.Parent := frmDesign;
Label2.Left := 66;
Label2.Top := 57;
Label2.Width := 30;
Label2.Height := 13;
Label2.Caption := 'Text2:';
Label3 := TLabel.Create(frmDesign);
Label3.Parent := frmDesign;
Label3.Left := 67;
Label3.Top := 86;
Label3.Width := 30;
Label3.Height := 13;
Label3.Caption := 'Text3:';
Edit1 := TEdit.Create(frmDesign);
Edit1.Parent := frmDesign;
Edit1.Left := 108;
Edit1.Top := 25;
Edit1.Width := 121;
Edit1.Height := 21;
Edit1.TabOrder := 8;
Edit1.Text := 'Text Goes Here';
Edit2 := TEdit.Create(frmDesign);
Edit2.Parent := frmDesign;
Edit2.Left := 109;
Edit2.Top := 54;
Edit2.Width := 121;
Edit2.Height := 21;
Edit2.TabOrder := 9;
Edit2.Text := 'Text Goes Here';
Edit3 := TEdit.Create(frmDesign);
Edit3.Parent := frmDesign;
Edit3.Left := 108;
Edit3.Top := 84;
Edit3.Width := 121;
Edit3.Height := 21;
Edit3.TabOrder := 10;
Edit3.Text := 'Text Goes Here';
Button1 := TButton.Create(frmDesign);
Button1.OnClick := @buttonclick;
Button1.Parent := frmDesign;
Button1.Left := 80;
Button1.Top := 122;
Button1.Width := 75;
Button1.Height := 25;
Button1.Caption := 'Start';
Button1.TabOrder := 11;
end;

procedure SafeInitForm;
var
v: TVariantArray;
begin
setarraylength(V, 0);
ThreadSafeCall('InitForm', v);
end;

procedure ShowFormModal;
begin
frmDesign.ShowModal;
end;

procedure SafeShowFormModal;
var
v: TVariantArray;
begin
setarraylength(V, 0);
ThreadSafeCall('ShowFormModal', v);
end;



procedure CheckKey;
begin

if IsFKeyDown(12) then TypeSend(Text3);
if IsFKeyDown(10) then TypeSend(Text1);
if IsFKeyDown(11) then TypeSend(Text2);
if IsFKeyDown(2) then TerminateScript;

end;


begin
SafeInitForm;
SafeShowFormModal;

repeat
CheckKey;
until (false)
end.

——————————————————
<!– END TEMPLATE: formanswers –>

Hey321

2007-04-20 18:52:05

Looks good, pending Yoho's check i'm going to vote yes. I doubt you copied it though.

Rune Hacker

2007-04-20 20:16:10

Yeah, looks like a great script. Yes from me if its not copied. Although, there is no anti-ban, but its still good. Ill wait to see if its copied, if its not, got a yes from me.

Bobarkinator

2007-04-20 20:58:28

I quote Rune Hacker and Hey321, if not copied you will get a yes from me.

YoHoJo

2007-04-20 23:17:49

Seems to be some controversy about it here:
http://www.villavu.com/forum/showthread.php?t=8238?t=9386&highlight=tanner

Ill wait a bit and look over both scripts

Rune Hacker

2007-04-21 00:25:52

I looked through Thick As Blood's script and yours, and you did use a lot of what he uses. I dont like that because i like people finding thier own way of doing things, not using someone elses ways. Im not going to vote yet because this still does show you know scripting, I just dont like that you used some things he had. I know your script would be completely different if you never looked at his script, but im still not going to vote yet.

TheGodfather

2007-04-21 02:11:37

I've voted no becuase you're script uses many of the same stuff that Thick As Blood's script has. Maybe modify it alot more and do it in your style, or maybe give credit on what u used from him as a "guideline"

YoHoJo

2007-04-21 02:15:28

Really?
I didnt see many similarities, can someone please point some of the specific similarities out please?

Thick As Blood

2007-04-21 02:16:27

our Ellis Color was EXACTLY the same, our Writeln or Status's were almost exactly the same.. you cant just say you viewed mine to make yours..

anyway..

I find that you actualy are tallented, i'll vote yes in a month when you come back with a script made 100% by you.



EDIT: YoHoJo

He's changed the script, and deleted a thread that i accused him on, and re-made the thread about a week later. i may have the original script somewhere, i'll see if i do. ( his script )


EDIT EDIT : here's the script (his original, before i flamed him for copying me and he deleted the thread and changed the script around)

{=========================================================================]
[ SRL HideTanner BETA ]
[ ]
[ NAME : Hide Tanner BETA ]
[ WRITER : Endr1x ]
[ CATEGORY : Crafting ]
[ DESCRIPTION : Tans hides in Alkarid ]
[ USAGE : Tans Hides ^.^ ]
[ AUTOCOLOR : No ]
[ CONTACT : Endr1x on srl-forums ]
[ ]
[ ]
[=========================================================================]
[ Instructions. ]
[=========================================================================]
[ 1. USE Runescape with Low Detail, Very Bright. ]
[ 2. Set your Screen to 32 bit TRUE color. ]
[ 3. Set Playername and Password in DeclarePlayers. ]
[ 4. Set the consts + players ]
[ 5. Start script in alkarid bank ]
[ 6. : How to use : Start in Alkarid Bank with hides in inv and ]
[ money in first inv slot and more hides in first bank slot ]
[ ALL players MUST be in the middle bank spot! Mm Perfect North! ]
[=========================================================================}
program AutoTanner;
{.include SRL/SRL.scar}

var
q,s,d,f,TannedHides,NHidesToTan,SandColour,GreyBuildingColour,banksymb,rx,ry,TotalHides :integer; // variables
HidesToTan: string;
const

BBColour = 7236464; // colour of the bank booth ( don't touch).
EllisColour = 4285103; // colour of ellis ( the orange) ( don't touch).
{/////////////////////////////////////////////
Declares the players
//////////////////////////////////////////// }
Procedure DeclarePlayers;

Begin
HowManyPlayers := 6; // how many players
CurrentPlayer := 0; // player to start on
NumberOfPlayers(HowManyPlayers);



Players[0].Name :='username';
Players[0].Pass :='password';
Players[0].Nick :='3-4 letters of user';
Players[0].Loc :='Alkarid';
Players[0].String1:='soft'; // type
Players[0].Integer1 := 1000; // numbers to tan
Players[0].Active:=True;


Players[1].Name :='username';
Players[1].Pass :='password';
Players[1].Nick :='3-4 letters of user';
Players[1].Loc :='Alkarid';
Players[1].String1:='soft';
Players[1].Integer1 := 1000;
Players[1].Active:=True;

Players[2].Name :='username';
Players[2].Pass :='password';
Players[2].Nick :='3-4 letters of user';
Players[2].Loc :='Alkarid';
Players[2].String1:='soft';
Players[2].Integer1 := 1000;
Players[2].Active:=True;

Players[3].Name :='username';
Players[3].Pass :='password';
Players[3].Nick :='3-4 letters of user';
Players[3].Loc :='Alkarid';
Players[3].String1:='soft';
Players[3].Integer1 := 1000;
Players[3].Active:=True;

Players[4].Name :='username';
Players[4].Pass :='password';
Players[4].Nick :='3-4 letters of user';
Players[4].Loc :='Alkarid';
Players[4].String1:='soft';
Players[4].Integer1 := 1000;
Players[4].Active:=True;

Players[5].Name :='username';
Players[5].Pass :='password';
Players[5].Nick :='3-4 letters of user';
Players[5].Loc :='Alkarid';
Players[5].String1:='soft';
Players[5].Integer1 := 1000;
Players[5].Active:=True;
end;
{/////////////////////////////////////////////
Sets up the script
//////////////////////////////////////////// }
procedure SetupReady;

begin
if not(LoggedIn) then LoginPlayer;

SetRun(true);
HighestAngle;
PerfectNorth;
FindNormalRandoms;
end;
{/////////////////////////////////////////////
Walks to the Kebab shop seller
//////////////////////////////////////////// }
procedure WalkKebab;

begin
q := 0;
s := 0;
MarkTime(Mark);
repeat

if RadialWalk(SandColour, 0, 2, 39, 0,0)

then

begin
writeln('walking to kebab');
FindNormalRandoms;
q:= 1;

end else

if not RadialWalk(SandColour, 0, 2, 39, 0,0)
then


begin
writeln('Walking Failed');
s := s+1;
wait(3000+random(500));
FindNormalRandoms;
end;

until
(TimeFromMark(Mark)>45000+random(500))
or (q=1)

if (s>10) then
begin
writeln('Quitting could not walk correctly');
Players[CurrentPlayer].Loc :=('Got lost walking');

end;

FindNormalRandoms;



end;

{/////////////////////////////////////////////
Walks to the Tanner
//////////////////////////////////////////// }
procedure GetTanner;

begin
q := 0;
s := 0;
banksymb := 0;
MarkTime(Mark);



banksymb := GetSymbolColor(rx,ry,'tanner');

repeat
if FindMMColorTol(x,y,banksymb,5) and not (banksymb=0)
then
begin
Mouse(x,y,2,2,true);
q := 1;
FindNormalRandoms;
writeln(' walk succesfull');
if (q = 1)
then break;
end else

if not FindMMColorTol(x,y,banksymb,5) or (banksymb=0)
then
begin
writeln('Walking failed!');
banksymb := GetSymbolColor(rx,ry,'tanner');
s := s+1;
wait(3000+random(500));
FindNormalRandoms;
end;

until (TimeFromMark(Mark)>45000+random(500)) or (q=1)

if (s>10) then
begin
writeln('Quitting , we failed! ');
Players[CurrentPlayer].Loc:='Got lost walking';

end;


FindNormalRandoms;
end;

{/////////////////////////////////////////////
Finds the tanner man + trades him
//////////////////////////////////////////// }
procedure FindTanner;

begin
q := 0;
s := 0;


MarkTime(Mark);
repeat
if (FindColorTolerance(x, y, EllisColour,MSX1, MSY1, MSX2, MSY2,6))

then
begin
MMouse(x,y,1,1);
if (IsUpText('alk')) then
Mouse(x,y+5,1,1,false);
ClickOption('Trade',1);
wait(2000+random(2000));

end else

begin
writeln(' Cannot find Ellis.. trying again');
s := s+1;
wait(5000+(200));
FindNormalRandoms;
end;

until (GetColor(146, 42)=2070783) or (TimeFromMark(Mark)>45000+random(500)) or (q=1)

if (s>=15) then
begin
writeln('Quitting could not find Ellis');
Players[CurrentPlayer].Loc:='Could not find Ellis';

end;

end;

{/////////////////////////////////////////////
Tans the correct type.
//////////////////////////////////////////// }
procedure TanHides;
begin
//soft,hard,green,blue,red,black,snake1,snake2
case Players[CurrentPlayer].String1 of
'soft' : d := 97; //x
'hard' : d := 204; //x
'green' : d := 89; //x
'blue' : d := 202; //x
'red' : d := 318; //x
'black' : d := 430; //x
'snake1' : d := 313; //x
'snake2' : d := 422; //x

end;

case Players[CurrentPlayer].String1 of

'soft' : f := 108; //y
'hard' : f := 107; //y
'green' : f := 233; //y
'blue' : f := 234; //y
'red' : f := 235; //y
'black' : f := 233; //y
'snake1' : f := 105; //y
'snake2' : f := 107; //y
end;

q := 0;
wait(2000+random(1000));
MarkTime(Mark);
FindNormalRandoms;

repeat
if (GetColor(146, 42)=2070783)
then

begin
Mouse(d,f,5,5,false);
wait(500+random(50));
ClickOption('All',1);
wait(500+random(50));
q := 1;
end;
until (q=1) or (TimeFromMark(Mark)>30000+random(1000))

if (GetColor(146, 42)=2070783)
then Mouse(486, 38,2,2,true);
FindNormalRandoms;

end;

{/////////////////////////////////////////////
Walks back to kebab man
//////////////////////////////////////////// }
procedure BackKebab;
begin
q := 0;
s := 0;
MarkTime(Mark);
repeat
if RadialWalk(SandColour , 196, 166, 70,0,0)
then

begin
q := 1;
FindNormalRandoms;
end else

if not RadialWalk(SandColour , 196, 166, 70,0,0)
then

begin
writeln('Could not walk back, quitting...');
s := s+1;
wait(3000+random(500));
FindNormalRandoms;
end;

until
(TimeFromMark(Mark)>45000+random(500)) or (q=1)

if (s>15) then
begin
writeln('Quitting could not find colours...');
Players[CurrentPlayer].Loc:='Got lost walking';

end;

FindNormalRandoms;

end;
{/////////////////////////////////////////////
Walks back to bank
//////////////////////////////////////////// }
procedure BackToBank;
begin
MarkTime(Mark);
banksymb := 0;
q := 0;
repeat
banksymb := GetSymbolColor(rx,ry,'bank') // finds colour
if FindMMColorTol(x,y,banksymb,5) and not (banksymb=0)
then
begin

Mouse(x,y,2,2,true);
FindNormalRandoms;
break;
end

else if not FindMMColorTol(x,y,banksymb,5) or (banksymb=0)
then
FindNormalRandoms;


until (TimeFromMark(Mark)>45000+random(1000))

end;

{/////////////////////////////////////////////
Opens up Bank + does req stuff
//////////////////////////////////////////// }
procedure OpenBankUp;
begin

q := 0;
MarkTime(Mark);
FindNormalRandoms;
repeat
if FindObj(x,y,'ank bo',BBColour,8)
then
begin
Mouse(x,y,3,3,false);
Wait(800+random(200));
ClickOption('uick',1);
Wait(1000+random(2000));
end;

until (BankScreen) or (TimeFromMark(Mark)>45000+random(2000))
if (BankScreen)
then
begin
FixBank;
Wait(500+random(50));
Deposit(2,28,2);
Wait(500+random(50));
Withdraw(1,1,0);
Wait(500+random(50));
CloseBank;
Wait(500+random(50));
end;
TannedHides := TannedHides+27;
FindNormalRandoms;
end;

procedure ProgReport;
begin

writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
writeln(' Using Hide Tanner BETA by [Endr1x]');
writeln(' Have Tanned : ' + inttostr(TannedHides) + ' of ' + (Players[CurrentPlayer].String1) + ' hides for current player');
writeln(' Tanned : ' + inttostr(TotalHides) + ' in total. ');
writeln(' Script Worked for : ' + inttostr(ScriptTime(2)) + ' mins ');
writeln(' ');
writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
writeln('/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\');
end;



procedure ConvertPlay;
begin
HidesToTan := Players[CurrentPlayer].String1;
NHidesToTan := Players[CurrentPlayer].Integer1;
end;

procedure AutoColorSet;
begin
GreyBuildingColour :=(GetColor(637, 64)); // Grey Colour
SandColour :=(GetColor(677, 91)); // Sand Colour
SymbolAccuracy := 0.7;
// if grey = 0? quit?
end;

//unf.
{function SymbolFinder(var x,y,number,rand:integer; Accuracy:extended): boolean;
// finds symbol and returns as x,y and result := true
var BMP:integer;
begin
if (number=1) // bank
then
begin
BMP := BitmapFromString(10, 12, 'z78DA9551410AC03008FB9' +
'26E38F5A8EDFEFFA5157A1144595B08624D8C15601D14142006EC' +
'AEBFFE3C1631BE1A3B9BAB2A5D1671E7B3CECE67D6C4A1B7F43A1' +
'52B234D1A6B3A5616CF1D634D8C239E72777DC4D3BEB1BEFFA53C' +
'69E5B952A8FCF71EFE73F31E4FB9FD6633F703556AA1E9');
end;

if (number=2) // Tanner
then
begin
BMP := BitmapFromString(12, 9, 'z78DA8D90510E80300843AFC' +
'4C626F8E912BDFF915C6CD4469C314BFA51CA03E6EAB9BA1F2AE9' +
'7E8B355BDA4839E981F0DDFB8719AB9396354D7D8848D22DAFA7C' +
'21FD1D8A9562C09F24C63674483964D8B6470228D95AB8F1DAA28' +
'139819099C7FA575DF6D366FF80DE4230119CEC7EBBE39D8937B4' +
'71CE8C589775DFB707E079C0B8F35');
end;

if FindDeformedBitmapToleranceIn(BMP,x,yx1, y1, x2, y2,5,5,true,0.6)
then

end;}

begin
SetupSRL;
DeclarePlayers;
HighestAngle;
PerfectNorth;
wait(500+random(50));
AutoColorSet;
repeat
SetupReady; // sets up for new player.
AutoColorSet; // on player switch get new colours
TotalHides := TotalHides + TannedHides;
TannedHides := 0;
repeat
ConvertPlay;
SetupReady;
WalkKebab;
GetTanner;
FindTanner;
TanHides;
BackKebab;
BackToBank;
OpenBankUp;
SRLRandomsReport;
ProgReport;
until not (Players[CurrentPlayer].Loc='Alkarid') or
(Players[CurrentPlayer].Active=False)
or (NHidesToTan<=TannedHides)
NextPlayer(true);
writeln(' Switched players over correctly');

until (false)
end.


also, i dont really find this a big deal. i mean, we all learn this way, but i just felt offended since he claimed he didnt copy me or anything.

Rune Hacker

2007-04-21 02:23:10

He completely based this script off of Thick As Bloods. He did change it a lot, but still used the same functions to accomplish the tasks. Ide love if you used different ones because this script is based too much off of Thick As Bloods, although it does show scripting knowledge. Im gonna have to vote no, sorry, although you are a good scripter. Just wait a little, make a scipt that isnt based off of someone elses script really, make a script unique to yourself. Sorry, but its just based off of Thick As Blood's too much.

endr1x

2007-04-21 08:44:55

Thanks for the feedback everyone :D . Should i edit the hide tanner more? or create a new script from scratch?

-Endr1x

TheGodfather

2007-04-21 15:06:43

Try making something unique, that's what really appeals all of us here. That way nobody will bitch @ you for "basing" a script off theirs.

Doofy

2007-04-21 21:05:26

I voted yes because I never saw Thick As Blood's script before. Woops.

TheGodfather

2007-04-21 23:28:55

From: Doofy
I voted yes because I never saw Thick As Blood's script before. Woops.


Thats not very smart… Not to sound rude but I think if you were to read the replies you'd see how we based our votes. Careful next time ;)