I am also having the same issue and will do my best to post all the debug info needed. (prolly more than what is needed, but more is better rite? sometimes?)
Debug spew
Code: Select all
[MQ2]Next - End of loop 0 to 4
First-chance exception at 0x03016ccb (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x0000002f.
MQ2DataTypes.cpp
error at ===> line 1231
Code: Select all
case Ducking:
Dest.DWord=pSpawn->StandState==STANDSTATE_DUCK;
Dest.Type=pBoolType;
return true;
case Feigning:
Dest.DWord=pSpawn->StandState==STANDSTATE_FEIGN;
Dest.Type=pBoolType;
return true;
case Binding:
Dest.DWord=pSpawn->StandState==STANDSTATE_BIND;
Dest.Type=pBoolType;
return true;
case Deity:
Dest.DWord=pSpawn->Deity;
Dest.Type=pDeityType;
return true;
case Distance:
===> Dest.Float=GetDistance(pSpawn->X,pSpawn->Y);
Dest.Type=pFloatType;
return true;
case Distance3D:
Dest.Float=DistanceToSpawn3D((PSPAWNINFO)pCharSpawn,pSpawn);
Dest.Type=pFloatType;
return true;
case DistancePredict:
Dest.Float=EstimatedDistanceToSpawn((PSPAWNINFO)pCharSpawn,pSpawn);
Dest.Type=pFloatType;
return true;
case DistanceW:
case DistanceX:
Dest.Float=(FLOAT)fabs(((PSPAWNINFO)pCharSpawn)->X-pSpawn->X);
Dest.Type=pFloatType;
return true;
case DistanceN:
Call stack :
Code: Select all
> MQ2Main.dll!MQ2SpawnType::GetMember(MQ2Internal::_MQ2VarPtr VarPtr={...}, char * Member=0xffffffff, char * Index=0x0013b740, MQ2Internal::_MQ2TypeVar & Dest={...}) Line 1231 C++
MQ2Main.dll!MQ2SpawnType::GetMember(MQ2Internal::_MQ2VarPtr VarPtr={...}, char * Member=0x08bdd950, char * Index=0x1dc5c0b8, MQ2Internal::_MQ2TypeVar & Dest={...}) Line 935 + 0xa C++
MQ2Main.dll!DoNextCommand() Line 58 C++
MQ2Main.dll!Detour_ProcessGameEvents() Line 324 C++
MQ2Main.dll!MQ2GroupMemberType::GetMember(MQ2Internal::_MQ2VarPtr VarPtr={...}, char * Member=0x0013b740, char * Index=0x0013af00, MQ2Internal::_MQ2TypeVar & Dest={...}) Line 4840 + 0x17 C++
MQ2Main.dll!ParseMQ2DataPortion(char * szOriginal=, MQ2Internal::_MQ2TypeVar & Result=) Line 231 + 0x13 C++
MQ2Main.dll!ParseMacroData(char * szOriginal=) Line 557 + 0xf C++
MQ2Main.dll!ParseMacroParameter(EQData::_SPAWNINFO * pChar=0x08bdd950, char * szOriginal=0x0013cf68) Line 125 C++
MQ2Main.dll!HideDoCommand(EQData::_SPAWNINFO * pChar=, char * szLine=, int delayed=) Line 121 + 0x11 C++
MQ2Main.dll!DoNextCommand() Line 58 C++
MQ2Main.dll!Heartbeat() Line 283 + 0xb C++
MQ2Main.dll!Detour_ProcessGameEvents() Line 324 C++
eqgame.exe!004d22e6()
eqgame.exe!00607510()
Disassembly:
address:
Code: Select all
MQ2SpawnType::GetMember(MQ2Internal::_MQ2VarPtr, char *, char *, MQ2Internal::_MQ2TypeVar &)
code:
error at ===>
Code: Select all
03016CB5 mov edx,dword ptr [_pDeityType (307F1C8h)]
03016CBB pop edi
03016CBC pop ebp
Dest.Type=pBoolType;
03016CBD mov dword ptr [eax],edx
03016CBF mov al,1
03016CC1 pop esi
}
03016CC2 add esp,28A8h
03016CC8 ret 10h
return true;
case Distance:
Dest.Float=GetDistance(pSpawn->X,pSpawn->Y);
===>03016CCB mov eax,dword ptr [esi+30h]
03016CCE mov ecx,dword ptr [esi+34h]
03016CD1 push eax
03016CD2 push ecx
03016CD3 call GetDistance (30143F0h)
03016CD8 add esp,8
03016CDB mov eax,dword ptr [esp+28C4h]
03016CE2 fstp dword ptr [eax+4]
Dest.Type=pFloatType;
03016CE5 mov edx,dword ptr [_pFloatType (307F158h)]
03016CEB pop edi
03016CEC pop ebp
Dest.Type=pBoolType;
03016CED mov dword ptr [eax],edx
03016CEF mov al,1
03016CF1 pop esi
}
03016CF2 add esp,28A8h
03016CF8 ret 10h
return true;
note this was using afcleric mac....if needed I can post that as well