SRL Archive - Archive

Mister - SRL Member Application


ISRA3L

2012-06-24 03:46:38

How Long have You Played Runescape?
2 Year(s)


Are you affilated in anyway with Jagex LTD?
No…

Were you Referred to SRL?



What is your general programming knowledge?
Only Simba and Visual Basic.


Are you a member of any other communities?
Nope.. :)


Tell us about yourself…
From: Mister
Hello, im 14 y/o from Israel..

I dont know any programming language.. I only know Visual basic (how to make programs) and Simba..

I want to help to the community by adding scripts that I created, like my Pizza Maker.

Actually, I started programing with Simba yesterday, and I managed to make a flawless script, I made 1000 pizza's with no break.. :)



Please show us one (or multiple) of your scripts.
// Pizza Maker By M1STER ! Enj0y //

Program PizzaMaker;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}
var
TimeRun, LoadsMade, PizzaMade, LoadsPerHour, PizzaPerHour: Array of integer;
i: integer;

const
SmartServer = 106; //Choose your RS server, leave 0 for random
AntiBanRatio = 70; // Enter how many AntiBan do you want
SmartMember = False; //False for F2P, True for P2P
Banks = 'vwb'; // Available banks are ‘feb’ ‘fwb’ ‘veb’ ‘vwb’ ‘db’ ‘akb’ ‘eb’ ‘lb’ ‘ctb’ ‘clt’ ‘nab’ ‘sab’ ‘ynb’ ‘ngb’ ‘sgb’ ‘wgb’ ‘fgb’
TimeToRun = '60';

procedure DeclarePlayers;

begin

HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

with Players[0] do
begin
Players[0].Name := ''; //RS name here
Players[0].Pass := ''; //RS password here
Players[0].Active := True; //player is active ?
Players[0].Pin := ''; //RS bank pin, if you dont have leave blank
Players[0].Nick := ''; // Enter a nick for the proggy
end;
end;

procedure AntiBan;
begin
if(LoggedIn)then
case Random (AntiBanRatio) of
0:
begin
HoverSkill('Cooking', False);
wait(2000+Random(300));
end;
1: RandomMovement;
2: BoredHuman;
3: RandomAngle(1);
4: RandomAngle(2);
5: FindSpinTicket;
6: ExamineInv;
7: wait(5000+random(1000));
8:
begin
MakeCompass('N');
wait(30+random(150));
MakeCompass('E');
wait(80+Random(150));
MakeCompass('N');
end;
end;
end;

procedure Withdrawitems;
begin
FindNormalRandoms;
SetAngle(SRL_ANGLE_HIGH);
OpenBank(Banks, False, True)
if PinScreen then
wait(4000+random(1000));
InPin('Pin');
Withdraw(0, 0, 9);
Withdraw(1, 0, 9);
Withdraw(2, 0, 9);
CloseBank;
AntiBan;
wait(1000+random(1000));

end;

procedure MakePizza;

begin
FindNormalRandoms;
wait(500+random(500));
MMouse(580, 232, 10, 10); // moves to tomato
Clickmouse2(false); //right click
wait(500+random(250));
ChooseOption('Use'); //chooses USE
wait(500+random(500));
MMouse(621, 300, 10, 10); // moves to dough
Clickmouse2(true); //clicks it
MMouse(255, 427, 30, 30); //moves to make all
wait(500+random(500));
ClickMouse2(true); //clicks it
wait(12500+random(1000));
MMouse(671, 371, 10, 10); // moves to cheese
Clickmouse2(false); // right click
wait(500+random(250));
ChooseOption('Use'); //chooses USE
MMouse(583, 299, 10, 10); // moves to pizza
wait(500+random(500));
Clickmouse2(true); // clicks it
wait(500+random(250));
MMouse(255, 427, 30, 30); // moves to make all
wait(500+random(500));
Clickmouse2(true); // clicks it
wait(14500+random(1000))
AntiBan;
wait(500+random(500));
OpenBank(Banks, False, True);
DepositAll;
Inc(LoadsMade[CurrentPlayer])
Inc(PizzaMade[CurrentPlayer])

end;

{procedure ProgressReport;
begin
ClearDebug;
//TimeRun := (GetTimeRunning/1000);
LoadsPerhour[CurrentPlayer] :=(3600*(LoadsMade[CurrentPlayer]))/((TimeRun[CurrentPlayer]));
PizzaPerHour[CurrentPlayer] := (3600*(PizzaMade[CurrentPlayer]))/((TimeRun[CurrentPlayer]));
begin
Writeln('#################################################');
Writeln('# Pizza Maker - by M1STER #');
Writeln('#################################################');
Writeln('');
for i := 0 to HowManyPlayers - 1 do
Writeln(' Players[i].Nick + Progress report ');
Writeln('Running For: ' + IntToStr(TimeRun[i]) + ' Minutes.');
Writeln('Pizzas Made: ' + IntToStr(PizzaMade[i]) + '.');
Writeln('Total Pizza Loads: ' + IntToStr(LoadsMade[i]) + '.');
Writeln('Pizzas Per Hour: ' + IntToStr(PizzaPerHour[i]) + '.');
Writeln('Pizza Loads Per Hour: ' + IntToStr(LoadsPerHour[i]) + '.');
end;
end;

procedure SetArrayLengths;
begin
SetLength(TimeRun,HowManyPlayers);
SetLength(LoadsPerHour,HowManyPlayers);
SetLength(LoadsMade,HowManyPlayers);
SetLength(PizzaMade,HowManyPlayers);
SetLength(PizzaPerHour,HowManyPlayers);
end;}

