Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

Issue Confirmations

  • Yes (0)No (0)
Photo

Setting Users Offline After Map Crash/dc

Posted by Hercules Bot on 05 April 2008 - 02:36 AM

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.

CODE
    } else if (character->server == server)
        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.

Originally posted by Ind
was fixed in a previous eA revision (it does send them offline + free the data atm)