
04-25-2008, 01:10 AM
|
Fire Beetle
|
|
Join Date: Nov 2004
Posts: 12
|
|
MQWarp/MQZone/MQGate Detector Discussion
Quote:
Originally Posted by TheLieka
Example:
Legitimate Zone Request: - Fault is running through the tunnel in East Commonlands to meet up with his guild, he hits the North Ro zone point line.
- Fault's client sends a zone request to the server.
- The server checks Fault's last player position update location (his x, y, and z in East Commonlands) for the closest zone point in the table for East Commonlands.
- The server sees that based on Fault's location of
Code:
(y, x, z = -2444, -62.5, 3.8)
in the East Commons, the closest zone point is:
Code:
(id, zone, number, y, x, z, heading, target_y, target_x, target_z, target_heading, zoneinst, target_zone_id)
575, 'ecommons', 1, -2462, -105, 3.13, 0, 2604, 2903, 3.13, 999, 0, 34
- The server checks the distance between Fault and the zonepoint (sqrt(-2444 - -2462)^2 + (-62.5 - -105)^2). This answer is 2130.25.
- Since the distance between fault and the zoneline is less than 4000, the server determines that the zone request is valid, and processes it.
|
Not sure if I understood this correctly or not, but when his distance is less than 4000 does the code check to make sure he's actually zoning into nro (zone_id 34) or could he stand near the nro zone and type /zone to get to nexus?
|