{"action":"created","issue":{"url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/99","repository_url":"https://api.github.com/repos/networkprotocol/yojimbo","labels_url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/99/comments","events_url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/99/events","html_url":"https://github.com/networkprotocol/yojimbo/issues/99","id":366947774,"node_id":"MDU6SXNzdWUzNjY5NDc3NzQ=","number":99,"title":"basic how to: connection issues when sending messages repeatedly in a gameloop (2D position of an object)","user":{"login":"ChristianHohlfeld","id":16775805,"node_id":"MDQ6VXNlcjE2Nzc1ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/16775805?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianHohlfeld","html_url":"https://github.com/ChristianHohlfeld","followers_url":"https://api.github.com/users/ChristianHohlfeld/followers","following_url":"https://api.github.com/users/ChristianHohlfeld/following{/other_user}","gists_url":"https://api.github.com/users/ChristianHohlfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianHohlfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianHohlfeld/subscriptions","organizations_url":"https://api.github.com/users/ChristianHohlfeld/orgs","repos_url":"https://api.github.com/users/ChristianHohlfeld/repos","events_url":"https://api.github.com/users/ChristianHohlfeld/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianHohlfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-04T20:01:17Z","updated_at":"2018-10-06T18:08:47Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm trying to send position information (x and y) from client to server. It happens that I loose the connection or the number of connections reported by the server is 0 even though the client sends connection requests. I'm sending at a rate of 800ms and get the following debug output from yojimbo. \r\nYojimbo server log:\r\nhttps://gist.github.com/ChristianHohlfeld/89447b722789c39e3379442e53de2946\r\n\r\nThe client gets initialised like that:\r\nhttps://gist.github.com/ChristianHohlfeld/37a3071d30cced4af8ddd9613813dad1\r\n\r\nThe server initialisation:\r\nhttps://gist.github.com/ChristianHohlfeld/1da9cad8a09c79cd4cbaa2c349490b5c\r\n\r\nGameMessageFactory.h:\r\nhttps://gist.github.com/ChristianHohlfeld/c83ffc97347dc12781329ccbcc024785\r\n\r\nGameAdapter.h\r\nhttps://gist.github.com/ChristianHohlfeld/cdc877dda059683e0e1b70955219f2ce\r\nGameAdapter.cpp\r\nhttps://gist.github.com/ChristianHohlfeld/fdaf011d7a37a207da02d050eeb9ae97\r\n\r\nServer update:\r\nhttps://gist.github.com/ChristianHohlfeld/71376b1f67ff75a09f8d81d97fb1f792\r\n\r\nClient Update:\r\nhttps://gist.github.com/ChristianHohlfeld/f92a8dd91baf4582f694bcd41cea252c\r\n\r\nThe Method where the Message gets sent:\r\nhttps://gist.github.com/ChristianHohlfeld/968e221cee874242bc0c2e6636693d26\r\n\r\nThe game loop looks like this:\r\nhttps://gist.github.com/ChristianHohlfeld/22a2046c150b0975ada3d0695782a6b7\r\n\r\nMessage.h:\r\nhttps://gist.github.com/ChristianHohlfeld/c671eb8753d19660b861a593c5d679a3\r\n\r\nGameServer.h:\r\nhttps://gist.github.com/ChristianHohlfeld/4d71f9e46288a7206fbc7f032c175a66\r\nGameServer.cpp:\r\nhttps://gist.github.com/ChristianHohlfeld/dea566f451c3f720a76ca7527f60fd74\r\n\r\nGameClient.h:\r\nhttps://gist.github.com/ChristianHohlfeld/7e6e205cc4e6a3fce25a3b51bcc019c0\r\nGameClient.cpp:\r\nhttps://gist.github.com/ChristianHohlfeld/745de6e7541638eeb1d5fecc7fe66ecc\r\n\r\nPhysics.h (fixed timestamp and interpolation of sprite positions):\r\nhttps://gist.github.com/ChristianHohlfeld/3ce7e4649e269c6d18fab4b5cff47084\r\nPhysics.cpp:\r\nhttps://gist.github.com/ChristianHohlfeld/bdf2b75f31d246f30d1539ce41208e8b\r\n( from http://plaincode.blogspot.com/2012/05/fixed-timestep-in-cocos2d-x-with-box2d.html )\r\n\r\nAny help appreciated, thank you!"},"comment":{"url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/comments/427594838","html_url":"https://github.com/networkprotocol/yojimbo/issues/99#issuecomment-427594838","issue_url":"https://api.github.com/repos/networkprotocol/yojimbo/issues/99","id":427594838,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU5NDgzOA==","user":{"login":"ChristianHohlfeld","id":16775805,"node_id":"MDQ6VXNlcjE2Nzc1ODA1","avatar_url":"https://avatars3.githubusercontent.com/u/16775805?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristianHohlfeld","html_url":"https://github.com/ChristianHohlfeld","followers_url":"https://api.github.com/users/ChristianHohlfeld/followers","following_url":"https://api.github.com/users/ChristianHohlfeld/following{/other_user}","gists_url":"https://api.github.com/users/ChristianHohlfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianHohlfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianHohlfeld/subscriptions","organizations_url":"https://api.github.com/users/ChristianHohlfeld/orgs","repos_url":"https://api.github.com/users/ChristianHohlfeld/repos","events_url":"https://api.github.com/users/ChristianHohlfeld/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianHohlfeld/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T18:08:47Z","updated_at":"2018-10-06T18:08:47Z","author_association":"NONE","body":"I will. Thanks for your time!"}}
{"actor":{"display_login":"ChristianHohlfeld"}}