Difference between revisions of "Sectorid"

From Vendetta Lua
Jump to: navigation, search
Line 1: Line 1:
 
The sectorid is a numeric value representing a sector in the universe. Currently it's ranging from 1 (Sol II A-1) to 7680 (Dantia P-16)
 
The sectorid is a numeric value representing a sector in the universe. Currently it's ranging from 1 (Sol II A-1) to 7680 (Dantia P-16)
 +
 +
Given systemid (s), and coordinates (x, y), you could determine the sectorid mathematically using the following formula
 +
 +
sectorid = (s-1)*256 + (x-1)*16 + y
  
 
= See Also =
 
= See Also =

Revision as of 22:06, 26 June 2009

The sectorid is a numeric value representing a sector in the universe. Currently it's ranging from 1 (Sol II A-1) to 7680 (Dantia P-16)

Given systemid (s), and coordinates (x, y), you could determine the sectorid mathematically using the following formula

sectorid = (s-1)*256 + (x-1)*16 + y

See Also