SRL Archive - RS3 Outdated / Broken Scripts

[RS3] Basic Divine Tear Gatherer


Ian

2013-07-24 22:57:46

This script fishes Divine Tears at the new activity place. It's quite basic, so please read this entire post before starting the script. It does not support any walking or spot switching so if there is a limit of how many you can fish at a time then make sure you are watching/in the room, ect.

Because of the interface differences and lack of functional include, there are pretty much no failsafes. Don't leave the script unattended until you trust it, and use at your own risk. This script is more designed for making afk collecting more afk, although I've been running it for over half an hour without needing to change anything. After all, it's very simple :p

Location:
  • Near the former Lumbridge Potato Field. #Remember5ever

Features:
  • Mouseover text
  • Easier than doing the activity yourself.

Instructions:
  • Get your SMART/SRL set up to the extent that you can load the SMART and bot with it. (I think just update RSReady, LoggedIn, and what it says here: http://villavu.com/forum/showthread.php?t=104919 )
  • Log in the player manually, this script does NOT support log in/sixhourfix/whatnot.
  • Start player at one of the Divine Tears netting spots.
  • Zoom in as much as you can (I think you zoom by holding down the 'PgUp' button by default)
  • Position your character next to the spot as shown here with your camera high:
  • Use the eyedropper tool in Simba to get your StartX and StartY coordinates. Those are the coordinates at the center of your fishing spot. Input those into the constants. You'll need to do this each time you run the script, or each time you move the player or camera.
  • Press play.

Requirements:
  • A SMART that is ready for botting as well as a working SetupSRL. (See instructions)
  • Max brightness, 800x600, ect.
  • Able to collect the Divine Tears (Talk to the person to get started)


Update Log
+V1.0 released

rj

2013-07-24 23:17:07

Gratz on release mang I saw somebody requested this

Ian

2013-07-24 23:37:36

From: Officer Barbrady
Gratz on release mang I saw somebody requested this


Ah, thanks. I'll direct them here :)

Silentcore

2013-07-25 01:30:04

Very nice realease, all join Zamorak….

dzpliu

2013-07-25 11:29:27

i got the 'cannot detect client' error even though the client is paired.

Ian

2013-07-25 12:08:14

From: dzpliu
i got the 'cannot detect client' error even though the client is paired.


You'll need to fix RSReady and LoggedIn, as mentioned in first post :)

dzpliu

2013-07-25 13:10:47

From: BMWxi
You'll need to fix RSReady and LoggedIn, as mentioned in first post :)


yes i did replace all the files required.

count to potato

2013-07-25 13:34:17

Great idea, I was wondering if anyone was going to make one of these :) I'll give this a go when I get home later!

Ian

2013-07-25 13:51:29

From: dzpliu
yes i did replace all the files required.


Did you replace all the files with code you edited yourself to make it work? If you got the files from somebody else they might not work if your graphics are different.

Sax

2013-07-25 18:15:28

How do I update RSReady and LoggedIn function?

Ian

2013-07-25 18:25:18

From: Nirvana
How do I update RSReady and LoggedIn function?


Open up login.simba
Go to line 157 where it says
Result := (GetColor(500, 175) = 6906451) or FoundBar; // X button in top right && Navigation Bar.
or something similar.

Those numbers that you see are the numbers I used. You can try using them if you want but they might no work so you might as well get your own.
To get your own, go to the login screen. Drag the crosshairs over to the SMART client.
Now click the eyedropper tool. Use this to select a pixel on the login screen. This should be something that does not change whenever you are at that screen.
Click the pixel with the eyedropper tool. Replace my color (6906451) with the one it gives you. Replace my coordinates with the ones it gives you. That should be RSReady all done.

Open up players.simba.

Go to line 143 where is says
Result := (GetColor(791, 8) = 7992);
or something similar.

Do the same steps you did to fix RSReady, but this time choose something that you only see when you're logged in.

Sax

2013-07-25 18:32:49

Thank you :D

rsmahanti

2013-07-26 01:30:11

I am getting this error when I tried to use the script :

Warning! You passed a wrong xe to a finder function: 798. The client has a width of 765, thus the xe is out of bounds. Setting the value to 764 (w-1) for now.
Warning! You passed a wrong ye to a finder function: 598. The client has a height of 531, thus the ye is out of bounds. Setting the value to 530 (h-1) for now.

What mistake I am doing?

EDIT : I followed instruction 1 and updated the files. Now getting the error :


