Go Back   BWHacks > WarCraft > Warcraft Hacking Related

Warcraft Hacking Related Discuss, post, and troubleshoot hacks for Warcraft here.

Reply
 
LinkBack Thread Tools

Old 07-16-2008, 04:41 PM   #1 (permalink)
Megas
Mortal
 
Join Date: Jul 2008
Posts: 2
Megas is on a distinguished road
Default Is it possible to make a last hit bot?

Hi im new here.
i was wondering if it`s possible to make last hits bot it would be great for lanning at Dota
Megas 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links


Old 07-16-2008, 08:04 PM   #2 (permalink)
De
Private Hack User
Gold Member

Blessed
 
Join Date: Dec 2005
Location: Canada
Posts: 2,541
De is just really niceDe is just really nice
Default

You mean make it so it calculates your damage vs there health and armor so it hits them perfectly and you get last hit? Bah good luck getting someone to do that. =p
__________________


If you could only see yourself through my eyes,
You would never, I bet, let me out of your sight.

De 15 0FF11|\|3   Reply With Quote

Old 07-16-2008, 08:32 PM   #3 (permalink)
Megas
Mortal
 
Join Date: Jul 2008
Posts: 2
Megas is on a distinguished road
Default

i guess that a polite "get off noob"
Megas 15 0FF11|\|3   Reply With Quote

Old 07-16-2008, 10:47 PM   #4 (permalink)
Shimano

Advocate
 
Shimano's Avatar
 
Join Date: Jan 2007
Location: Boise, ID
Posts: 261
Shimano is on a distinguished road
Send a message via MSN to Shimano
Default

No it's just no one is going to make that for you. You can stay on the forum
__________________

Shimano 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 12:36 AM   #5 (permalink)
sd333221

Advocate
 
sd333221's Avatar
 
Join Date: Jul 2007
Posts: 294
sd333221 will become famous soon enough
Default

Was planning to do exactly that but I halted the project.
Maybe I will continue later but it is really hard to get all the stuff you need for your calculations. And you won't probably recognize the missiles of other players
that are still "in the air" in your calculations.
__________________
sd333221 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 05:38 AM   #6 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default

Quote:
Originally Posted by sd333221 View Post
Was planning to do exactly that but I halted the project.
Maybe I will continue later but it is really hard to get all the stuff you need for your calculations. And you won't probably recognize the missiles of other players
that are still "in the air" in your calculations.
Same... plus you need to calculate your distance from the creep/hero, to decide if you can actually get there in time to last hit him (if you're not in range) - it doesn't help if you're constantly running around your creeps to try and last kill an enemy creep, and you never actually kill one, and then you get killed.
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 06:13 AM   #7 (permalink)
Indefinite
Mr. Lampy's #2 fan
Senior Member
Gold Member

Evangelist
 
Join Date: Jul 2004
Posts: 1,345
Indefinite has disabled reputation
Default

So this bot would need to calculate projectile speed, hero-target distance, target's hp compared to your damage, preferrably taking (physical/magical) damage reduction into consideration.

Actually, I think it's not worth the effort to code such a thing. Just learn to last hit/deny or, if you can't do that, stop playing DotA and start doing something on your level.
__________________


Indefinite 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 07:55 AM   #8 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default

Quote:
Originally Posted by Indefinite View Post
Actually, I think it's not worth the effort to code such a thing.
Yup... that's why I stopped working on mine.

Some thoughts on making this in AutoIt or AutoHotKey:
If you had health bars on, you could check the color values of pixels on the screen to find a low health bar. You'd know you could ignore the first (I'm guessing) 50x50 pixels in the center of the screen becase that would be where your hero is, and then depending on your hero's attack range (which you could read from memory?) you would be able to calculate the which pixels around the center of the screen to check for a low health bar. Once you've found a low health bar, you can pretty much guess/calculate the location of the creep/hero, because health bars are a certain numbe of pixels above the creep/hero.

The other calculation to keep in mind is your damage, and the HP the unit has left... which you'd probably need some proper coding to do (to read those values from memory), which makes all of the above pretty much useless.

So to properly "code" a hack like this, you'd need to find your location on the map, loop through the units in the game and find those that are near you (and not friendly), lookup your attack range and find those in range, then loop through them checking your attack damage compared to their health (because just because they have a "low health bar" doesn't mean they're a 1 hit kill), and then - to do it properly - check that you have a clear path to them (there might be trees / mountains / etc in the way), and then issue your hero with an attack command and supply the target.

Sounds like REAL fun..... not. Maybe I'll write the AutoIt pixel-detecting one though, just for the fun of it (though it wont be that reliable, or effective).
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 11:28 AM   #9 (permalink)
sd333221

Advocate
 
sd333221's Avatar
 
Join Date: Jul 2007
Posts: 294
sd333221 will become famous soon enough
Default

That's not how perfect last-hitting works.
If someone starts attacking and will bring the unit from 1000 to 1 hp (and you do 10 damage), then you have to start attacking (even if the unit currently still has 1000 hp!) to directly hit the target unit after him.
Of course you would need the missile speed of all attacking units, damage of all attacking units, damage reductions, attack speed of attacking units, your attack speed, your range ....

However, you can't calculate how much damage the enemys will exactly do and whether they miss or do a critical or still abort their attack. It is very hard.

Thats the hard stuff, to make it to a perfect system
__________________
sd333221 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 01:06 PM   #10 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default

Oh absolutely, my attempts would be FAR off :P

I agree with you, you'd need to monitor and calculate practically everything going on. TECHNICALLY it's doable though, if you were able to calculate the game logic before it plays out, and attack at just the right time. SO not worth the effort though :P
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote

Old 07-17-2008, 04:58 PM   #11 (permalink)
Indefinite
Mr. Lampy's #2 fan
Senior Member
Gold Member

Evangelist
 
Join Date: Jul 2004
Posts: 1,345
Indefinite has disabled reputation
Default

Ya, what I've written was just a basic idea for the problem.
You can calculate it out really deeply, but you never know, what your opponent will do.
But I guess this kind of hack would work out on newb pubbie games.
__________________


Indefinite 15 0FF11|\|3   Reply With Quote

Old 10-09-2008, 07:41 AM   #12 (permalink)
ap0litist0s

Deviant
 
ap0litist0s's Avatar
 
Join Date: Feb 2008
Posts: 62
ap0litist0s is on a distinguished road
Default

A great way that will save you a lot of trouble hypn is to make this last hit hack work on rainge heroes and aftear activating it the hero will stand still spamming the stop command untill he get's the last hit.Deactivating the hack will give u controll of your hero again.

So when you run the hack it asks you "on how manny hitpoints i last hit?" u say something like 30 in 1lvl hero....
....so u go back in the game, get your hero in possision turn the hack on...creep wave end's turn the hack off (be able to move your hero)

If i helped you in anyway plz let me know!
__________________
ap0l|tanŽ
ap0litist0s 15 0FF11|\|3   Reply With Quote

Old 10-09-2008, 08:22 AM   #13 (permalink)
Indefinite
Mr. Lampy's #2 fan
Senior Member
Gold Member

Evangelist
 
Join Date: Jul 2004
Posts: 1,345
Indefinite has disabled reputation
Default

Spamming "stop" isn't a great idea. It leaves you vulnerable to enemy harassment.
And next, if he was implementing the feature that you suggest, I suppose he would add an average damage calculator of any unit, or namely, your hero.
__________________


Indefinite 15 0FF11|\|3   Reply With Quote

Old 10-09-2008, 07:26 PM   #14 (permalink)
Ghost-Flight

Zealot
 
Ghost-Flight's Avatar
 
Join Date: May 2004
Location: In the Void
Posts: 644
Ghost-Flight is a jewel in the rough
Send a message via MSN to Ghost-Flight
Default

I vote, just get good at dota
__________________

Dont forget to +Rep people!
500 Posts 08/11/2008
Ghost-Flight 15 0FF11|\|3   Reply With Quote

Old 10-09-2008, 07:38 PM   #15 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default

The short answer to the original question ("Is it possible to make a last hit bot?") is yes...

BUT... it's way more complicated than it seems, and definitely not worth the effort. So rather:

Quote:
Originally Posted by Ghost-Flight View Post
just get good at dota
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote

Old 10-10-2008, 11:28 PM   #16 (permalink)
nano351
Banned

Evangelist
 
Join Date: Dec 2007
Location: Pennsylvania
Posts: 1,181
nano351 is a jewel in the rough
Send a message via ICQ to nano351 Send a message via AIM to nano351 Send a message via MSN to nano351 Send a message via Yahoo to nano351 Send a message via Skype™ to nano351
Default

doesn't seem plausible to have a bot that would be able to time your attack to kill the enemy since it'd only really work when you have really close values for stats, so close it'd pretty much have to be the same unit type with the same level, str, int, agi, etc. However it'd be possible to have it calculate if it'd be possible for you to be able to kill a unit before it'd kill you if it were to be a 1 on 1 battle. So perhaps a hack that would notify you if what you were telling your unit to attack will most likely kill you.
nano351 15 0FF11|\|3   Reply With Quote

Old 11-02-2008, 08:45 AM   #17 (permalink)
Xantan
Banned

Heretic
 
Xantan's Avatar
 
Join Date: Feb 2007
Location: Nevada
Posts: 10
Xantan is on a distinguished road
Send a message via AIM to Xantan Send a message via MSN to Xantan Send a message via Yahoo to Xantan
Default

gogo make the hack already exe form ty
Xantan 15 0FF11|\|3   Reply With Quote

Old 11-02-2008, 10:01 AM   #18 (permalink)
hypn
inactive
Gold Member

Disciple
 
hypn's Avatar
 
Join Date: Sep 2005
Location: South Africa
Posts: 512
hypn has disabled reputation
Default

No.

Someone PLEASE close this thread :|
__________________
http://www.hypn.za.net
hypn 15 0FF11|\|3   Reply With Quote