+ Reply to Thread
Results 1 to 20 of 20

Thread: MSI_Antiban

  1. #1
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MSI_Antiban

    I'm currently running the RIM script and the MSI_Antiban procedure seems to stop/break the script.

    Code:
    [0:09:28]: [ *** ] ------ MSI_TrackObject: True
    [0:09:28]: [ *** ] ---- MSI_FindObjectsIn: True
    [0:09:29]: [ *** ] ---- MSI_WaitWhileMining
    [0:09:29]: [ *** ] ------ InvCount: 1
    [0:09:29]: [ *** ] ------ Entering loop
    [0:09:29]: [ *** ] ---------- Scanning for randoms...
    [0:09:29]: [ *** ] ---------- MSI_AntiBan
    [0:09:29]: [ *** ] ---------- 0..2000 (3)
    So the "0..2000 (3)" is what i put it in to find what was causing the problem and it turned out to be this

    Code:
            2 : Begin
                  MSI_SubDebug('0..2000 (3)');
                  RandomRClick;
                End;
    Just wondering if anyone else ran into this?
    Last edited by Zyt3x; 03-17-2011 at 11:23 PM. Reason: Setting status to Resolved

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

    Default

    I haven never heard of this before, and RandomRClick can't possibly mess anything up unless it possibly pulls up a menu that covers what the script is looking for.

    Was there a Menu open when this happened?

  3. #3
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Imho the antiban is really not good enough. Antiban should be in each and every procedure that interacts with runescape rather than in one single procedure. This way we get a better antiban and will look more human

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

    Default

    Quote Originally Posted by Zyt3x View Post
    Imho the antiban is really not good enough. Antiban should be in each and every procedure that interacts with runescape rather than in one single procedure. This way we get a better antiban and will look more human
    MSI_AntiBan is called in numerous proc's?

  5. #5
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I haven never heard of this before, and RandomRClick can't possibly mess anything up unless it possibly pulls up a menu that covers what the script is looking for.

    Was there a Menu open when this happened?
    I removed RandomRClick; and have been running the script for ~3 hours now without fault.

    No menu was open when it stopped. It happened when walking back to the mine the most and once while mining. I checked it several times before making this thread, Ran CCleaner, and restarted my computer.
    Last edited by Geo; 03-15-2011 at 10:41 PM.

  6. #6
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    MSI_AntiBan is called in numerous proc's?
    Nevermind.. it's just an idea I'm throwing out there, but I'm talking about not having a procedure for antiban, but having it so that we call mouse movement/camera movement/tab clicking inside the functions.
    This way we wont have antiban that random right clicks/checking random tabs while (I.E) walking..

    Specified antiban for each specific action/task

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

    Default

    Quote Originally Posted by Zyt3x View Post
    Nevermind.. it's just an idea I'm throwing out there, but I'm talking about not having a procedure for antiban, but having it so that we call mouse movement/camera movement/tab clicking inside the functions.
    This way we wont have antiban that random right clicks/checking random tabs while (I.E) walking..

    Specified antiban for each specific action/task
    It's not a bad idea as far as functionality goes, it could just get messy/repetitive.

  8. #8
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    It's not a bad idea as far as functionality goes, it could just get messy/repetitive.
    Yeah, that's the downside :/

  9. #9
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    Nevermind.. it's just an idea I'm throwing out there, but I'm talking about not having a procedure for antiban, but having it so that we call mouse movement/camera movement/tab clicking inside the functions.
    This way we wont have antiban that random right clicks/checking random tabs while (I.E) walking..

    Specified antiban for each specific action/task
    I actually really, really like that idea. I think if done properly, it could revolutionize scripts (take a look at RiD scripts if you haven't already). On the note about it being repetitive - that's easily solved. Have several custom antiban procedures and call certain ones where a human is more likely to do something.
    Simba Code:
    procedure MSI_SpamClickTabs();

    procedure MSI_SpamCameraAngle();

    procedure MSI_FunnyMouseMovement();

    procedure MSI_SpamTabsAndCamera();
    I'm sure we could incorporate many many different antiban methods.

    @england: You never really stated what your problem was exactly? Like it literally just idles and does nothing? If so that's weird. Like I've said in other threads, I've had no problems running MSI for the past few weeks; I actually have a 38 hour report still running.

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

    Default

    Quote Originally Posted by Coh3n View Post
    I actually really, really like that idea. I think if done properly, it could revolutionize scripts (take a look at RiD scripts if you haven't already). On the note about it being repetitive - that's easily solved. Have several custom antiban procedures and call certain ones where a human is more likely to do something.
    Simba Code:
    procedure MSI_SpamClickTabs();

    procedure MSI_SpamCameraAngle();

    procedure MSI_FunnyMouseMovement();

    procedure MSI_SpamTabsAndCamera();
    I'm sure we could incorporate many many different antiban methods.
    Agreed. I figured no one would support changing this to that extent, but I'm all for that.

    All functions to be included in AntiBan.Simba I would imagine, right?


    Looks like a good opportunity for some public contributions.

  11. #11
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Agreed. I figured no one would support changing this to that extent, but I'm all for that.

    All functions to be included in AntiBan.Simba I would imagine, right?
    Yes.

    Quote Originally Posted by NCDS View Post
    Looks like a good opportunity for some public contributions.
    And yes.

    This would be an opportunity for people to use their imaginations.

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

    Default

    This is the current MSI_NoMouseFindRandoms;
    Simba Code:
    function MSI_NoMouseFindRandoms: Boolean;
    var
      I: Byte;
      Cont : boolean;
    begin
      if (not LoggedIn) then
        Exit;

      if (LevelUp) then
      begin
        MSI_SubDebug('MSI_FindRandoms: Player has leveled up!');
        stats_IncVariable('Total Levels Gained', 1);
      end;

      if (NextRandCheck > GetSystemTime) then
        Exit;

      MSI_SubDebug('Scanning for randoms...');
      {$IFDEF REFLECTION}
        Result := R_SolveNonTalkingRandoms;
      {$ELSE}
        begin {Taken from SRL's FindNormalRandoms (mouse movements removed)}
          if (SRL_OnFindRandomCall <> nil) then
          begin;
            Result := SRL_OnFindRandomCall(cont);
            if not Cont then
              exit;
          end;
          for I := 1 to 6 do
          begin
            case I of
              1: Result := SolveTeleportRandoms;
              2: Respond;
              3: Result := FindDead;
              4: Result :=  RC;
              5: Result := FindMod;
              6: if (SRL_Procs[srl_OnRandomCall] <> nil) then
                   SRL_Procs[srl_OnRandomCall]();

            end;
            if (Result) then
            begin
              if (SRL_Procs[srl_OnFindRandom] <> nil) then
                SRL_Procs[srl_OnFindRandom]();
              Break;
            end;
          end;
        end; //End SRL's Func.
      {$ENDIF}
      if Result then
        MSI_SubDebug('MSI_FindRandoms: Finished Random Event!')
      else
        if (not LoggedIn) then
          MSI_Players[CurrentPlayer].ReportInfo.FalseReason := 'Failed to solve random';

      NextRandCheck := GetSystemTime + MSI_SetupVars[SETUP_RANDOMS_WAIT];
    end;
    It's currently used for the Alching script to avoid tab clicking and all other mouse movements. If anyone can come up with a better way to go about this, please feel free to, I just through it together for something to work so I can test. CREDIT WILL BE GIVEN! If no one posts anything about it I will eventually do something about it, but it works for now.

    If you want to have a look at all the antiban stuff it's all in /MSI/Antiban.Simba.

    I'm not sure if it's been committed to the main repo yet though so you may have to switch to my Git to test it. I'm pretty I may have made a couple small changes since that last commit, but I don't think it's anything that can't wait until I finish cooking and commit everything.

    Note: None of this will be committed to the main Git branch until everything is proven to actually be working. Currently my Git branch has the basic bits of what I had done as of a week or so ago. I've made a few changes since then, but I will update when I feel it's necessary.

    Edit: Also, I'm open to new names for the function.
    Last edited by NCDS; 03-17-2011 at 08:01 AM.

  13. #13
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Woah.. didn't think the idea would be supported... it has been the core idea for all my scripts
    I'm glad you guys agree

  14. #14
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    Woah.. didn't think the idea would be supported... it has been the core idea for all my scripts
    I'm glad you guys agree
    Care to make a new suggestion thread outlining your idea and how people can contribute?

    E: We kind of went away from what the thread was actually about. England, we're sorry, none of us are experiencing this problem, so it's hard to find out exactly what is wrong.

  15. #15
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    This is the current MSI_NoMouseFindRandoms;
    Simba Code:
    function MSI_NoMouseFindRandoms: Boolean;
    var
      I: Byte;
      Cont : boolean;
    begin
      if (not LoggedIn) then
        Exit;

      if (LevelUp) then
      begin
        MSI_SubDebug('MSI_FindRandoms: Player has leveled up!');
        stats_IncVariable('Total Levels Gained', 1);
      end;

      if (NextRandCheck > GetSystemTime) then
        Exit;

      MSI_SubDebug('Scanning for randoms...');
      {$IFDEF REFLECTION}
        Result := R_SolveNonTalkingRandoms;
      {$ELSE}
        begin {Taken from SRL's FindNormalRandoms (mouse movements removed)}
          if (SRL_OnFindRandomCall <> nil) then
          begin;
            Result := SRL_OnFindRandomCall(cont);
            if not Cont then
              exit;
          end;
          for I := 1 to 6 do
          begin
            case I of
              1: Result := SolveTeleportRandoms;
              2: Respond;
              3: Result := FindDead;
              4: Result :=  RC;
              5: Result := FindMod;
              6: if (SRL_Procs[srl_OnRandomCall] <> nil) then
                   SRL_Procs[srl_OnRandomCall]();

            end;
            if (Result) then
            begin
              if (SRL_Procs[srl_OnFindRandom] <> nil) then
                SRL_Procs[srl_OnFindRandom]();
              Break;
            end;
          end;
        end; //End SRL's Func.
      {$ENDIF}
      if Result then
        MSI_SubDebug('MSI_FindRandoms: Finished Random Event!')
      else
        if (not LoggedIn) then
          MSI_Players[CurrentPlayer].ReportInfo.FalseReason := 'Failed to solve random';

      NextRandCheck := GetSystemTime + MSI_SetupVars[SETUP_RANDOMS_WAIT];
    end;
    It's currently used for the Alching script to avoid tab clicking and all other mouse movements. If anyone can come up with a better way to go about this, please feel free to, I just through it together for something to work so I can test. CREDIT WILL BE GIVEN! If no one posts anything about it I will eventually do something about it, but it works for now.

    If you want to have a look at all the antiban stuff it's all in /MSI/Antiban.Simba.
    Is there anything wrong with this procedure like is there a bug or something?
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  16. #16
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Anything concerning the topic about more human anti-ban should be posted here: http://villavu.com/forum/showthread.php?t=63219

  17. #17
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I re-downloaded MSI and it seems to have fixed itself.

    All it did was show the text "MSI_AntiBan" in the debug box of Simba and then nothing. The script wouldn't continue or terminate. I guess this thread can be closed.

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

    Default

    Quote Originally Posted by yago View Post
    Is there anything wrong with this procedure like is there a bug or something?
    No I just don't like the fact that it's basically SRL's FindNormalRandoms embedded in a few other lines of code. I would much rather go about it a different way (code-wise) but the functionality is exactly what we're looking for.

    It's really not a priority of any kind, just an annoyance when looking at the code.

  19. #19
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by england155 View Post
    I re-downloaded MSI and it seems to have fixed itself.

    All it did was show the text "MSI_AntiBan" in the debug box of Simba and then nothing. The script wouldn't continue or terminate. I guess this thread can be closed.
    Glad it's working again.

  20. #20
    Join Date
    Dec 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm having the same issue. The script randomly terminates with MSI_AnitBan as the last line. I've reinstalled everything multiple times to no avail.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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