Page 8 of 54 FirstFirst ... 67891018 ... LastLast
Results 176 to 200 of 1345

Thread: OFFICIAL Social Slayer/SMART Not Working Thread

  1. #176
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Zala View Post
    [Error] (618:5): Unknown identifier 'InitSmart' at line 617
    Same thing
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

  2. #177
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Someone who has Smart 7.x+ Run this and let me know if it works plox. If you don't have it then port the code

    Simba Code:
    {$DEFINE SMART}
    {$I SRL/SRL.Simba}
    {$I SRL/SRL/Misc/Debug.Simba}

    Function FoundBar: Boolean;
    var
      Bar: Integer;
      X, Y: Integer;
    begin
      Bar := BitmapFromString(8, 11, 'meJyr/PGn8scfBiRQCRYpeP0DiJD' +
            'FISIZ974BEbI4RCTmCgjxaMbJOFcDkVr6XIiI3+HPQOQ4/wyEAUcu' +
            '2z4CkZBdjZBdLRBJR86FiFgsfw9EyOZDRLSmvwEiZHGIiELXKyBCF' +
            'oeIiNc/ByJkcYgIXzEIIYtDRACmWWK1');

      Result := FindBitmapToleranceIn(Bar, X, Y, 117, 13, 171, 35, 10);
      FreeBitmap(Bar);
    end;

    var
      BMP: Integer;
      ImagePtr: Integer;

    begin
      {$IFDEF SMART}
        InitSmart(false);
        If (FoundBar) then
        begin
          ImagePtr := SmartImageArray + (765 * 50 * 4);     //PtrToRowZero + (ClientWidth * 50 * BGRA);  50 Rows Of Bar PNG. 4 Bytes = BGRA.
          SetTargetArray(ImagePtr, 765, 503);
        end else
          begin
            SetTargetArray(ImagePtr, 765, 565);
          end;
      {$ENDIF}

      BMP:= BitmapFromClient(0, 0, 765, 565);
      DebugBitmap(BMP);
      FreeBitmap(BMP);
    end.
    While this is a fun fix, I can see it become a problem. It appears that from the screenshot you posted previously there's now a black bar below the image. That shouldn't happen, so if you're using EIOS SMART might be passing the actual size with the bar to Simba, whereas the pointer you pass starts after the bar. That's a problem, as Simba will then read beyond the pointer if the size isn't corrected too. It looks like you already set the proper size though, but I'm not sure what the impact on EIOS will be. (Switching targets, etc)



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  3. #178
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Someone who has Smart 7.x+ Run this and let me know if it works plox. If you don't have it then port the code
    I don't know if I have Smart 7.2 and Simba 0.99 installed the right way, but this is what I get :
    Code:
    Cont [True] URL [http://www.runescape.com/game.ws]
    Error: Exception: Access violation at line 36
    The following bitmaps were not freed: [0]
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  4. #179
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by Foooty View Post
    Same thing
    You guys sure you're not on 6.9? That seems to be the auto updated version.


    Quote Originally Posted by Wizzup? View Post
    While this is a fun fix, I can see it become a problem. It appears that from the screenshot you posted previously there's now a black bar below the image. That shouldn't happen, so if you're using EIOS SMART might be passing the actual size with the bar to Simba, whereas the pointer you pass starts after the bar. That's a problem, as Simba will then read beyond the pointer if the size isn't corrected too. It looks like you already set the proper size though, but I'm not sure what the impact on EIOS will be. (Switching targets, etc)
    It's like that because his Y axis resolution is too big, it should still be around the same "503" not up at "565" which is even bigger than the new bar + entire rs screen
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  5. #180
    Join Date
    Jul 2012
    Location
    U.S.A.
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    when this is fixed, will we have to update simba, or will all scripts have to be updated to fit the new smart screen update due to pixel shifts?

  6. #181
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by hunnyitsme3 View Post
    when this is fixed, will we have to update simba, or will all scripts have to be updated to fit the new smart screen update due to pixel shifts?
    good question. I suppose it will only be updated for the newest simba/Smart but I don't know much about this...
    Edit: you may not ask questions, see this post
    Quote Originally Posted by YoHoJo View Post
    NO ONE TRY DOING ANY OF THESE BETA/DEVELOPMENT FIXES UNLESS YOU KNOW WHAT YOU ARE DOING!
    STOP SPAMMING! STOP ASKING QUESTIONS IF YOU DON'T KNOW WHAT'S GOING ON.
    WHEN A POPPER UPDATE IS OUT, YOU WILL KNOW!
    Last edited by Master BAW; 07-11-2012 at 11:38 PM.
    Former Name: MasterCrimeZ.
    ToDo: 1. Finish my private bot 2. Make some cool bots for this community 3. Become a member
    If you have any questions about scripting, feel free to PM me

  7. #182
    Join Date
    Jul 2012
    Location
    U.S.A.
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I just got into this simba program today and had been working hard looking at tutorials and what not, and it was getting quite frustrating but through much effort, of looking through 10 different range guild programs I found one that worked, and as soon as I got on the red cursor or the dot signifying the bot in the program, couldn't go all the way to the username bar and just sat above it, then I found this.. Aggravating, Jagex you defense noob.
    Last edited by hunnyitsme3; 07-11-2012 at 11:45 PM.
    ^Question of the day^

  8. #183
    Join Date
    Jul 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by CRU1Z1N View Post
    replace lines 80-84 in Globals.simba

    Simba Code:
    const
        MSX1 = 0;
        MSY1 = 54;
        MSX2 = 515;
        MSY2 = 387
    Good, works for me.

  9. #184
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    While this is a fun fix, I can see it become a problem. It appears that from the screenshot you posted previously there's now a black bar below the image. That shouldn't happen, so if you're using EIOS SMART might be passing the actual size with the bar to Simba, whereas the pointer you pass starts after the bar. That's a problem, as Simba will then read beyond the pointer if the size isn't corrected too. It looks like you already set the proper size though, but I'm not sure what the impact on EIOS will be. (Switching targets, etc)
    There is a leak somewhere though :S After doing about 100 runs it gives out of memory and I can't find it. Might be the targets. I should probably do something like FreeTarget(....); But I'll do that later after it's confirmed working or wanted. If no one wants this fix well.. Iunno then.

    I did some tweaks to it.. I added browser support just for testing (Comment out Define Smart to use the browser)
    This will also remove the black bar you mentioned Wiz. I had the bitmapfromclient too large:

    Simba Code:
    {$DEFINE SMART}
    {$I SRL/SRL.Simba}
    {$I SRL/SRL/Misc/Debug.Simba}

    Function FoundBar: Boolean;
    var
      Bar: Integer;
      X, Y: Integer;
    begin
      Bar := BitmapFromString(8, 11, 'meJyr/PGn8scfBiRQCRYpeP0DiJD' +
            'FISIZ974BEbI4RCTmCgjxaMbJOFcDkVr6XIiI3+HPQOQ4/wyEAUcu' +
            '2z4CkZBdjZBdLRBJR86FiFgsfw9EyOZDRLSmvwEiZHGIiELXKyBCF' +
            'oeIiNc/ByJkcYgIXzEIIYtDRACmWWK1');

      Result := FindBitmapToleranceIn(Bar, X, Y, 117, 13, 171, 35, 10);
      FreeBitmap(Bar);
    end;

    var
      BMP: Integer;
      ImagePtr: Integer;
      H: Integer;

    begin
      H:= 552;
      {$IFDEF SMART}
        InitSmart(false);
        If (FoundBar) then
        begin
          ImagePtr := SmartImageArray + (765 * 50 * 4);     //PtrToRowZero + (ClientWidth * 50 * BGRA);  50 Rows Of Bar PNG. 4 Bytes = BGRA.
          SetTargetArray(ImagePtr, 765, 503);
          H := 503;
        end else
          begin
            SetTargetArray(SmartImageArray, 765, 503);
          end;
      {$ELSE}
        if (FoundBar) then
        begin
          SetTargetBitmap(BitmapFromClient(0, 52, 765, 552)); //501 + The PtrRowZero shift.
          H := 503;
        end;
      {$ENDIF}
      BMP:= BitmapFromClient(0, 0, 764, H);
      DebugBitmap(BMP);
      FreeBitmap(BMP);
    end.
    Last edited by Brandon; 07-12-2012 at 12:11 AM.
    I am Ggzz..
    Hackintosher

  10. #185
    Join Date
    Jun 2012
    Posts
    712
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Could you imagine what its going to be like when the Nuke hits? I'm not even going to bother logging on to the forums, may just wanna lock any posts that start with the word "bot" and end with "simba" haaa

  11. #186
    Join Date
    Feb 2006
    Location
    Berkeley, CA
    Posts
    1,837
    Mentioned
    52 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by MasterCrimez View Post
    good question. I suppose it will only be updated for the newest simba/Smart but I don't know much about this...
    Edit: you may not ask questions, see this post
    Butthurt.

    Quote Originally Posted by Wizzup? View Post
    While this is a fun fix, I can see it become a problem. It appears that from the screenshot you posted previously there's now a black bar below the image. That shouldn't happen, so if you're using EIOS SMART might be passing the actual size with the bar to Simba, whereas the pointer you pass starts after the bar. That's a problem, as Simba will then read beyond the pointer if the size isn't corrected too. It looks like you already set the proper size though, but I'm not sure what the impact on EIOS will be. (Switching targets, etc)
    He had the size too large in the copyclienttobitmap part, everything else is as it should be
    E: also this will still leave the mouse coords off, however, you could always put a constant offset in all mouse procedures :3

    ON THAT NOTE

    Quote Originally Posted by Brandon View Post
    Someone who has Smart 7.x+ Run this and let me know if it works plox. If you don't have it then port the code

    [...]
    BMP:= BitmapFromClient(0, 0, 765, 565);
    [...]
    The 565 is too big when using the smaller area, use 503 if you're excluding the bar w/ the pointer method
    E: See it was fixed in a later post
    Last edited by BenLand100; 07-12-2012 at 12:12 AM.

  12. #187
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by BenLand100 View Post
    Butthurt.


    He had the size too large in the copyclienttobitmap part, everything else is as it should be
    E: also this will still leave the mouse coords off, however, you could always put a constant offset in all mouse procedures :3

    ON THAT NOTE

    The 565 is too big when using the smaller area, use 503 if you're excluding the bar w/ the pointer method
    Edited the post. Ty for the help =].


    Anyone test it? It has to be tested. It works for me but I need to know who it works for and who it doesn't..
    Last edited by Brandon; 07-12-2012 at 12:28 AM.
    I am Ggzz..
    Hackintosher

  13. #188
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Hey now I'm butthurt too
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  14. #189
    Join Date
    Feb 2012
    Location
    somewhere in michigan
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Error] (28:5): Unknown identifier 'InitSmart' at line 27
    Compiling failed.

    is the error i got while running the code you posted, in simba.

  15. #190
    Join Date
    Feb 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are injection bots affected by this navigation toolbar thing?

  16. #191
    Join Date
    Dec 2011
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think the bar is part of the game client itself, because when I hover over one of the 4 links, the uptext shows up in the RS game client....

  17. #192
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by iGunXZ View Post
    I think the bar is part of the game client itself, because when I hover over one of the 4 links, the uptext shows up in the RS game client....
    Yes the bar is part of the client/java. Read the post in the thread!

    Quote Originally Posted by akash22 View Post
    Are injection bots affected by this navigation toolbar thing?
    Yes, go visit their forums to see their status about the fixes etc.
    Lots of noobs spamming up their forums about it too :].

  18. #193
    Join Date
    Feb 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Originally Posted by iGunXZ
    I think the bar is part of the game client itself, because when I hover over one of the 4 links, the uptext shows up in the RS game client....
    You're right! When i tried targetting my runescape screen with simba the toolbar was in the red section.
    Last edited by akash22; 07-12-2012 at 01:01 AM.

  19. #194
    Join Date
    Jun 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for everyone smart enough to fix this!

  20. #195
    Join Date
    Jun 2007
    Posts
    235
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    An SRL Update was available?

  21. #196
    Join Date
    Jan 2012
    Posts
    369
    Mentioned
    6 Post(s)
    Quoted
    91 Post(s)

    Default

    I would gladly test stuff... But i haven't yet figured it out how to allow Simba to use Smart 7.2

    If you can explain that bit to me it would be wonderful

    Quote Originally Posted by Brandon View Post
    Edited the post. Ty for the help =].


    Anyone test it? It has to be tested. It works for me but I need to know who it works for and who it doesn't..

  22. #197
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    553
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    I'll be willing to test if someone could directly tell me what I need to do.
    Just by reading this thread I see lots of theories and people saying "should do this" ect.
    What exactly needs to be done?

    I'll help in any way I can.
    Sinking. Always. Sinking.

  23. #198
    Join Date
    Feb 2012
    Location
    Toronto Ontario, Canada
    Posts
    331
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It's a shame that this (most-likely) unintended graphical update has probably made it clear to jagex on what basis they should be steering the bot nuke.
    118/120 Dungeoneering

  24. #199
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    Quote Originally Posted by ashihtaka View Post
    It's a shame that this (most-likely) unintended graphical update has probably made it clear to jagex on what basis they should be steering the bot nuke.
    Their (most-likely) intentional update (there is no way you can accidentally do what they did) is far from a method to bot nuke, unless they only want us to be down and out for like 30-60 minutes of actual "fixing" stuff

    as shown in this thread, this really isn't much of a problem to SMART and requires only a little bit of changes to SRL
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  25. #200
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    553
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by grats View Post
    as shown in this thread, this really isn't much of a problem to SMART and requires only a little bit of changes to SRL
    I have asked previously, but everyone is ignoring me!
    Seriously though, what exactly do I have to do to get a temporary fix going?
    Sinking. Always. Sinking.

Page 8 of 54 FirstFirst ... 67891018 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •