Results 1 to 10 of 10

Thread: HELP, Soulsplit autofighter

  1. #1
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Help with my Soulsplit Frost Dragon Bot.

    [TO GUESTS SURFING AROUND LOOKING FOR A FREE SOULSPLIT FROST DRAGON BOT, THIS WILL NOT WORK. IN FACT THE MOST IT WILL EVER DO THAT I WILL POST WILL BE A FUNCTIONING BOT TO ATTACK THE DRAGON AND NO MORE] STOP LEECHING

    I'm trying to write a program to do the following:

    1. right click on a color, in this case frost dragon
    2. left click on the option attack frost dragon

    (later)
    3. wait to finish kill
    4. pick up frost dragon bone
    5. use frost dragon bone on pack yack [color]

    So far i feel like it should work with the first two numbers, but it just says successfully executed after i select the client and try to start it. I'm kind of new to this and im not sure what to do.

    Simba Code:
    Program FROSTKILL;
    {$i srl/srl.simba}
    const
      NPC = 14005894;
      loot = 7631722;
      inventorybone = 10066061;

    var
      Frost:Integer;
    Procedure AttackDragon;
    var
      X,Y:Integer;
    begin
    if FindColorTolerance(X, Y, NPC, 561, 226, 738, 484, 5) then
    begin
      mmouse(x, y,1,1);
      wait(250);
      ClickMouse(X, Y, mouse_Right)
      wait(450);
        if FindBitmapToleranceIn(frost, X, Y, 561, 226, 738, 484, 145) then
        begin
          mmouse(x, y,1,1);
          wait(250);
          ClickMouse(X, Y, mouse_Left)
        end;
      end;
    end;
    Begin
    MouseSpeed := 15;
    frost := BitmapFromString(210, 10, 'meJztmE1ywyAMhTkI+y56Xt8lJ' +
            '8i13CakrpDeewjiTLqohwXoB8nDZ6Fku1y3y7WUst0n9eOzDbeEkq' +
            'mx/QRiBmXfb6N/lsO5bfOWpwQ9Ie2y30d7HvNX7J8z6yxNbrcJSbt' +
            'TuWUjoe1puYqQDLHRI0/dyceX3vbvUGeRq2lC1kIkbDrLkFvJqGoP' +
            'niXBgvFP3RsHO+jXheBmvtIKR72n1TYY7Ijy5hUlTCjc41XuD72/E' +
            'PNCJz9UzJg6tu90Ne7UG7GU9EHbEuRc4lzbpz5GHp1cr0AVqTuaKF' +
            'jr3P3LJBCwaGxV+Oj7js7C0PHw6HcCXf3DtsVxIXVTcfNyE3GKutj' +
            'vCZtJe81SpK44Y6GC1DlaavqGFXWSWQ5Pn6EYzZyLqi2s7Ac2ImPe' +
            'GFbF+bmLOEud5ME2V0lf/wyTsfsMVSdSF2tdhjr2Q1hTByVAy2vOM' +
            'Ohg5xGfT84nqfN0ReqQENOoh0gm9xWA5SnUDX1rvq97jrq8zTJ1L5' +
            'pPUgeKktNGCZTPUndIRDidiaCumurkyGG/JqAv/CsGgpek7lcI+64' +
            'gtyoFHr83tWVW7vIcfRGsBzPLfdiDCfsMdaLfg8VWqEKl7bzgMikR' +
            '8rh5zHZBmMwEps12y2RIQ7MbHxmLKAi8uTddfkHtCHMQXhC57/EFy' +
            'T3idw==');
    AttackDragon
    FreeBitmap (frost) ;
    end.
    Last edited by pkdust; 02-05-2013 at 12:37 AM.

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

    Default

    I advise you read a pixel shift tutorial to detect when your not in a fight, and banking with a yak will be unreliable incase somebody elses gets in your way.

    Also this:
    Code:
    AttackDragon
    Should be:
    Code:
    AttackDragon;

    a quick tut on pixel shift:

    Make a function that looks for were pixel are shifting(your player):

    Simba Code:
    function IsInCombat: Boolean;
    var
      PBox: TBox;
    begin
      PBox := IntToBox(200, 200, 300, 300);
      Result := (AveragePixelShift(PBox, 250, 350) > 200);
    end;

    This looks in a box at the area 200,200,300,300 and when there are more then 200 pixels shifting it returns true.

    So a way to apply this would be:

    Simba Code:
    Procedure Main;
    Begin
      While IsinCombat do
      Wait(300);
    End;

    While the bot finds more then 200 pixels shifting then you are in combat. LEt me know if you need help

  3. #3
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Ugh. Maybe for my first script i should have tried something simpler. Thanks for the help. I'll keep you posted after i work on it a bit more.

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

    Default

    Quote Originally Posted by pkdust View Post
    Ugh. Maybe for my first script i should have tried something simpler. Thanks for the help. I'll keep you posted after i work on it a bit more.
    Start with something easy like mining, even if it's really simple, my scripts used to look like this for the longest time:

    Simba Code:
    program new;
    {$i srl/srl.simba}
    procedure hack2;
    var
      X, Y: Integer;
      begin
      FindColorTolerance(X,Y,3489905,34,76,65,105,10)
      movemouse(x, y);
      Wait(5 + Random(5));
      ClickMouse(X, Y, mouse_Left);
    end;
    procedure hack;
    var
      X, Y: Integer;
      begin
      FindColorTolerance(X,Y,3489905,559,214,593,246,10)
      movemouse(x, y);
      Wait(5 + Random(5));
      ClickMouse(X, Y, mouse_Left);
      hack2;
    end;
    begin
    repeat
          hack;
          until (IsKeyDown (114));
    end.

    btw it duped on a rsps

  5. #5
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Agreed, that should fix it(: Also pixel shift is not hard at all! It makes life much easier!

  6. #6
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    With the yak i have an idea for a spot that if someone else comes with a yak its game over bot anyways. Not particularly planning for a lot of competition in the area.

    I figured if i can get this semi working, money problems are over on that server and it can be more of a fun thing. I'll take into consideration but atm i have homework

  7. #7
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    The script i have posted, am i missing something significant like a code telling to start or something, because i'd love to try continuing with trial and error, but the way it is now it just sits there saying sucessfully executed and doing touch the client

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

    Default

    Quote Originally Posted by pkdust View Post
    The script i have posted, am i missing something significant like a code telling to start or something, because i'd love to try continuing with trial and error, but the way it is now it just sits there saying sucessfully executed and doing touch the client
    Simba Code:
    if FindColorTolerance(X, Y, NPC, 561, 226, 738, 484, 5)

    Make it search for the color on the whole screen

    So it would look more like:

    Simba Code:
    if FindColorTolerance(X, Y, NPC, 1, 1, 521, 361, 5)

  9. #9
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    I think i may have a working prototype that actually works, banking and all. Except for a second yak in the picture. Working on coding a pvp world mode to panic bank rapier if you get attacked, or tab. I'm going to keep this script private unless rjj95 would like a copy, as long as its kept secret to keep this method working. As there's probably about maybe 5 total dragons that this would work with in all 5 worlds of soulsplit

  10. #10
    Join Date
    Nov 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    PATCHED. made 50b #profittt

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
  •