SRL Archive - Archive

Gala - SRL Member Application Form


Gala

2007-10-09 07:14:41

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

What is the meaning to life?


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


Programming Knowledge
PHP, HTML, Basic, AppleScript, a bit Javascript

Other Communitys
-

How Long have You Played Runescape
about 1 year

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

Im new here. Im learning how to script scar and how to use SRL in my scripts. (I was beginning 3 days ago.)
My first script is ChickenSlayer. I update it realy often.
Im 14 and im interested in WebPage programming and gameing :D.
Sorry for my English. Im it learning too, but it is in the moment enough, to understand and communicate with you. I will learning programming scra and i will write scripts, who will be in the first place on the srl stats charts. :P

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


program ChickenSlayer;
{.include SRL\SRL.scar}

// For the SRL-Community and
// my brother

var
x, y, z: Integer;

// Setup
const
ChickenColor1 = 924806 ; // Pick the ChickenColors
ChickenColor2 = 1187728;
UserName = 'Zezima'; // Choose your Username
AttStyle = 2; // Your attstyle ( 1 Attack, 2 Strength, 3 All, 4, Defence )


procedure welcome;
begin
wait(500+random(600))
cleardebug;
wait(300)
writeln('---------------------------------')
wait(300+random(200))
writeln(' ChickenSlayer V 3.5 SRL 4 ')
wait(300+random(200))
writeln(' By ')
wait(300+random(200))
writeln(' Gala ')
wait(300+random(200))
writeln('---------------------------------')
wait(300+random(200))
end;


procedure setup;
begin
wait(300+random(500))
makecompass('n');
wait(400+random(330))
setrun(true);
wait(400)
gametab(4);
wait(500+random(300))
SetFightMode(AttStyle);
wait(400+random(400))
gametab(4)
wait(400+random(400))
writeln('Setup successfully')
wait(4000+random(2000))
cleardebug;
wait(2000)
end;

procedure attackChicken;
begin
if findcolortolerance(x, y, ChickenColor1, 0, 0, 700, 500, 5) or
findcolortolerance(x, y, ChickenColor2, 0, 0, 700, 500, 5) then
begin
Mouse(x ,y, 0, 0, false)
ChooseOption('Chicken')
wait(3000+random(3000))
end;
end;


procedure findFeather;
begin
repeat
z:= z+1
if findcolortolerance(x, y, 10240, 0, 0, 520, 341, 2) then
begin
MMouse(x, y, 0, 0)
wait(40)
Mouse(x, y, 0, 0, false)
wait(300+random(300))
ChooseOption('ther')
wait(3000+random(300))
end;
until(z >= 5)
end;


procedure report;
begin
cleardebug;
wait(300)
writeln('User: ' + (UserName))
writeln('Attackstyle: ' + IntToStr(AttStyle))
wait(600+random(400))
end;

procedure saitime;
begin
wait(400)
writeln(TimeRunning)
wait(330)
end;



begin
SetUpSRL;
activateclient;
welcome;
setup;
repeat
report;
saitime;
wait(2000+random(1000))
attackChicken;
findFeather;
until(false)
end.


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

danrox2004

2007-10-09 07:34:53

I'm going to hold my vote for now, but i thing you should look at:
Improving standards
- http://www.villavu.com/forum/showthread.php?t=3293?t=3997
The SRL players array
- http://www.villavu.com/forum/showthread.php?t=12884?t=14274
Antiban
- http://www.villavu.com/forum/showthread.php?t=12355?t=13725
and look more into the SRL functions and read the manual.

rogeruk

2007-10-09 14:59:03

Missing..
Standards, Antiban, AntiRandom, Multiplayer.

Sorry a no from me

Hugolord

2007-10-09 15:01:58

this is way too short and shows nothing of what a SRL member should be capable of doing no from me.

mat_de_b

2007-10-09 15:04:40

No, but ncie try, you need a far more complex script for this to work properly and there are lots of unecessary waits and no failsafes…

Macrosoft

2007-10-09 17:06:22

no, but keep working at it!

if i were u, id look at danrox2004's post, it will help you for next time

Santa_Clause

2007-10-09 23:33:16

Why is there a Username constant when there's no password?

ZephyrsFury

2007-10-10 00:56:00

Sorry its a no from me:

  1. Your standards are non-existant:
  2. Instead of this:
    procedure findFeather;
    begin
    repeat
    z:= z+1
    if findcolortolerance(x, y, 10240, 0, 0, 520, 341, 2) then
    begin
    MMouse(x, y, 0, 0)
    wait(40)
    Mouse(x, y, 0, 0, false)
    wait(300+random(300))
    ChooseOption('ther')
    wait(3000+random(300))
    end;
    until(z >= 5)
    end;
    It should be this:
    procedure findFeather;
    begin
    repeat
    z := z + 1;
    if findcolortolerance(x, y, 10240, 0, 0, 520, 341, 2) then
    begin
    MMouse(x, y, 0, 0);
    wait(40);
    Mouse(x, y, 0, 0, false);
    wait(300+random(300));
    ChooseOption('ther');
    wait(3000+random(300));
    end;
    until(z >= 5)
    end;
  3. Your script doesn't compile because you're missing a heap of semicolons.
  4. Your script is way too simple. There's no multiplayer, antiban, failsafes (stuff that is required in an application).
  5. procedure findFeather;
  6. begin repeat z:= z+1 if findcolortolerance(x, y, 10240, 0, 0, 520, 341, 2) then begin MMouse(x, y, 0, 0) wait(40) Mouse(x, y, 0, 0, false) wait(300+random(300)) ChooseOption('ther') wait(3000+random(300)) end; until(z >= 5) end; You need to add a break after the Wait(3000 + Random(300)) line so that if the colour is found then it breaks the loop. Currently the script will continue looking for the colour even if the colour is found.

MasterKill

2007-10-10 01:16:26

sorry no from me.

reasons above

Negaal

2007-10-10 02:17:24

reason above, No, missing standards, basics, failsafes, you havent used Srl player array, antirands, and your feather finding is waste of time, there is 6 parts in your script actually 5 is finding feather 1 is killing chicken:D, or you should add break out of the loop when feather is picked

ShowerThoughts

2007-10-10 02:20:08

From: negaal
missing standards


ehm your siggy?


Program BotOrNot;

Begin
Writeln('i am not a bot');
End.

:p

The Un-Named

2007-10-10 17:32:53

I voted no.

You didn't use Bitmaps, or DTMS and from quickly skimming through the script, you didn't use case statements either.

YoHoJo

2007-10-10 19:31:38

'Nuff Said.
Good Luck Next Time