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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 01-29-2004, 09:45 AM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

I think you missed a change in your diff. In the original zone/client_process.cpp there is this block of code, starting at line 5107:

Code:
	strcpy(sze->name, m_pp.name);
	strcpy(sze->last_name, m_pp.last_name);
	sze->gm				= m_pp.gm;
	sze->race			= m_pp.race;
	sze->class_			= m_pp.class_;
	sze->level			= m_pp.level;
	sze->size			= size;
	sze->deity			= m_pp.deity;
	sze->zone_id		= zone->GetZoneID();
	sze->x				= m_pp.x;
	sze->y				= m_pp.y;
	sze->z				= m_pp.z;
	sze->heading		= m_pp.heading;
	if(sze->heading>0)
		sze->heading/=4;
The ZoneProxy version should look like this:

Code:
	strcpy(sze->name, m_pp.name);
	strcpy(sze->last_name, m_pp.last_name);
	sze->gm				= m_pp.gm;
	sze->race			= m_pp.race;
	sze->class_			= m_pp.class_;
	sze->level			= m_pp.level;
	sze->size			= size;
	sze->deity			= m_pp.deity;


#ifndef ZONEPROXY
	// ZONEPROXY BEGIN
	// NOTE THE #ifndef above!  If compiling for ZoneProxy we DON'T want to do this.

	sze->zone_id		= zone->GetZoneID();

	// ZONEPROXY END
#endif


	sze->x				= m_pp.x;
	sze->y				= m_pp.y;
	sze->z				= m_pp.z;
	sze->heading		= m_pp.heading;
	if(sze->heading>0)
		sze->heading/=4;
Note how the line "sze->zone_id = zone->GetZoneID();" does NOT get included if compiling for ZoneProxy.

WC
Reply With Quote
  #17  
Old 01-29-2004, 09:55 AM
farce
Hill Giant
 
Join Date: Feb 2003
Posts: 126
Default

hrm. well it still seemed to work... i'll check it tho

I updated the original post....
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 09:55 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3