Browse Source

- Merged START_ACCOUNT_NUM and END_ACCOUNT_NUM moved from login.h to mmo.h
- Merged more helpfull error messages when packet_ver=-1. (no more "clif_parse: Disconnecting session #XX for not having latest client version (has version -1)." messages).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9564 54d463be-8e91-2dee-dedb-b68131a5f0ec

FlavioJS 18 years ago
parent
commit
4f69a66df6
3 changed files with 1 additions and 6 deletions
  1. 0 2
      src/login/login.h
  2. 0 3
      src/login_sql/login.h
  3. 1 1
      src/map/clif.h

+ 0 - 2
src/login/login.h

@@ -4,8 +4,6 @@
 #ifndef _LOGIN_H_
 #define _LOGIN_H_
 
-#include "../common/mmo.h"
-
 #define MAX_SERVERS 30
 
 #define LOGIN_CONF_NAME "conf/login_athena.conf"

+ 0 - 3
src/login_sql/login.h

@@ -25,9 +25,6 @@
 							// It is made into 2 at the time of passwordencrypt2.
 							// When it is made 3, it corresponds to both.
 
-#define START_ACCOUNT_NUM	  2000000
-#define END_ACCOUNT_NUM		100000000
-
 struct mmo_account {
 	int version;	//Added by sirius for versioncheck
 	char userid[NAME_LENGTH];

+ 1 - 1
src/map/clif.h

@@ -45,7 +45,7 @@ enum {
 	DUEL_WOS
 };
 
-// packet_db[SERVER] is reserver for server use
+// packet_db[SERVER] is reserved for server use
 #define SERVER 0
 #define packet_len(x) packet_db[SERVER][x].len
 extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];