Link Search Menu Expand Document

Entity Index

Game entities (players and NPCs) each possess a unique entity index that can identify them. This index ranges from 1 to 2,047 for players and from 0 to 32,766 for NPCs. The indexes for NPCs and players are separate and do not overlap.

The player index is also referred to as Player identification number (PID).

Uses

The indexes are used to identify players and NPCs in various packets and update masks. Here is a non-extensive list of them: