SRL Archive - OSR Help

Could anyone help me design this? :o


Keasbey

2013-02-17 07:36:26

So I am by no means good at scripting or fluent at SRL, but I'm trying to learn it :P
Anyway.. I was wondering if someone has done this yet, or could help me with making a script that re-loads a Powerbot client?

I'm guessing it would go something like this:

Function CheckLogStatus;
Begin
For c = 1 to 100000 do:
If LoggedIn then
begin
Wait(1000);
inc©;
end else
ReloadClient
end;

Procedure ReloadClient;
<Code for closing the PB windows>
<code for opening the PB windows>
<Code for selecting the account and running bot>
CheckLogStatus
end;

Is this sort of correct? If so, how would you setup SRL to select from the dropdown list of accounts? I haven't done a lot of "Findtext" coding, and I need to learn how soon.

Any help with this is greatly appreciated!

Sawyer

2013-02-17 08:05:31

Um… I'm not sure many people will help with that, but it should be very easy to learn. Powerbot is not held in high regards here. There are lots of great tutorials available in the help and tutorial section, or you could probably just google it. To my extent of knowledge, SRL is mainly for runescape.

Sjoe

2013-02-17 08:09:48

Easier to download a mouserecording program. :)
(I'm guesing you want to surpass 6 hours right?)

Itankbots

2013-02-17 08:14:41

Using simba to bot with powerbot, interesting lol

But as said above, you would be better off using a mouse recorder as long as it is just 1 powerbot client you want to restart

Sawyer

2013-02-17 08:16:16

Easier, yes :p but make sure it's a mouse recorder without a virus.

Keasbey

2013-02-17 08:46:07

From: Sawyer
Um… I'm not sure many people will help with that, but it should be very easy to learn. Powerbot is not held in high regards here. There are lots of great tutorials available in the help and tutorial section, or you could probably just google it. To my extent of knowledge, SRL is mainly for runescape.


I completely understand, I hate Powerbot in all honesty, I just get better results from their public scripts than SRl public scripts ( more yield/h ) and I'm trying to get rid of the 6h limit because I had a bot farm going until the 6hr relog broke on their client. After weeks of waiting I decided screw it I want to learn SRL so I can fix my own problems from now on, but until I get really good at it re-loading powerbot seems like it's an easy fix.

From: Itankbots
Using simba to bot with powerbot, interesting lol

But as said above, you would be better off using a mouse recorder as long as it is just 1 powerbot client you want to restart


Nah, I'd need 10+ accounts re-logged.

Edit:
Is there a function/procedure to minimize the SIMBA window when the code starts?

Runehack123

2013-02-17 08:49:22

From: Sjoekeloe
Easier to download a mouserecording program. :)
(I'm guesing you want to surpass 6 hours right?)


If this is about the 6 hour limit like you said Sjoekeloe..

..Powebot doesn't have a way to bypass the 6-hour-limit? :o

Wardancer

2013-02-17 14:53:18

Few things can go wrong when loading a powerbot client. The script would need quite a few failsafes which would require a somewhat solid (well, more solid) understanding of SRL and pascal to be more efficient than a simple mouse recorder. I'm sure you can see in what direction I'm pointing and what I'm suggesting you to do.

Chris Reborn

2013-02-17 15:23:50

just get winschedular. way easier.

J J

2013-02-17 15:58:11

The only way this could possibly work out is by running one instance of Powerbot.. and considering you are only running one it isn't that much effort to manually restart it. I believe Powerbot is working on fixing the reloading stuff but Timer doesn't really seem to care that much. So it can take a while lol.

Do you know any other programming languages? I think that using c# or c++ you can get the Processes on your PC, kill them and use a command to start a new Powerbot. Can probably also get the location so you can calc the positions to click to start the script again.

All in all not really worth it.

Sawyer

2013-02-17 23:18:14

Just learn SRL and do away with that icky powerbot :p

Sjoe

2013-02-18 04:03:14

From: Runehack123
If this is about the 6 hour limit like you said Sjoekeloe..

..Powebot doesn't have a way to bypass the 6-hour-limit? :o


It's currently broken.

OP: U can use Mouse function to close pbot and re-open. Activate the windows desktop.