Fixed the client version check in the loginserver's ... now the servers
can connect XD (sex 0 fix) ^^ [Sirius] git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1068 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
392256874a
commit
0d0f7a544f
@ -1,5 +1,8 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
|
02/10
|
||||||
|
* Login/Login SQL: fixed the client version check function [Sirius]
|
||||||
|
|
||||||
02/09
|
02/09
|
||||||
* Added conf-tmpl/readme.txt, explaining the import folder [1066: Ajarn]
|
* Added conf-tmpl/readme.txt, explaining the import folder [1066: Ajarn]
|
||||||
* SQL Char: Rewrote the char_create function (now it's faster/optimized) [Sirius]
|
* SQL Char: Rewrote the char_create function (now it's faster/optimized) [Sirius]
|
||||||
|
@ -1122,11 +1122,13 @@ int mmo_auth(struct mmo_account* account, int fd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//EXE Version check [Sirius]
|
//EXE Version check [Sirius]
|
||||||
|
if(account->sex != 0){
|
||||||
if(check_client_version == 1){
|
if(check_client_version == 1){
|
||||||
if(account->version != client_version_to_connect){
|
if(account->version != client_version_to_connect){
|
||||||
return 5;
|
return 5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Strict account search
|
// Strict account search
|
||||||
for(i = 0; i < auth_num; i++) {
|
for(i = 0; i < auth_num; i++) {
|
||||||
|
@ -438,11 +438,13 @@ int mmo_auth( struct mmo_account* account , int fd){
|
|||||||
|
|
||||||
|
|
||||||
//check for lasted version (exe version check) [Sirius]
|
//check for lasted version (exe version check) [Sirius]
|
||||||
|
if(account->sex != 0){
|
||||||
if(check_client_version == 1){
|
if(check_client_version == 1){
|
||||||
if(account->version != client_version_to_connect){
|
if(account->version != client_version_to_connect){
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// make query
|
// make query
|
||||||
|
Loading…
x
Reference in New Issue
Block a user