libspades
Ace of Spades library
PacketPositionData Struct Reference

Changes the position of the client player. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 0 (Client<->Server)
 
float xPosition
 The X position to move the client player (left-to-right)
 
float yPosition
 The Y position to move the client player (forward-to-backward)
 
float zPosition
 The Z position to move the client player (up-to-down)
 

Detailed Description

Changes the position of the client player.

Note
NaN values will cause the player to get immediately kicked on most servers.
Piqueserver bug
NaN values will also bypass votekicks, and allow the player to rejoin with no repurcussions.
Piqueserver bug
Trusted players on piqueserver have rubberbanding disabled, which allows them to teleport anywhere on the map! (Even Z level 18446744073709551616!)
Piqueserver bug
Player positions are not limited to the map's dimensions. I suggest a position limit of at least something like {0, 0, 63} to {512, 512, -8}
Piqueserver bug
Players can no-clip into blocks by simply teleporting into them.

The documentation for this struct was generated from the following file: