Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reformatted the page and corrected some incorrect information, and rewrote some parts for clarity.

Back-to:WorldThe `game_tele` table

Panel
titleTable Structure

This table contains a list of teleport locations that can be used with the .tele command in-game. Entries in this table can be added/deleted manually or with the .

...

tele add and .tele delete commands.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

...

id

mediumint(8)

unsigned

PRI

NO

NULL

Auto increment

...

position_x

float

signed

 

NO

0

...

 

position_y

float

signed

 

NO

0

 

...

 

position_z

float

signed

 

NO

0

 

...

 

orientation

float

signed

 

NO

0

...

 

map

smallint(5)

unsigned

 

NO

0

...

 

name

varchar(100)

signed

 

NO

NULL

 


Panel

...

 

...

titleField Descriptions

id

The ID of the teleport location. This number is unique to every location added.

position_x

The

...

x-axis coordinate of the teleport location. This can be attained by using the .gps command.

position_y

The

...

y-axis coordinate of the teleport location. This can be attained by using the .gps command.

position_z

The

...

z-axis coordinate of the teleport location. This can be attained by using the .gps command.

orientation

The

...

direction that the player will face after arriving at the teleport location. This can be attained by using the .gps command.

(North = 0, South = 3.14159)

map

The map ID of the location. See Map.dbc

name

...

A descriptive name

...

for the teleport location. The name

...

cannot have any spaces in it. It is also not recommended to use special characters such as periods, commas, slashes, etc...