Solved Issue while making a AutoPot Bot

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

MrModd

Newbie
Full Member
Jun 5, 2012
26
272
Near Bean Town, Ma.
Visit site
0
Okay, so I have been working on making just a simple yet for me not so simple program lol. A run down of what I am trying to do is....
1. Make a windows form
2. I have 2 buttons, one for HP and one for MP
3. I want to click the HP button and then go to the game "yes it's in window mode" and click a spot on my HP bar. This will take the x,y, cords, and pixel color.

Yes I am just learning this but i have looked and tried so many different things today it's not funny. I got to the point where i thought I was going to just give up, but i didn't.
Any ways, I'm not looking for anyone here to do this for me I am just asking for a little help. I know it can be done because i once used a program like it but I am struggling to make this. And the sad thing is, IT'S ONLY 2 BUTTONS! hahahaha. I just keep getting lost with trying to get them so clicking on the HP button once tells the program I'm ready to give it the game x,y,cords and color. The second click I make IN the game sets the x,y,cords and color.


also, on another NOTE!, I have watched so many TuT's and read so many things so far. But REALLY! how long have some of you guys been doing this lol. you write these programs like I type on this forum lol. I have some books and so far.... I haven't come across 1/4 of the words/commands I have seen just on Fleeps TuT's alone hahaha. I think I may have the wrong books and I am starting to think I have my very own internet because everything I look up just runs me in circles lmao.

Well thank you all for any input/help you can or may give. Any advice is good advice.

Oh and I have Visual Studio Professional 2010.
 
Last edited by a moderator:

konsowa

Coder
Full Member
Nobleman
May 24, 2012
178
753
Visit site
2
Dude an autopot is very easy to make all u have to do is get the addresses for hp and mana and compare them to the value u want to be using potions at, then u r going to need the inventory address(There is most likely a function that allows u to use items which is what u need to be looking for in olly), ill assume that the function is similar to this: SelectItem(int x, int y, int page); i'm pretty sure u know what to do now ;) have fun auto poting :)
 

MrModd

Newbie
Full Member
Jun 5, 2012
26
272
Near Bean Town, Ma.
Visit site
0
Konsowa said:
Dude an autopot is very easy to make all u have to do is get the addresses for hp and mana and compare them to the value u want to be using potions at, then u r going to need the inventory address(There is most likely a function that allows u to use items which is what u need to be looking for in olly), ill assume that the function is similar to this: SelectItem(int x, int y, int page); i'm pretty sure u know what to do now ;) have fun auto poting :)
See that's where I am getting confused. With getting the offsets for the HP and MP. There is no bypass for the game and CE, tSearch and Olly just crash the game. So unless I'm missing something as another way to do it, it can't be done that way. Now I have seen others make them and they just say they use VB, Java, C++. Again I am just starting off and I figured this would be a good beginner project for me lol.

Everything I have come across on the net are trainers but you need offsets and what not. So I was leaning more towards trying like a pixel type bot or something. I figured if I kept the bot over the game window and as long as the game window is the active window just select on the screen to tell the program the x,y,and pixel color. This way I don't need to worry about trying to get memory address's.
 

BlackPitchPL

Coder
Full Member
Nobleman
May 24, 2012
166
783
POLAND
Visit site
1
You don't need to bypass anything if You want just to make and autopot. I assume that You can assign some key to Hp pots ( like 1 Hp 2 Mp) if you can just find the static address of Hp and Mp than just read this value and make IF
C++:
while(1)
{
if (MP_Value <= 100)
  MP();//just make a function that simulate press key 1
else if (HP_Value <=100)
 HP();

}
And You have your AUTOPOT
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods League of Legends Accounts