Oh that's really hawt
Oh that's really hawt
Who loves wireframes!
I DO
I Just jizzed in my pants.
Mmm, WoW hookage.
It's ugly as hell, and not functional at all (Yet), but hey! It works!
99% C# code. (A little C++ thanks to kynox to grab the render device pointer)
Using CEGUI#
99% LUA bot, currently only implements navigation though.
The 1 % is the LUA unprotecter. ^^
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
I'm curious as to how you're enumerating the object manager without any form of C++/C# -> LUA interop.
Let me rephrase.
I'm curious as to how you're going to enumerate the object manager without any form of C++/C# -> LUA interop.
Unless this is just a tool for the lazy people who don't like walking anywhere.
API IsSpellInRange - WoWWiki - Your guide to the World of Warcraft <- Using that API, basicly scanning the characters spell book for ranged spells and tabbing through targets while walking until 1 is returned, then using the spell, check for combat to see if it was pulled correctly. Depending on the class, you can then (for a melee) check with a melee ability, to see if the mob is close for melee fight.
Of course there's classes where that would be downright stupid (rogues, feral druids), and classes where it would be really effective (hunters).
But that's one of the possible methods I came up with, I'm pretty sure that with smart use of the API, there's quite a few methods to do it.
And as you know, Blizzard gave us some new Interact functions, which makes it easier.. If I could just know how to patch the additional check they have.
Edit: There's also http://www.wowwiki.com/API_CheckInteractDistance.
Edit2: Also for tracking classes, you can track different kinds of units, and iterate over the MinimapFrame. I'm pretty sure it's possible to get the location of the tracked units that way.
Last edited by MaiN; 06-14-2009 at 06:18 AM.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
haha impressive.
You've really though this through.
On the new interact functions that were added in 3.1, there is.
I'm not sure what it is, but since those functions were added for joystick controllers, it might be a check to see if the function was called with a hardware event?
EDIT: The ones I'm talking about are InteractUnit("target"), TargetDirectionEnemy(), TargetDirectionFinished(), TargetDirectionFriend() and TargetNearest().
Last edited by MaiN; 06-14-2009 at 08:42 AM.
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want