Page 1 of 2 12 LastLast
Results 1 to 25 of 27

Thread: [SoulSplit] Kory's SS Auto Fighter!

  1. #1
    Join Date
    Jun 2013
    Posts
    147
    Mentioned
    2 Post(s)
    Quoted
    41 Post(s)

    Default [SoulSplit] Kory's SS Auto Fighter!


    ----------------------------------------
    Kory's SS Auto Fighter
    ----------------------------------------



    An incredibly simple SS auto fighter!

    -Features-
    -Checks for combat every 5 seconds-
    -Neat and clean progress report-
    -Reports time running, monsters killed, and monsters killed/hr-
    -Easy to use!-


    -------------
    Instructions
    -------------

    Set your settings to this first
    Screenshot_2.png

    1. Drag target onto SS client.
    2. Set screen to desired settings I posted on the thread.
    3. Go to a training spot where you are ALONE.
    4. Pick monster colors and input them at lines 43-49.
    5. Post any bugs or suggestions on the thread.
    6. Enjoy



    [COLOR="#A52A2A"]Post progress reports or bugs below![/COLOR


    Simba Code:
    program SoulSplitFighter;
    {$i srl/srl.simba}
    var
      x, y, killed, HpBar, killedhour, Monstercolor1, Monstercolor2, Monstercolor3, Monstercolor4, Monstercolor5, Monstercolor6, Monstercolor7:Integer;



    //            -Instructions-
    //            --------------
    //            1. Drag target onto SS client.
    //            2. Set screen to desired settings I posted on the thread.
    //            3. Go to a training spot where you are ALONE.
    //            4. Pick monster colors and input them at lines 43-49.
    //            5. Post any bugs or suggestions on the thread.
    //            6. Enjoy :)
    //
    //            -NOTES-
    //            --------------
    //            - ONLY works on SoulSplit
    //            - Not every monster has been tested, so pick good colors.
    //            - Eating/prayer is unsupported, so [$]Extreme is recommended.
    //            - !BE ALONE AT YOUR TRAINING SPOT!
    //            - Baby sit for a few minutes to make sure your colors work well.



    Procedure Proggy;
     Begin
     ClearDebug;
     killedhour := round((killed)/(gettimerunning/3600000.0));
    Writeln('************Korys SoulSplit Auto Fighter************')
    writeln('               Time Running: '+ MsToTime(GetTimeRunning,3))
    writeln('                  Monsters Killed: ' + inttostr(killed))
    writeln('            Monsters Killed Per Hour: ' + inttostr(killedhour))
    Writeln('****************************************************')
    End;

    Procedure BeginFight;
    Begin



    MonsterColor1 := 4482363                  //Pick a bunch of colors
    MonsterColor2 := 2504737                  //unique to the monster!
    MonsterColor3 := 5278054
    MonsterColor4 := 3293251
    MonsterColor5 := 6795138
    MonsterColor6 := 4152631
    MonsterColor7 := 5475175



      if FindColorSpiralTolerance(x, y, MonsterColor1, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor2, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor3, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor4, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor5, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor6, 5, 5, 512, 340, 3) or
         FindColorSpiralTolerance(x, y, MonsterColor7, 5, 5, 512, 340, 3) then
          Begin
            mmouse(x, y,1,1);
            Wait(100);
            MoveMouse(x, y);
            Wait(20);
            ClickMouse(x, y, 1);
            Wait(5000);
          End;
    End;

    procedure loadbmp;
    begin
    writeln('loading Bitmaps....')
    HpBar := BitmapFromString(30, 5, 'meJxjYPjPMIqGMgIAEOSVaw==');
    writeln('Bitmaps loaded!')
    end;

    procedure free;
      begin
        freebitmap(HpBar);
      end;

    function Fighting: boolean;
      begin
        if findcolor(x, y, 255, 5, 5, 512, 340) then
          begin
            result := true
          end
      else
          begin
            result := false
          end;
    end;

    Procedure InCombat;
    Begin
      if (not Fighting) then
      Begin
        BeginFight
      End;
    End;

    procedure SearchForHP;
    var found: boolean;
    begin
    InCombat
      repeat
      FindBitmapToleranceIn(HpBar, x, y, 0, 0, 512, 340, 5);
        found := FindBitmapToleranceIn(HpBar, X, Y, 0, 0, 512, 340, 5)
      until(found)
      IncEx(Killed, 1);
      Proggy
      Wait(4000)
      BeginFight;
      Wait(5000);
    End;

    begin
      MouseSpeed := 25;
      loadbmp
    repeat
      SearchForHP
      until(false)
    end.



    Decent Proggy
    Simba Code:
    ************Korys SoulSplit Auto Fighter************
                   Time Running: 01:00:09
                      Monsters Killed: 183
                Monsters Killed Per Hour: 183
    ****************************************************

    Another Proggy
    Simba Code:
    ************Korys SoulSplit Auto Fighter************
                   Time Running: 02:34:35
                      Monsters Killed: 446
                Monsters Killed Per Hour: 173
    ****************************************************
    Last edited by koryperson; 11-30-2013 at 01:54 PM.

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

    Default

    I used the proggy from your script and added to mine I like it.

  3. #3
    Join Date
    Jun 2013
    Posts
    147
    Mentioned
    2 Post(s)
    Quoted
    41 Post(s)

    Default

    Quote Originally Posted by Nigg Hair View Post
    I used the proggy from your script and added to mine I like it.
    Awesome, yea it's pretty basic once you see a clear example. Glad it helped

  4. #4
    Join Date
    Dec 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I have problems getting this to run with srl-6. Can you please post how I can get this to work. Thanks.

  5. #5
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by timmyftw View Post
    I have problems getting this to run with srl-6. Can you please post how I can get this to work. Thanks.
    you can't run it with SRL6 because it uses SRL5 which can be downloaded from https://github.com/SRL/SRL-5 and extracted to c:/simba/includes and renamed to SRL

  6. #6
    Join Date
    Dec 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    When I attempt to run it with SRL-5 I get

    Exception in Script: Duplicate declaration "AddDTM" at line 161, column 38 in file "C:\Simba\Includes\SRL\SRL\core\simba.simba"

  7. #7
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by timmyftw View Post
    When I attempt to run it with SRL-5 I get
    set the interpreter to pascalscript

  8. #8
    Join Date
    Dec 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    thanks man, worked.

  9. #9
    Join Date
    Oct 2011
    Location
    Chicago
    Posts
    3,352
    Mentioned
    21 Post(s)
    Quoted
    437 Post(s)

    Default

    Ah so thats the fix, well that was obvious sorry couldn't help you in the IRC! I knew brady could of though




    Anti-Leech Movement Prevent Leeching Spread the word
    Insanity 60 Days (Killer workout)
    XoL Blog (Workouts/RS/Misc)

  10. #10
    Join Date
    Dec 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    keep it up

  11. #11
    Join Date
    Jun 2013
    Posts
    147
    Mentioned
    2 Post(s)
    Quoted
    41 Post(s)

    Default

    Quote Originally Posted by sharkyscape View Post
    broken no longer works no ss autofighter really works
    What's broken about it? It might be old, but it works. It isn't crazy advanced like Barbrady's new release, but it'll still click monsters for you.

    And ye, check out Barbrady's new script, it's quite impressive :P

  12. #12
    Join Date
    May 2013
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

  13. #13
    Join Date
    Jan 2014
    Posts
    147
    Mentioned
    7 Post(s)
    Quoted
    75 Post(s)

    Default

    Quote Originally Posted by rivaldo View Post
    You don't have the include in the correct place then

  14. #14
    Join Date
    Feb 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Quote Originally Posted by koryperson View Post
    What's broken about it? It might be old, but it works. It isn't crazy advanced like Barbrady's new release, but it'll still click monsters for you.

    And ye, check out Barbrady's new script, it's quite impressive :P
    It loads the bmp, and then stops doing anything, and does nothing whatsoever

  15. #15
    Join Date
    May 2013
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Exception in Script: Duplicate declaration "AddDTM" at line 161, column 38 in file "C:\Simba\Includes\SRL\SRL\core\simba.simba"

  16. #16
    Join Date
    Apr 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    what does drag target onto ss client means!! plzz explain

  17. #17
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by blueheaven View Post
    what does drag target onto ss client means!! plzz explain
    The green crosshair "Select a client" (yellow square below) should be dragged onto the SoulSplit client

  18. #18
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    does this even work anymore lol

  19. #19
    Join Date
    Dec 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    im gettin an error when i try to run script


    Error: Duplicate declaration "AddDTM" at line 161
    Compiling failed.

    any ideas?

  20. #20
    Join Date
    May 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Spectral View Post
    It loads the bmp, and then stops doing anything, and does nothing whatsoever
    I followed everyones fixes in the thread, got the same issue, but all i had to do was drag the green target to the soulsplit screen.
    Its running but doesnt know where the ss window is, i imagine.

  21. #21
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by benkingofmoria View Post
    I followed everyones fixes in the thread, got the same issue, but all i had to do was drag the green target to the soulsplit screen.
    Its running but doesnt know where the ss window is, i imagine.
    The script is over a year old

  22. #22
    Join Date
    May 2015
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by rj View Post
    The script is over a year old
    Has SS changed enough to break this script? I am sure if he wanted to learn a bit he could fix it up nice and tidy.

  23. #23
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by NickWord View Post
    Has SS changed enough to break this script? I am sure if he wanted to learn a bit he could fix it up nice and tidy.
    I'm not sure I don't play SS

  24. #24
    Join Date
    May 2015
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by rj View Post
    I'm not sure I don't play SS
    I pmed you

  25. #25
    Join Date
    Mar 2015
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Would love to have this script.

Page 1 of 2 12 LastLast

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
  •