{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKore/openkore/issues/221","repository_url":"https://api.github.com/repos/OpenKore/openkore","labels_url":"https://api.github.com/repos/OpenKore/openkore/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/OpenKore/openkore/issues/221/comments","events_url":"https://api.github.com/repos/OpenKore/openkore/issues/221/events","html_url":"https://github.com/OpenKore/openkore/issues/221","id":176685232,"number":221,"title":"tRO MEGA THREAD","user":{"login":"expertly01","id":16747081,"avatar_url":"https://avatars.githubusercontent.com/u/16747081?v=3","gravatar_id":"","url":"https://api.github.com/users/expertly01","html_url":"https://github.com/expertly01","followers_url":"https://api.github.com/users/expertly01/followers","following_url":"https://api.github.com/users/expertly01/following{/other_user}","gists_url":"https://api.github.com/users/expertly01/gists{/gist_id}","starred_url":"https://api.github.com/users/expertly01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expertly01/subscriptions","organizations_url":"https://api.github.com/users/expertly01/orgs","repos_url":"https://api.github.com/users/expertly01/repos","events_url":"https://api.github.com/users/expertly01/events{/privacy}","received_events_url":"https://api.github.com/users/expertly01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":158,"created_at":"2016-09-13T16:16:33Z","updated_at":"2016-09-15T04:24:45Z","closed_at":null,"body":"how can i fix this problem??\r\n\r\ntoday my server has update new EAC, my openkore can login to map server but after 1-3 second my openkore has disconnect from map server, please help me or notice me about this problem.\r\n\r\nps. i'm newbie for programmer :D"},"comment":{"url":"https://api.github.com/repos/OpenKore/openkore/issues/comments/247231326","html_url":"https://github.com/OpenKore/openkore/issues/221#issuecomment-247231326","issue_url":"https://api.github.com/repos/OpenKore/openkore/issues/221","id":247231326,"user":{"login":"beerdrumers","id":22204332,"avatar_url":"https://avatars.githubusercontent.com/u/22204332?v=3","gravatar_id":"","url":"https://api.github.com/users/beerdrumers","html_url":"https://github.com/beerdrumers","followers_url":"https://api.github.com/users/beerdrumers/followers","following_url":"https://api.github.com/users/beerdrumers/following{/other_user}","gists_url":"https://api.github.com/users/beerdrumers/gists{/gist_id}","starred_url":"https://api.github.com/users/beerdrumers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beerdrumers/subscriptions","organizations_url":"https://api.github.com/users/beerdrumers/orgs","repos_url":"https://api.github.com/users/beerdrumers/repos","events_url":"https://api.github.com/users/beerdrumers/events{/privacy}","received_events_url":"https://api.github.com/users/beerdrumers/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T04:24:45Z","updated_at":"2016-09-15T04:24:45Z","body":"@viperball \r\n\r\nin `sub modifyPacketOut` of XKoreProxy.pm\r\nI've add `$tempMsg` for keep original message after I have added @unknown-item changes.\r\n\r\nand in Send.pm I've get rid of some code below\r\n\r\n```\r\nif ($messageID eq $self->{packet_lut}{map_login}) {\r\n    $self->{hmac_enc} = 1;\r\n    $self->{seq} = 0;\r\n    $self->{flag} = 1;\r\n}\r\n```\r\nand modify to validate those 6 packets instead for enable HMAC .\r\n\r\n```\r\nif ($self->isLastInitReqFromClient($msg)) {\r\n    $self->{hmac_enc} = 1;\r\n    $self->{seq} = 7;       #after these must be seq 7\r\n    $self->{flag} = 1;\r\n}\r\n```\r\n\r\nSorry for have no detail about `isLastInitReqFromClient($msg)` cause by i'm out of my home :(\r\nIt's just check those all packets have arrived or not."}}
{"actor":{"display_login":"beerdrumers"}}