# Thread: [RS3 | SRL-6] LamaSerenStones

1. ## [RS3 | SRL-6] LamaSerenStoner

Features:

• 160k+ xp/hr!*
• Supports breaks!
• Risky 'botting' chat detection and world hopping!

Instructions:

3. Stand in the Seren Stones area, standing directly south or north of a stone I think is ideal, I liked standing south of the center stone. (see img below)
4. Run!
5. make sure you're setup as outlined in https://villavu.com/forum/showthread...40#post1391740, and have XP Popups enabled! Be certain you're on the Old School layout! Maxed Brightness! OpenGL!

start somewhere around here

Known Issues:

• Not sure of anything else, runs great!

To do:
• You tell me!

Credits:

@KeepBotting, @Olly, @the bank, @slacky and the Discord crew in general for getting me back up to speed, as well as snippets and ideas from scripts made by @Justin and others! Thanks!

* using crystal pickaxe, decorated mining urns, and lava titan - 120k+ xp/hr is more reasonable with just crystal pick
* if using urns, make sure auto-send urns is toggled in your game settings, and the lava titans I did manually - maybe I could add support for that down the road? probably would need to drink summoning potions too...

Progress Reports
Progress Report:
Lama
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
|          LamaSerenStones v1           |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| Time Running: 8 hr 56 min 27 sec      |
| Next Break  : 32 sec                  |
| EXP Gained  : 1,507,232 (168,574 ph)  |
|_______________________________________|

Pastah
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
|          LamaSerenStones v1           |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| Time Running: 2 hr 37 min 42 sec      |
| Next Break : 58 sec                   |
| EXP Gained : 372,571 (153,214 ph)     |
|_______________________________________|

Version History
Progress Report:
1.0: initial release
1.1: implemented SRL Player Form, fixed colors, miscellaneous small tweaks

Last edited by Lama; 08-26-2018 at 06:47 PM. Reason: 1.1 released

2. Second release in as many minutes, fantastic!

3. Originally Posted by KeepBotting
Second release in as many minutes, fantastic!
I work too quickly for my own good sometimes

4. SRL Junior Member
Join Date
Feb 2012
Posts
175
Mentioned
2 Post(s)
Quoted
82 Post(s)
Will have to check this out, was a big fan of your cook urner

5. Originally Posted by Pastah
Will have to check this out, was a big fan of your cook urner
Let me know how it goes I'm all for constructive criticism or feedback - still getting back into the swing of things.

6. SRL Junior Member
Join Date
Feb 2012
Posts
175
Mentioned
2 Post(s)
Quoted
82 Post(s)
Works well, haven't encountered any problems!

|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| LamaSerenStones v1 |
|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|
| Time Running: 2 hr 37 min 42 sec |
| Next Break : 58 sec |
| EXP Gained : 372,571 (153,214 ph) |
|_______________________________________|

7. Originally Posted by Pastah
Works well, haven't encountered any problems!

8. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
Lama, thanks for all the scripts you've been putting out! It's nice to see some RS3 script development again. I've been using a couple of your other scripts with little issue. Tried out this script and I've been running into some problems. Whenever the script starts up, it does camera setup and login checks and doesn't progress from there. I'm fairly certain I have everything set up correctly, and have tried switching between OpenGL and DirectX as well as starting to mine manually before I start the script. After a Seren Stone is mined manually, the script will go about calculating xp and doing antiban stuff, but never click on it again once it is depleted. I enabled debug and got this.

Code:
-- TPlayer.login(): True
Just logged in, waiting a moment ...
---- minimap.mouseOffCompass(): Succesfully moved mouse off of compass
---- TRSMinimap.clickCompass(): Clicked compass
---- TRSGameTab.__initTabs(): Setup gametab properties
Thanks again for all the work!

9. Originally Posted by Void
...
I might have to go in an do some updating on this one - for the fun of it, try setting your brightness to around 70% and make sure to be on opengl again (iirc, I accidentally developed this one on non-100% brightness...)

I'll go in and see if I can fix it up soon

Thanks for the feedback!

EDIT: v1.1 released! Should have fixed colors and other small stuff - also integrated the SRL Player Form! Enjoy!
Last edited by Lama; 08-26-2018 at 06:49 PM.

10. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
Thanks for the update, you're always really quick to fix. Weirdly enough I'm still having the problem of the seren stones not being sensed while other antiban functions perform just fine.

11. Originally Posted by Void
Thanks for the update, you're always really quick to fix. Weirdly enough I'm still having the problem of the seren stones not being sensed while other antiban functions perform just fine.
Try checking the 'Debug SMART' box in the form, and see if the stones are even found (by way of showing a variety of colored boxes around each section of light blue stone), if anything weird comes up, take a screencap and post it here. 100% Brightness and OpenGL, Oldschool layout, Low graphics, etc. It works fine for me, so hopefully we can suss out what's going wrong for you. Colors *should* be correct, it's the culmination of a few worlds to account for some variation, and I can't imagine that *nothing* would come up for you - but you can always try picking the colors yourself, simple enough with ACA, and it's just one line you alter (ln 185).

12. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
Isn't it standard to program using Min graphics vs. Low? I've always used Min. Using all the graphics requirements, tried changing from Min to Low, OpenGL to DirectX, as well as changing the color value of the stone. I think your color value is fine, it's still not clicking regardless. Turned on Debug SMART but there are no TPAs/boxes selected around the stones. (idk how to embed images)

serenstone.PNG

13. Originally Posted by Void
Isn't it standard to program using Min graphics vs. Low? I've always used Min. Using all the graphics requirements, tried changing from Min to Low, OpenGL to DirectX, as well as changing the color value of the stone. I think your color value is fine, it's still not clicking regardless. Turned on Debug SMART but there are no TPAs/boxes selected around the stones. (idk how to embed images)

serenstone.PNG
That's very odd, I'm not sure what might be wrong - this seems to be entirely on your end as I can't replicate anything of the sort. To be clear, I dev for Low, OpenGL, Max brightness (all of which is in the modern setup guides other than the opengl bit, but it's practically assumed by now - opengl and directx look way different and are not interchangeable).

14. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
Have other people successfully been able to run it too? Did a fresh install of Simba even, it's weird how it doesn't work for me, other scripts do though. I'll see what I can mess with.

15. Originally Posted by Void
Have other people successfully been able to run it too? Did a fresh install of Simba even, it's weird how it doesn't work for me, other scripts do though. I'll see what I can mess with.
No one else has mentioned troubles - it's been downloaded 13 times, but that's no indication of success rate. Again, it's pretty simple code overall, and I'm not sure what's going wrong with it (especially considering it runs fine for me...).

Try enabling SRL debug, line 365, set to false - run again, and see if there's any weird output (run without Debugging statuses so it isn't too cluttered).

16. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
Ran with just SRL debug and this is what I got. I don't think anything looks too weird besides that it stops on setting up gametab properties.

Code:
-- setupSRL()
---- Setting up SRL...
---- attempting to spawn smart, attempt #: 1
---- initSmart():
------ Attempting to pair to a previously spawned client
------ smartPairToExistingClient():
-------- Found 1 free client(s), attempting to pair to one...
---------- smartSetAsTarget(): Succesfully set SMART[13588] as Simba's target
-------- Succesfully paired to a existing client, SMART[13588]
------ smartPairToExistingClient(): result = true
------ Succesfully initialized via pairing to a previously spawned client
---- initSmart()
------ smartSetupDrawing(): Succesfully setup SMART drawing
---- Waiting up to 5 minutes for RS to load...
---- TRSActionBar.__find(): EoC = True
---- TRSActionBar.__find(): bar height = 76
---- WARNING: TRSMetrics.__setup(): Unable to locate any RuneMetrics bars
------ Dynamic interfaces have been set.
---- Setup SRL in 0 Seconds
-- setupSRL(): True
---- minimap.mouseOffCompass(): Succesfully moved mouse off of compass
---- TRSMinimap.clickCompass(): Clicked compass
---- TRSGameTab.__initTabs(): Setup gametab properties

17. Suuuuuuper weird honestly. I think we've possibly hit the extent of my troubleshooting capabilities on this one - there's no reason for it not to be working, and yet it is what it is...

With that said, I'd expect information to keep flowing in the debug - if it's stuck on that gametab properties stuff and it no longer debugs anything once it hits that, then maybe it's nothing to do with the script - but I can't say.

Sorry I couldn't be of more help

18. SRL Junior Member
Join Date
Jan 2013
Posts
38
Mentioned
0 Post(s)
Quoted
18 Post(s)
No problem! It is strange but thanks for going through the steps with me anyways. ++rep for good scripting capabilites and being very helpful!

19. I've been using this for a little while now and did some debugging! To get this working on NXT, I had to change the color values for the stone itself, but I noticed that there was an issue with the clothes my character was wearing and how that affected isPlayerAnimating. I had put on the magic golem suit which has these small animations going at all times that causes isPlayerAnimating to always return true. To fix this, I just made sure to override all of my outward appearance slots to show my default character skin. That might also be why Void was having problems.

20. Originally Posted by yourule97
I've been using this for a little while now and did some debugging! To get this working on NXT, I had to change the color values for the stone itself, but I noticed that there was an issue with the clothes my character was wearing and how that affected isPlayerAnimating. I had put on the magic golem suit which has these small animations going at all times that causes isPlayerAnimating to always return true. To fix this, I just made sure to override all of my outward appearance slots to show my default character skin. That might also be why Void was having problems.
Ah, interesting, yeah that might do it - nice find!