Warning! You passed a wrong ye to a finder function: 598. The client has a height of 578, thus the ye is out of bounds. Setting the value to 577 (h-1) for now.
Warning! You passed a wrong ye to a finder function: 598. The client has a height of 578, thus the ye is out of bounds. Setting the value to 577 (h-1) for now.


I am using SMART 8. Is it the reason?

dzpliu

2013-07-26 02:35:15

From: BMWxi
Open up login.simba
Go to line 157 where it says
Result := (GetColor(500, 175) = 6906451) or FoundBar; // X button in top right && Navigation Bar.
or something similar.

Those numbers that you see are the numbers I used. You can try using them if you want but they might no work so you might as well get your own.
To get your own, go to the login screen. Drag the crosshairs over to the SMART client.
Now click the eyedropper tool. Use this to select a pixel on the login screen. This should be something that does not change whenever you are at that screen.
Click the pixel with the eyedropper tool. Replace my color (6906451) with the one it gives you. Replace my coordinates with the ones it gives you. That should be RSReady all done.

Open up players.simba.

Go to line 143 where is says
Result := (GetColor(791, 8) = 7992);
or something similar.

Do the same steps you did to fix RSReady, but this time choose something that you only see when you're logged in.


wow. thanks for sharing this, i didnt know what to edit in the players/login.simba. now it is working :)

Ian

2013-07-26 07:44:53

From: rsmahanti
I am getting this error when I tried to use the script :

Warning! You passed a wrong xe to a finder function: 798. The client has a width of 765, thus the xe is out of bounds. Setting the value to 764 (w-1) for now.
Warning! You passed a wrong ye to a finder function: 598. The client has a height of 531, thus the ye is out of bounds. Setting the value to 530 (h-1) for now.

What mistake I am doing?

EDIT : I followed instruction 1 and updated the files. Now getting the error :




I am using SMART 8. Is it the reason?


I have 8.2, so maybe. But it says your client has a height of 531, but it should have a height of 600.

dzpliu

2013-07-26 12:17:17

possible to use pixelshift instead of idlewait?

serajin

2013-07-26 12:37:06

dzpliu, pixelshift could be used, but ultimately I don't think the script needs anything that fancy. There's a higher chance of the pixelshift picking up someone elses shift around you, if they overlap you while you're waiting, and the script thinking you're fishing when you're not.

The script runs flawlessly as it is. No need to change it =P

jamesaz1994

2013-07-27 00:19:21

Is it possible this script will get more features? Kinda wanna let this run while I sleep/at work so I can actually play the game when I'm on lol. But such a basic script can't really be left running for hours at a time. >.<

unknownrpg

2013-07-27 01:02:16

well its working like a charm thank you for the clutch script

Thief

2013-07-27 01:21:19

Nice release, I was wondering if someone would make this too. I'm a little too scared to try it now after hearing about the ban wave though :p

dzpliu

2013-07-27 01:32:20

From: serajin
dzpliu, pixelshift could be used, but ultimately I don't think the script needs anything that fancy. There's a higher chance of the pixelshift picking up someone elses shift around you, if they overlap you while you're waiting, and the script thinking you're fishing when you're not.

The script runs flawlessly as it is. No need to change it =P

the script breaks sometimes. it would be more accurate using pixelshift and btw your character is always on top of others, unless you are doing it wrong.

Ian

2013-07-27 01:58:36

From: dzpliu
possible to use pixelshift instead of idlewait?

Yeah, the only thing with that is that it's more numbers for the user to add, and if they don't do it right then it does more harm than good. I can add an optional pixelshift as well as the current setup,

From: jamesaz1994
Is it possible this script will get more features? Kinda wanna let this run while I sleep/at work so I can actually play the game when I'm on lol. But such a basic script can't really be left running for hours at a time. >.<

Well because of the state of SRL at the moment there is only so much that the script itself can do. It can't login without more fixes on the users end, and because everyone has different interface setups it's hard to make anything that will relocate effectively. That being said, I've run it for 4 hours without issues before, and by that time it was gaining so few tears/h just because of Jagex's limits.

From: unknownrpg
well its working like a charm thank you for the clutch script

No problem, I'm glad you like it :)
From: pure_thief
Nice release, I was wondering if someone would make this too. I'm a little too scared to try it now after hearing about the ban wave though :p

I'm just running it for a few hours a day anyway because after that the penalty of slow gains is so harsh there's little point.
From: dzpliu
the script breaks sometimes. it would be more accurate using pixelshift and btw your character is always on top of others, unless you are doing it wrong.

What causes it to break? And you'll be on top but if anyone runs past/though you they are moving a lot. See my earlier post though, I'll add an optional pixelshift function :)

