SRL Archive - News and General

Which is easy for my first script


brent8900

2008-07-26 14:57:35

which would be easy to make for my first script!!!

Twisted

2008-07-26 18:42:39

Powerminer, very easy, simple, and well ya. But also a fighter

Shuttleu

2008-07-26 18:44:21

powerminer definatly

but making it undetectable will be harder

~shut

Scaper

2008-07-26 22:45:20

well power miners are more likely to be 100% your 1st ever script!!

on the other hand i voted other because i dont know the basc skills and the knowldge you know of scar/srl/programming:D so realy it is a hard 1 to answer unless you stated your knowledge of what you know

link555

2008-07-27 02:54:58

TBH i am new and trying to learn scripting but i don't know how but i would think i would make a practice on a auto log in script or a auto walker to like fally or varrok then make an offical powermining script.

Rich

2008-07-27 06:04:38

@ Link555: It would be nice if you didn't hijack Brent's thread.

@ Brent: I started myself off with a simple script that use co-ords to open up Firefox, and then log me onto Runescape. You might be past that now, I don't know.

After that (this may sound stupid) because it is more of a challenge than opening RS, but not a difficult as making a script for RS, I made a few scripts for Neopets. Just find a few games on there that you think you could make a script for with your knowledge, and do it.

Making simple scripts that cover the basics, like MMouse, Mouse, and FindColor, TypeSend, then moving onto more advanced stuff, will eventually lead to you being able to make an uber script for RS.

Right now, I've not release any uber scripts, but I have released a few scripts. You will be able to as well if you start off simple, and gradually build yourself up.

Hope I helped,
R1ch4

Ghostman

2008-07-30 09:20:28

I think a powercutter is a easy first script

TViYH

2008-07-30 14:02:53

My first script was a draynor netter/banker. Very easy, if your player is higher leveled so the wizards don't attack ;-).

Magiic

2008-08-01 12:07:58

i'd also say powerminer as all you would need o know are the basic procedures such as mouse and findcolortolerance eg

//start script logged in in front of what you want to mine
//and set one color from the ore next to "oretominecolor=" but keep the semi-colon
//to add antirandoms you would have to use declareplayers or
//srlplayerform and then call findnormalrandoms in your script
//for antiban you could use hoverskill('mining', false); or just boredhuman;
//even rrightclick helps
//yeah so erm this should run if you set in a color even though ive not tested
program demonstrationpowerminer;
{.include SRL/SRL.scar}

var
x,y:integer;
const
oretominecolor=1234567;
begin
setupSRL;//sets up srl
repeat;
repeat;
if (FindColorTolerance(x, y,oretominecolor, msx1, msy1, msx2, msy2, 20)) then
//finds the ore color
mouse(x,y,3,3,true);//clicks on the ore color
wait(2000);//set to how long it should take to mine could replace with bored human
until invfull
dropall;
until false
end.
also in findcolortolerance you can change msx1 ect to whatever you want and in mouse making the numbers higher will give more randomness

personally for anitrandoms i use
Procedure Randoms;
begin
If(FindFight)then
RunAway('N', True,1,15000);
FindNormalRandoms;
FindLamp((LampLevel));
SolveNonTalkingRandoms;
end;

and add this to th const
LampLevel= 'Fletching'; //Set the skill you want a lamp to do.

Lapsus

2008-08-04 00:07:21

I've been working on an auto-fighter myself and while it has been fairly simple I think a power-miner would be a lot easier, especially if you have no coding experience.

SubiN

2008-08-04 00:16:53

woodcutter =P