New Offset :: ReplyName

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

New Offset :: ReplyName

Post by Amadeus » Tue Oct 28, 2003 9:13 pm

006ae610 is the offset for the name of the person who last sent you a tell (ie, used in the /reply code). It is not a pointer offset. It is also allocated 0x40 bytes in length.

I seem to remember someone asking about this a long time ago....

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Tue Oct 28, 2003 9:15 pm

Check CVS.. this has been in for a while:

Code: Select all

LastTell=006AE610

DWORD parmLastTell(PCHAR szVar, PCHAR szOutput, PSPAWNINFO pChar)
{
    DWORD i=0;
    // $lasttell
    i += 7;
	if (EQADDR_LASTTELL && (*EQADDR_LASTTELL)[0]!=0) {
		strcat(szOutput,*EQADDR_LASTTELL);
	} else {
		strcat(szOutput,"NULL");
	}
    return i;
}
- Plazmic

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Tue Oct 28, 2003 9:23 pm

doh...never used it, so didn't realize. No biggie....was just something I came along tonight putzing around thought I'd share.