SRL Archive - Archive

rpatel9 - SRL Member Application


rpatel9

2011-12-17 23:52:27

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


Are you affilated in anyway with Jagex LTD?
No

Were you Referred to SRL?



What is your general programming knowledge?
C++/started java 5 months ago


Are you a member of any other communities?
x-Mod at codemplosion.com
Used to be a member of powerbot but i left due to the scamming/corruption that the admins were behind.


Tell us about yourself…
From: rpatel9
Well ive only just recently joined the community but i have held two competitions and awarded prizes to the winners, Im 22 years old and i live in Singapore. I love playing rs/wow and i also love playing basketball. Im doing a computing course at NUS. I had a little trouble with the script that i posted but i looked at some of the tutorials here and within a couple of minutes i realized what i did wrong. Top tutorials



Please show us one (or multiple) of your scripts.
program FireRuneMaker;
{$DEFINE SMART}
{$i srl\srl.scar}
{$i reflection\reflection.simba}

//Description:
//This is a app fire rune making script
//The script was written for Simba(srl) using reflection
//Start at the Al Kharid bank
//Put your rune essence in your first bank slot
//Put your fire talisman in your first inventory slot
//Start with rune essence in your inventory
//Set your graphics to lowest details and max brightness.
//Fill the setup below.
//Press the green arrow in Simba to start (Ctrl+Alt+R)
//Happy botting.

procedure DeclarePlayers;
begin
NumberOfPlayers(1); // How many players? 1 account = "1', 5 accounts = "5"...
CurrentPlayer := 0; // Start at player "zero" (aka player 1)

Players[0].Name := '';//Type username in speech marks
Players[0].Pass := '';//Same for pass
Players[0].Nick := ''; //have a nickname
Players[0].Active:= True;
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
Players[0].Pin := '';
end;

Const
FireAltar = 2456;
PortalID = 2469;
PlayerPositionX = 2584;
PlayerPositionY = 4840;
Craftingalter = 2482;
FireTalisman = 1442;
RuneEssence = 1436;
FireRuneINV = 554;

Var
LoadsBanked, scriptRunning, TotalExperience, FireRunesCrafted : Integer;


Function WalkFromBankToAltar : boolean;
Var WalkingPath : TTileArray;
Begin
If Not LoggedIn then exit;
R_findRandoms;
//If(R_CountItemId(1436) <1) then Exit;
WalkingPath := [Tile(3270, 3164), Tile(3276, 3173), Tile(3283, 3183),
Tile(3284, 3195), Tile(3288, 3199), Tile(3288, 3206),
Tile(3295, 3208), Tile(3301, 3217), Tile(3303, 3228),
Tile(3306, 3236), Tile(3306, 3248), Tile(3312, 3253)];
Result := WalkPath (WalkingPath);
end;

