Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #28  
Old 06-11-2005, 07:52 AM
SuedeWorthey
Sarnak
 
Join Date: Jan 2005
Posts: 64
Default I think I fixed it again...

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-

Last edited by SuedeWorthey; 06-12-2005 at 08:19 AM.. Reason: Update
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:11 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3