SRL Archive - Help

Help With RSPS Scripts And Such


Elip007

2013-01-21 21:33:12

Background: I am currently attending College for Software Development. Only started not long ago so my programming knowledge is not that big. Currently doing Java and that's where this all comes to play.


So there is this one RSPS that I play on and for help on learning Java faster and getting Scripting in my head, I have decided to make a Bot for it. Hopefully sticking with a simple one and trying not to ruin its economy.


I am curious to if using a Color Bot such as Simba will work on a RSPS.. Is it any different than a regular Bot? If so, what do I have to do different with it?

For a start I am looking to make a Mining Bot. There are Runite Veins next to a Bank Booth.
I understand how to make the Bot find the Ores and Bank, though it seems as if the main issue I have is how would the Bot know when to Bank the Ores/Gems? Is there a built in function that understands right away or do I have to import one in?

Is there any advice you guys can give me on how I would go about making one? I hope to actually build it all myself because that's the only way I'll learn, but advice on how to go about accomplishing some items would be nice.

kyleinkman

2013-01-21 21:37:25

hey i would check out the tut's as everything we do is in pascal and not java, it is possible to do scripts for private servers at the cost of being able to use your mouse while botting. (unluss you install a virtual machine).

Elip007

2013-01-21 21:42:54

From: kyleinkman
hey i would check out the tut's as everything we do is in pascal and not java, it is possible to do scripts for private servers at the cost of being able to use your mouse while botting. (unluss you install a virtual machine).


Yeah I've been around the Tutorial section except I didn't come across the Banking thing. Where the Bot knows when the Inventory is full to Bank.
So if I create a Bot using Simba, I would lose control of my mouse because it will use it? I don't mind running a Virtual Machine, but would like a way around that.

kyleinkman

2013-01-21 21:54:15

well if your playing actual rs, and not a rsps you can still use your mouse, and for the bank thing
try this
until (InvFull);

Chris!

2013-01-21 22:07:03

Not sure if SRL's InvFull function works for RSPS. If it does, simply go


if (InvFull) then
begin
//walk to bank
//do bank stuff
end;

SMART is not available with RSPS so you will lose your mouse.

Be sure to add the SRL include line at the top of your script:

{$I SRL/SRL.simba}

And call SetupSRL; in your mainloop.

Good luck, and remember, we're here to help.

Elip007

2013-01-21 22:11:38

Thanks for all the help that you guys have already gave me!

Okay, now I understand why I will lose my mouse. I guess I'll have to find another way around it. The main reason that I am not using Runescape but an RSPS is because I don't really have an account on RS but I know a guy who owns a RSPS that is allowing me to use.

If InvFull doesn't work, is there another function I can use?

Also what exactly does the SRL include that I have to have it? Every script I came across has one, but I don't understand what exactly it does.

Chris!

2013-01-21 22:30:06

From: Elip007
Thanks for all the help that you guys have already gave me!

Okay, now I understand why I will lose my mouse. I guess I'll have to find another way around it. The main reason that I am not using Runescape but an RSPS is because I don't really have an account on RS but I know a guy who owns a RSPS that is allowing me to use.

If InvFull doesn't work, is there another function I can use?

Also what exactly does the SRL include that I have to have it? Every script I came across has one, but I don't understand what exactly it does.


The SRL include includes all the functions and procedures built into SRL so you can use them in your scripts. If you go to your Simba folder, then Includes/SRL/SRL you can view folders with .simba files in them. These have procedures and functions in them for certain things.

Tutorials are your friend. :D