Function FindAndEnterAltar : boolean;
Var AltarObject: TRSObject;
FirealtarTP: TPoint;
t: Integer;
Mytile: Ttile;
Begin
If Not LoggedIn then exit;
R_findRandoms;
Result := false;
R_ClickItemID(FireTalisman, true, 'use');
AltarObject := GetObjectByID(FireAltar, OBJECT_TYPE_INTERACTABLE, 15);
Wait(250+random(250));
FirealtarTp := TileToMs(Altarobject.Tile, 0);
Mouse(FirealtarTP.x, FireAltarTp.y, 3, 3, true);
MarkTime(t);
Repeat
R_findRandoms;
Wait(50);
Mytile := GetMypos;
if(mytile.Y > 4000) then break;
until (timefrommark(t)>8000)
If (timefrommark(t)>8000) then writeln('Crap, we'+#39+'re lost') Else writeln('We have safely made it to the alter =)');
Result := true;

end;

Function FindAltarCraftRunes : boolean;
Var AltarObject: TRSObject;
FirealtarTP: TPoint;
t: Integer;
Begin
If Not LoggedIn then exit;
R_findRandoms;
result := false;
WalkPath([Tile(PlayerPositionX, PlayerPositionY)]);
AltarObject := GetObjectByID(CraftingAlter, OBJECT_TYPE_INTERACTABLE, 15);
Wait(250+random(250));
FirealtarTp := TileToMs(altarObject.tile, 0);
Mouse(FirealtarTP.x, FirealtarTp.y, 3, 3, true);
MarkTime(t);
Repeat
R_findRandoms;
Wait(1000+random(1000));
if(R_CountItemID(FireRuneINV)>0) then break;
until (timefrommark(t)>8000)
If(timefrommark(t)>8000) then writeln('Crap, we''re lost');
If(R_CountItemID(FireRuneINV) >0) then result := true;
wait(1000+random(1000));
End;

Function Leavealtar : boolean;
Var PortalObject: TRSObject;
PortalTp: TPoint;
t: Integer;
MyTile: TTile;
Begin
If Not LoggedIn then exit;
result := false;
R_findRandoms;
Walkpath([Tile(2577, 4845)]);
portalObject := GetObjectById(PortalID, OBJECT_TYPE_INTERACTABLE, 15);
Wait(500+random(500));
PortalTP := TileToMS(PortalObject.Tile, 0);
Mouse(PortalTP.X, PortalTP.y, 3, 3, True);
MarkTime(t);
Wait(500+random(500));
Repeat
R_findRandoms;
Wait(50);
Mytile := GetMypos;
if(Mytile.Y < 4000) then break;
Until (timefrommark(t)>8000)
Wait(50);
If(timefrommark(t)>8000) then writeln('Crap, we'+#39+'re lost')
Else
begin
writeln('successfully excited alter =)');
result := true;
end;
Wait(4000+random(2000));
end;

Function WalkBackToBank : boolean;
Var Walkbackpath: TTileArray;
Begin
If Not LoggedIn then exit;
R_findRandoms;
wait (2000+random(2000));
result := false;
Writeln('going back to bank');
Walkbackpath := [Point(3312, 3252), Tile(3305, 3244), Tile(3296, 3233),
Tile(3297, 3225), Tile(3296, 3217), Tile(3290, 3209),
Tile(3286, 3200), Tile(3282, 3194), Tile(3283, 3187),
Tile(3281, 3181), Tile(3277, 3173), Tile(3274, 3164),
Tile(3270, 3164)];

Result := WalkPath (walkbackpath);
Wait(1500+random(1500));
end;

Function BankRunes : boolean;
Begin
If Not LoggedIn then exit;
R_findRandoms;
result := false;
R_OpenBankBooth('akb');
Wait(300+random(300));
R_DepositAllButID(Firetalisman);
Wait(1000+random(1000));
Mouse(53, 108,3,3, false);
Wait(500+random(500));
Result := R_ChooseOptionMulti (['All', 'but']);
Wait(250+random(250));
Inc(LoadsBanked);
end;

Procedure ProgressReport;
Var
scriptRunningTime : String;
Begin
ClearDebug;
scriptRunningTime := MsToTime ((TimeFromMark(scriptRunning)), 4);
Writeln('=================================================================');
Writeln('|| Number of loads done: ' +IntToStr(LoadsBanked) +' || Time running: ' +scriptRunningTime + '||');
Writeln('=================================================================');
End;

Procedure MainLoop;
Begin
MarkTime (scriptRunning);
Repeat
If WalkFromBankToaltar then
Begin
Writeln ('Walked from bank to altar');
If FindAndEnteraltar then
Begin
Writeln ('Entered altar');
If FindaltarCraftRunes then
Begin
Writeln ('Crafted runes');
If(Random(2) = 2) then setrun(true);
If leavealtar then
Begin
Writeln ('Left altar');
If WalkBackToBank then
Begin
Writeln ('Walked back to bank');
If BankRunes then
Begin
Writeln ('Banked load');
ProgressReport;
End else Writeln ('error banking runes');
End else Writeln ('error walking back to bank');
End else Writeln ('errorleaving altar');
End else Writeln ('error crafting runes');
End else Writeln ('error finding/entering altar');
End else
begin
NextPlayer (false);
end;
Until(AllPlayersInactive)
end;

procedure DefineVariables;
begin
Smart_Members := TRUE;
Smart_Server := 121;
Smart_Signed := TRUE;
Smart_SuperDetail := False;
LoadsBanked := 0;
TotalExperience := 0;
scriptRunning := 0;
FireRunesCrafted := 0;
end;

begin
DefineVariables;
SetupSRL;
SetupReflectionEx(true);
DeclarePlayers;
LogInPlayer;
MakeCompass ('n');
SetAngle (true);
SetRun (true);
MainLoop;
end.

YoHoJo

2011-12-17 23:53:19

You are a liar and a thief, we do not appreciate it.
Same on you for thinking you could get this past us.
http://villavu.com/forum/showthread.php?t=60373

E: No clue what punishment for this is, any other mod feel free to do whatever you wish with this guy.

PatDuffy

2011-12-17 23:56:57

I dislike this bit of code greatly.

Procedure MainLoop;
Begin
MarkTime (scriptRunning);
Repeat
If WalkFromBankToaltar then
Begin
Writeln ('Walked from bank to altar');
If FindAndEnteraltar then
Begin
Writeln ('Entered altar');
If FindaltarCraftRunes then
Begin
Writeln ('Crafted runes');
If(Random(2) = 2) then setrun(true);
If leavealtar then
Begin
Writeln ('Left altar');
If WalkBackToBank then
Begin
Writeln ('Walked back to bank');
If BankRunes then
Begin
Writeln ('Banked load');
ProgressReport;
End else Writeln ('error banking runes');
End else Writeln ('error walking back to bank');
End else Writeln ('errorleaving altar');
End else Writeln ('error crafting runes');
End else Writeln ('error finding/entering altar');
End else
begin
NextPlayer (false);
end;
Until(AllPlayersInactive)
end;

There are so many if's that can go wrong, and no failsafe to attempt to fix it. If something goes wrong, the script just shuts downs, and I feel like that should only be a last resort to shut down.

Then there's this snippet here…. very suspicious
  //If(R_CountItemId(1436) <1) then Exit;

Why have a Reflection function if Reflection died out 2 months ago at the nuke? I doubt any new member attempting to script would put a Ref function in, I just get the feeling this is taken from somewhere.

It's a No, but a good first attempt.

Flight

2011-12-17 23:59:59

I'm disappointed…

rpatel9

2011-12-18 00:04:06

yes its from this site but how else am i supposed to become member? why do members need to be able to write srl scripts? Dont people only become members to bot? sorry for taking it from the site ban me.

YoHoJo

2011-12-18 00:09:57

From:
yes its from this site but how else am i supposed to become member?


How else…..?
Like everyone else… taking the time and patience to learn, help, and contribute. It's more than just scripting it's being a decent person too! Helpful, nice, contributing, and being able to script…


why do members need to be able to write srl scripts?


Because members section holds better scripts which must be deserved and earned, SRL Members is a earned rank that comes with some prestige and respect.


Dont people only become members to bot?

Not really. They do it to prove to themselves and others that they are good community members, nice people, and show their ability to script.

Not sure where you're from, but here at SRL our mindset is completely different than RSBuddy and all those other Java sites. We have mature and respectful users who care about runescape, not rape it.


sorry for taking it from the site ban me.

Might get a temp ban, but we are forgiving. You can redeem yourself by learning to script and showing that you're a good guy and trying again in the future.

Runaway

2011-12-18 00:10:51

Try not to steal a script that uses reflection ;)

PatDuffy

2011-12-18 00:11:54

From: rpatel9
yes its from this site but how else am i supposed to become member? why do members need to be able to write srl scripts? Dont people only become members to bot? sorry for taking it from the site ban me.


People become members to gain respect and acknowledgement that they are talented. Members is a privilege, not a rank. Yes, some members do bot, although many do not.

You have brought disgrace upon your image by attempting to sneak your way past us.

E: Ninja'd by Yoho

rpatel9

2011-12-18 00:13:20

well im sorry if i let you guys down, i took the easy way out i just really wanted to become a member, it was the whole reason i hosted competitions etc.

YoHoJo

2011-12-18 00:15:24

That was nice and kind of you, but you can't buy/nice your way there.
Gotta do it just like everyone else.
Take your time and learn, we are all here to help you out.
Hope to see a nice script from you later.

rpatel9

2011-12-18 00:21:34

okay which area under srl development do i go on to learn? you said reflection is not working anymore so is it msi?

YoHoJo

2011-12-18 00:27:34

Yes MSI works.
Here's some video tutorials I've made:
http://www.youtube.com/user/YoHoJoSRL

Here's all of the tutorials we have:
http://villavu.com/forum/forumdisplay.php?f=28

And help section:
http://villavu.com/forum/forumdisplay.php?f=70
Don't be shy to ask for help

Main

2011-12-18 00:47:44

From: YoHoJo
You are a liar and a thief, we do not appreciate it.
Same on you for thinking you could get this past us.


YoHo has swept the dust off his massive sexy shoulders:p


Did you understand the rules thou? If you could have a good explanation/apology maybe you might be able to get less sever punishment ( I dunno if there would be any, but lets assume so to be safe).

cause

2011-12-18 01:32:21

{$i reflection\reflection.simba}
I lol'd at this part
EDIT: btw we should just ban this guy

YoHoJo

2011-12-18 01:52:48

Disagree! Give him a chance!

Kyle Undefined

2011-12-18 01:55:58

I say keep him, but an infraction for breaking the rules.

Flight

2011-12-18 02:06:09

I agree, I'd rather give him a chance to redeem himself. Should it happen again then bye-bye.

cycrosism

2011-12-18 04:32:46

The second I saw it had the reflection include I was like


Then I saw YoHoJo's post. I don't like thiefs, SRL does not need people like you.

Sir R. M8gic1an

2011-12-18 05:40:59

As yohojo said, this is bullshit. I knew it the second I saw the reflection inclusion and I didn't even bother to read the rest. You're lucky the people are calling out for pity. You're getting two infraction points and you won't be allowed to apply for two months.

-RM