SRL Archive - Jr. Member RS3 Outdated Scripts

Mr. Roboto - Rogues Den Thieving/Crafting


Mr. Roboto

2014-08-09 10:40:24


Current version: 3.4

Latest updates: 8/28/2014
  • All color.
  • Extensive Antiban.
  • Proggy working correctly.
  • Improved performance.
  • Safety measures that log you out.
  • More random behavior.
  • Slower clicking/Safer clicking.
  • Gem crafting.
  • Rests character if HP is too low.
  • Faster code.
  • Uses less RAM.

What this script does:
  • Unlocks Wall Safes for Thieving XP.
  • Crafts Gems for Crafting XP.
  • Drops Gems if you change the variable isCRAFTER to false.

How to setup the script:
  1. Input your username and password into the script.
  2. Decide if you want to craft or drop gems.
  3. Start at the Rogues Den infront of a Wall safe.
  4. To record the XP gained follow these steps: move your xp bar to what you see in the picture below. NOTE, To move the bar follow these steps: Set oldschool default, move chatbox to small as it can be, unlock the interfaces, left click on the xp bar and drag it over the chatbox! If you do it the other way it will move other interfaces and mess things up).


Thanks:
  • Ashaman: for the sexy getXP() function.
  • Rogue Sniper: for 1st proggy and useful information.
  • The Mayor: for a ton of API and general help.


Post proggys.

bonsai

2014-08-09 22:40:10

Looks pretty solid man.

Maybe if your crafting is high enough you can crush the gems into bolt/arrow tips so you're not wasting them.

theorange

2014-08-09 22:50:38

Good first script!

Simple is the way to go.

Ideas for add-ons:
Add teleporting(POH or taverly), sps map, and then sps pathing/running to the den.
Anti-ban measures
Progress report

Bonsai's suggestion for checking crafting level and then making tips of them if high enough level would be a neat add on as well!

The Spark

2014-08-09 23:00:41

gratz on release


Would be good idea to add antiban and proggy reports, maybe even banking for gems? :)

Mr. Roboto

2014-08-10 09:18:00

From: bonsai
Looks pretty solid man.

Maybe if your crafting is high enough you can crush the gems into bolt/arrow tips so you're not wasting them.


Thank you. Good idea.


From: theorange
Good first script!

Simple is the way to go.

Ideas for add-ons:
Add teleporting(POH or taverly), sps map, and then sps pathing/running to the den.
Anti-ban measures
Progress report


Thank you, good ideas.

From: sparkyownage
gratz on release

Would be good idea to add antiban and proggy reports, maybe even banking for gems? :)


Thank you. I will add the banking then the crushing of gems.

I added an antiban and a progress report that only counts time running.

I do have a problem though: How do I figure out when a successful XP gain has occurred? I need that to complete the progress report.

Ross

2014-08-10 09:25:11

From: KLight
Thank you. Good idea.




Thank you, good ideas.



Thank you. I will add the banking then the crushing of gems.

I added an antiban and a progress report that only counts time running.

I do have a problem though: How do I figure out when a successful XP gain has occurred? I need that to complete the progress report.



Just guessing here, but you can probably just count the xp of the crack when it's successful.


http://runescape.wikia.com/wiki/Wall_safe

So every success you can just add +70 xp.


Although that's probably the lazy way and doesn't take into account double xp and such.

theorange

2014-08-10 09:36:03

From: KLight
Thank you. Good idea.




Thank you, good ideas.



Thank you. I will add the banking then the crushing of gems.

I added an antiban and a progress report that only counts time running.

I do have a problem though: How do I figure out when a successful XP gain has occurred? I need that to complete the progress report.

Each time you've successfully executed procedure unlockSafe() (maybe somewhere in the begin/end statement in there, after it clicks on it), have it increment a global variable for times_done. Then use times_done in your progress report.

Mr. Roboto

2014-08-10 09:50:59

From: theorange
Each time you've successfully executed procedure unlockSafe() (maybe somewhere in the begin/end statement in there, after it clicks on it), have it increment a global variable for times_done. Then use times_done in your progress report.


The problem is I don't know when unlockSafe() is actually successful in RS, because it can fail to unlock the safe. I could count the number of attempts and multiply by the 70 xp, but it would be a bit of a lie to users.

The Spark

2014-08-10 12:51:20

From: KLight
The problem is I don't know when unlockSafe() is actually successful in RS, because it can fail to unlock the safe. I could count the number of attempts and multiply by the 70 xp, but it would be a bit of a lie to users.


if the backpack gains a gem, then you know it's successful, so basically it should look for a shift in the backpack

