{"action":"opened","issue":{"url":"https://api.github.com/repos/BeardedManStudios/ForgeNetworkingRemastered/issues/142","repository_url":"https://api.github.com/repos/BeardedManStudios/ForgeNetworkingRemastered","labels_url":"https://api.github.com/repos/BeardedManStudios/ForgeNetworkingRemastered/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/BeardedManStudios/ForgeNetworkingRemastered/issues/142/comments","events_url":"https://api.github.com/repos/BeardedManStudios/ForgeNetworkingRemastered/issues/142/events","html_url":"https://github.com/BeardedManStudios/ForgeNetworkingRemastered/issues/142","id":309199022,"number":142,"title":"Servers cannot update their master server listing","user":{"login":"g-klein","id":7831666,"avatar_url":"https://avatars0.githubusercontent.com/u/7831666?v=4","gravatar_id":"","url":"https://api.github.com/users/g-klein","html_url":"https://github.com/g-klein","followers_url":"https://api.github.com/users/g-klein/followers","following_url":"https://api.github.com/users/g-klein/following{/other_user}","gists_url":"https://api.github.com/users/g-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/g-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-klein/subscriptions","organizations_url":"https://api.github.com/users/g-klein/orgs","repos_url":"https://api.github.com/users/g-klein/repos","events_url":"https://api.github.com/users/g-klein/events{/privacy}","received_events_url":"https://api.github.com/users/g-klein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T02:29:36Z","updated_at":"2018-03-28T02:29:36Z","closed_at":null,"author_association":"NONE","body":"### Version Number and Operating System(s):\r\nWindows + latest forge\r\n\r\n### Expected behavior:\r\nCalling NetworkManager.Instance.UpdateMasterServerListing(NetworkManager.Instance.Networker); will update the master server listing\r\n\r\n### Actual behavior:\r\nGiant error:\r\n```Message: Argument is out of range.\r\nParameter name: offset+size exceeds the size of buffer\r\n  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0 \r\n  at BeardedManStudios.Forge.Networking.BaseTCP.GetNextBytes (System.Net.Sockets.NetworkStream stream, Int32 available, Boolean usingMask) [0x0011e] in C:\\git\\ForgeNetworkingRemastered\\BeardedManStudios\\Source\\Forge\\Networking\\BaseTCP.cs:114 \r\n  at BeardedManStudios.Forge.Networking.TCPClientBase.Read () [0x00105] in C:\\git\\ForgeNetworkingRemastered\\BeardedManStudios\\Source\\Forge\\Networking\\TCPClientBase.cs:278 \r\n  at BeardedManStudios.Forge.Networking.TCPClient.ReadAsync () [0x00005] in C:\\git\\ForgeNetworkingRemastered\\BeardedManStudios\\Source\\Forge\\Networking\\TCPClient.cs:49 \r\nUnityEngine.Debug:LogError(Object)\r\nBMSLogger:LogException(String) (at Assets/Bearded Man Studios Inc/Scripts/Logging/BMSLogger.cs:128)\r\nBeardedManStudios.Forge.Logging.BMSLog:InternalLog(Logtype, String, Object[]) (at C:/git/ForgeNetworkingRemastered/BeardedManStudios/Source/Forge/Logging/BMSLog.cs:107)\r\nBeardedManStudios.Forge.Logging.BMSLog:LogException(Exception) (at C:/git/ForgeNetworkingRemastered/BeardedManStudios/Source/Forge/Logging/BMSLog.cs:54)\r\nBeardedManStudios.Forge.Networking.TCPClient:ReadAsync() (at C:/git/ForgeNetworkingRemastered/BeardedManStudios/Source/Forge/Networking/TCPClient.cs:66)\r\nBeardedManStudios.Threading.<>c__DisplayClass1_0:<Queue>b__0(Object) (at C:/git/ForgeNetworkingRemastered/BeardedManStudios/Source/Threading/Task.cs:72)```\r\n\r\n\r\n### Steps to reproduce:\r\nCreate a game that connects to a master server.  Add a player accepted event to update the master server listing when a new player joins the host.  Inside the event, call NetworkManager.Instance.UpdateMasterServerListing(NetworkManager.Instance.Networker);.  See the error above.\r\n\r\n#### [Optional] Discord Username:\r\n"}}
{"actor":{"display_login":"g-klein"}}