SRL Archive - General

How to...


sm321

2012-03-07 03:29:52

Can I just have some quick pointers please saying what type of "method" I should use for:
  1. Finding an NPC
  2. Talking to an NPC
  3. Left and right clicking an NPC
  4. Any others that may be useful

Also, what if your script was made up of 80% DTMs? Thankyou.

masterBB

2012-03-07 04:04:09

1. FindColorsTolerance, SplitATPA and maybe aca
2. Haven´t talked to an npc in some time, but I used to do that with dtms and CountColor
3. MMouse, Mouse and ofcourse an uptext check

sm321

2012-03-08 02:26:01

From: masterBB
1. FindColorsTolerance, SplitATPA and maybe aca
2. Haven´t talked to an npc in some time, but I used to do that with dtms and CountColor
3. MMouse, Mouse and ofcourse an uptext check


Thankyou :) Also, how complicated would the script be if I didn't include SRL or have any randoms in it?

the flea

2012-03-09 18:23:17

From: sm321
Thankyou :) Also, how complicated would the script be if I didn't include SRL or have any randoms in it?


not including SRL will make the script considerably harder to write. There is no real reason why not to use it…

sm321

2012-03-11 11:10:11

From: the flea
not including SRL will make the script considerably harder to write. There is no real reason why not to use it…


I mean, without all of the random solving, player numbers etc.

davis_junior

2012-03-11 11:16:06

From: sm321
I mean, without all of the random solving, player numbers etc.


Why not? Those are extremely effective. Do you just not know how to set them up?

To check for randoms, you just need to use FindNormalRandoms(); somewhere in your loop.

Just use someone else's DeclarPlayers() procedure to set up players.

sm321

2012-03-14 06:30:16

From: davis_junior
Why not? Those are extremely effective. Do you just not know how to set them up?

To check for randoms, you just need to use FindNormalRandoms(); somewhere in your loop.

Just use someone else's DeclarPlayers() procedure to set up players.


I watched YoHoJo's Scripting Tutorial #2 (1/2): Creating Your First Runescape Script and thought that's alot of complicated script. The tutorial itself was fine, but I thought it's too complicated for me :) I could use somebody elses I suppose.