Mob List add

02/16/2011 02:31 *M*#1
Anyone have the address for mob-list in memory for the current client?
02/16/2011 15:50 phize#2
I didn't actually find it but it is probably around here somewhere, I'll need to have a deeper look some time.

This returns the amount of objects in the list/array:

Code:
.text:00692DCB                 lea     eax, [edi+14h]
.text:00692DCE                 push    eax
.text:00692DCF                 lea     ecx, [eax+10h]
.text:00692DD2                 call    sub_6C4BF4
02/16/2011 22:16 *M*#3
Cool, what about the attack function, i'm not sure it looks the way it used to, I want to build a simple bot into the client itself.
02/17/2011 02:23 phize#4
I found it at 6164BC but no clue what the second arg is/should be though it seems like like it's relative to every object and changes with it too.

And, interesting idea :)

Edit:
Chat function is at 6140F9 and its prototype is as:
Code:
int __stdcall OnChat(const char* receiver, const char* message, int var3, int color, int type, int var5)