- 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
This commit is contained in:
FlavioJS 2006-12-23 06:46:54 +00:00
parent 52245f90b9
commit 4f69a66df6
3 changed files with 1 additions and 6 deletions

View File

@ -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"

View File

@ -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];

View File

@ -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];