ISXEQ-20060410 on v29
Posted: Mon Apr 17, 2006 8:53 am
To work with the latest isxdk, I had to convert all unsigned long to unsigned int, not posting those changes, but a simple find and replace works fine.
to fix pulse (which is essential, lax has already csv'd this):
MQ2Main:288
I also had to cast the 2nd parameter for GetBuffID and GetShortBuffID as DWORD&.
MQ2DataTypes.cpp:1556
ISXEQDataTypes.cpp:141
ISXEQDataTypes.cpp:151
To fix Window.List to work like it does in mq2.
MQ2DataTypes:3838 from:to:
To add character methods for sit, stand, and dismount, I modified:
ISXEQDataTypes.cpp:181 from:
to:
MQ2DataTypes.h:814
MQ2DataTypes.h:950
to fix pulse (which is essential, lax has already csv'd this):
MQ2Main:288
Code: Select all
InitializeMQ2Spawns();
[color=red]//#ifndef ISXEQ[/color]
InitializeMQ2Pulse();
[color=red]//#endif[/color]
InitializeMQ2Commands();MQ2DataTypes.cpp:1556
Code: Select all
if (GetBuffID(pBuff,[color=red](DWORD&)[/color]Dest.DWord))
{
Dest.Type=pIntType;
return true;
}
if (GetShortBuffID(pBuff,[color=red](DWORD&)[/color]Dest.DWord))Code: Select all
char Temp[16];
if (GetBuffID(pPtr,[color=red](DWORD&)[/color]slot))
{Code: Select all
}
if (GetShortBuffID(pPtr,[color=red](DWORD&)[/color]slot))
{MQ2DataTypes:3838 from:
Code: Select all
#else
if (argc==2)
[color=red] {
n=atoi(argv[1])-1;
if (n<0)
n=0;
}[/color]
#endifCode: Select all
#else
if (argc==2) [color=red]n=atoi(argv[1]);
if (n<1) n=1;[/color]
#endifISXEQDataTypes.cpp:181 from:
Code: Select all
}
[color=red] // TODO
// switch((CharacterMethods)pMethod->ID)
// {
// } [/color]
return false;Code: Select all
}
[color=red]char TempCMD[20];
switch((CharacterMethods)pMethod->ID)
{
case Stand:
{
sprintf(TempCMD,"/stand");
EzCommand(TempCMD);
return true;
}
case Sit:
{
sprintf(TempCMD,"/sit");
EzCommand(TempCMD);
return true;
}
case Dismount:
{
sprintf(TempCMD,"/dismount");
EzCommand(TempCMD);
return true;
}
} [/color]
return false;Code: Select all
static enum CharacterMethods
{
[color=red]Stand=1,
Sit=2,
Dismount=3, [/color]
};Code: Select all
TypeMember(GroupSize);
[color=red] TypeMethod(Stand);
TypeMethod(Sit);
TypeMethod(Dismount); [/color]
}