Page 7 of 7 FirstFirst ... 567
Results 151 to 169 of 169

Thread: Projectrs06 SRL Include

  1. #151
    Join Date
    Feb 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    you don't compile this include, you set it up like my example in a script,

    Simba Code:
    {$I srl/srl.simba}

    you need that in your script before you add this include
    All working fine, thank you for your help

  2. #152
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Sawyer View Post
    I have everything compiling but it doesn't seem to be able to find uptext.
    Please post problems in their correct threads, drag the green target from simba onto the game client, it's designed for a browser, not smart, AND DON'T CALL SETUPSRL,

    I'm botting right now using the same uptext as the Include, and it's working just fine
    Last edited by DannyRS; 02-25-2013 at 11:12 PM.


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  3. #153
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

    I have drug the green target onto the client. It does not set compass to north either. Maybe I'm doing something wrong... I'll check the code.

  4. #154
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by Sawyer View Post
    I have drug the green target onto the client. It does not set compass to north either. Maybe I'm doing something wrong... I'll check the code.
    did you call SetupP07Include; ? the compass and angle functions will not work unless your mouse is on the client, and you have clicked atleast once, because your keypresses are being sent to windows and not the game client


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

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

    Default

    Hey do you think this will work?

    Simba Code:
    (*
    RadialWalkTolerance
    ~~~~~~~~~~~~~~~~~~~

    .. code-block:: pascal

        function RadialWalkTolerance(Color: Integer; sRadial, eRadial: Variant; r, modX, modY, Tol: Integer): Boolean;

    Same as RadialWalk, but with a tolerance.

    .. note::

        by Coh3n
        Last modified: Jan. 08, 2012 by Coh3n

    Example:

    .. code-block:: pascal

        while (RadialWalkTolerance(clRed, 25.5, 60.0, 50, -1, 2, 5)) do
          WriteLn('Walking in a ''line''... with tolerance!');

    *)



    function P_07RadialWalk(TheColor: Integer; StartRadial, EndRadial: Variant; Radius, Xmod, Ymod: Integer): Boolean;
    var
      TPA: TPointArray;
      I: Integer;
    begin
      Result := False;
      if RadialWalkEx(tpa, P_07MMCX, P_07MMCY, TheColor, 0, StartRadial, EndRadial, Radius) then
        for i := 0 to High(tpa) do
          if MFNF(tpa[i].x, tpa[i].y, Xmod, Ymod) then
          begin
            P07_FFlag(10);
            Result := True;
            Exit;
          end;
    end;

    function P07_RadialWalkTolerance(Color: Integer; sRadial, eRadial: Variant; r, modX, modY, Tol: Integer): Boolean;
    var
      TPA: TPointArray;
      i, h: Integer;
    begin
      Result := False;

      if RadialWalkEx(TPA, P07_MMCX, P07_MMCY, Color, Tol, sRadial, eRadial, r) then
      begin
        h := High(TPA);
        for i := 0 to h do
          if MFNF(TPA[i].x, TPA[i].y, modX, modY) then
          begin
            Result := WaitFunc(@Flag, 50, 500);
            Exit;
          end;
      end;
    end;

    Edited some variables but idk if they are in 07 include

  6. #156
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    You need to edit RadialWalkEx because that's where the juicy stuff happens, I can try and do it for you tomorrow if you want


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

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

    Default

    Quote Originally Posted by DannyRS View Post
    You need to edit RadialWalkEx because that's where the juicy stuff happens, I can try and do it for you tomorrow if you want
    I want to try and I'll tell you when I fail :d

  8. #158
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    I want to try and I'll tell you when I fail :d
    Ok, PM me how it goes, dont bump this thread anymore , as this server is dead, so this include is more or less useless


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

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

    Default

    You could still work on it for soulsplit 2006 which will be bigger

  10. #160
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    You could still work on it for soulsplit 2006 which will be bigger
    Bigger than 07Scape unlikely, I'm focusing on that for now


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  11. #161
    Join Date
    Dec 2011
    Location
    U.S.A.
    Posts
    635
    Mentioned
    5 Post(s)
    Quoted
    249 Post(s)

    Default

    Wrong Section
    Last edited by Sawyer; 02-26-2013 at 02:07 AM.

  12. #162
    Join Date
    Feb 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Idk man, it doesn't work.

    The 2 packages are in the correct folders but it doesn't compile.

  13. #163
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by andryaze View Post
    Idk man, it doesn't work.

    The 2 packages are in the correct folders but it doesn't compile.


    you don't compile this


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  14. #164
    Join Date
    Feb 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by andryaze View Post
    Idk man, it doesn't work.

    The 2 packages are in the correct folders but it doesn't compile.
    Lmao i'm not compiling your include.

    I compile my own scripts + othe scripts. It doesn't work anywhere.

    Heres a pic that all files are in the correct folders.

    see.jpg

  15. #165
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by andryaze View Post
    Lmao i'm not compiling your include.

    I compile my own scripts + othe scripts. It doesn't work anywhere.

    Heres a pic that all files are in the correct folders.
    wrong thread, but what's the compile error?


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  16. #166
    Join Date
    Nov 2015
    Location
    Oregon
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Can we make this include compatible with srl-6?
    I am currently trying to use a vanilla 2006 RSPS with this.
    My Scripts:
    TizenX Damage Token Collector
    OS-Scape Auto Buyer
    Check out an index of all my scripts here: ScriptingSRL

  17. #167
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Mustakrakish View Post
    Can we make this include compatible with srl-6?
    I am currently trying to use a vanilla 2006 RSPS with this.
    Sure you can. Just delete everything that overlaps.
    And update the old include to work with lape.

  18. #168
    Join Date
    Nov 2015
    Location
    Oregon
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Sure you can. Just delete everything that overlaps.
    And update the old include to work with lape.
    Can I have some help with this?

    When I try to run this script:
    Code:
    program new;
    {$I srl-6/srl.simba}
    {$I P06Include/P06Include.Simba}
    
    begin
      setupSRL();
      SetupP06Include;
    end.
    It gives the error:
    Unknown declaration "GetTextAtExWrap" at line 107
    But when I search for this function in my function box, it shows up.

    Any help is appreciated, I'm always willing to learn.
    Thanks
    - Mustakrakish
    My Scripts:
    TizenX Damage Token Collector
    OS-Scape Auto Buyer
    Check out an index of all my scripts here: ScriptingSRL

  19. #169
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    For any missing functions, youll need to copy them from here into the P06 Include, or use this (srl5) instead of srl6. And then probably youll need to use the Pascal Script interpreter.

    How did you get past the MMouse and ClickMouse2 unknown declarations?

Page 7 of 7 FirstFirst ... 567

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
  •