Issue information

Issue ID
#1027
Status
Unable to Fix
Severity
None
Started
Hercules Elf Bot
Feb 22, 2008 0:10
Last Post
Hercules Elf Bot
Feb 22, 2008 0:10
Confirmation
N/A

Hercules Elf Bot - Feb 22, 2008 0:10

Originally posted by [b]Ai4rei[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1027

While playing around with the map server i noticed, that when it disconnects from char server, following message comes after reconnecting:
QUOTE
[Error]: Unknown packet 0x4950 from map server, disconnecting.


How to reproduce:
  • Start login&char server normally (from binary)
  • Load map server into debugger.
  • Run map server, until it's done loading.
  • Pause the map server process until char server diconnects from map server.
  • Resume the map server process.
Messages from char server:
QUOTE
<char server loading output>
<20 castles loaded>
<10 guilds loaded>
<10 guilds unloaded>

[Info]: Session #3 timed out <-- disconnect because of paused map server process
[Status]: Map-server 0 (session #3) has disconnected.
[Error]: Unknown packet 0x4950 from map server, disconnecting.
[Status]: Map-server 0 (session #3) has disconnected.
[Status]: Map-Server 0 connected: 677 maps, from IP x.x.x.x port 6521.
[Status]: Map-server 0 loading complete.
<10 guilds loaded>
<10 guilds unloaded>

[Error]: Unknown packet 0x4950 from map server, disconnecting.
[Status]: Map-server 0 (session #3) has disconnected.
[Status]: Map-Server 0 connected: 677 maps, from IP x.x.x.x port 6521.
[Status]: Map-server 0 loading complete.
<10 guilds loaded>
[Error]: Unknown packet 0x4950 from map server, disconnecting.
[Status]: Map-server 0 (session #3) has disconnected.
[Status]: Map-Server 0 connected: 677 maps, from IP x.x.x.x port 6521.
[Status]: Map-server 0 loading complete.
<10 guilds unloaded>
[Error]: Unknown packet 0x4950 from map server, disconnecting.
[Status]: Map-server 0 (session #3) has disconnected.
[Status]: Map-Server 0 connected: 677 maps, from IP x.x.x.x port 6521.
[Status]: Map-server 0 loading complete.
<10 guilds loaded>
<and so on....>


Messages from map server:
QUOTE
<map server loading output>
[Info]: Session #3 timed out <-- disconnect because of paused map server process
[Warning]: Map Server disconnected from Char Server.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to x.x.x.x:5211
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
[Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Info]: From login-server: receiving information of '11' GM accounts.
[Warning]: Map Server disconnected from Char Server.

[Status]: Connecting to x.x.x.x:5211
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
[Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Info]: From login-server: receiving information of '11' GM accounts.
[Status]: Map sending complete. Map Server is now online.
[Info]: Received Fame List of '30' characters.
[Warning]: Map Server disconnected from Char Server.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to x.x.x.x:5211
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
[Status]: Event 'OnCharIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Info]: From login-server: receiving information of '11' GM accounts.
[Status]: Map sending complete. Map Server is now online.
[Info]: Received Fame List of '30' characters.
[Warning]: Map Server disconnected from Char Server.
<and so on....>


Notes:
- Login server gives no output about this.
- The "[Status]: Attempting to connect to Char Server. Please wait." isn't forgotten in 2nd block in map server's output, it isn't present.
- The problem is present for longer while, i don't think it is related to some recent updates.
- Testing environment: Windows XP, and Visual Studio 2005.

This post has been edited by Ai4rei: Feb 21 2008, 04:12 PM