From 23165b7d1f7aa6af503261f68ef909f56e1a7584 Mon Sep 17 00:00:00 2001 From: cxxpxr <60411087+cxxpxr@users.noreply.github.com> Date: Thu, 8 Apr 2021 19:41:55 -0400 Subject: [PATCH 1/5] Fix wrong port, was 7070 but it should be 7777 as default --- .../Assets/Mirror/Runtime/Transport/LRM/Editor/LRMInspector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/Editor/LRMInspector.cs b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/Editor/LRMInspector.cs index 92cd7ef..6388fa4 100644 --- a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/Editor/LRMInspector.cs +++ b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/Editor/LRMInspector.cs @@ -16,7 +16,7 @@ namespace LightReflectiveMirror [CustomEditor(typeof(LightReflectiveMirrorTransport))] public class LRMInspector : Editor { - int serverPort = 7070; + int serverPort = 7777; string serverIP; float invalidServerIP = 0; bool usingLLB = false; From 358169d8b63a2270c9a8ed2965b659db513126e9 Mon Sep 17 00:00:00 2001 From: cxxpxr <60411087+cxxpxr@users.noreply.github.com> Date: Thu, 8 Apr 2021 20:46:24 -0400 Subject: [PATCH 2/5] Update LightReflectiveMirrorTransport.cs --- .../LRM/LRMTransport/LightReflectiveMirrorTransport.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs index a1f19ad..3b1c5aa 100644 --- a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs +++ b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs @@ -12,7 +12,6 @@ namespace LightReflectiveMirror [DefaultExecutionOrder(1001)] public partial class LightReflectiveMirrorTransport : Transport { - private void OnConnectedToRelay() => _connectedToRelay = true; public bool IsAuthenticated() => _isAuthenticated; private void Awake() { @@ -61,6 +60,12 @@ namespace LightReflectiveMirror serverStatus = "Disconnected from relay."; } + private void OnConnectedToRelay() + { + _connectedToRelay = true; + RequestServerList(); + } + public void ConnectToRelay() { if (!useLoadBalancer) From 2024333142df8989a34c4f3babb8f24f26b0000d Mon Sep 17 00:00:00 2001 From: Derek S <44935661+Derek-R-S@users.noreply.github.com> Date: Fri, 9 Apr 2021 00:01:39 -0500 Subject: [PATCH 3/5] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1b7c595..dea6fbd 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ LoadBalancer [![Build status](http://monk3.xyz:90/api/projects/status/kh6awelf16hl5um4/branch/main?retina=true)](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-canqw/branch/main) +[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/derekrs/lrm_loadbalancer?style=for-the-badge)] (https://hub.docker.com/repository/docker/derekrs/lrm_loadbalancer) + + Unity Package [![Build status](http://monk3.xyz:90/api/projects/status/n7kiywl2ls67pn5c?retina=true)](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-wdkoo) From 566402eb9bb343a5703445713e28d67ce4276279 Mon Sep 17 00:00:00 2001 From: Derek S <44935661+Derek-R-S@users.noreply.github.com> Date: Fri, 9 Apr 2021 00:02:50 -0500 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dea6fbd..25d93a0 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ LoadBalancer [![Build status](http://monk3.xyz:90/api/projects/status/kh6awelf16hl5um4/branch/main?retina=true)](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-canqw/branch/main) -[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/derekrs/lrm_loadbalancer?style=for-the-badge)] (https://hub.docker.com/repository/docker/derekrs/lrm_loadbalancer) +[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/derekrs/lrm_loadbalancer?style=for-the-badge)] (https://hub.docker.com/r/derekrs/lrm_loadbalancer) Unity Package From 74d63c065ed20e2a9537620963e4b428f87ed21e Mon Sep 17 00:00:00 2001 From: Derek S <44935661+Derek-R-S@users.noreply.github.com> Date: Fri, 9 Apr 2021 00:03:57 -0500 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25d93a0..1f2320c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ LoadBalancer [![Build status](http://monk3.xyz:90/api/projects/status/kh6awelf16hl5um4/branch/main?retina=true)](http://monk3.xyz:90/project/AppVeyor/light-reflective-mirror-canqw/branch/main) -[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/derekrs/lrm_loadbalancer?style=for-the-badge)] (https://hub.docker.com/r/derekrs/lrm_loadbalancer) +[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/derekrs/lrm_loadbalancer?style=for-the-badge)](https://hub.docker.com/r/derekrs/lrm_loadbalancer) Unity Package