dzpliu

2013-07-27 02:02:29

From: BMWxi
Yeah, the only thing with that is that it's more numbers for the user to add, and if they don't do it right then it does more harm than good. I can add an optional pixelshift as well as the current setup,


Well because of the state of SRL at the moment there is only so much that the script itself can do. It can't login without more fixes on the users end, and because everyone has different interface setups it's hard to make anything that will relocate effectively. That being said, I've run it for 4 hours without issues before, and by that time it was gaining so few tears/h just because of Jagex's limits.


No problem, I'm glad you like it :)

I'm just running it for a few hours a day anyway because after that the penalty of slow gains is so harsh there's little point.

What causes it to break? And you'll be on top but if anyone runs past/though you they are moving a lot. See my earlier post though, I'll add an optional pixelshift function :)


ya, kinda sad that rs3 removed uptexts :(

Ian

2013-07-27 02:08:41

From: dzpliu
ya, kinda sad that rs3 removed uptexts :(


Wait have you set Mouseover Text on? That's the same as Uptext, and you need to have it on to use the script :P

jamesaz1994

2013-07-27 02:10:31

I keep getting this error:

[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(152:3): Variable 'X' never used at line 151
[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(152:3): Variable 'Y' never used at line 151
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.


I've tried reinstalling Simba and editing the files to fit RS3 several times but it still wont work. :-/

Ian

2013-07-27 02:12:31

From: jamesaz1994
I keep getting this error:

[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(152:3): Variable 'X' never used at line 151
[Hint] C:\Simba\Includes\SRL/SRL/core/login.simba(152:3): Variable 'Y' never used at line 151
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292
Compiling failed.


I've tried reinstalling Simba and editing the files to fit RS3 several times but it still wont work. :-/


You followed this: http://villavu.com/forum/showthread.php?t=104919 ?

What SMART version do you have?

jamesaz1994

2013-07-27 02:22:27

From: BMWxi
You followed this: http://villavu.com/forum/showthread.php?t=104919 ?

What SMART version do you have?


Yeah. And 8.2.

Ian

2013-07-27 02:56:13

From: jamesaz1994
Yeah. And 8.2.


Could you please post line 292 and 294 of your smartparams.simba?

dzpliu

2013-07-27 03:17:37

From: BMWxi
Wait have you set Mouseover Text on? That's the same as Uptext, and you need to have it on to use the script :P


ya your script works :D, but removal of uptext pretty much broke 98% of the other scripts.

jamesaz1994

2013-07-27 08:47:30

Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '');

Sax

2013-07-27 13:53:46

Need a little help here.

I have done all the necessary changes but still got this error when I run the script:

You are using the "Resizeable" screen option in RS.
Changing to "Fixed" screen option.
Unable to find Options Screen.
Please manually change to "Fixed" screeb size


Will somebody help me here? Thanks in advance.

Ian

2013-07-27 14:00:01

From: Nirvana
Need a little help here.

I have done all the necessary changes but still got this error when I run the script:

You are using the "Resizeable" screen option in RS.
Changing to "Fixed" screen option.
Unable to find Options Screen.
Please manually change to "Fixed" screeb size


Will somebody help me here? Thanks in advance.


Does this happen when you start the script when you are already logged it? I designed the script to be started after you were already logged in and in position.

Sax

2013-07-27 14:26:43

From: BMWxi
Does this happen when you start the script when you are already logged it? I designed the script to be started after you were already logged in and in position.


Both :D it happens when I am logged in and in position too.

Ian

2013-07-27 14:46:11

From: Nirvana
Both :D it happens when I am logged in and in position too.


Make sure that your LoggedIn is working, iirc SRL checks to see if it is in resizeabe mode when it is in the login screen and trying to log in. If your LoggedIn is working it should not get to that point in the login function.

Sax

2013-07-27 15:35:41

Might be that. I had a bad time trying to find something that was the same for logged in and not logged in and one just for when I am logged in.
Which colors did you pick?

Ian

2013-07-27 16:22:06

From: Nirvana
Might be that. I had a bad time trying to find something that was the same for logged in and not logged in and one just for when I am logged in.
Which colors did you pick?


What do you mean by "something that was the same for logged in and and not logged in"? All you need to do is choose a point that will have the same color whenever you're logged into the game. I chose a pixel of the logout button for mine.

Sax

2013-07-27 16:32:14

From: BMWxi
What do you mean by "something that was the same for logged in and and not logged in"? All you need to do is choose a point that will have the same color whenever you're logged into the game. I chose a pixel of the logout button for mine.


What about the rsready color you have to pick? Doesn't it need to be a color that doesn't change whether your logged in or not?

Ian

2013-07-27 16:54:56

From: Nirvana
What about the rsready color you have to pick? Doesn't it need to be a color that doesn't change whether your logged in or not?


No, what you have to change is a color that needs to be there for the login screen.
At the start of RSReady there is
Result := (LoggedIn) or (LobbyScreen);
So if you are LoggedIn then it will return true and you don't have to go to the rest of the function.

Sax

2013-07-27 16:57:43

From: BMWxi
No, what you have to change is a color that needs to be there for the login screen.
At the start of RSReady there is
Result := (LoggedIn) or (LobbyScreen);
So if you are LoggedIn then it will return true and you don't have to go to the rest of the function.


oh I understand now. So I don't need to worry that much because I always start the script when I'm logged in as long as I have the loggedin function correctly.

Thanks :)

jamesaz1994

2013-07-27 19:23:19

From: BMWxi
Could you please post line 292 and 294 of your smartparams.simba?


Did you see my message? Lol.

Ian

2013-07-27 19:28:51

From: jamesaz1994
Did you see my message? Lol.


Oh sorry I'd missed it. Try going to the spot in your smartparams that looks similar this
{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '', '');
{$ENDIF}

and replacing it with that.

jamesaz1994

2013-07-27 19:50:21

From: BMWxi
Oh sorry I'd missed it. Try going to the spot in your smartparams that looks similar this
{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '', '');
{$ENDIF}

and replacing it with that.


Exception in Script: Define not closed

Ian

2013-07-27 19:52:40

From: jamesaz1994
Exception in Script: Define not closed


Could you send me a screenshot of the code with the error? I'm not sure why you'd get that, I have 8.2 and it works for me. If it still doesn't work I can upload my smartparams.simba and you can replace yours with them I guess

jamesaz1994

2013-07-27 20:02:46

From: BMWxi
Could you send me a screenshot of the code with the error? I'm not sure why you'd get that, I have 8.2 and it works for me. If it still doesn't work I can upload my smartparams.simba and you can replace yours with them I guess


http://puu.sh/3NmvD.png

Ian

2013-07-27 20:18:57

From: jamesaz1994
http://puu.sh/3NmvD.png


Ok, I'm not sure :/

Here's my SmartParams.simba, see if replacing yours with it fixes it.

jamesaz1994

2013-07-27 20:23:50

From: BMWxi
Ok, I'm not sure :/

Here's my SmartParams.simba, see if replacing yours with it fixes it.


Well it works now haha. Thanks! :-)

jamesaz1994

2013-07-27 20:54:28

Can't seem to get it to work… It doesn't do anything. >.< And I followed the instructions perfectly.

Ian

2013-07-27 21:32:43

From: jamesaz1994
Can't seem to get it to work… It doesn't do anything. >.< And I followed the instructions perfectly.


So you are logged in, your camera is zoomed completely in as it is in the picture, you have selected the SMART window with the crosshairs, you got the coordinates of the center of the fishing spot, and you put them into the script. Then you enabled SMART, and pressed play on the script. Correct?

jamesaz1994

2013-07-28 00:04:23

From: BMWxi
So you are logged in, your camera is zoomed completely in as it is in the picture, you have selected the SMART window with the crosshairs, you got the coordinates of the center of the fishing spot, and you put them into the script. Then you enabled SMART, and pressed play on the script. Correct?


Yep… >.<

Ian

2013-07-28 00:05:30

From: jamesaz1994
Yep… >.<


Does the mouse (red dot) move to near where the coordinates are?

jamesaz1994

2013-07-28 00:17:32

From: BMWxi
Does the mouse (red dot) move to near where the coordinates are?


Nerp. I don't see anything >.<

Ian

2013-07-28 00:20:27

From: jamesaz1994
Nerp. I don't see anything >.<


Do you have TeamViewer, and if you do would you allow me to TeamViewer you so that I can try to find the problem?

jamesaz1994

2013-07-28 00:24:21

From: BMWxi
Do you have TeamViewer, and if you do would you allow me to TeamViewer you so that I can try to find the problem?
en

Lemme try one more time and then we can use TV.

jamesaz1994

2013-07-28 00:36:21

From: BMWxi
Do you have TeamViewer, and if you do would you allow me to TeamViewer you so that I can try to find the problem?


It moves the mouse now. Just doesn't click. >.<

Ian

2013-07-28 00:40:27

From: jamesaz1994
It moves the mouse now. Just doesn't click. >.<


Where does it move the mouse to? Do you wish to provide me with a screenshot perhaps?

jamesaz1994

2013-07-28 00:53:44

From: BMWxi
Where does it move the mouse to? Do you wish to provide me with a screenshot perhaps?


It moves it to the spot I put the coordinates in for.

Ian

2013-07-28 01:00:10

From: jamesaz1994
It moves it to the spot I put the coordinates in for.


And is there a Mouseover box that pops up when the script hovers the mouse?

jamesaz1994

2013-07-28 01:14:52

From: BMWxi
And is there a Mouseover box that pops up when the script hovers the mouse?


Yep

Ian

2013-07-28 01:25:30

From: jamesaz1994
Yep


And the script does not click? Yeah, it I could TeamViewer you that'd be great.

jamesaz1994

2013-07-28 01:36:30

From: BMWxi
And the script does not click? Yeah, it I could TeamViewer you that'd be great.


Derp.

Ian

2013-07-28 01:48:45

From: jamesaz1994


I'm not sure if posting it in public is a good idea, now anyone who sees that can access your computer. I'm going to be ready in a few minutes, I'm just making a function to get the uptext (as opposed to just checking if it's there which is what the script currently does :p

So I'll PM you when I'm ready, shouldn't be too much longer :)

The Mayor

2013-07-30 04:03:59

Used for a few hours. Perm banned on main, over a decade of my life gone ;(

dzpliu

2013-07-30 04:27:51

From: The Mayor
Used for a few hours. Perm banned on main, over a decade of my life gone ;(


u serious? i have put in some antiban and some pixelshift into it and used for over 12k tears. around 10hours?
if this is true i probably legit for a while.

The Killer

2013-07-30 07:58:49

From: The Mayor
Used for a few hours. Perm banned on main, over a decade of my life gone ;(


Mayor :'( please don't leave me

Ian

2013-07-30 10:58:17

From: The Mayor
Used for a few hours. Perm banned on main, over a decade of my life gone ;(


Wow, sorry about that man :(

digitalninja

2013-07-30 16:09:24

Incredible release! I was wondering how we would work around all the custom layouts and if there was a "preset" list of options we should be utilizing for SIMBA. Guess its all just a work in progress! Love the release though … divine tears is extremely painful and really emphasizes the need for bots!

Ian

2013-08-01 14:33:36

From: digitalninja
Incredible release! I was wondering how we would work around all the custom layouts and if there was a "preset" list of options we should be utilizing for SIMBA. Guess its all just a work in progress! Love the release though … divine tears is extremely painful and really emphasizes the need for bots!


SRL6 will require the use of a preset layout. Once it has been released there will be many more scripts, and scripts will be much more complicated than you can see now. Right now my updated private scripts have my SRL5 include edited to accommodate for my interface layout, so it would be a pain for others to make theirs exactly the same as mine.

Bot_Mit

2013-08-01 20:15:11

Is this the only current working script for RS3?

Ian

2013-08-01 20:18:14

From: Mitchell1994
Is this the only current working script for RS3?


It's the only one that I've released publicly, although there may be others. I've also a clay miner and a smelter working, but those aren't public at the moment.

Hoodz

2013-08-03 14:43:06

From: BMWxi
Ok, I'm not sure :/

Here's my SmartParams.simba, see if replacing yours with it fixes it.


edit: nvm

dstahn236

2013-08-03 15:38:17

I got a moderate ban…. It worked for a long time for me (2 weeks I think). Love the script just thought I would throw you a heads up not sure what it was that got me caught.

Ian

2013-08-05 15:43:55

From: dstahn236
I got a moderate ban…. It worked for a long time for me (2 weeks I think). Love the script just thought I would throw you a heads up not sure what it was that got me caught.


It was probably because the script keeps the mouse in a square area for however long you run it. If you're going to use it for over an hour straight you should add some mother mouse movement to move it off the screen sometimes or something like that.

Kaneda

2013-09-10 19:23:31

…

Ian

2013-09-13 16:14:05

From: Kaneda
Hey got this error with your script [Error] C:\Users\Maco\Desktop\riwuBattleLum.simba(219:3): Unknown identifier 'InitSmart' at line 218
Compiling failed.

Can you tell me what to do?

Thanks

That's not my script, it's riwu's :)

thx4thescript

2013-10-06 15:27:45

Oh I was hoping this would be released thanks allot (y)

Ashaman88

2014-01-01 10:51:32

Event is over - moved to outdated