This function from the Include files should come in handy if your going to do such a thing:


function TabBackPack.waitForShift(waitTime: integer): boolean;


Mr. Roboto

2014-08-10 20:00:31

From: sparkyownage
if the backpack gains a gem, then you know it's successful, so basically it should look for a shift in the backpack

This function from the Include files should come in handy if your going to do such a thing:


function TabBackPack.waitForShift(waitTime: integer): boolean;



Ok that's useful. Sometimes it gives you coins instead of a gem. Do you know a a function for money increased?

The Spark

2014-08-10 21:59:11

From: KLight
Ok that's useful. Sometimes it gives you coins instead of a gem. Do you know a a function for money increased?


This one's a bit more complicated. You know how whenever money is added to your money pouch it gives like a +number right next to the money pouch? So like if it added 75 gp to your money pouch, it would say +75 right next to it? Well you can search for that using its colours:



function FindColorTolerance(var x, y: Integer; col, x1, y1, x2, y2, tol: Integer): Boolean;

It looks for a certain colour in the box that you give it, with a tolerance, and if it finds that +75 or whatever number, then you know that it's added money to the money pouch and that you've cracked the safe.

Mr. Roboto

2014-08-11 05:38:14

From: sparkyownage
This one's a bit more complicated. You know how whenever money is added to your money pouch it gives like a +number right next to the money pouch? So like if it added 75 gp to your money pouch, it would say +75 right next to it? Well you can search for that using its colours:



function FindColorTolerance(var x, y: Integer; col, x1, y1, x2, y2, tol: Integer): Boolean;

It looks for a certain colour in the box that you give it, with a tolerance, and if it finds that +75 or whatever number, then you know that it's added money to the money pouch and that you've cracked the safe.


Thanks. The check for the gems works, but I am still having issues with the money. I posted a question here to see if anyone can help. https://villavu.com/forum/showthread.php?t=109834&p=1303840#post1303840

Solved.

Nerrultheretard

2014-08-11 18:20:28

What kind of exp are we looking at here per hour?

Mr. Roboto

2014-08-12 00:31:59

From: Nerrultheretard
What kind of exp are we looking at here per hour?


I think it depends on your level. Run it, let us know by posting the proggy.

I plan to take the average of different proggys and then I can have a more accurate prediction of expected xp per hour.

Rogue Sniper

2014-08-12 08:57:41

Downloading now … love to see it bank / craft the gems, personally that would make it look a lot less like a bot

Maybe even add gem bag support

Mr. Roboto

2014-08-12 09:10:26

From: Rogue Sniper
Downloading now … love to see it bank / craft the gems, personally that would make it look a lot less like a bot

Maybe even add gem bag support


Let me know how it goes. Try out version 1.8, it is a lot more stable, safer, and less bot-like.

Rogue Sniper

2014-08-12 09:24:31

got it running now and i think it would improve speed and accuracy if it didnt right click and then select crack, but just searched for the crack safe up text

||————————————–||
|| KLight – RD_Thieving (Rev. 1.7)
||
|| Time running: 08m 15s
|| Experience earned: 5320 (38684 PH)
||————————————–||

Rogue Sniper

2014-08-12 09:51:19

||————————————–||
|| KLight – RD_Thieving (Rev. 1.8) ||
|| ||
|| Time running: 21m 58s ||
|| Experience earned: 10920 (29818 PH) || -i have some double xp so expecting more like 15k xp an hour-
||————————————–||


im off to pay bills (woot!! (Sarcasm)) gonna let it run for awhile .. ill post proggy when i get back

Rogue Sniper

2014-08-12 13:13:32

||————————————–
|| KLight – RD_Thieving (Rev. 1.8)
||
|| Time running: 03h 42m 49s -
|| Experience earned: 70564 (19001 PH)
||—————————————

Makes About 19k Thieving Xp an Hour @ lvl 70
Im Making About 5k Gold an Hour as well

it is wise to not let if run forever if lower hp / thieving … i have 8700 hp and @ 3 hrs 45 mins im down to 2675

Stopped because runescape started to lag out
||————————————–||
|| KLight – RD_Thieving (Rev. 1.8) ||
|| ||
|| Time running: 03h 57m 39s ||
|| Experience earned: 74344 (18769 PH) ||
||————————————–||

Mr. Roboto

2014-08-12 20:00:33

From: Rogue Sniper
||————————————–
|| KLight – RD_Thieving (Rev. 1.8)
||
|| Time running: 03h 42m 49s -
|| Experience earned: 70564 (19001 PH)
||—————————————

