- 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:
parent
52245f90b9
commit
4f69a66df6
@ -4,8 +4,6 @@
|
|||||||
#ifndef _LOGIN_H_
|
#ifndef _LOGIN_H_
|
||||||
#define _LOGIN_H_
|
#define _LOGIN_H_
|
||||||
|
|
||||||
#include "../common/mmo.h"
|
|
||||||
|
|
||||||
#define MAX_SERVERS 30
|
#define MAX_SERVERS 30
|
||||||
|
|
||||||
#define LOGIN_CONF_NAME "conf/login_athena.conf"
|
#define LOGIN_CONF_NAME "conf/login_athena.conf"
|
||||||
|
@ -25,9 +25,6 @@
|
|||||||
// It is made into 2 at the time of passwordencrypt2.
|
// It is made into 2 at the time of passwordencrypt2.
|
||||||
// When it is made 3, it corresponds to both.
|
// When it is made 3, it corresponds to both.
|
||||||
|
|
||||||
#define START_ACCOUNT_NUM 2000000
|
|
||||||
#define END_ACCOUNT_NUM 100000000
|
|
||||||
|
|
||||||
struct mmo_account {
|
struct mmo_account {
|
||||||
int version; //Added by sirius for versioncheck
|
int version; //Added by sirius for versioncheck
|
||||||
char userid[NAME_LENGTH];
|
char userid[NAME_LENGTH];
|
||||||
|
@ -45,7 +45,7 @@ enum {
|
|||||||
DUEL_WOS
|
DUEL_WOS
|
||||||
};
|
};
|
||||||
|
|
||||||
// packet_db[SERVER] is reserver for server use
|
// packet_db[SERVER] is reserved for server use
|
||||||
#define SERVER 0
|
#define SERVER 0
|
||||||
#define packet_len(x) packet_db[SERVER][x].len
|
#define packet_len(x) packet_db[SERVER][x].len
|
||||||
extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];
|
extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user