* Moved all changes in the SVN to a new SVN-Changelog.txt
* Synchronise storage as well when saving character * Added fix for super novices' Guardian Angel system crashing * Check if login server is online before setting character to online (in SQL) git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1076 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
86cad0c7fe
commit
e4bf61cf00
1820
Changelog.txt
1820
Changelog.txt
File diff suppressed because it is too large
Load Diff
1827
SVN-Changelog.txt
Normal file
1827
SVN-Changelog.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -173,7 +173,9 @@ void set_char_online(int char_id, int account_id) {
|
||||
}
|
||||
}
|
||||
|
||||
WFIFOW(login_fd,0) = 0x272b;
|
||||
if (login_fd <= 0 || session[login_fd]->eof)
|
||||
return;
|
||||
WFIFOW(login_fd,0) = 0x272b;
|
||||
WFIFOL(login_fd,2) = account_id;
|
||||
WFIFOSET(login_fd,6);
|
||||
|
||||
|
@ -112,6 +112,8 @@ int chrif_save(struct map_session_data *sd)
|
||||
memcpy(WFIFOP(char_fd,12), &sd->status, sizeof(sd->status));
|
||||
WFIFOSET(char_fd, WFIFOW(char_fd,2));
|
||||
|
||||
storage_storage_save(sd); // to synchronise storage with character [Yor]
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -7955,7 +7955,7 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c <
|
||||
// Celest
|
||||
if (pc_calc_base_job2 (sd->status.class_) == 23 ) {
|
||||
int next = pc_nextbaseexp(sd)>0 ? pc_nextbaseexp(sd) : sd->status.base_exp;
|
||||
if ((sd->status.base_exp*100/next)%10 == 0) {
|
||||
if (next > 0 && (sd->status.base_exp*100/next)%10 == 0) {
|
||||
estr_lower((char*)RFIFOP(fd,4));
|
||||
if (sd->state.snovice_flag == 0 && strstr((char*)RFIFOP(fd,4), msg_txt(540)))
|
||||
sd->state.snovice_flag = 1;
|
||||
|
@ -4518,7 +4518,7 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
|
||||
if (s_class.job == 23) {
|
||||
if ((i=pc_nextbaseexp(sd))<=0)
|
||||
i=sd->status.base_exp;
|
||||
if ((j=sd->status.base_exp*1000/i)>=990 && j<=1000)
|
||||
if (i>0 && (j=sd->status.base_exp*1000/i)>=990 && j<=1000)
|
||||
sd->state.snovice_flag = 4;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user