SRL Archive - General

[Simba]


Saturate

2011-07-26 05:23:06

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)

Main

2011-07-26 05:59:36

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

Saturate

2011-07-26 08:18:02

From: Main Ftw
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

Saturate

2011-07-28 03:07:20

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 :-(

Smarter Child

2011-07-29 01:42:33

well do a little test script via SIMBA
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.

grats

2011-07-29 02:17:15

From: Saturate
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

Saturate

2011-08-02 13:07:51

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

grats

2011-08-02 16:13:07

From: Saturate
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

Saturate

2011-08-07 14:55:48

From: grats
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 :-)

Echo_

2011-08-07 15:23:39

From: Main Ftw
Where did you found this script?


This script is from MITB, a guy named ImK0tter wrote it.

http://www.moparisthebest.com/smf/index.php?topic=462137.0

Wizzup?

2011-08-07 15:41:25

From: Saturate
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.

Saturate

2011-08-07 15:57:56

From: Wizzup?
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!