View Single Post
  #8  
Old 10-17-2005, 07:40 AM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default It is working

I got it to work. It now loads. I added bool FileLoadSPDat(); after my cout << SPDAT_RECORDS; because the code would go to that point print out the return falas error. I am very happy I can now log in to my server and do something and with the ablity to compile.

SPDAT_RECORDS = MaxSpellID+1;
cout << SPDAT_RECORDS;
bool FileLoadSPDat(); //This fixed it
if (EMuShareMemDLL.Spells.DLLLoadSPDat((const CALLBACK_FileLoadSPDat)&extFileLoadSPDat, (const void**) &spells, &SPDAT_RECORDS, sizeof(SPDat_Spell_Struct)))
{
spells_loaded = true;
}
else
{
SPDAT_RECORDS = -1;
LogFile->write(EQEMuLog::Error, "LoadSPDat() EMuShareMemDLL.Spells.DLLLoadSPDat() returned false");
cout << "(Am I an this error)";
return;
}
Reply With Quote