Results 1 to 12 of 12

Thread: Could anyone help me design this? :o

  1. #1
    Join Date
    Apr 2012
    Location
    Florida!
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Could anyone help me design this? :o

    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(c);
    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!

  2. #2
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

    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.

  3. #3
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

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

    Creds to DannyRS for this wonderful sig!

  4. #4
    Join Date
    Nov 2011
    Location
    United States
    Posts
    815
    Mentioned
    6 Post(s)
    Quoted
    284 Post(s)

    Default

    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

  5. #5
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

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

  6. #6
    Join Date
    Apr 2012
    Location
    Florida!
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Sawyer View Post
    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.

    Quote Originally Posted by Itankbots View Post
    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?

  7. #7
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    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?

  8. #8
    Join Date
    Jul 2012
    Posts
    279
    Mentioned
    5 Post(s)
    Quoted
    46 Post(s)

    Default

    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.

  9. #9
    Join Date
    Mar 2012
    Location
    On Earth
    Posts
    770
    Mentioned
    10 Post(s)
    Quoted
    84 Post(s)

    Default

    just get winschedular. way easier.

  10. #10
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    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.

    Script source code available here: Github

  11. #11
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

    Just learn SRL and do away with that icky powerbot

  12. #12
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    If this is about the 6 hour limit like you said Sjoekeloe..

    ..Powebot doesn't have a way to bypass the 6-hour-limit?
    It's currently broken.

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

    Creds to DannyRS for this wonderful sig!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •