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)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-07-2009, 08:19 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Home it probably stored somewhere in player profile.
Reply With Quote
  #2  
Old 01-08-2009, 11:54 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Quote:
Originally Posted by KLS View Post
Home it probably stored somewhere in player profile.
That's what I figured too, but I don't know where to put it in there though it's easy enough to do.
Reply With Quote
  #3  
Old 01-09-2009, 06:02 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

In the player profile, it looks like home city is stored in the bindstruct as far as I can tell. Looking at the packets from EQLive, it shows 5 bind points. The first one is your actual normal bind point. After that, all of the other 4 on my barbarian show Everfrost. I figured it would be halas, but I guess it starts you outside the town instead of inside. IIRC, when you first started, you would spawn inside the town, but you were actually bound outside in the noobie area in most towns. So, if you hit a guard/merchant, it was a quick trip to the hunting area.

Code:
/** 
* A bind point. 
* Size: 20 Octets 
*/ 
struct BindStruct { 
   /*000*/ uint32 zoneId; 
   /*004*/ float x; 
   /*008*/ float y; 
   /*012*/ float z; 
   /*016*/ float heading; 
   /*020*/ 
};
So, I think that is probably the best place to put it, if you can figure out how to do it.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 01-09-2009, 12:09 PM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Thanks, Trev. I'll work with that.
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 05:40 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