SRL Archive - RS3 Script Requests

Looking for script writing lessons


Baccon3

2013-02-27 17:34:55

Hello,

I am currently seeking a decent script writer who is willing to show me the basics of the art. This could take 5 minutes out of each day or each week to type up a short email explaining one simple thing about script writing. I'm just very interested and cannot find any other learning method other than college courses and crappy youtube videos. I'm also open to skype or learning by telephone though I might piss you off on the phone because I'm usually a visual learner. :duh:

If you know of any sites that might teach me everything I need to know about writing runescape scripts, please feel free to post links to them. I virus check all links that I am sent so don't try to mess with me please. I cannot afford to pay you in anything other than scripts so if you are willing to teach me this awesome stuff, I will give you free scripts in return.

Thank you!

Neodymium

2013-02-27 18:31:54

There are quite a few good tutorial on the site already.
YoHoJo, Coh3n and a bunch of other people write some pretty good ones.

First, I suggest you learn the syntax.
Get to the point where you can create procedures, functions, use variables, constants, and use them effectively.
Once you learn the syntax, a good way to practice this would be to WriteLn() some return values from your functions.
A lot of the following you will learn from the tutorials.

program new;

const
CoalColor1 = 12345678;
OreToMine = 'Coal';

var
OreMined: Integer;
PlayerPosition: TPoint;

function MineCoal(): Boolean;
begin
OreMined := OreMined + 1;
end;

function GetPlayerPosition(): TPoint;
var
pos: TPoint;
begin
pos := Point(1234, 5678);
Result := pos;
end;

// This is our main function.
begin
PlayerPosition := GetPlayerPosition();
WriteLn('We are standing at (' + PlayerPosition.x + ', ' + PlayerPosition.y + ').');
MineCoal();
WriteLn('We have mined ' + OreMined + ' ' + OreToMine + '.');
MineCoal();
WriteLn('Now we have mined ' + OreMined + ' ' + OreToMine + '.');
while (OreMined < 5) do
begin
MineCoal();
end;
WriteLn('Done. We have mined ' + OreMined + ' ' + OreToMine + ' in total.');
end.
Once you are able to do things like this effectively, you then able to apply that to SRL to make your functions.
After that it is a matter of learning more and learning what functions you need to call from the SRL include to do what you need to.
For example, this may be finding a color, moving the mouse to a certain position, clicking the mouse; learning what to search for and how to do it effectively will help you out in the long run.

speedster

2013-03-05 02:46:28

Look at Yohojo's YouTube Tutorials they are pretty helpful and will show you what to do from the basics

Here is his list of uploaded vids: http://www.youtube.com/user/YoHoJoSRL?feature=watch

and the basics with which you can start can be learned here : http://www.youtube.com/watch?v=pMMejhyjGwI

If you ever have any questions feel free to pm me and I will try to help out as much as I can.