- Made the map server send list of characters online to the char-server on reconnection regardless of "kick_on_disconnect" setting, as otherwise, a temporary disconnection would make the char-server tag all characters offline and refuse to save them afterwards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7399 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
2cc518428c
commit
c7d866a034
@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2006/05/29
|
2006/05/29
|
||||||
|
* Made the map server send list of characters online to the char-server on
|
||||||
|
reconnection regardless of "kick_on_disconnect" setting, as otherwise, a
|
||||||
|
temporary disconnection would make the char-server tag all characters
|
||||||
|
offline and refuse to save them afterwards. [Skotlex]
|
||||||
* Fixed guild storage being "eternally in use" if you quit/logout before
|
* Fixed guild storage being "eternally in use" if you quit/logout before
|
||||||
closing it. [Skotlex]
|
closing it. [Skotlex]
|
||||||
* Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
|
* Ending SC_CLOAK/SC_HIDE/SC_CHASEWALK will now trigger ontouch npcs.
|
||||||
|
@ -413,8 +413,7 @@ int chrif_sendmapack(int fd)
|
|||||||
chrif_state = 2;
|
chrif_state = 2;
|
||||||
|
|
||||||
//If there are players online, send them to the char-server. [Skotlex]
|
//If there are players online, send them to the char-server. [Skotlex]
|
||||||
if (!kick_on_disconnect)
|
send_users_tochar(-1, gettick(), 0, 0);
|
||||||
send_users_tochar(-1, gettick(), 0, 0);
|
|
||||||
|
|
||||||
//Re-save any storages that were modified in the disconnection time. [Skotlex]
|
//Re-save any storages that were modified in the disconnection time. [Skotlex]
|
||||||
do_reconnect_storage();
|
do_reconnect_storage();
|
||||||
|
@ -33,7 +33,7 @@ void trade_traderequest(struct map_session_data *sd, struct map_session_data *ta
|
|||||||
return; //Can't trade in notrade mapflag maps.
|
return; //Can't trade in notrade mapflag maps.
|
||||||
}
|
}
|
||||||
|
|
||||||
if (target_sd == NULL || sd == target_sd) {
|
if (target_sd == NULL || sd == target_sd) {
|
||||||
clif_tradestart(sd, 1); // character does not exist
|
clif_tradestart(sd, 1); // character does not exist
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user