Results 1 to 14 of 14

Thread: Bot doesn't run when I close remote desktop on my VPS

  1. #1
    Join Date
    Sep 2014
    Posts
    447
    Mentioned
    10 Post(s)
    Quoted
    203 Post(s)

    Default Bot doesn't run when I close remote desktop on my VPS

    I'm not sure exactly how to explain it, so I'll just try to give all the info I can. I've been testing a small farming script, and with my Visual Studio Pro license or soemthing, I get free credit with Windows Azure. Within Azure, it is possible to run Virtual Machines. Currently I am using the Windows Server 2012 template running a machine with something like 1.6 GHz and 1.75GB RAM. Anyways, I set up my SIMBA machine, make sure it logs into the world I want, and that it starts clicking stuff. It doesn't matter whether I minimize the window or not, as soon as I close out of remote desktop, the script just stops running. As soon as a log back on, the program remembers that it HAS A GOD DAMN JOB TO DO.

    I used to use this exact method to run Powerban/bot in the past and have had no troubles before. Does anyone have an issue like this? I will post my code if needed.

    EDIT: I have now tried an autoclicker, still does not work. I am also using the DirectX plugin if that matters at all
    Last edited by yourule97; 09-13-2014 at 11:47 PM.

  2. #2
    Join Date
    Dec 2011
    Posts
    266
    Mentioned
    16 Post(s)
    Quoted
    185 Post(s)

    Default

    Quote Originally Posted by yourule97 View Post
    I'm not sure exactly how to explain it...
    This doesn't have anything to do with Simba specifically, this is an Azure issue. I had the same problem when I had Azure. For whatever reason, processes stop on Azure when connections are closed or minimized, yes even minimizing will crash your script. I never found a solution when I was using it, but I have since considered Teamviewer as a solution instead of Remote Desktop. Since Teamviewer would always technically be "looking" at the screen, I have to assume you would at least be able to minimize it. I'm curious as to whether or not this would actually work, so report back on whether or not it works.

  3. #3
    Join Date
    Sep 2014
    Posts
    447
    Mentioned
    10 Post(s)
    Quoted
    203 Post(s)

    Default

    Quote Originally Posted by Gunner View Post
    This doesn't have anything to do with Simba specifically, this is an Azure issue. I had the same problem when I had Azure. For whatever reason, processes stop on Azure when connections are closed or minimized, yes even minimizing will crash your script. I never found a solution when I was using it, but I have since considered Teamviewer as a solution instead of Remote Desktop. Since Teamviewer would always technically be "looking" at the screen, I have to assume you would at least be able to minimize it. I'm curious as to whether or not this would actually work, so report back on whether or not it works.
    I think you might have given me a brilliantly stupid idea, but since I have enough credit to run two machine, I will try to place teamviewer on each, and make them watch the other bot.

  4. #4
    Join Date
    Dec 2011
    Posts
    266
    Mentioned
    16 Post(s)
    Quoted
    185 Post(s)

    Default

    Quote Originally Posted by yourule97 View Post
    I think you might have given me a brilliantly stupid idea, but since I have enough credit to run two machine, I will try to place teamviewer on each, and make them watch the other bot.
    Hopefully this works. I suppose it would also be possible to install a Virtual Machine inside each of the VPS' and have each bot watch itself, but this may also tear a hole in the universe so I don't recommend that option.

  5. #5
    Join Date
    Jun 2014
    Posts
    463
    Mentioned
    27 Post(s)
    Quoted
    229 Post(s)

    Default

    You need to set it to run as a task in the background; I ran a private server and I didn't have to be connected to the VPS 24/7. It also might be the remote desktop settings.

    If you want to change to what I hosted to, I highly suggest them. PM me for details!
    Tsunami

  6. #6
    Join Date
    Jan 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Blytez View Post
    You need to set it to run as a task in the background; I ran a private server and I didn't have to be connected to the VPS 24/7. It also might be the remote desktop settings.

    If you want to change to what I hosted to, I highly suggest them. PM me for details!
    Hi, as someone who is trying to get into farming myself, I would greatly appreciate it if you could PM me.

    OT: I used to use VM's from azure extensively and never had a problem like this, however, I used powerban at the time.

    I would suggest that you...
    1. Make a new VM, it's really easy to do with azure and only takes like 15 minutes
    2. Contact them and ask about why your programs are stopping when you disconnect from the server
    3. Switch hosts

  7. #7
    Join Date
    Sep 2014
    Posts
    447
    Mentioned
    10 Post(s)
    Quoted
    203 Post(s)

    Default

    Quote Originally Posted by Blytez View Post
    You need to set it to run as a task in the background; I ran a private server and I didn't have to be connected to the VPS 24/7. It also might be the remote desktop settings.

    If you want to change to what I hosted to, I highly suggest them. PM me for details!
    I stopped botting for a week for school reasons, I am back to try again. I think it has something to do with the fact that Simba needs a mouse to be present in order to move the mouse since I am guessing that Simba is not injected into Runescape. This is all conjecture, but i realized through the debug statements that it was skipping all of the parts except for antiban.


    Quote Originally Posted by Jufari View Post
    Hi, as someone who is trying to get into farming myself, I would greatly appreciate it if you could PM me.

    OT: I used to use VM's from azure extensively and never had a problem like this, however, I used powerban at the time.

    I would suggest that you...
    1. Make a new VM, it's really easy to do with azure and only takes like 15 minutes
    2. Contact them and ask about why your programs are stopping when you disconnect from the server
    3. Switch hosts
    Yeah I did the same thing with powerban. I have created like 3 different VM's by now and none of them work, and the support is god awful. I've already contacted them to no avail. I'll see how I can mimic a mouse
    Last edited by yourule97; 09-22-2014 at 10:18 PM.

  8. #8
    Join Date
    Jun 2015
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I know this is an old post, but it the only one I could find on here. I had this problem too of my scripts stopped working when i closed or minimized the azure vps. I figured out an easy workaround that works perfectly for me. Sign up for the AWS trial through amazon and get their free tier VPS. Simply download the remote desktop from windows azure onto it. Since the AWS VPS is up all the time, simply keep the remote desktop open on there and your scripts should run perfectly!

  9. #9
    Join Date
    Aug 2012
    Posts
    188
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    You can run a remote desktop from aws into as many vps as you want, works perfectly! Then just remote into aws. Free for a year

  10. #10
    Join Date
    Sep 2014
    Posts
    447
    Mentioned
    10 Post(s)
    Quoted
    203 Post(s)

    Default

    Sorry for the late reply, but I did eventually find a solution. I'm just not subscribed to this thread

    http://digitalmediaphile.com/index.p...th-batch-file/

  11. #11
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    :\ it seems all solutions all lead to having to have a physical connection the the VPS in order for bg programs to work..

    i was kind of expecting to be able to turn off my desktop and leave the VPS running for me

  12. #12
    Join Date
    Jul 2015
    Location
    AZ
    Posts
    103
    Mentioned
    2 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by theholyone View Post
    :\ it seems all solutions all lead to having to have a physical connection the the VPS in order for bg programs to work..

    i was kind of expecting to be able to turn off my desktop and leave the VPS running for me
    Well, I am not a VPS expert, but could you get a program within the VPS to watch the VPS so that you don't have to?

  13. #13
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Quote Originally Posted by Hanar View Post
    Well, I am not a VPS expert, but could you get a program within the VPS to watch the VPS so that you don't have to?
    thats what most people are suggesting, going to give it a try tonight

  14. #14
    Join Date
    May 2013
    Posts
    98
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Thanks guys, AWS works for me too. A bit annoying but its short term for me anyways.

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
  •