summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/login/login.h b/src/login/login.h
index e79f44626..bedf5e179 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -21,7 +21,6 @@ enum E_LOGINSERVER_ST
#define PASSWORDENC 3
struct login_session_data {
-
int account_id;
long login_id1;
long login_id2;
@@ -38,6 +37,9 @@ struct login_session_data {
uint8 clienttype;
uint32 version;
+ uint8 client_hash[16];
+ int has_client_hash;
+
int fd;
};
@@ -52,6 +54,12 @@ struct mmo_char_server {
uint16 new_; // should display as 'new'?
};
+struct client_hash_node {
+ int group_id;
+ uint8 hash[16];
+ struct client_hash_node *next;
+};
+
struct Login_Config {
uint32 login_ip; // the address to bind to
@@ -78,6 +86,9 @@ struct Login_Config {
char dnsbl_servs[1024]; // comma-separated list of dnsbl servers
char account_engine[256]; // name of the engine to use (defaults to auto, for the first available engine)
+
+ int client_hash_check; // flags for checking client md5
+ struct client_hash_node *client_hash_nodes; // linked list containg md5 hash for each gm group
};
#define sex_num2str(num) ( (num == SEX_FEMALE ) ? 'F' : (num == SEX_MALE ) ? 'M' : 'S' )