Results 1 to 16 of 16

Thread: Banned two times in two days, need advice

  1. #1
    Join Date
    Jul 2015
    Posts
    12
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default Banned two times in two days, need advice

    Hello there

    So, I'm learning to write rs bots for about two weeks now and I'm finally getting the hang of it. I'm not new to programming so it wasn't too hard to learn. But after I was working on a bot and testing it, suddenly I got banned for using macros and it was serious offense and all that stuff.

    I might have not put enough anti ban features in it yet, but hey I was only testing and my bot never ran for more than haf an hour... It did act very 'botlike' though. But this isn't my biggest surprise.

    The day after I thought I'd run a normal bot, one I didn't write myself, so I got one from powerbot and runned it a couple of hours that day to get my character levelled up a bit. But now today that one is banned too!

    What am I doing wrong here? Can someody please tell me, because there's no use to it anymore when I keep on getting banned ^^

    Thanks in advance.

  2. #2
    Join Date
    Jun 2015
    Posts
    39
    Mentioned
    1 Post(s)
    Quoted
    29 Post(s)

    Default

    Powerbot gets pretty much instabanned. Are you writing your scripts for Simba, or another bot?

  3. #3
    Join Date
    Jul 2015
    Posts
    12
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    I write my own bots in Simba, yes.

  4. #4
    Join Date
    Mar 2013
    Location
    Earth some place
    Posts
    108
    Mentioned
    2 Post(s)
    Quoted
    66 Post(s)

    Default

    Ya the powerbot is what flagged you, even logging in on their client flags jagex's system and you will usually be banned (sometimes even if you did not bot but simply logged in with the powerbot client) I got banned within a few hours of running a rock crab script I paid this guy named mute 10$ for. Was pretty pissed.

    I would stay away from powerban and stick with simba scripts like you are doing. Make some new accounts, train some legit stats, and you should be good. And lastly, incorporate anti-ban, fail-safes, and more with simba to keep botting safe
    "We're all someone else to someone else." - Calvin & Hobbes.
    A story of life. Inside everyone are two wolves. It is a terrible fight. One is evil, one is good. Which one wins? The one you feed.

  5. #5
    Join Date
    Jun 2015
    Posts
    39
    Mentioned
    1 Post(s)
    Quoted
    29 Post(s)

    Default

    I don't write scripts, so I can't help you in that department, but I would assume that your first ban was due to your script having not enough human like elements. You even admit that it looked very bot-like. And the second ban was due to powerbot being powerbot. Try running a public Simba script to see how long it lasts. If you don't get banned within a day you can determine that you need to add more anti-ban to your scripts. If you do get banned it can possibly mean your ip is flagged.

  6. #6
    Join Date
    Jul 2015
    Posts
    12
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for the help! I will surely try some public scripts and see what happens!

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

    Default

    Mind posting the code someplace so that we can help you in this thread to see if it could be a scripting oversight? I've seen some people here do things as bad as move the mouse places and wait instead of using SRL for basic functions, but sometimes its as simple as not adding randomness to your actions/movements.

  8. #8
    Join Date
    Apr 2015
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Yeah as stated above stay away from powerbot, people are getting banned for not even botting but simply logging in the client, stick with simba, I have only had one ban with simba and that was on osrs because i botten woodcutting 60-94 pretty much 24/7

  9. #9
    Join Date
    Jul 2015
    Posts
    12
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by yourule97 View Post
    Mind posting the code someplace so that we can help you in this thread to see if it could be a scripting oversight? I've seen some people here do things as bad as move the mouse places and wait instead of using SRL for basic functions, but sometimes its as simple as not adding randomness to your actions/movements.

    Here is the code: (I couldn't find a way to add the .simba file directly to this post so it is in a quote entirely, sorry for the inconvenience)

    I added some extra comments to my code so hopefully it doesn't seem complete nonsense

    Simba Code:
    program WoodCutter;

    {$DEFINE SMART}
    {$I SRL-6/SRL.simba}


    procedure teleportToFalador();   // function to teleport to falador
    var
      p: TPoint;
    begin

      if not isLoggedIn() then
      exit();

      writeln('Teleporting back to falador');

      repeat
        lodestoneScreen.teleportTo(LOCATION_FALADOR);
        wait(randomRange(16000,17500));
      until (minimap.findSymbol(p, MM_SYMBOL_ALTAR, minimap.getBounds()));       //keep teleporting until we are actually there.
    end;

    procedure walkToTrees()               // Procedure to get to the trees, I should use SPS maps but couldn't get it working
    begin                                 // this is only temporary
      writeln('walking to trees');        // will be changed to use SPS map ASAP
      mouse(750,50,MOUSE_MOVE);
      wait(100);
      fastClick(MOUSE_LEFT);
      wait(500);
      minimap.waitPlayerMoving();
      mouse(720,50,MOUSE_MOVE);
      wait(100);
      fastClick(MOUSE_LEFT);
      wait(500);
      minimap.waitPlayerMoving();

      writeln('Arrived at the trees');
    end;

    procedure lookForTrees()                    //looks around randomly, hoping to find a tree
    begin
       minimap.setAngle(randomrange(0,360));
       wait(500);
    end;

    procedure findTrees()                    // This is the actual 'Tree finding' procedure using findColorSpiral
    var
      x, y, i, counter: integer;
      TPA: TPointArray;
      ATPA : T2DPointArray;
    begin

       if(not isLoggedIn()) then
       exit();

       writeln('Looking for trees');

       repeat                                // Note: The following code is so my player doesn't pick the tree in the upper left corner but
                                             // tries to find a tree close to him first.

       findColorsSpiralTolerance(x, y, TPA, 990749, 150, 100, 350, 300, 5);  //search for trees close to the player first

       if(length(TPA) < 1) then                                            // if we didn't find trees closeby,
         findColorsSpiralTolerance(x, y, TPA, 990749, 0, 0, 500, 300, 5);  //search for trees on the entire screen.

       if(length(TPA) < 1) then
         lookForTrees();                                     // If we don't find trees on the screen whatsoever,
                                                             // look around and try to spot some trees

       ATPA := TPA.toATPA(30,30);
       ATPA.filterBetween(0,40);
       ATPA.sortFromFirstPoint(mainScreen.playerPoint);
       smartImage.debugATPA(ATPA);

       if(length(ATPA) < 1) then                       //If we found the color, but not enough pixels for a tree, look around again.
         lookForTrees();

         for i:= 0 to high(ATPA) do
         begin
           mouse(middleTPA(ATPA[i]),MOUSE_MOVE);
           if isMouseOverText(['Chop down Evergreen'], 500) then          //check whether it is actually a tree and not just  large green
           begin                                                          //object that happens to have the exact same color
             writeln('Found some trees!');
             fastClick(MOUSE_LEFT);
             wait(100);
             minimap.waitPlayerMoving(1000);
             tabBackpack.waitForShift(5000);
             smartImage.clear;
             break;
           end
           else
           begin
             writeln('no trees found, looking around.');              //if it wasn't a tree, look around for more trees.
             lookForTrees();
           end;
         end;

       until tabBackpack.isFull();                //keep chopping untill the backpack is full


    end;

    procedure goToBank()
    var                                          // goes to bank, again no SPS map because I couldn' get it working yet
    x, y: integer;                               // deposits the logs in the deposit box at Port Sarim
    p: TPoint;
    TPA: TPointArray;
    begin
      writeln('we should go to a bank');

      repeat
      minimap.clickCompass();
      lodestoneScreen.teleportTo(LOCATION_PORT_SARIM);
      wait(randomRange(16000,17500));
      until minimap.findSymbol(p,MM_SYMBOL_SHOP_FISHING,minimap.getBounds());

      mouse(760,60,MOUSE_MOVE);
      wait(100);
      fastClick(MOUSE_LEFT);
      wait(200);
      minimap.waitPlayerMoving();
      wait(500);
      mouse(775,69,MOUSE_MOVE);
      wait(100);
      fastClick(MOUSE_LEFT);
      wait(200);
      minimap.waitPlayerMoving();
      wait(2000);


      findColorTolerance(x, y, 5467010,100,0,500,300,6);            // looks for the deposit box colors

      mouse(x, y, MOUSE_MOVE);

      wait(100);
      fastClick(MOUSE_LEFT);
      wait(2000);
      mouseBox(intToBox(320,290,340,300),MOUSE_MOVE);
      wait(100);
      fastClick(MOUSE_LEFT);

    end;

    // main loop
    begin
      clearDebug();
      smartEnableDrawing := true;
      setupSRL();

      if not isLoggedIn() then             // If player isn't logged in then
      begin
        writeln('Not logged in yet, terminating script');
        exit();
      end;

      if isLoggedIn() then
      begin
        writeln('We are logged in!');
        exitTreasure();
        minimap.clickCompass();
        mainScreen.setAngle(MS_ANGLE_HIGH);
      end;

      if(tabBackpack.count > 2) then
      begin
        write('there are ');
        write(tabBackpack.count);
        writeln(' items in the backpack, we need to visit the bank first');
        goToBank();
      end;

      repeat          //main loop

      teleportToFalador();
      walkToTrees();
      findTrees();
      goToBank();

      until false;


    end.
    Last edited by longfinmako; 07-31-2015 at 02:15 PM.

  10. #10
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Put your code in [ simba] [\simba] tags please

  11. #11
    Join Date
    Oct 2012
    Posts
    1,258
    Mentioned
    40 Post(s)
    Quoted
    588 Post(s)

    Default

    try watching a human in action and try to gain insights on what to add to your scripts from that.

  12. #12
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by captainblast View Post
    Ya the powerbot is what flagged you, even logging in on their client flags jagex's system and you will usually be banned (sometimes even if you did not bot but simply logged in with the powerbot client) I got banned within a few hours of running a rock crab script I paid this guy named mute 10$ for. Was pretty pissed.

    I would stay away from powerban and stick with simba scripts like you are doing. Make some new accounts, train some legit stats, and you should be good. And lastly, incorporate anti-ban, fail-safes, and more with simba to keep botting safe
    What? Mute is a scripter on tribot and no scripts are sold on powerbot for OSRS. I think you've gotten your client mixed up.
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  13. #13
    Join Date
    Sep 2010
    Location
    Finland
    Posts
    299
    Mentioned
    8 Post(s)
    Quoted
    37 Post(s)

    Default

    Next time use [SIMBA] [/ SIMBA] tags (remove the space).

    You are using static points for walking, which is the fastest way to get banned since your program will always click on them without randomness.
    Rusting away

  14. #14
    Join Date
    Jul 2015
    Posts
    12
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    So if get the SPS map walking working this shouldn't be a problem anymore?

    I think I'm going to let the trees be for a while and start over with an easier task and an easier script. Thanks for the tips! I'll definetey use them.

  15. #15
    Join Date
    Dec 2010
    Posts
    483
    Mentioned
    30 Post(s)
    Quoted
    328 Post(s)

    Default

    Your walking is without a doubt what got you caught. Those are static coordinates you are clicking, meaning the only randomness is that which comes directly out of the mouse function, or more specifically the WindMouse function it calls.

    Note that Im not saying you are clicking the same tile everytime, Im saying your clicking the same POINT on the client every time. This will result in a flag very quickly. SPS yes would help, but once again you will need to incorporate some random offsets each time, as SPS does not do this by default either.

    tl;dr: Add randomness to your mouse clicks regardless of using SPS or not.

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

    Default

    Yep, as the other people have said, the lack of randomness is probably something that has flagged you. However, you should also try to add randomness to every action possible!

    Your wait values should also have a degree of randomness if possible. Instead of something like:


    Simba Code:
    wait(500);

    you could do something like:

    Simba Code:
    wait(randomRange(450, 650));
    //Or
    wait(guassRangeInt(450, 650));

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
  •