generated from AfonsoCMSousa/CPP-Template
Fix: Small patch
This commit is contained in:
parent
3e96227be7
commit
3fa53d741c
BIN
PlayerTracker
BIN
PlayerTracker
Binary file not shown.
@ -21,8 +21,9 @@
|
||||
const char *API_SOCKET_PATH = "/tmp/ACplayer_socket";
|
||||
|
||||
const int MAX_PLAYERS = 64;
|
||||
const int SERVER_ID = 137;
|
||||
const char *SERVER_OUT_IP = "127.0.0.1";
|
||||
|
||||
int SERVER_ID;
|
||||
api_packet current_packet;
|
||||
int apiSent = 0;
|
||||
|
||||
@ -209,7 +210,7 @@ int main(int argc, char *argv[]) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
char *SERVER_OUT_IP = argv[1];
|
||||
SERVER_ID = atoi(argv[1]);
|
||||
int SERVER_IN_PORT = atoi(argv[2]);
|
||||
int SERVER_OUT_PORT = atoi(argv[3]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user