diff options
Diffstat (limited to 'src/login/login.h')
-rw-r--r-- | src/login/login.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/login/login.h b/src/login/login.h index b810a5412..8589bf004 100644 --- a/src/login/login.h +++ b/src/login/login.h @@ -13,9 +13,10 @@ #define START_ACCOUNT_NUM 2000000
#define END_ACCOUNT_NUM 100000000
+int login_port;
struct mmo_account {
char* userid;
- char* passwd;
+ char passwd[33];
int passwdenc;
long account_id;
@@ -27,7 +28,7 @@ struct mmo_account { };
struct mmo_char_server {
- char name[20];
+ char name[21];
long ip;
short port;
int users;
@@ -35,4 +36,6 @@ struct mmo_char_server { int new;
};
+struct mmo_char_server server[MAX_SERVERS];
+int server_fd[MAX_SERVERS];
#endif
|