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
  #1  
Old 12-14-2006, 12:25 PM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default Zoning heading...

Im not sure if the heading position works with zoning or not but this is a little fix ive had on my server for a while.. just thought id share it.

Code:
--- zoning.cpp	2006/06/20 02:03:51	1.1
+++ zoning.cpp	2006/06/21 06:07:41	1.2
@@ -295,10 +295,11 @@
 	x_pos = dest_x; //these coordinates will now be saved when ~client is called
 	y_pos = dest_y;
 	z_pos = dest_z;
+	heading = dest_h; // Cripp: fix for zone heading
 	m_pp.heading = dest_h;
 	m_pp.zone_id = zone_id;
 	
 	//Force a save so its waiting for them when they zone
 	Save();
 	
 	if (zone_id == zone->GetZoneID()) {
i also usually add a SendPosUpdate(2); right before the Save(); as well but im not really sure if thats necessary.. maybe FNW or someone can insight me.
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
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 07:00 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