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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2004, 11:07 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default Fix for mob heading in 0.5.5-DR1

In zone/mob.cpp:

Code:
void Mob::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
    strcpy(ns->spawn.name, name);
	if(IsClient())
	strncpy(ns->spawn.last_name,lastname,32);
	ns->spawn.heading	= FloatToEQ19(heading);//heading;
Note the change to the last line. Heading should be transmitted in fixed-point form (this is the same fix that I had to make to 0.5.3-DR3).

WC
Reply With Quote
  #2  
Old 04-02-2004, 09:07 AM
sandy
Hill Giant
 
Join Date: Oct 2002
Posts: 212
Default

do we have to change the heading in our database if have the monsters with good heading before this fix ?
__________________
Sandy
Reply With Quote
  #3  
Old 04-02-2004, 11:19 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

No, that fixes heading for old spawns too.
__________________
Xeldan
Lead Content Designer
Shards of Dalaya
Reply With Quote
Reply


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:24 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3