Makes About 19k Thieving Xp an Hour @ lvl 70
Im Making About 5k Gold an Hour as well

it is wise to not let if run forever if lower hp / thieving … i have 8700 hp and @ 3 hrs 45 mins im down to 2675

Stopped because runescape started to lag out
||————————————–||
|| KLight – RD_Thieving (Rev. 1.8) ||
|| ||
|| Time running: 03h 57m 39s ||
|| Experience earned: 74344 (18769 PH) ||
||————————————–||


Thank you for the first proggy and all that information. I will add some new updates using your advice.

Rogue Sniper

2014-08-12 21:22:48

From: KLight
Thank you for the first proggy and all that information. I will add some new updates using your advice.

not a problem … i cant script yet myself … i get really confused … so ill settle with testing for now, i might even learn a few things

Mr. Roboto

2014-08-16 17:57:17

From: Rogue Sniper
not a problem … i cant script yet myself … i get really confused … so ill settle with testing for now, i might even learn a few things


I added the updates you suggested. The script will rest you if the HP gets too low. It also will craft the gems into bolt heads.

Mantasx27

2014-08-27 04:08:22

Exception in Script: Plugin(sps32) has not been found
What is this plugin I am missing?

uhit

2014-08-27 04:18:58

From: Mantasx27
Exception in Script: Plugin(sps32) has not been found
What is this plugin I am missing?


You're missing the sps plugin, just re-install simba and it will be fine or alternatively update SRL + SPS from the simba program

Mantasx27

2014-08-27 04:22:23

Updated SRL+SPS as suggested, everything works fine.

Mr. Roboto

2014-08-28 03:31:23

From: uhit
You're missing the sps plugin, just re-install simba and it will be fine or alternatively update SRL + SPS from the simba program


Thanks for helping him.

From: Mantasx27
Updated SRL+SPS as suggested, everything works fine.


I uploaded a new version that is faster and takes up less RAM.

Mantasx27

2014-09-03 06:50:39

Edit: had a problem getting the bot to run but solved it by messing with the zoom

Cyanempire

2014-09-15 00:10:12

It runs for awhile, sometimes longer but it keep terminating the script because
it failed finding the safe even tho its in front of them.

Mr. Roboto

2014-09-15 02:00:35

From: Cyanempire
It runs for awhile, sometimes longer but it keep terminating the script because
it failed finding the safe even tho its in front of them.


Can you post the proggy? I have it so that it prints an error message incase of fail.

Cyanempire

2014-09-15 02:10:59

Termination reason: [Failed too many times to find the safe]

Termination reason: [Failed to rest] (why would it rest after only 18min.)

two different proggys

Mr. Roboto

2014-09-16 22:36:45

From: Cyanempire
Termination reason: [Failed too many times to find the safe]

Termination reason: [Failed to rest] (why would it rest after only 18min.)

two different proggys


You are using OpenGL and all the standard SIMBA setup conditions right? It never finds the Safe, not even once?

Cyanempire

2014-09-16 22:42:51

Yes setup is fine. ive got it working until my inventory is full. then it crafts the gems
after crafting everything it tries to craft again to bolts which i cant yet (high fletching needed)
it would be nice if it would bank after full inventory instead.
babysitted it for the duration 25-40 thieving

xSorrels

2014-10-27 21:17:30

So, instead of using a Coshing script, because of high ban rate, I was gunna give this a try.

Still no banking feature?

I already have my crafting level goal thanks to Ashaman, however, would still like to use this for cracking safes, thieving exp then bank.

TimeRiders

2014-12-12 00:39:58

||—————————————-||
|| Mr. Roboto - RD Thieving/Craft (Rev. 3.4)||
|| ||
|| Time running: 13s ||
|| Experience earned: 0 (0 PH) ||
||—————————————-||

Termination reason: [Failed too many times to find the safe]

Post all proggys on the thread if you want updates.
——————————————
EDIT: Zoomed in a bit and it started to work :)

You gotta put the camera in a certain spot and it will flawless i will post a prog when i can :)

3zx

2014-12-12 09:30:09

Suggestion:
Could you make it run between the 2 safes, so when 1 of them is open it goes to the next? would probably double the XP gained, and perhaps also stethoscope support?

Ghostman

2014-12-20 17:24:43

Great script, once in a while it can't find a safe but besides that flawless.

||—————————————-||
|| KLight – RD_Thieving (Rev. 3.3) ||
|| ||
|| Time running: 01h 27m 18s ||
|| Experience earned: 26499 (18210 PH) ||
||—————————————-||