Thread: Home?
View Single Post
  #8  
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