Question on Img Bots

12/02/2015 05:13 RenFox#1
Hello,

If i wanted to create a bot that was image based matched pictures and input values that way. what is the best language to use?

THanks!

Sorry if that has been asked before or if there are any tutorials please link!
12/02/2015 09:50 alpines#2
If you want to compare pictures there are already several UDFs out there. The language should not completely depend on this aspect but more on the fact what you want to do in general. If it's a small bot with image comparison AutoIt can do the job but if it get's more complicated you might wanna use C# with ImageSearch or any other image comparison lib.
12/02/2015 17:28 RenFox#3
Quote:
Originally Posted by alpines View Post
If you want to compare pictures there are already several UDFs out there. The language should not completely depend on this aspect but more on the fact what you want to do in general. If it's a small bot with image comparison AutoIt can do the job but if it get's more complicated you might wanna use C# with ImageSearch or any other image comparison lib.
Thanks for taking time to respond.

I was wondering if C# is going to be faster at comparing images. Lets say for example i wanted to find out what my health was. I was going to have the bot use a loop to compare that health number on my game to an image, if it matched then the script would know what my health was. Same with ammo and other things. Is this an okay way to go about it?

Again thanks I am a computer science major but obviously that doesnt mean anything when it comes to stuff like this. It seems to be all about the way you think and I am trying to learn and find something i can be more passionate about on the side. Other then the same old boring hw.
12/02/2015 17:58 alpines#4
A better way to read out your health would be to get the pointer of the health variable and read it directly out from there. This way is by far the fastest and safest (compared to ImageSearch) but CAN be detected by anti-cheat programs which might have to get bypassed.
12/02/2015 22:15 .SkyneT.#5
Quote:
Originally Posted by RenFox View Post
Thanks for taking time to respond.

I was wondering if C# is going to be faster at comparing images. Lets say for example i wanted to find out what my health was. I was going to have the bot use a loop to compare that health number on my game to an image, if it matched then the script would know what my health was. Same with ammo and other things. Is this an okay way to go about it?

Again thanks I am a computer science major but obviously that doesnt mean anything when it comes to stuff like this. It seems to be all about the way you think and I am trying to learn and find something i can be more passionate about on the side. Other then the same old boring hw.
As already mentioned, reading your health by comparing images is far from perfect.
To compare images I would use [Only registered and activated users can see links. Click Here To Register...] .

Quote:
Originally Posted by alpines View Post
A better way to read out your health would be to get the pointer of the health variable and read it directly out from there. This way is by far the fastest and safest (compared to ImageSearch) but CAN be detected by anti-cheat programs which might have to get bypassed.
I don't think "taking a screenshot" is safer than reading the memory of a foreign process :) But it's much, much faster, and more reliable, if done right.
12/03/2015 04:19 RenFox#6
If i wanted to run the application on a vm through a proxy is proxifier a good application to use to mask my ip?

How do i know if there is anti-cheat i have to bypass? just test? Ik about stuff like hackshield but this game is much smaller.

And thanks for responses!
Ik im sure these questions been answered million times lol.
12/03/2015 08:01 alpines#7
I used proxifier too, it's very easy and can be easily used on VMs to mask the whole internet traffic of that VM.

You can find out by taking a look in the game folder and looking for folders / files like "shield" "hackshield" "gameguard "ahnlab" "anticheat" and such.
If you're not sure just run the game and check if extra windows open where a logo of a hackshield company is presented or simply google the name of the game or look on wikipedia. There's no way you won't know.