what's the offset to see if your character is casting a spell/fishing etc.?
it doesn't seem to be in the ePlayerFields or eUnitFields anyone know?
what's the offset to see if your character is casting a spell/fishing etc.?
it doesn't seem to be in the ePlayerFields or eUnitFields anyone know?
it used to be in the player struct a few versions back. the offset was 0x294
I do not have the values for 2.4.3 yet
ok, it aint emotestate either only affects emotes
okay, since i need it too i sat down and tracked it down.
its in the playerStruct @ 0xF56
0 = no casting is performed,
other values = casting
Last edited by Nesox; 08-18-2008 at 06:59 AM.
Another way (that would survive patches a lot easier) would be to use LUA. Call API_UnitCastingInfo in your hack/bot.
i just got my fishbot working properly im not so good with injecting code creating remote threads but im learning howto so maybe in the future ill rewrite it to call the API_UnitCastingInfo im using Some of shynd's source code for it.. its really nice i had a hard time to figure out how to dump the objects but now it's alot easier to understand
Can someone explain how you are finding the locations of these kinds of things? Please tell me. Im trying to learn to memory edit so I can finaly get out of my leecher status.
I personally use IDA Pro. It's a disassember and debugger that will (on a very basic level) recreate something similar to a a map file. It will resolve symbol names if it can find anything, and allows you to rename symbols after you have discovered what the function or memory location us used for.Can someone explain how you are finding the locations of these kinds of things? Please tell me. Im trying to learn to memory edit so I can finaly get out of my leecher status.
You can have it search thru the strings for anything you want and it will give you memory locations that reference it. Since a user can create their own scripts, the command interpreter is built in to WoW, meaning you can search for these keywords... making it very easy to discover the entry points to these functions.
If you don't have IDA Pro (or OllyDbg [free]), you're working blindly.