(WIP) 스파르타) Node.js 5기 게임 서버 최종 프로젝트 (D-5)
학습 키워드: C#, .NET, Recast & Detour, DotRecast
1. Progress
1) 디버깅:
GitHub - donkim1212/PathfindingDediServer: (WIP) 내배캠 스파르타 Node.js 5기 Team 12 최종 프로젝트 The Last Rollba
(WIP) 내배캠 스파르타 Node.js 5기 Team 12 최종 프로젝트 The Last Rollback에서 사용될 길찾기 전용 서버 입니다. - donkim1212/PathfindingDediServer
github.com
(24-08-22 일자 'dev' branch commit history 확인)
2. Troubleshooting
1) 동시성 문제로 에러 발생 (해결):
몬스터 사망 시 제거하는 기능이 추가되면서 위 문제가 생기기 시작했다. 여러 개의 작업이 동시에 진행되면서 몬스터 사망 시 DtCrowdAgent를 지울 때 진행되던 작업에서 필요한 agent가 사라져 위와 같은 에러가 출력되는 것이었다.
에이전트 배열에 관여하는 모든 작업에서 null 처리를 해주면서 문제가 사라졌다.
--
REFERENCES:
https://github.com/eliotjang/the-last-rollback-server
> The Last Rollback - 메인 서버 repo
https://github.com/donkim1212/PathfindingDediServer
> The Last Rollback - Pathfinding Dedicated Server repo