#define REGTRACKER "209.223.64.250" //The scanner machine at Outrage
#define REGPORT 2092 //The UDP port
#define PILOTTRACKERNAME "ut.parallaxonline.com"
#endif
#define PILOT_REQ_TIMEOUT 30.000
#define PILOT_REQ_RESEND_TIME 2.0
#define MAX_NET_RETRIES 30
#define NET_ACK_TIMEOUT 1.5
//This is for type
#define UNT_CONTROL 0
#define UNT_NEW_ID_REQUEST 1
#define UNT_VALIDAT_ID_REQUEST 2
#define UNT_LOOKUP_ID_REQUEST 3
#define UNT_UPDATE_ID_REQUEST 4
#define UNT_MOTD_REQUEST 5
#define UNT_MOTD_RESPONSE 6
#define UNT_PILOT_DATA_READ 7 //Request from the game for pilot info
#define UNT_PILOT_DATA_RESPONSE 8 //Mastertracker's response to a read request (has pilot data in this packet)
#define UNT_PILOT_DATA_WRITE 9 //Request from the server to write a user record
#define UNT_PILOT_WRITE_FAILED 10 //Server didn't update the pilots record for some reason
#define UNT_PILOT_WRITE_SUCCESS 11 //Server updated the pilots record
#define UNT_PILOT_READ_FAILED 12 //Couldn't find the record
#define UNT_LOGIN_AUTH_REQUEST 13 //Request login authentication by login/password only (returns tracker id)
#define UNT_LOGIN_NO_AUTH 14 //Couldn't login this user (code has reason)
#define UNT_LOGIN_AUTHENTICATED 15 //User was authenticated (data has sz string with tracker id)
#define UNT_TRACKER_VERSION_REQ 16 //Request the latest MT version (xcode has game type) code has present version
#define UNT_TRACKER_VERSION_RSP 17 //Response for the latest MT version (xcode has game type) code has version data has null term string with url for dll to download
//This is for code
#define CMD_NEW_USER_ACK 1
#define CMD_NEW_USER_NAK 2
#define CMD_VALIDATED_USER_ACK 3
#define CMD_UPDATED_USER_ACK 4
#define CMD_CLIENT_RECEIVED 5
#define CMD_FIND_USER_NAK 6
#define CMD_FIND_USER_ACK 7
#define CMD_UPDATED_USER_NAK 8
#define CMD_VALIDATED_USER_NAK 9
//Game designators for UNT_PILOT_DATA_REQUEST and UNT_PILOT_DATA_RESPONSE
#define CMD_GAME_FREESPACE 10
#define CMD_GAME_DESCENT3 11
//This is for xcode
#define REG_NAK_EMAIL 0 // failed to register the guy because of an invalid email address
#define REG_NAK_LOGIN 1 // failed to register the guy because an existing login exists
#define REG_NAK_ERROR 2 // failed to register because of an error on the tracker
#define REG_NAK_STRINGS 3 // failed to validate because of invalid password/login match
#define REG_NAK_UNKNOWN 4 // failed to validate because the player is unknown
#define REG_NAK_UPDATE_PL 5 // update info failed because login/passwd were not correct
#define REG_NAK_UPDATE_GEN 6 // update info failed in general (tracker problem)
#define REG_NAK_UPDATE_LOG 7 // update failed because login not found
#define REG_ACK_NEW_ID 8 // New id created, just used for return code, not net packets.