{"action":"created","issue":{"url":"https://api.github.com/repos/skadistats/clarity/issues/35","labels_url":"https://api.github.com/repos/skadistats/clarity/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/skadistats/clarity/issues/35/comments","events_url":"https://api.github.com/repos/skadistats/clarity/issues/35/events","html_url":"https://github.com/skadistats/clarity/issues/35","id":54935937,"number":35,"title":"Offset between Match.getTick() and actual game ticks. ","user":{"login":"TimotheeJeannin","id":1969368,"avatar_url":"https://avatars.githubusercontent.com/u/1969368?v=3","gravatar_id":"","url":"https://api.github.com/users/TimotheeJeannin","html_url":"https://github.com/TimotheeJeannin","followers_url":"https://api.github.com/users/TimotheeJeannin/followers","following_url":"https://api.github.com/users/TimotheeJeannin/following{/other_user}","gists_url":"https://api.github.com/users/TimotheeJeannin/gists{/gist_id}","starred_url":"https://api.github.com/users/TimotheeJeannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimotheeJeannin/subscriptions","organizations_url":"https://api.github.com/users/TimotheeJeannin/orgs","repos_url":"https://api.github.com/users/TimotheeJeannin/repos","events_url":"https://api.github.com/users/TimotheeJeannin/events{/privacy}","received_events_url":"https://api.github.com/users/TimotheeJeannin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-20T20:36:21Z","updated_at":"2015-01-23T11:53:02Z","closed_at":null,"body":"First, **thank you for this awesome parser, it is great !** :)\r\n\r\nI found one minor issue. It looks like there is an offset between the ticks returned by the parser and actual game ticks. I made a few tests on three replays. Please see the results below.\r\n\r\n**MatchId: 1174817178**\r\n\r\n| Killer Hero | Clarity Tick | Actual game tick | Difference |\r\n| ------------- |:-------------:| -----:| -----:|\r\nvengefulspirit | 11944 | 11513 | 431\r\nvengefulspirit | 16378 | 15947 | 431\r\nvengefulspirit | 19514 | 19083 | 431\r\nqueenofpain | 21118 | 20687 | 431\r\nqueenofpain | 27684 | 27253 | 431\r\nlife_stealer | 34714 | 34284 | 431\r\nvengefulspirit | 42618 | 42187 | 431\r\nluna | 56775 | 56344 | 431\r\n\r\n**MatchId: 1174817703**\r\n\r\n| Killer Hero | Clarity Tick | Actual game tick | Difference |\r\n| ------------- |:-------------:| -----:| -----:|\r\nlegion_commander | 16525 | 16038 | 487\r\n\r\n**MatchId: 1174822113**\r\n\r\n| Killer Hero | Clarity Tick | Actual game tick | Difference |\r\n| ------------- |:-------------:| -----:| -----:|\r\nbloodseeker | 11624 | 11126 | 498\r\nphantom_assassin | 31786 | 31288 | 498\r\n\r\nIt looks like the offset is constant during a match but different between matches.\r\n\r\nTo navigate between game ticks I use the `demo_gototick` command.\r\n\r\nFrom the clarity source I can read `tick = ((CNETMsg_Tick) subMessage).getTick();`. It looks like clarity just uses the ticks found in protobuff messages. \r\n\r\nDo you have any idea where this offset is coming from ?\r\nI don't really need this fixed but it would be great to be able to understand what is happening here. :)\r\n\r\nTim\r\n"},"comment":{"url":"https://api.github.com/repos/skadistats/clarity/issues/comments/71183475","html_url":"https://github.com/skadistats/clarity/issues/35#issuecomment-71183475","issue_url":"https://api.github.com/repos/skadistats/clarity/issues/35","id":71183475,"user":{"login":"TimotheeJeannin","id":1969368,"avatar_url":"https://avatars.githubusercontent.com/u/1969368?v=3","gravatar_id":"","url":"https://api.github.com/users/TimotheeJeannin","html_url":"https://github.com/TimotheeJeannin","followers_url":"https://api.github.com/users/TimotheeJeannin/followers","following_url":"https://api.github.com/users/TimotheeJeannin/following{/other_user}","gists_url":"https://api.github.com/users/TimotheeJeannin/gists{/gist_id}","starred_url":"https://api.github.com/users/TimotheeJeannin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimotheeJeannin/subscriptions","organizations_url":"https://api.github.com/users/TimotheeJeannin/orgs","repos_url":"https://api.github.com/users/TimotheeJeannin/repos","events_url":"https://api.github.com/users/TimotheeJeannin/events{/privacy}","received_events_url":"https://api.github.com/users/TimotheeJeannin/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T11:53:02Z","updated_at":"2015-01-23T11:53:02Z","body":"Hi @spheenik,\r\n\r\nThank you for all those explanations. I now understand a lot better where does the offset comes from. \r\n\r\nThank you again for this awesome parser ! :)\r\n\r\nTim"}}