본문 바로가기

DarkRift26

* DarkRift 2 다중 포트 사용하기. 여러 아이피를 가지고 서버를 구동할 수도 있지만, 하나의 아이피를 사용해서 여러 콘솔을 띄울 수 있다. 위에서 로그를 보면, 중간에 DarkRift.Server.Plugins.HealthCheck.HttpHealthCheck.Loaded 어쩌구가 있다. 이 에러는 HealthCheck 플러그인과 상관관계가 있음을 알 수 있다. * HealthCheck 공식 문서 가이드 https://www.darkriftnetworking.com/DarkRift2/Docs/2.10.1/advanced/health_checks.html Health Checks Health Checks Health checks provide an indication as to whether a server is working and is .. 2022. 8. 9.
DarkRift 2 디버그 방법 및 유니티 상에서 접속하기. 1. Logger 클래스 사용 [Info] 형태로 콘솔 상으로 출력됨. 2. 유니티에서 다크리프트 (특정 서버) 접속(그리고 접속 해제) 방법 [SerializedField] UnityClient myServerCli; [SerializedField] string ip; [SerializedField] string port; private void Awake() { ConnectServer(myServerCli,ip,port); } private void ConnectServer(UnityClient client, string ip, ushort port) { client.MessageReceived += OnMyServerMessageReceived; client.Address = IPAddress.P.. 2022. 8. 2.
DarkRift 2 빌드 후 처리 이벤트 1. 솔루션 내의 서버 프로젝트 xcopy /y "$(SolutionDir)LogicServer\bin\Debug\LogicServer.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\" 2. 솔루션 내의 서버 모델 프로젝트 xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"Assets\Plugins\" xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\" ** 주의 ㄱ. 빌드 후 처리 이벤트가.. 2022. 8. 2.