SRL Archive - Archive

Mattie403 - SRL Member Application


Mattie403

2012-02-15 15:14:27

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


Are you affilated in anyway with Jagex LTD?
No

Were you Referred to SRL?



What is your general programming knowledge?
I know Java and am now learning Simba.


Are you a member of any other communities?
One: RSPortal.org.


Tell us about yourself…
From: Mattie403
I am a senior in high school and love coding. I am currently taking an AP class on Java. I do know Java very well which helps me out quite a lot with this scripting. I want to learn more and want to actually take this up as a career. I most likely want to fall under a 3D modeling job but I'm still looking around other fields of Computer Science. I would like to be a member of this forum not only to help others with their problems, but to also help by providing my own scripts. As from what I've seen, this community seems like a promising one.



Please show us one (or multiple) of your scripts.
Only in beta version, first ever script. Just made it a couple days ago. Uploaded yesterday.

program MattiesAlcher;


{**************************************|
| Mattie's Alcher |
| |
| Just input your info, |
| and press play :D |
| |
| By: Mattie403 |
|**************************************}


{$DEFINE SMART}
{$i SRL/SRL.Simba}
{$i sps/sps.simba}
{$i SRL/SRL/misc/paintsmart.Simba}

const
SERVER = 0; // Enter "0" to pick a random server.
MEMBERS = True; //False if F2P
//BreakEvery = 250; // How long to bot before break(min)
//BreakFor = 10; // Break Length(min)
NumbOfPlayers = 1;
StartPlayer = 0;

procedure DeclarePlayers;
var i:integer;
begin
NumberOfPlayers(NumbOfPlayers);
CurrentPlayer := StartPlayer
for i := 0 to NumbOfPlayers-1 do
Players[i].BoxRewards := ['XP'];

With Players[0] do
begin
Name := ''; //Username.
Pass := ''; //Password.
Active := True;
Pin := '' // Bank Pin
end;

end;

procedure FailSafe (Reason:String);
begin
Players[CurrentPlayer].Loc:=Reason;
Logout;
Stats_Commit;
TerminateScript;
end;

procedure AntiBan;
begin
Writeln('Antiban attempt..');
//StatsGuise('Antiban');
case random(50) of
0..5: begin Writeln('Performing Antiban!'); HoverSkill('Magic',false); GameTab(28); end;
6..10: begin Writeln('Performing Antiban!'); PickupMouse; end;
11..15: begin Writeln('Performing Antiban!'); RandomMovement; end;
16..20: begin Writeln('Performing Antiban!'); BoredHuman; end;
21..30: begin Writeln('Performing Antiban!'); RandomRClick; end;
end;
end;

procedure HighAlch;
begin
Writeln('Alching!');
GameTab(28);
Wait(500+random(100));
case random(2) of
0: Mouse(670,255,10,10,True);
1: Begin
Mouse(670,255,10,10,False);
WaitOption('Cas', 500);
end;
end;
Wait(500+random(100));
case random(2) of
0: Mouse(622,228,10,10,True);
1: Begin
Mouse(622,228,10,10,False);
WaitOption('Cas', 500);
end;
end;
end;
begin
activateClient;
SetupSRL;
DeclarePlayers;
if not (LoggedIn) then
LoginPlayer;
wait(4000+random(400));
Repeat
Antiban;
HighAlch;
until(false);
end.

footballjds

2012-02-15 15:16:44

Good start, however, this script doesn't show a full understanding of the SRL Resource Library so I have to vote no.

Keep it up (:

Sin

2012-02-15 15:23:20

RSPortal, brings back memories.. Still run by that scammer Kamikaze?

Mattie403

2012-02-15 15:34:11

Ya it is.

Kyle Undefined

2012-02-15 15:51:52

Reminds me a lot of this alcher: http://villavu.com/forum/showthread.php?t=74860

  • Same Failsafe procedure
  • Same Mainloop (Minus the SMART setup)
  • Same constants (Minus the stats setup)
  • Both call SPS even though it's not needed
  • Call paintsmart.simba and don't even use it

The only thing that is different is your AntiBan and Alch procedures. Care to explain?

Mattie403

2012-02-15 15:55:29

From: Kyle Undefined
Reminds me a lot of this alcher: http://villavu.com/forum/showthread.php?t=75166

  • Same Failsafe procedure
  • Same Mainloop (Minus the SMART setup)
  • Same constants (Minus the stats setup)
  • Both call SPS even though it's not needed
  • Call paintsmart.simba and don't even use it

The only thing that is different is your AntiBan and Alch procedures. Care to explain?


That's me..

Kyle Undefined

2012-02-15 16:09:58

Ah, sorry, meant to link to this one: http://villavu.com/forum/showthread.php?t=74860

Edited my first post.

Mattie403

2012-02-15 16:30:12

Well this was my first script and I everything I called in I got from a different script because I didn't know what to call in. That's where the paintsmart came from. I also took the constants, DeclarePlayers, and FailSafe from the same script I got my call-ins from. When I watched YoHoJo's video, he said to basically copy those from old scripts. The only thing that's the same from the main loop is the wait time. That's just a coincidence I guess. I got the login player again from the other script. I added my own wait time because it was going to fast. I guess that answers all your questions. Any other comments?

[XoL]

2012-02-15 17:40:59

From: Mattie403
Well this was my first script and I everything I called in I got from a different script because I didn't know what to call in. That's where the paintsmart came from. I also took the constants, DeclarePlayers, and FailSafe from the same script I got my call-ins from. When I watched YoHoJo's video, he said to basically copy those from old scripts. The only thing that's the same from the main loop is the wait time. That's just a coincidence I guess. I got the login player again from the other script. I added my own wait time because it was going to fast. I guess that answers all your questions. Any other comments?


The trick is to learn by taking other's code and building your own stuff, but when you think you are ready to apply it is generally needed that you build your own stuff 100% or least 90%. The script is also very simple, I would suggest walking.

Try to follow this guide to become a SRL member:
http://villavu.com/forum/showthread.php?t=74195

For learning purposes I recommend starting with YoHoJo's video tutorials, informative and they will teach you what you need to know to create a basic/decent script.
http://villavu.com/forum/showthread.php?t=69179

For more advanced scripting I would suggest reading these guides:
http://villavu.com/forum/forumdisplay.php?f=96

Also one thing I really think is important is being community focused, you have # posts and have been here since #/#! Posting actively not only shows you genuinely care for the community it also helps your chances of getting accepted.

These guides can help you with that:
http://villavu.com/forum/showthread.php?t=72050
http://villavu.com/forum/showthread.php?t=66084

Anyway, sorry for the roughness. Good luck.

'Toxin

2012-02-16 09:44:55

No. Too simple in my opinion.

Sin

2012-02-16 09:49:13

Wait, you're using Coord clicking..
Look at my Alcher, maybe you'll learn how to use DTM's there.

cause

2012-02-16 12:37:57

Well with an Alcher you probably can MouseBox it with no worries, but yeah sorry too simple of a script dude. However learning from other people's scripts is really helpful :)

Sir R. M8gic1an

2012-02-16 14:35:53

Read the guides people posted. Better luck next time :)

-RM