Page 1 of 5

ISXEQ Compile Error...

Posted: Thu Oct 23, 2008 2:03 pm
by Rogue_01
MQ2DataTypes.cpp
.\MQ2DataTypes.cpp(7065) : error C2065: 'Index' : undeclared identifier

Posted: Thu Oct 23, 2008 6:13 pm
by ieatacid
Fixed in the next zip. Change this line

Code: Select all

if(buffID != 0xffffffff && !stricmp([color=#33FFFF]Index[/color], GetSpellNameByID(buffID)))
to

Code: Select all

if(buffID != 0xffffffff && !stricmp([color=#33FFFF]GETFIRST()[/color], GetSpellNameByID(buffID)))

Posted: Fri Oct 24, 2008 1:08 pm
by Rogue_01
Thank you!

Posted: Sat Nov 01, 2008 7:15 pm
by ascii38
Did this miss the 1029 zip or am I doing something REALLY stupid?

Posted: Sat Nov 01, 2008 10:23 pm
by SwiftyMUSE
There appears to be another line like that in the code... make the same changes and ill fix the zip.

Posted: Sun Nov 02, 2008 1:33 am
by spanners
The Target TLO is broken for ISXEQ in the current code. The following needs to be done to make it functional:

In ISXEQDataTypes.h add the following line:

Code: Select all

DATATYPE(MQ2TargetType,pTargetType,"EQ Target");
In ISXEQDataTypes.cpp add the following:

Code: Select all

bool MQ2TargetType::GETMETHOD()
{
#define pPtr ((PSPAWNINFO)VarPtr.Ptr)
	if (!VarPtr.Ptr)
		return false;
	PMQ2TYPEMETHOD pMethod=MQ2TargetType::FindMethod(Method);
	if (!pMethod)
		return false;
	else
		return true;
#undef pPtr
}
In MQ2DataTypes.h:
Find the beginning of the MQ2TargetType definition (class MQ2TargetType : public MQ2Type), inside the class find the line:

Code: Select all

DECLAREGETMETHOD();
Underneath that line add the following:

Code: Select all

INHERITDIRECT(pSpawnType);

Posted: Sat Apr 11, 2009 10:31 am
by spanners
Could this fix please be included in the main Zip ? I am having to apply this patch to get the Target TLO to work properly every release.

Posted: Sat Apr 11, 2009 6:50 pm
by ieatacid
Next zip.

Posted: Sat Apr 11, 2009 8:15 pm
by spanners
Thanks, much appreciated.

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:06 am
by xyilla

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:07 am
by xyilla

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:08 am
by xyilla

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:10 am
by xyilla

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:11 am
by xyilla

Re: ISXEQ Compile Error...

Posted: Tue Sep 02, 2025 1:12 am
by xyilla