SRL Archive - Discussions and Debates

Very important SRL functions????


Press Play

2013-02-07 06:56:40

So I'm working on something.. secret…. and I would like to have some SRL Members+ opinions :) What do you guys deem as some very important/useul SRL functions/procedures/routines?

:stirthepot:

Here's the reward for the best answer:

Flight

2013-02-07 07:01:21

Function IsLoggedIn: Boolean;

Justin

2013-02-07 07:08:24

procedure MMouse(x, y, rx, ry: integer);

slushpuppy

2013-02-07 07:14:38

FindColorXXXX function ofc

Mark

2013-02-07 07:57:07

There is quite a lot to say really as many are dependent on eachother but ill go for GetColor(x,y);
Without color we are pretty much dead as a color bot.

Press Play

2013-02-07 08:00:40

But the colour ones are Simba though? i'm looking more towards just SRL include ones.

None of you win the prize yet - "functions" is a plural :p

DannyRS

2013-02-07 08:02:07

Finding colors, and moving the mouse :p

Obviously finding colors in a larger area and with tolerance varies in order of importance based on the task ;)

But a good movement for the mouse is what I would put at the top,

For SRL only functions I guess like what Flight said, LoggedIn Boolean, maybe UpText, all text processing / sorting functions,

Not the most important, but the most useful maybe, all/most the functions in the WizzyPlugin :D

riwu

2013-02-07 08:16:37


//mouse functions
MouseBox();
ClickMouse2();
GaussBox(); //responsible for making clicks distributed normally (with higher chance of clicking near the centre), resembling that of human clicks.

WaitUpTextMulti();
WaitOptionMulti();

LoggedIn();
GameTab(); //or Ftab();
OpenBank(); //i prefer customized banking functions though

//and of course, one that no rs scripts can do without:
SetupSRL();

Press Play

2013-02-07 08:24:47

@riwu wins my x100 set of phats!

Just out of interest, a while back, I thought I read somewhere that MouseBox(); was changed so that the distribution of clicks was near the centre like a human? If not, I'm going to change all my MouseBoxes to GaussBoxes… Or maybe I'm thinking about InvMouse?

/offtopic, is there a way to mention people without having to look up their user id? :unsure:

riwu

2013-02-07 08:30:21

From: -daazndagger-
@riwu wins my x100 set of phats!

Just out of interest, a while back, I thought I read somewhere that MouseBox(); was changed so that the distribution of clicks was near the centre like a human? If not, I'm going to change all my MouseBoxes to GaussBoxes… Or maybe I'm thinking about InvMouse?

/offtopic, is there a way to mention people without having to look up their user id? :unsure:

Yeah MouseBox() does the trick, GaussBox() is called in MouseBox(). I mentioned GaussBox() because not many are aware of our gauss functions (which imo plays a crucial part in making our mouse clicks more human).

Mentioning should work in Member+ forums w/o having to enter the ID.

Press Play

2013-02-07 08:42:28

From: riwu
Yeah MouseBox() does the trick, GaussBox() is called in MouseBox(). I mentioned GaussBox() because not many are aware of our gauss functions (which imo plays a crucial part in making our mouse clicks more human).

Mentioning should work in Member+ forums w/o having to enter the ID.


Ahh, I see, thanks for the explanation @riwu :)

I just looked up the code for it then. I will be sure to mention GaussBox(); in my guide ;) Yes, the secret's a guide lol. Give me a few days and it should be up.

Mark

2013-02-07 08:52:11

Haha mousebox I use this all the time on phone so abit sloppy

Edit:tidy up

var
InventBox:TInvenItem;

Function GetItemBox(InvNum:integer):TBox;
Var
InventBox:TinventItem;
Begin
Result:=InventBox := GetInven(InvNum);
End;

and to use

MouseBox(InventBox.x1, InventBox.y1, InventBox.x2, InventBox.y2, Mouse_Left)

Rich

2013-02-07 12:39:29

SetupSRL. Tops it all.

John

2013-02-07 15:54:31

From: Rich
SetupSRL. Tops it all.


I was just about to say the same thing, Luckily I read the posts :P

E: One more thing, That cash looks like it's from a really old picture or from a Private 2006 server.

Sjoe

2013-02-07 16:07:53

Marktime failsafes :p

Sirenia

2013-02-07 16:22:51

WaitFunc
MakeCompass
FindColorsTolerance
FindNormalRandoms //Was important back in the day but is still useful due to spin tickets :)
BankScreen
FindDTM
FindBitmapToleranceIn
PixelShiftMulti
MarkTime

From: John
I was just about to say the same thing, Luckily I read the posts :P

E: One more thing, That cash looks like it's from a really old picture or from a Private 2006 server.

Look at the maple logs/whip :P

Press Play

2013-02-07 17:11:31

Thanks guys :)

From: John
That cash looks like it's from a really old picture or from a Private 2006 server.


No, it's all real. That's my bank..

Kyle Undefined

2013-02-07 19:20:34

From: -daazndagger-
Thanks guys :)



No, it's all real. That's my bank..


Lol, I've seen your bank, that's not it. If it is, share the wealth!! :p

Press Play

2013-02-07 19:25:27

From: Kyle Undefined
Lol, I've seen your bank, that's not it. If it is, share the wealth!! :p


If it actually was, I would lol :p You're right, my bank is much neater ahaha

Ian

2013-02-07 20:04:11

MouseBox is a great function :)
And AveragePixelShift is great, today it solved my problem that I was having with teleporting because Symbols are unreliable :p

Press Play

2013-02-07 20:10:05

From: BMWxi
MouseBox is a great function :)
And AveragePixelShift is great, today it solved my problem that I was having with teleporting because Symbols are unreliable :p


I've never used AveragePixelShift before… I guess I'll just have to learn :)

Ian

2013-02-07 20:23:51

From: -daazndagger-
I've never used AveragePixelShift before… I guess I'll just have to learn :)


It's definitely worth learning, here's a short tutorial by Flight: http://villavu.com/forum/showthread.php?t=74090 Just remember it can do more than just player animation ;)

Press Play

2013-02-07 20:29:39

From: BMWxi
It's definitely worth learning, here's a short tutorial by Flight: http://villavu.com/forum/showthread.php?t=74090 Just remember it can do more than just player animation ;)


Thanks for the link :) Will do!

Sirenia

2013-02-08 01:04:08

I could take the Crackers and Rune ores! :)