Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

접속종료후 다른 서버로 접속시 프로그램 작동안함 #4

Closed
lkl089 opened this issue Jun 26, 2016 · 4 comments
Closed

Comments

@lkl089
Copy link

lkl089 commented Jun 26, 2016

예를들어 리바서버에서 플레이 하다가 접속 종료후 시바서버 캐릭터로 접속하면
매칭상황 업데이트 안됨 (게임 재시작이 아닌 서버변경)

오류로그는 없음

@lalafellsleep
Copy link
Contributor

lalafellsleep commented Jun 28, 2016

@devunt
Flag 0x011 (FIN) 패킷이 서버로 두번, 클라이언트로 두번 전송됩니다.
같은 서버로 재접속 (환상약 등)시에도 동일 현상이 발생하고 있습니다.

접속 시에는 0x002 (서버로) 0x012 (클라이언트로) 패킷이 송수신 되는 듯 합니다.

@devunt
Copy link
Owner

devunt commented Jun 28, 2016

@laiglinne-ff https://github.com/devunt/DFAssist/blob/master/App/Network.cs#L194 이미 지금도 FIN/RST 패킷 처리는 구현되어 있으나 어떤 이유로 제대로 동작이 안 하는 것 같네요. 확인중에 있습니다.

@lalafellsleep
Copy link
Contributor

@devunt 그렇군요 (mm

devunt added a commit that referenced this issue Jun 28, 2016
@devunt
Copy link
Owner

devunt commented Jun 28, 2016

오작동하고 있던 FIN/RST 부분을 해결해서 커밋하긴 했으나 FIN/RST 패킷 등을 이용해서 연결 해제를 즉시 감지해서 표시해주는 기능이 패킷 필터링 성능 저하를 감수할만큼의 실익은 없다고 생각해서 그냥 동시에 전체 부분을 주석처리 해 놨습니다.

어차피 30초에 한번씩 현재 서버 연결 목록을 체크하니까 최악의 경우 30초 늦게 연결 해제를 감지하겠지만 그로부터 얻어지는 전체적인 패킷 필터링 성능 향상을 생각해 보면 나쁘지 않은 결정인 것 같네요 :)

@devunt devunt closed this as completed Jun 28, 2016
devunt pushed a commit that referenced this issue Jul 22, 2016
Component 이름을 원작자 이름 규칙에 맞추어 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants