The following diff fixes ISXEQ 20071005
It removes the Toggle and Grab methods from Switches and Ground items, but I believe they got removed from MQ2 anyway...
Code: Select all
diff -x'*.vc*' -x'*.sln' -c -r ./MQ2Main/EQUIStructs.h /cygdrive/c/Program Files/isxeq/MQ2Main/EQUIStructs.h
*** ./MQ2Main/EQUIStructs.h Fri Oct 5 04:17:32 2007
--- /cygdrive/c/Program Files/isxeq/MQ2Main/EQUIStructs.h Sat Oct 6 12:32:25 2007
***************
*** 866,883 ****
/*0x1c0*/
} EQCASTSPELLWINDOW, *PEQCASTSPELLWINDOW;
! // dkaa 02-14-07
! // Individual Gems
! typedef struct _EQCASTSPELLGEM {
! /*0x000*/ struct _CSIDLWND Wnd;
! /*0x160*/ BYTE Unknown0x160[0x08];
! /*0x168*/ BYTE Unknown0x168[0x20];
! /*0x188*/ BYTE Unknown0x188[0x4];
! /*0x18c*/ DWORD spellicon;//if this is equal to FFFFFFFF there is no spell memmed in this slot...
! /*0x190*/ DWORD spellstate;// 1 = cast in progress or refreshtime not met 2 means we ducked or aborted cast, 0 means its ok to cast
! /*0x194*/ BYTE Unknown0x194[0x18];
! /*0x1ac*/
} EQCASTSPELLGEM, *PEQCASTSPELLGEM;
#define Fly 0
// Actual size 0x1c4 10-9-2003
--- 866,884 ----
/*0x1c0*/
} EQCASTSPELLWINDOW, *PEQCASTSPELLWINDOW;
! // dkaa 10-05-07
! // Individual Gems
! typedef struct _EQCASTSPELLGEM {
! /*0x000*/ struct _CSIDLWND Wnd;
! /*0x188*/ BYTE Unknown0x188[0x04];
! /*0x18c*/ BYTE Unknown0x18c[0x20];
! /*0x1ac*/ BYTE Unknown0x1ac[0x4];
! /*0x1b0*/ DWORD spellicon;//if this is equal to FFFFFFFF there is no spell memmed in this slot...
! /*0x1b4*/ DWORD spellstate;// 1 = cast in progress or refreshtime not met 2 means we ducked or aborted cast, 0 means its ok to cast
! /*0x1b8*/ BYTE Unknown0x194[0x18];
! /*0x1ac*/
} EQCASTSPELLGEM, *PEQCASTSPELLGEM;
+
#define Fly 0
// Actual size 0x1c4 10-9-2003
diff -x'*.vc*' -x'*.sln' -c -r ./MQ2Main/ISXEQ/ISXEQ.cpp /cygdrive/c/Program Files/isxeq/MQ2Main/ISXEQ/ISXEQ.cpp
*** ./MQ2Main/ISXEQ/ISXEQ.cpp Sun Jul 15 15:40:40 2007
--- /cygdrive/c/Program Files/isxeq/MQ2Main/ISXEQ/ISXEQ.cpp Sat Oct 6 12:06:03 2007
***************
*** 387,396 ****
{
printf("memcheck4 detour failed");
}
- if (!EzDetour(__SendMessage,memchecks,memchecks_tramp))
- {
- printf("memchecks detour failed");
- }
if (!EzDetour(CObfuscator__doit,&CObfuscator::doit_detour,&CObfuscator::doit_tramp))
{
printf("CObfuscator::doit detour failed");
--- 387,392 ----
***************
*** 402,408 ****
EzUnDetour(__MemChecker2);
EzUnDetour(__MemChecker3);
EzUnDetour(__MemChecker4);
- EzUnDetour(__SendMessage);
EzUnDetour(CObfuscator__doit);
}
}
--- 398,403 ----
diff -x'*.vc*' -x'*.sln' -c -r ./MQ2Main/ISXEQ/ISXEQDataTypes.cpp /cygdrive/c/Program Files/isxeq/MQ2Main/ISXEQ/ISXEQDataTypes.cpp
*** ./MQ2Main/ISXEQ/ISXEQDataTypes.cpp Mon Feb 5 02:44:44 2007
--- /cygdrive/c/Program Files/isxeq/MQ2Main/ISXEQ/ISXEQDataTypes.cpp Sat Oct 6 12:32:28 2007
***************
*** 313,319 ****
{
return false;
}
! switch((SwitchMethods)pMethod->ID)
{
case Toggle:
{
--- 313,319 ----
{
return false;
}
! /* switch((SwitchMethods)pMethod->ID)
{
case Toggle:
{
***************
*** 325,331 ****
SendEQMessage(EQ_INTERACTSWITCH,&sw,0x10);
return true;
}
! }
return false;
#undef pPtr
}
--- 325,331 ----
SendEQMessage(EQ_INTERACTSWITCH,&sw,0x10);
return true;
}
! } */
return false;
#undef pPtr
}
***************
*** 341,347 ****
{
return false;
}
! switch((GroundMethods)pMethod->ID)
{
case Grab:
if (EnviroTarget.Name[0]!=0 && DistanceToSpawn((PSPAWNINFO)pCharSpawn,&EnviroTarget)<20.0f )
--- 341,347 ----
{
return false;
}
! /* switch((GroundMethods)pMethod->ID)
{
case Grab:
if (EnviroTarget.Name[0]!=0 && DistanceToSpawn((PSPAWNINFO)pCharSpawn,&EnviroTarget)<20.0f )
***************
*** 354,360 ****
return true;
}
return false;
! }
return false;
#undef pPtr
}
--- 354,360 ----
return true;
}
return false;
! } */
return false;
#undef pPtr
}