Loading...   

[Show Table of Contents]


zone_points database schema
Field Name Field Description Field Type Field Default Value
id Represents an auto_increment field (passive field, not used) int(11) auto_increment
number Represents the iterator field sent in the struct ZonePoint_Entry, zone points for the current zone are sent when client zones in (during Client::Handle_Connect_OP_ReqClientSpawn in client_packet.cpp).  This number field must be unique and also could have a hardcoded equivalent in the client, eg. client is expecting a specific number value for a zone point or teleport/object pad, such as in Erudin (erudnext). smallint(4) 1
zone The source location of the zone_point, value is the short_name from the zone table.  If you are setting a zone_point from a->b the source is 'a'. varchar(32) NULL
 

The x and y fields below can contain the value 999999 to represent a wide field zonepoint, such as those in planes or between east/west commonlands, north ro to oasis, etc.  The 999999 will act as a wildcard allowing the player to transition to the next zone without hitting distance restrictions on zone points.

The target_x, target_y, target_z fields can contain the value of 999999 to represent using the clients current location as the destination x,y,z instead of a forced location.

   
x Represents the source X location of the client, use the #loc command to get X,Y,Z coordinates, /loc is reversed as Y,X,Z float 0
y Represents the source Y location of the client, use the #loc command to get X,Y,Z coordinates, /loc is reversed as Y,X,Z float 0
z Represents the source Z location of the client. float 0
heading Represents the source heading location (not required, passive field). float 0
target_x Represents the destination X coordinate for the target_zone_id, use the #loc command to get X,Y,Z coordinates, /loc is reversed as Y,X,Z float 0
target_y Represents the destination Y coordinate for the target_zone_id, use the #loc command to get X,Y,Z coordinates, /loc is reversed as Y,X,Z float 0
target_z Represents the destination Z coordinate for the target_zone_id float 0
target_heading Represents the destination heading, target heading can be set to 999 to use the clients current heading. float 0
target_zone_id Represents the zoneidnumber of the zone table for the destination zone. int(10) 0
target_instance Represents the id of the instance_list table in relation to the target_zone_id int(10) 0
client_version_mask Represents a bitmask value of clients allowed to use this zone_point.  Reference to Client_Version_List int(10) 4294967295

ยงzone_points

Used With
  • Zone Points
  • Teleport Pads/Objects
Loaded When
  • On zone init/boot (static zone on its initial boot, dynamics on each startup of a zone)
  • Reload possible via command
Loaded From ZoneDatabase::LoadStaticZonePoints in zone/zone.cpp
Related Commands

Clients already in the zone when reloading zone points may need to leave and re-enter for changes to apply (on source x,y,z).