Results 1 to 12 of 12

Thread: [Simba]

  1. #1
    Join Date
    Jul 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [Simba] FindBitmapToleranceIn()

    Hello,

    Don't know if this is the right place, but I'll try!

    I found a script for a game called RotMG, this would seem to work for the looks of it, but it was non working.

    I found out that the ingame images had changed therefore I changed them to test it.

    After some debugging I found out that it seems FindBitmapToleranceIn() will never go to true, I have no idea why. I hope you can help me, attached the script with includes!

    (It might be a little messy, as I jumped around trying stuff)
    Last edited by Saturate; 07-26-2011 at 12:15 PM. Reason: Headline was failing :-)

  2. #2
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Where did you found this script? File is clean btw.
    I might check it out when I get back from work; but am sure others can help ya too:P
    Oh Hai Dar

  3. #3
    Join Date
    Jul 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Main Ftw View Post
    Where did you found this script? File is clean btw.
    I might check it out when I get back from work; but am sure others can help ya too:P

    Ugh... Not sure, it was by random on google, but as said I first did a little reading about Simba, I did not wan't it to steal my password or anything =)

    Also tried to determine what class I am playing currently, for future features that are class based, but I can't get it to work!

    Thanks a bunch ;-D

  4. #4
    Join Date
    Jul 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Seems like the title is not corrected, could somebody do this for me? I would like some help, i'm pretty lost - And would really like this to work so I can script some bots ;-D

    Also tried it out with scar, does not seem to work at all :-(
    Last edited by Saturate; 07-28-2011 at 10:57 AM. Reason: Added Script

  5. #5
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well do a little test script via SIMBA
    Simba Code:
    Program New;
    var
     x, y, bmp: integer;
    begin
     // LoadBMPs here
      if FindBitmapToleranceIn(BMPNAME, X, Y, XS, YS, XE, YE, 50)then
      begin
        Writeln('Found Bitmap');
      end;
    end.

    XS/YS/XE/YE are the client dimensions(of the game?)_u can use the color picker, etc. to retrieve this, obviously if it does not debug 'found bitmap' something is probably wrong with the Bitmap or you are not selecting the client properly.

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

    Default

    Quote Originally Posted by Saturate View Post
    Ugh... Not sure, it was by random on google, but as said I first did a little reading about Simba, I did not wan't it to steal my password or anything =)

    Also tried to determine what class I am playing currently, for future features that are class based, but I can't get it to work!

    Thanks a bunch ;-D
    yea no worries about it stealing anything from you.. it only runs / does what it's told to do :P

    I'm very interested in where you got all of these things.. it looks like someone pretty much made a procedure per script and saved it.. instead of making a bunch in 1 script and naming them different.. kind of weird to see lol


    nvm was told those were really early test scripts that came with simba lol.. so someone just thought they needed them or something
    Last edited by grats; 07-29-2011 at 06:24 AM.
    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.

  7. #7
    Join Date
    Jul 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just tried my laptop, seems the computer is the problem. Does Dual screen not work?

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

    Default

    Quote Originally Posted by Saturate View Post
    Just tried my laptop, seems the computer is the problem. Does Dual screen not work?
    simba has problems on dual screen.. I always leave all of it + its windows + the forms on the main screen.. it works fine like that
    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.

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

    Default

    Quote Originally Posted by grats View Post
    simba has problems on dual screen.. I always leave all of it + its windows + the forms on the main screen.. it works fine like that
    Super, thanks for the infomation - If I can be at any help with testing this, just let me know.

    I dropped the old script, and wrote my own from the start, seems much better and I feel that I learned a little Pascal ;-D

    I did see that Simba was Cross Platform, but does it support OS X?

    I would like to use it on both systems!

    What about python support, is that in the far feature or soon?

    Thanks :-)

  10. #10
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by Main Ftw View Post
    Where did you found this script?
    This script is from MITB, a guy named ImK0tter wrote it.

    http://www.moparisthebest.com/smf/in...topic=462137.0

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

    Default

    Quote Originally Posted by Saturate View Post
    Super, thanks for the infomation - If I can be at any help with testing this, just let me know.

    I dropped the old script, and wrote my own from the start, seems much better and I feel that I learned a little Pascal ;-D

    I did see that Simba was Cross Platform, but does it support OS X?

    I would like to use it on both systems!

    What about python support, is that in the far feature or soon?

    Thanks :-)
    It doesn't support OS X yet, but I wouldn't be surprised if it did support OS X in a few months.

    As for python... not yet. But in the future, probably.



    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)

  12. #12
    Join Date
    Jul 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    It doesn't support OS X yet, but I wouldn't be surprised if it did support OS X in a few months.

    As for python... not yet. But in the future, probably.
    Thanks for the quick answer!

    If I can help in anyway let me know.

    PS. I am best with web related code, and Graphics, as thats what I do for a living :-) But there might be place for me to help out!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •