Rewrote packet system to work on servers