This is for you GURU of network/thread programming: probably I'm not closing the thread or connection to the map server correctly because also when the program is closed the server still recognizes a user playing.
Refer to: map_server.cpp, main.cpp
Correct disconnection
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
i think (from what i know..) this is how it should be done:
-login: ->login server->success->close socket
-char: ->char server->success->close socket
-map: ->map server->success->close
but the vidar login server will not say any disconnection
only connections
try to set in vidar.ini: 'LLog=1'
and look at vidar\vdata\vlog\vlog.txt
to see the disconnections ^^
-login: ->login server->success->close socket
-char: ->char server->success->close socket
-map: ->map server->success->close
but the vidar login server will not say any disconnection
only connections
try to set in vidar.ini: 'LLog=1'
and look at vidar\vdata\vlog\vlog.txt
to see the disconnections ^^
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
-- shimokawa natsuki --
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact: