Issue Information
-
#001318
-
3 - Medium
-
Fixed
Issue Confirmations
-
Yes (0)No (0)
Originally posted by Kevin
http://www.eathena.w...er&showbug=1318
There is a bug with setting users offline when a map server disconnects/crashes.
This is a timer subroutine that is called when a map server disconnects (either disconnected or crashed). There is no way to tell if the map server just crashed or disconnected since both are unforeseeable occurrences.
My suggestion is to assume the character is offline, and if the map happens to reconnect after a DC (not a crash), it'll send a packet that says it was just a DC, and sends a new user count and the auth info for them.
http://www.eathena.w...er&showbug=1318
There is a bug with setting users offline when a map server disconnects/crashes.
CODE
} else if (character->server == server)
character->server = -2; //In some map server that we aren't connected to.
character->server = -2; //In some map server that we aren't connected to.
This is a timer subroutine that is called when a map server disconnects (either disconnected or crashed). There is no way to tell if the map server just crashed or disconnected since both are unforeseeable occurrences.
My suggestion is to assume the character is offline, and if the map happens to reconnect after a DC (not a crash), it'll send a packet that says it was just a DC, and sends a new user count and the auth info for them.