GSpellTimer

December 2, 2009 aevitas Comments off

GSpellTimer, which Glider used extensively to measure cooldowns and the lot, has been “replicated” – well, not quite – to be used once more by the general public.

Now, the version by the BabBot team can be found here: http://pastie.org/723230
They implement every requirement for a properly working GSpellTimer, yet it doesn’t work. The main mistake is made in the isReady(); method – it doesn’t return true or false properly.

Now, the fix is quite easy. Make a bool IsReady, and use get/set{} to return true or false according to the situation. Make that go along with a bit of modifications in the core class, and you’re off.

I’ll post up a finite and properly working GSpellTimer class soon.

Categories: C#, MMOwned

Move to target

October 20, 2009 aevitas Leave a comment

Alright, today’s post is all about moving to your target.

If you’ve read my previous posts, you should already know how to get your target’s object, his position and all other attributes, as well as how to face a target, and determining the distance between you and the target. This method can be applied to mobs, but to waypoints as well. It’s going to be a pretty mandatory part of any functional bot.

The basic idea of it is as follows:

  • Obtain our target.
  • Obtain our target’s Vector3D location.
  • Move to our target.

Oh, this post is pretty much putting the methods from my previous posts to use, nothing special at all.

Read more…

Categories: C#, WoW Tags: , , , , , ,

Distance and facing

October 19, 2009 aevitas Leave a comment

Many people are having a hard time on determining the distance and the facing required from one X,Y,Z to another, for example to a mob or to a waypoint.

However, both can be quite easy. We’ll be using Vector3D to determine the distance, and Shynd’s has written an excellent post on movement which includes how to face objects.  I’ll be providing some code to determine the distance between two points today.

Read more…

Categories: C#, WoW Tags: , , , ,

Accessing the ObjectManager

October 18, 2009 aevitas Leave a comment

So lately I’ve been reading up on every thread I could get my hands on on GD/MMOwned which would point me in the right direction to access WoW’s Object Manager.
If you wonder what the Object Manager – hereinafter OM – is, it’s a linked list which contains information regarding all objects in the game world.

Obviously, we are interested in having some information of the objects around us when making any sort of WoW bot/tool.  There are plenty of threads on MMOwned about people asking how to get their X,Y,Z co-ords. The OM is where you begin, get the OM, iterate through it, and then you will be able to find any object’s X,Y,Z, among other things.

As Shynd said before:

Other people, before you and me, have done the really hard work and we’re privileged enough to simply ride along atop their findings.  Never–and I mean never–let their work go unappreciated.

And I agree to this hands down. We’re in a state of welfare really.

Read more…

Categories: C#, MMOwned, RE, WoW