Results 1 to 14 of 14

Thread: [Smart] mxPickpocket (simple)

  1. #1
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default [Smart] mxPickpocket (simple)


    To get SMART working ->
    Download SRL 07 from github change smart params and smart class. (well override with current one.)
    And somewhere RSPlayer ->
    Code:
    function RSReady: Boolean;
    var
      x, y: Integer;
    begin
      Result := true;
    end;
    That should help you out.
    Idgaf if you all massive bot because randoms and SRL ain't that smooth =)
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Just looking through it... 3 colours, tolerance at 2 works?

  3. #3
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    Only for that brown NPC yes.

  4. #4
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Tested frequently, by logging in and out?
    Colors tend to change then.

    EDIT: Why do u use Movemouse want people to get banned? lol

    Creds to DannyRS for this wonderful sig!

  5. #5
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    Quote Originally Posted by Sjoekeloe View Post
    Tested frequently, by logging in and out?
    Colors tend to change then.
    I refreshed RS over 10 times, logging in and out.

    That I didn't use scar for years, litterly years, and forgotten much how to code doesn't mean I am in-capable of doing so.
    Actually gonna add 'deathwalk'

  6. #6
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by mx1000 View Post
    I refreshed RS over 10 times, logging in and out.

    That I didn't use scar for years, litterly years, and forgotten much how to code doesn't mean I am in-capable of doing so.
    Actually gonna add 'deathwalk'
    I was auto'd SRL member'd, maybe u too. Don't know lol.
    Was just helping ya out

    Creds to DannyRS for this wonderful sig!

  7. #7
    Join Date
    Feb 2013
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Alright so I basically did as you said and I'm getting an error in the smartparams.
    Code:
    [Error] D:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(224:203): Invalid number of parameters at line 223
    And this is part of the function.
    Simba Code:
    function InitSmart(ForceNew: Boolean): Integer;
    var
      I, Count: Integer;
      IDs: TIntegerArray;
      World: String;
    begin
      If (Not ForceNew) then
      begin
        Ids := SmartGetClientIDs;
        Count := Length(IDs);
        If (Count > 0) then
          For I:= 0 To (Count - 1) Do
          begin
            If SmartPairClient(IDs[I]) then
            begin
              Result := IDs[I]; //<----- This is where the error shows. (Line 223)
              SetEIOSTarget('libsmartremote', ToStr(Result));
              Writeln('Paired with SMART[' + ToStr(Result) + ']');
              Exit;
            end;
          end;
      end;

    I'm new here and with coding in general so I couldn't find anything obviously wrong with this.
    Not sure what other information I could provide but here's a list of other IDs[I] in the file.
    Code:
    	Line 138:     If SmartKillClient(IDs[I]) Then
    	Line 139:       Writeln('Killed Client: ' + ToStr(IDs[I]))
    	Line 141:       Writeln('Failed To Kill Client: ' + ToStr(IDs[I]));
    	Line 176:       If (IDs[I] = ID) and SmartPairClient(ID) then
    	Line 221:         If SmartPairClient(IDs[I]) then
    	Line 223:           Result := IDs[I];
    Suppose a hint would be cooler than the whole answer because I'm trying to learn!

  8. #8
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    From 07 'beta' srl, get the corrosponding param's class.

  9. #9
    Join Date
    Feb 2013
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by mx1000 View Post
    From 07 'beta' srl, get the corrosponding param's class.
    Alright, thanks guy!

    Managed to stumble upon another issue now
    Code:
    Compiled successfully in 750 ms.
    SRL Compiled in 0 msec
    ** Smart Cannot Spawn Clients **
    Successfully executed.
    That's all it says, no errors or anything, it just outputs that message. I suspect something's wrong with this part;
    Simba Code:
    If (Result > 0) Then
      begin
        try
          SetEIOSTarget('libsmartremote', ToStr(Result));
          Writeln('Loading SMART: http://oldschool' + World + '.runescape.com');
        except
          WriteLn('** Fatal Error: Pairing Clients; Terminating Script **');
          TerminateScript;
        end;
      end else
        begin
          Writeln('** Smart Cannot Spawn Clients **');
          TerminateScript;
        end;

    It appears it skips the
    Simba Code:
    begin
        try
          SetEIOSTarget('libsmartremote', ToStr(Result));
          Writeln('Loading SMART: http://oldschool' + World + '.runescape.com');
        except
          WriteLn('** Fatal Error: Pairing Clients; Terminating Script **');
          TerminateScript;
        end;
    I got no clue as to why it would do that, trying different things right now.

    [Edit]
    If I remove
    Code:
    {$ELSE}
          SetupSmart(Smart_ForceNew);
    from srl the debug starts spamming number up to 201 and then lots of
    Nothing found, moving compass around.
    not sure why.
    Last edited by Netzone; 03-01-2013 at 09:17 PM.

  10. #10
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    Quote Originally Posted by Netzone View Post
    Alright, thanks guy!

    Managed to stumble upon another issue now
    Code:
    Compiled successfully in 750 ms.
    SRL Compiled in 0 msec
    ** Smart Cannot Spawn Clients **
    Successfully executed.
    That's all it says, no errors or anything, it just outputs that message. I suspect something's wrong with this part;
    Simba Code:
    If (Result > 0) Then
      begin
        try
          SetEIOSTarget('libsmartremote', ToStr(Result));
          Writeln('Loading SMART: http://oldschool' + World + '.runescape.com');
        except
          WriteLn('** Fatal Error: Pairing Clients; Terminating Script **');
          TerminateScript;
        end;
      end else
        begin
          Writeln('** Smart Cannot Spawn Clients **');
          TerminateScript;
        end;

    It appears it skips the
    Simba Code:
    begin
        try
          SetEIOSTarget('libsmartremote', ToStr(Result));
          Writeln('Loading SMART: http://oldschool' + World + '.runescape.com');
        except
          WriteLn('** Fatal Error: Pairing Clients; Terminating Script **');
          TerminateScript;
        end;
    I got no clue as to why it would do that, trying different things right now.

    [Edit]
    If I remove
    Code:
    {$ELSE}
          SetupSmart(Smart_ForceNew);
    from srl the debug starts spamming number up to 201 and then lots of not sure why.
    Donwload SMART manually. (newest version)

  11. #11
    Join Date
    Feb 2013
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by mx1000 View Post
    Donwload SMART manually. (newest version)
    Downloaded the latest version (8.0) and even reinstalled Java. Didn't help any. I don't think it's a problem with the SMART, more likely it's something in either SRL or smartparams but I just can't figure out what it is.

  12. #12
    Join Date
    Nov 2011
    Posts
    83
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    If u wanna be more than my hero, my superhero, u shud totally release a simple tutorial on adapting SMART for 07scape. :P

  13. #13
    Join Date
    Jun 2006
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    43 Post(s)

    Default

    comment the two lines under SetupSmart(Smart_ForceNew);
    setupsmart is the 'startup' actually.

  14. #14
    Join Date
    Mar 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    nothing found moving compass around. never stops saying that and its not finding mans

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
  •