In pets.cpp Around line 541 or so...
Code:
MakePet(spell_id, 10, 1, prace, mat, 125, 2*size_mod, 5, 0, 0, petname);
cout << "ptype not found: Making default BL pet." << endl;
I changed to: (added return)
Code:
MakePet(spell_id, 10, 1, prace, mat, 125, 2*size_mod, 5, 0, 0, petname);
cout << "ptype not found: Making default BL pet." << endl;
//begin wsft edit
return;
//end wsft edit
In pets.cpp around line 604/605
Code:
MakePet(spell_id, 59, WARRIOR, 127,0,46,0,2, 0, 0, petname);
I changed to: (added a return and cout info...)...
Code:
MakePet(spell_id, 59, WARRIOR, 127,0,46,0,2, 0, 0, petname);
//begin wsft edit
cout << "I think this was causing the crash..." << endl;
return;
//end wsft edit
I think that since MakePet was called and it didn't exit the function that it reached the MakePet at the end and the petstruct wasn't defined because it wasn't recalled from the DB...
-Suede-
Edit:
I am going to put a couple more files on my site:
1: update_zone.rar for updated zone compiles
2: update_world.rar for updated world compiles
3: update_dll.rar for updated emusharemem.dll files
If there are no updated files from the releases posted, there will be no updated .rar
Edit 2:
I am also going to add the date field to the download page.
-Suede-