[Fixed]:
- Latest client support completed! git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6880 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
428c7271fd
commit
7cebf95264
@ -36,7 +36,7 @@ npc: npc/custom/adoption.txt
|
|||||||
// -- Reset NPC
|
// -- Reset NPC
|
||||||
//npc: npc/custom/jobs/reset.txt
|
//npc: npc/custom/jobs/reset.txt
|
||||||
// -- Job Changer
|
// -- Job Changer
|
||||||
//npc: npc/custom/jobs/jobmaster.txt
|
npc: npc/custom/jobs/jobmaster.txt
|
||||||
// -- Healer(s)
|
// -- Healer(s)
|
||||||
//npc: npc/custom/healers/heal.txt
|
//npc: npc/custom/healers/heal.txt
|
||||||
//npc: npc/custom/healers/heal_payment.txt
|
//npc: npc/custom/healers/heal_payment.txt
|
||||||
@ -90,8 +90,8 @@ npc: npc/custom/adoption.txt
|
|||||||
//npc: npc/custom/Lance/FR_WeatherController.c
|
//npc: npc/custom/Lance/FR_WeatherController.c
|
||||||
//npc: npc/custom/Lance/FR_MailSystem.c
|
//npc: npc/custom/Lance/FR_MailSystem.c
|
||||||
//npc: npc/sample/npc_dynamic_shop.txt
|
//npc: npc/sample/npc_dynamic_shop.txt
|
||||||
//npc: npc/sample/monster_controller.cpp
|
npc: npc/sample/monster_controller.cpp
|
||||||
//npc: npc/custom/Lance/Sentry.cpp
|
npc: npc/custom/Lance/Sentry.cpp
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
@ -3112,6 +3112,7 @@ int parse_login(int fd) {
|
|||||||
memcpy(account.passwd, RFIFOP(fd,30), NAME_LENGTH);
|
memcpy(account.passwd, RFIFOP(fd,30), NAME_LENGTH);
|
||||||
account.passwd[23] = '\0';
|
account.passwd[23] = '\0';
|
||||||
remove_control_chars((unsigned char *)account.passwd);
|
remove_control_chars((unsigned char *)account.passwd);
|
||||||
|
ShowInfo("Login packet %s and %s with version %d\n", account.userid, account.passwd, account.version);
|
||||||
} else {
|
} else {
|
||||||
login_log("Request for connection (encryption mode) of %s (ip: %s)." RETCODE, account.userid, ip);
|
login_log("Request for connection (encryption mode) of %s (ip: %s)." RETCODE, account.userid, ip);
|
||||||
// If remove control characters from received password encrypted by md5,
|
// If remove control characters from received password encrypted by md5,
|
||||||
@ -3120,7 +3121,7 @@ int parse_login(int fd) {
|
|||||||
account.passwd[16] = '\0';
|
account.passwd[16] = '\0';
|
||||||
}
|
}
|
||||||
#ifdef PASSWORDENC
|
#ifdef PASSWORDENC
|
||||||
account.passwdenc = (RFIFOW(fd,0) == 0x64) ? 0 : PASSWORDENC;
|
account.passwdenc = (RFIFOW(fd,0) != 0x01dd) ? 0 : PASSWORDENC;
|
||||||
#else
|
#else
|
||||||
account.passwdenc = 0;
|
account.passwdenc = 0;
|
||||||
#endif
|
#endif
|
||||||
@ -3131,7 +3132,7 @@ int parse_login(int fd) {
|
|||||||
WFIFOW(fd,0) = 0x6a;
|
WFIFOW(fd,0) = 0x6a;
|
||||||
WFIFOB(fd,2) = 3; // 3 = Rejected from Server
|
WFIFOB(fd,2) = 3; // 3 = Rejected from Server
|
||||||
WFIFOSET(fd,23);
|
WFIFOSET(fd,23);
|
||||||
RFIFOSKIP(fd,(RFIFOW(fd,0) == 0x64) ? 55 : 47);
|
RFIFOSKIP(fd,packet_len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user