Results 1 to 10 of 10

Thread: What antiban randomly runs?

  1. #1
    Join Date
    Aug 2012
    Location
    127.0.0.1
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    26 Post(s)

    Default What antiban randomly runs?

    EDIT:

    Turns out it was something in 'FindNormalRandoms' not yet identified the particular cause but I'm looking for it, so when I find it I'll post in a fix for anyone else that is having this problem

  2. #2
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Pretty sure thats setrun

  3. #3
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Are you being attacked when that happens? If so it's probably findnormalrandoms thinking you are being attacked by a random

  4. #4
    Join Date
    Aug 2012
    Location
    127.0.0.1
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    Pretty sure thats setrun
    I thought so too, but the whole function is just to turn run on:
    Code:
    function SetRun(Run: Boolean): Boolean;
    var
      CCount: Integer;
    begin
      Result := False;
      if (GameTab(tab_Options)) then
      begin
        CCount := CountColorTolerance(2369440, 626, 412, 657, 413, 20);
        if (Run) then
        begin
          if (CCount<1) then
            MouseBox(626, 415, 657, 446, mouse_left);
          Result := True;
        end else
        begin
          if (CCount>1) then
            MouseBox(626, 415, 657, 446, mouse_left);
          Result := True;
        end;
      end;
    end;
    I removed it anyway but it still happens

    Quote Originally Posted by Ashaman88 View Post
    Are you being attacked when that happens? If so it's probably findnormalrandoms thinking you are being attacked by a random
    Nope, purposely picked a spot where there are no NPCs nearby and I have never been attacked while this was happening. Also it is probably useful to note that for some reason it won't run from the evil chicken or tree spirit when they attack, and the strange fruit random really ruins the system when you get poisoned, but I can easily add in a hack fix for that random anyway.

  5. #5
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    I found the SRL5 function that does that: runaway() from mapwalk.simba

    No other base SRL5 function calls it. Maybe search any other code/libraries you're using for that name?

  6. #6
    Join Date
    Aug 2012
    Location
    127.0.0.1
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    I found the SRL5 function that does that: runaway() from mapwalk.simba

    No other base SRL5 function calls it. Maybe search any other code/libraries you're using for that name?
    Thanks a lot man, able to locate it in FindNormalRandoms, so unfortunately unless I make my own hack fixes for all randoms it'l always happen. I have a feeling it could be imps walking above my head mimicking colours of a hp bar, only a theory but do you have any idea if it's possible?

  7. #7
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    You could try repeatedly calling this function near the imps:
    function srl_InFight: Boolean; //In globals.simba

    If that returns true then it should be fixed.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  8. #8
    Join Date
    Aug 2012
    Location
    127.0.0.1
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    You could try repeatedly calling this function near the imps:
    function srl_InFight: Boolean; //In globals.simba

    If that returns true then it should be fixed.
    Thanks a lot, I added it in with a writeln if it's true, but nothing. Noticed this though http://gyazo.com/b90e51a2b831ddc396555a2af9f84577.png
    I'm pretty much certain it's from FindNormalRandoms just seeing if its solvable or if I just make my own version of FindNormalRandoms.

  9. #9
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by Millenium View Post
    Thanks a lot, I added it in with a writeln if it's true, but nothing. Noticed this though http://gyazo.com/b90e51a2b831ddc396555a2af9f84577.png
    I'm pretty much certain it's from FindNormalRandoms just seeing if its solvable or if I just make my own version of FindNormalRandoms.
    From what I remember that would only be triggered if srl_infight returned true - so there must be colors around there that are fooling it. If you don't think you need combat randoms you can always just disable the combat ones... I know I wrote a guide on it somewhere...

    Regardless it looks like the infight needs to be fixed. If you can figure out where it's coming from that would help

  10. #10
    Join Date
    Aug 2012
    Location
    127.0.0.1
    Posts
    74
    Mentioned
    1 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    From what I remember that would only be triggered if srl_infight returned true - so there must be colors around there that are fooling it. If you don't think you need combat randoms you can always just disable the combat ones... I know I wrote a guide on it somewhere...

    Regardless it looks like the infight needs to be fixed. If you can figure out where it's coming from that would help
    I have this...
    Code:
    If srl_InFight then Writeln('The imps are fucking up our shit!!');
    FindNormalRandoms;
    This runs before everytime I run FindNormalRandoms so it should write the line, however this si what I get in debug...
    Code:
    Succesfully paired to a existing client, SMART[4780]
    No direction found, setting manually
    Running N
    Running N
    Running E
    If I find out what it is I will let you know, and provide you with any *horrible* attempts at solving it I have

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
  •