begin
ClearDebug;

Smart_Server := SmartServer;
Smart_Members := SmartMember;
Smart_Signed := False;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
ActivateClient;
LoginPlayer;
//ProgressReport;
//SetArrayLengths;

repeat
Withdrawitems;
MakePizza;
//ProgressReport;
until (AllPlayersInactive);

end.




I made it yesterday, I found out that making pizza from tomato, cheese and dough is so boring, so I made this script...
I dont know how to use DTM's yet, so I used the Mmouse and Clickmouse2..

(I cant upload the script because it tells me I dont have permissions..)

Harry

2012-06-24 04:00:25

Your stuff is too simple IMO for me. Using coord clicking for that kind of stuff is bad. No failsafes on that, no wait delays, etc.

ISRA3L

2012-06-24 04:22:33

From: Harry
Your stuff is too simple IMO for me. Using coord clicking for that kind of stuff is bad. No failsafes on that, no wait delays, etc.


I gonna change all to DTM's using failsafes with UpText and such…

Justin

2012-06-24 06:50:54

From: Mister
I gonna change all to DTM's using failsafes with UpText and such…


Why didn't you use DTMs before applying?

xtrapsp

2012-06-24 11:35:05

Mister, don't take what people are saying as bad. Sometimes people are stirn ;)

All I can say is, good start but you need some more work, read up on the beginner tutorials some more, then move to intermediate and then touch on advanced.

Also your activity seems to be lacking, 44 posts since November…

P1nky

2012-06-24 13:38:41

Mate you are headed the right direction, although this is quite simple. Try using RRW/DDTM/DTM/TPA/AutoColor…etc.

Good Luck :)

ISRA3L

2012-06-24 14:02:36

I tried DTM's today.. didnt managed it to work… I'll try again tommorow maybe

NKN

2012-06-24 14:29:44

This script is a little too simple for me, and your activity is lacking a bit.

Don't worry though! I'm sure you'll join us in no time at all.

xtrapsp

2012-06-24 15:54:44

offtopic: who ever derepped me for a spelling error. F@#% you. Seriously. That is just stupidly pathetic. You don't deserve SRL for acting like a child.

mika

2012-06-24 22:27:43

Im going to have to say no unfortunately, but next time i will say yes, just make a lumby cake maker for the next application. Harry is right that its way to simple. I however have nothing against coords as i use them myself however you need to mix some dtms or bitmaps in there because what i have found with coords is that the timing can get offset.

Smarter Child

2012-06-24 22:51:13

Too simple, for your next application try to show more DTMs/TPAs/Failsafes/etc. that add complexity to your script illustrating your knowledge. :)

cause

2012-06-24 23:32:31

Hey nice start dude, you're headed in the right direction! I suggest Yoho's DTM tut :)

ISRA3L

2012-06-25 09:31:59

i managed to switch all coords with DTM's, except for the damn pizza base dtm… it seems like it cant find it..

Tniffoc

2012-06-25 11:11:24

I'm going to be voting no on this one, but you have a good attitude just for applying in the first place. I hope to see you improve and we'll see you back later! I've put my little checklist below.

Standards
[INDENT]You have mistakes in indenting. I know this seems like a small thing but trust us, it isn't. Its a pain to deal with, especially in a work environment, like the one I just entered.[/INDENT]

DTM Usage
[INDENT]You use coordinate clicking instead of using methods of finding the stuff on the screen with colors. This is a major major no no.[/INDENT]

Custom TPAs
[INDENT]You don't use custom TPAs for anything. This is pretty much a necessity for me.[/INDENT]

Comments
[INDENT]You comment your code. This is a good habit.[/INDENT]

ISRA3L

2012-06-25 12:49:20

i made it much better.. take a look :D

http://villavu.com/forum/showthread.php?t=85155

Gucci

2012-06-25 14:56:33

Even with the changes it's still fairly simple just the addition of a few DTM's isn't really going to get members you mainly need too show use of TPA's and walking would be great. Also activity is quite important and also greatly increases your chances of getting in, don't get discouraged though show definitely show potential and I think we'll see you in members soon.

ISRA3L

2012-06-25 18:46:16

From: Gucci
Even with the changes it's still fairly simple just the addition of a few DTM's isn't really going to get members you mainly need too show use of TPA's and walking would be great. Also activity is quite important and also greatly increases your chances of getting in, don't get discouraged though show definitely show potential and I think we'll see you in members soon.


I tought that I need SRL member to post scripts, but I was wrong.. :D

I can post scripts w/o being a SRL member.. :)

I will appeal again maybe in few weeks :P