Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Data error #3

Open
thatskriptkid opened this issue Nov 1, 2018 · 2 comments
Open

Invalid Data error #3

thatskriptkid opened this issue Nov 1, 2018 · 2 comments

Comments

@thatskriptkid
Copy link

thatskriptkid commented Nov 1, 2018

Hi! I try to use your code for parsing Telegram Desktop (1.4.3) on Windows. Is it working for Windows? I constantly get InvalidData, because storageKey always equals 21. Could you help please?

file:Map.cs
class: Map
method: TryParseMap()

var mapStream = new DataStream(mapData);

while (!mapStream.AtEnd)

 {
var storageKey = (LocalStorageKey)mapStream.ReadUInt32(); // **here, storageKey = 21**
if (!ReadKey(storageKey, mapStream, storage)) // **ReadKey() doesn't have condition for 21**
return ParsingState.InvalidData;
}
@MihaZupan
Copy link
Owner

Same as #1, the desktop client has been updated and I haven't gotten around to updating the library yet. I'll see if I have some time today

@thatskriptkid
Copy link
Author

Ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants